Closed Thread
Page 2 of 10 FirstFirst 1234 ... LastLast
Results 11 to 20 of 95

Thread: LuaSockets for WIG?

  1. #11
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: LuaSockets for WIG?

    Well, I'll try to make something like this, although I'm a Lua-noob

    But there is one thing i worry about:

    What if one of the servers, which are gonna be connected, has a firewall?
    This would be a problem....
    Last edited by Free Fall; 04-23-2008 at 05:35 AM.
    Needz moar Lua

  2. #12
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: LuaSockets for WIG?

    I started working on it, but I'm stuck and need help with this.

    my problem is now the fact, that the luasocket library doesn't receive it's own messages.

    I tried it with an external program (telnet) and i could achieve results, but only with this thing, it does nothing.

    So, for whoever want's to help me I attached that what i have until now to this post. It's not much, but i can't do much with that problem.

    So, please help!

    EDIT: deleted attachment because newer one is posted in a later post
    Last edited by Free Fall; 04-25-2008 at 08:05 AM.
    Needz moar Lua

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

    Default Re: LuaSockets for WIG?

    O.O Hewly Scheitt...

    Someone actually tried! Awesome Free Fall! Any Progress is progress.

    I'd give you a hand... but I'm flat useless when it comes to Lua... sorry...

    We got a start! I know there's some Lua Buffs here. ^_^

    Where's Erkle/Syranide/Tad2020 when you want him? :lol:
    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

  4. #14
    Wire Sofaking IEF015's Avatar
    Join Date
    Feb 2008
    Location
    London, ON (Canada, eh?)
    Posts
    1,640

    Default Re: LuaSockets for WIG?

    And you think your a noob when it comes to lua? I don't know crap if my life depended on it.
    "It's my favourite country song. And I hate it."

  5. #15
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: LuaSockets for WIG?

    Well, I AM a noob, but as my motto is:

    "You don't need to know a programing language to use it. just know what to modify of other peoples code to fit it into your mind"
    Needz moar Lua

  6. #16
    Wire Sofaking IEF015's Avatar
    Join Date
    Feb 2008
    Location
    London, ON (Canada, eh?)
    Posts
    1,640

    Default Re: LuaSockets for WIG?

    That's exactly what I do actually. :P
    "It's my favourite country song. And I hate it."

  7. #17
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: LuaSockets for WIG?

    UPDATE: changing from TCP to UDP did the trick

    So:

    Oh My God, I've done IT!!!!!

    Ok, i dunno how good it works, but for me it works. (could only test it on my localhost, because I have no own server:wacko

    But it won't work, if the UDP-Port you want to use isn't forwarded.

    Right now it has inputs and outputs for 8 wire ports ("A" - "H") so you can easily transmit values. If you want to, you must configure your own port, the target and the target's port in the stool, which you can find under "Wire - Data"

    you need to configure the target on both games, otherwise the messages will only reach one device:wacko: (maybe i'll try to find something better later)

    So, now the only thing you have to do is to try it and the tell me, what doesn't work of what to do better. (But i can't promise anything. i'm not a lua professional)
    Last edited by Free Fall; 11-30-2008 at 08:50 AM.
    Needz moar Lua

  8. #18
    Wirererer philxyz's Avatar
    Join Date
    Mar 2007
    Location
    Northampton, England
    Posts
    372

    Default Re: LuaSockets for WIG?

    That's awesome!

    Soon you'll be able to put my radiosystems cell towers on a map and communicate cross-server!

  9. #19
    Wirererer Free Fall's Avatar
    Join Date
    Dec 2007
    Location
    Got digitalized and now lives in his PC's RAM
    Posts
    349

    Default Re: LuaSockets for WIG?

    you mean like cross-server radio towers?

    or remote wars or whatever you can remote control will be able to do on another server!

    but i still need somebody testing it.
    Needz moar Lua

  10. #20
    Wire Amateur Synchro's Avatar
    Join Date
    Feb 2008
    Posts
    73

    Default Re: LuaSockets for WIG?

    Quote Originally Posted by Free Fall View Post
    you mean like cross-server radio towers?

    or remote wars or whatever you can remote control will be able to do on another server!

    but i still need somebody testing it.

    K i'm going to test this out now, just have to figure out how this works ;p

Closed Thread
Page 2 of 10 FirstFirst 1234 ... 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