Closed Thread
Page 1 of 10 1 2 3 ... LastLast
Results 1 to 10 of 95

Thread: LuaSockets for WIG?

  1. #1
    Foxy Wirererer

    -=Fox=- will become famous soon enough -=Fox=- will become famous soon enough -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,851
    Blog Entries
    2

    Lightbulb LuaSockets for WIG?

    A chat IRC program is is now available for Gmod via the Luasockets DLL.

    In light of this new development I'd like to revive the proposal I made for a Wire Internet Gateway (The name is slightly misleading). The main and core thrust for that proposal was to simply give Wire the ability (though OPTIONAL DLLs), to be able to transmit Wire Values though the internet to another Wire Internet Gateway on another server.

    Kind of like this:

    [Wire Device] -> W.I.G. -> LuaSockets -)) Interwebz ((- LuaSockets <- W.I.G. <- [Wire Device]


    The main purpose for such a entity would basically be a Wire Radio that works over the internet, so that Wire Data can be sent and received from remote servers.

    To stress a couple of things:

    1) This DLL should be available via download and NOT included in the SVN. (At least until fully reviewed and tested by the Devs and the Wire Team, if at all)

    2) For the sake of development, Reliability of the transmissions is preferred over speed. A full Digital Screen is only 1KB of data, it does NOT have to be fast. In fact I'm pretty sure the system would work fine over a dialups worth of bandwidth.

    3) Lag is not an issue, All that WIG has to do is get the data from one point to the other, the Wire Device at the ends can be used to handle any delays or irregularities, this doesn't need to handled by the code used for the luasockets.

    Now to the obvious question: "Why"

    There are many uses for such a system, a wire based chat system is one use, remote data storage, and even Remote Computing (if you have a huge wire device that lags like hell, why not move it to a different server and keep the ability to interact with it?)

    It may be possible to have a server that only has wire devices. With no players (or maybe just a single admin) and a WIG, the server only uses a minuscule amount of bandwidth, and all that computing power is given to Wire Devices.

    But my favorite idea is Remote Control and Remote Sensing. Controlling Robots on a server that's 1000 miles away using Wire would be one heck of a geeky thing to do. Anyone want to recreate the Mission to Mars? Maybe Remote Robot Wars? Remote Hide and Seek with Robotic Submarines?

    For me at least there is an appeal to having the ability to communicate with a device that isn't even on the server your on. The possibilities are really wide open for such a system.

    ---------------------------

    WEEE!!!! Free Fall DID IT!

    You'll need to download the LuaSocket DLL in order to use this:
    [ame="http://forums.facepunchstudios.com/showthread.php?t=495940"]LuaSocket - Facepunch[/ame]

    Be sure to download the FIX for it (further down the page)

    Then download the Lua Addon.
    Last edited by -=Fox=-; 05-01-2008 at 05:06 PM.
    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
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  2. #2
    Lurker ShaRose will become famous soon enough ShaRose's Avatar
    Join Date
    Mar 2007
    Location
    Burin, Newfoundland, Canada
    Posts
    537

    Default Re: LuaSockets for WIG?

    Umm... Or you could get someone to code it. Wouldn't REALLY be that hard.

    EDIT: Except for having to forward another port
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  3. #3
    Foxy Wirererer

    -=Fox=- will become famous soon enough -=Fox=- will become famous soon enough -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,851
    Blog Entries
    2

    Default Re: LuaSockets for WIG?

    Well... since I work all day everyday I don't have the time to learn Lua and do it myself... otherwise, you bet I would...

    Of course, if it's not REALLY that hard, then I'm sure I could bug someone that knows Lua to give it a shot, if you know what I mean.

    There's got to be SOMEONE around here that can do this.
    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
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  4. #4
    cpf
    cpf is offline
    Wire Sofaking cpf is on a distinguished road cpf's Avatar
    Join Date
    Nov 2007
    Location
    Uh...Alberta!
    Posts
    492

    Default Re: LuaSockets for WIG?

    I think there should be the Wire IG (internet gateway) and the Wire SG (server gateway). One for calling up actual http servers and sending GET/POST vars, and returning the page source. The other would be just for interserver comms. Of course, the internet gateway's full functionality would have to wait for wire 2 though...

    As for actually doing it, if I could figure out how to use DLLs with Lua I would ><.
    Last edited by cpf; 04-16-2008 at 02:57 PM.
    WireSim.com
    Why does everybody say CPF? it's cpf :P
    Hey, look! It's a tutorial on using LuaInterface!
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  5. #5
    Foxy Wirererer

    -=Fox=- will become famous soon enough -=Fox=- will become famous soon enough -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,851
    Blog Entries
    2

    Default Re: LuaSockets for WIG?

    Yeah, there's a carp-load (as in fish) of possibilities that can be done with this, it has HUGE potential.

    We'll soon have an Intra-Server Radio System, we need an Inter-Server Radio System :3
    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
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  6. #6
    Wire Aficionado
    Beer is a jewel in the rough Beer is a jewel in the rough Beer is a jewel in the rough Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,378

    Default Re: LuaSockets for WIG?

    Someday we're going to be able to watch Youtube videos using an RT screen.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  7. #7
    while(1){ printf("<3"); }
    IEF015 is a jewel in the rough IEF015 is a jewel in the rough IEF015 is a jewel in the rough IEF015's Avatar
    Join Date
    Feb 2008
    Location
    London, ON (Canada, eh?)
    Posts
    1,632

    Default Re: LuaSockets for WIG?

    Quote Originally Posted by arcooke View Post
    Someday we're going to be able to watch Youtube videos using an RT screen.
    My friend requested this in-game. :P
    Watch chocolate rain in Gmod.
    "It's my favourite country song. And I hate it."
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  8. #8
    Lurker Noctune9 is on a distinguished road Noctune9's Avatar
    Join Date
    Jul 2007
    Location
    Denmark!
    Posts
    131

    Default Re: LuaSockets for WIG?

    Quote Originally Posted by IEF015 View Post
    My friend requested this in-game. :P
    Watch chocolate rain in Gmod.
    Or Rick-Roll
    Nova on the old boards.
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  9. #9
    General Purpose Madman

    Free Fall is on a distinguished road Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    351

    Default Re: LuaSockets for WIG?

    If I would understand the way the LuaSocket Library works, or even, how i get it to work, i would try to build something like a data exchanger.

    But i don't, so i can't.

    Can somebody explain to me, how luasocket works?

    EDIT: nevermind, figured out myself
    Last edited by Free Fall; 04-21-2008 at 12:15 PM.
    Needz moar Lua
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

  10. #10
    Foxy Wirererer

    -=Fox=- will become famous soon enough -=Fox=- will become famous soon enough -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,851
    Blog Entries
    2

    Default Re: LuaSockets for WIG?

    Let's just focus on getting wire values from one place to another, before we start freaking out over the possibilities
    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
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!

Closed Thread
Page 1 of 10 1 2 3 ... LastLast

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