+ Reply to Thread
Results 1 to 10 of 10

Thread: wire txt files server access via E2

  1. #1
    Wirererer Timomo's Avatar
    Join Date
    Jul 2009
    Location
    toCity( owner():pos() )
    Posts
    107

    Default wire txt files server access via E2

    ya.. the title says all...

    i thought about a smaller wiremod server that holds txt files..

    they should be accessable via E2-function

    the files could be saved like wiremodserver/e2files/STEAM_ID/...

    i think it would be cool.. so you could upload/downlaod files and recive files from other people...also you could create a "wire-internet" and display the files on o console screen..

    i dunno if this happens.. (i think no)

    reasons for wont happen:

    - extra server
    -costs money
    - difficult to code a function with lua? (or c#)


    say what you think
    i love to being "THAT GUY" xD

    SAVE YOUR BRAIN!!! STOP USING IT!

    --i know my english suckz..the reason is i got a 4 in english!! ^_^---

  2. #2
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: wire txt files server access via E2

    You'd need a way of uploading files. I know lua can retrieve them through the http functions, but I doubt it can upload.
    .siht daer ot gniyrt emit detsaw ev'uoY

  3. #3
    Wiremod Helper Donkie's Avatar
    Join Date
    May 2008
    Location
    Sweden
    Posts
    1,661

    Default Re: wire txt files server access via E2

    How did garry do with the cloud thingie then? Never used it, but I am pretty sure you can upload through garrysmod itself.
    Get out. Seriously, do it.

  4. #4
    billywitchdoctor.com Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    2,300

    Default Re: wire txt files server access via E2

    That's a good point. Although isn't that done in C++?
    .siht daer ot gniyrt emit detsaw ev'uoY

  5. #5
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: wire txt files server access via E2

    You could use the custom httpRequest() function for this, but it retrieves the source code of the page so you have to parse the text.
    Last edited by Drunkie; 09-04-2010 at 08:16 PM.

  6. #6
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: wire txt files server access via E2

    Clients include a datastream.StreamToServer - GMod Wiki function, however, when I used it nothing was transmitted. I believe E2/other tools upload text with console commands, storing each character/line at a time.

  7. #7
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: wire txt files server access via E2

    Stuff like this is being worked on, check out a couple of threads and you'll see that this is already possible ^_^

    Storing wire data as Txt files:
    http://www.wiremod.com/forum/express...-re-visit.html

    Transmitting data around like server-client:
    Foxi Modem v2

    Add some programs and put em together and you got internet... wait... those are all my posts... and that's really strange... why would I do that.... >.>
    http://tiny.cc/OMFGWTFBBQ

    Best People On Wiremod!

    Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015

    Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
    So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
    My IQ is 123

  8. #8
    ส็็็็็็็็็็็็็็็็ส็็ ็็็็็ Dav1d's Avatar
    Join Date
    May 2009
    Posts
    1,118

    Default Re: wire txt files server access via E2

    I think being able to save files permanently onto a server would be a nice idea, but why not just make it save to the server that is hosting the game rather than a separate wiremod cloud server?
    Of course, there would be a need for certain restrictions, and a way of disabling the file saving to the server, but it would eliminate the need for having to re-upload files to the server all the time.

  9. #9
    http://somone77.net somone77's Avatar
    Join Date
    Jun 2008
    Location
    <Smart ass location>
    Posts
    614

    Default Re: wire txt files server access via E2

    I suggested this before, a sort of ftp function. I had found a DLL that is capable of doing this, though people seemed to dislike the idea, and found it rather worthless.
    Last edited by somone77; 09-04-2010 at 06:58 PM.


    No matter how many Z's you put after Plz, you still spell as well as a piece of cheese.

    http://somone77.net

  10. #10
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: wire txt files server access via E2

    Quote Originally Posted by somone77 View Post
    I suggested this before, a sort of ftp function. I had found a DLL that is capable of doing this, though people seemed to dislike the idea, and found it rather worthless.
    Check with Freefall I think he's using OOSocks you can check to see if its capable of doing that.
    http://tiny.cc/OMFGWTFBBQ

    Best People On Wiremod!

    Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015

    Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
    So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
    My IQ is 123

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots