+ Reply to Thread
Page 4 of 9 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 84

Thread: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

  1. #31
    Wire Noob Frigolit's Avatar
    Join Date
    Aug 2007
    Posts
    10

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    Sorry if I'm stealing the thread a bit for this, but it's related at least

    I was pretty bored today and thought I should play around some with the Socket Radio (which kicks ass).
    So what I did was to write an application which more or less acts as a router for socket radios.
    Upon connect, the router gives the socket radio a "DHCP" address, which can be used to communicate with other socket radios connected to the router.
    The address is locked to the "hardware address" for a while and will then expire.
    The hardware address is just the IP-address and the port seen from the router.

    On the screenshot below I have two socket radios connected to the router.
    The one to the left has address 802 and the one to the right has address 3014.
    The constant values connected to the radio to the right is as follows:
    A = 802 (Target)
    B = 32 (Value 1, A)
    C = 64 (Value 2, B )

    The router sends the packet to the right socket radio as you can see on the screens

    This also removes the firewall problem, by using this you don't have to forward anything (mostly, some old or very strict firewalls can still block incoming packets).

    A problem, although a small one, is that it uses the A value for sender/target addresses.
    The expression chip parses out the local address, source and the values (B->A, C->B, ...)

    That's about it ^_^
    I just thought I should share my wire-related projects with you guys.
    If anyone finds this interesting you're free to use it, but I should probably write some docs on the "protocol" first.



    EDIT: and yes, this could've been done a little better by writing a new wire addon for the routing system instead of using the socket radio like this.
    But I'm just not that good with lua yet, maybe later ^_^
    Last edited by Frigolit; 06-13-2008 at 06:06 PM.

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    Wow, that's awesome!

    I was thinking about doing this before I went on my monthly "no computer sabbatical" but I never got to it.

    I wrote a little bit about a wire protocol in a post somewhere :lol:

    Mind if we see the E-Gate code?
    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

  3. #33
    Wire Noob Frigolit's Avatar
    Join Date
    Aug 2007
    Posts
    10

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    It's pretty simple:

    Code:
    N@Gateway
    I@A B C D E F G H
    O@Source OA OB OC OD OE OF OG LocalAddress UnknownAddress
    (A == 0 & B == 1) -> LocalAddress = C;
    (A == 0 & B == 2) -> UnknownAddress = C;
    Source = A
    OA = B, OB = C, OC = D, OD = E, OE = F, OF = G, OG = H
    Simply put, the A from the socket radio is the sender/target (the DHCP-address) the rest is data which is passed on to the O[n]-outputs.
    Source 0 means the router.

    A == 0 & B == 1 means it should assign the DHCP address in C
    A == 0 & B == 2 means that address C doesn't exist on the network
    Other than that the router just sends data back and forth between the connected radios

    There are some problems though, like if the expression gate isn't hooked up before the socket radio receives the address it won't know what address it got ;P
    So to solve that, and get back all 8 inputs for data, I'm thinking of adding support for this in the socket radio, or well, an update/rewrite of it.
    I'm just not very good with lua, yet.

  4. #34
    Wire Amateur Selig's Avatar
    Join Date
    Jun 2008
    Posts
    58

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    Hey I can't find the wsr anywhere, and as far as I can tell i was not given any errors, any tips?

    Edit: Neever mind, i am stupid... :x

    Edit # 2 anyone have an example of a combined adv. dupe and a wsr combined? thats what interested me most, and it would be nice to have a starting point...
    Last edited by Selig; 06-21-2008 at 01:09 AM.

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    On the second page there is a description of all the In-/Outputs of my Adv. Dupe. Teleporter.
    If you know then, how to use this device local, you can just create a WSR (String one) and wire the "Data Out" from the Adv. Dupe. Tele. to any of the Inputs of the WSR.
    Adv. Dupe. Tele.(Data Out)->WSR(A)
    On the other server, just wire this in/output (however) to the Data Input of the Adv. Dupe Teleporter again, and start sending the data.
    WSR(A) -> Adv. Dupe. Tele.(Data In)

    PS: If this didn't help you at all, just tell me. Then i could try to find another explanation
    Needz moar Lua

  6. #36
    Wire Amateur Selig's Avatar
    Join Date
    Jun 2008
    Posts
    58

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    Quote Originally Posted by Free Fall View Post
    On the second page there is a description of all the In-/Outputs of my Adv. Dupe. Teleporter.
    If you know then, how to use this device local, you can just create a WSR (String one) and wire the "Data Out" from the Adv. Dupe. Tele. to any of the Inputs of the WSR.
    Adv. Dupe. Tele.(Data Out)->WSR(A)
    On the other server, just wire this in/output (however) to the Data Input of the Adv. Dupe Teleporter again, and start sending the data.
    WSR(A) -> Adv. Dupe. Tele.(Data In)

    PS: If this didn't help you at all, just tell me. Then i could try to find another explanation
    yeah what mostly confused me is the many input/outputs, i guess i will just fiddle for a bit.


    EDIT: Ok, i managed to make a single-server one, but incorperating the wsr didn't work.

    The sending thing sends the data (far as i can tell) and the receving thing is receving (the light hooked to (Receving) is lit) but the counter does not increment. :/

    Final edit, i got it working, problem was with my setup, forgot to wire some things
    Last edited by Selig; 06-22-2008 at 12:01 AM.

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    [UPDATE TO THE FREE FALL EXTENSION]

    After I didn't go on development on this (Ran out of ideas <_<) I finally came back to work. I added the (like I call them) RAM-Cards. The Idea is based on adb's Keycard's addon (,from which I took the models too. So big thanks to him for making his keycard-addon) and works similar.

    For more information, look on first post.


    Version now: 20080717 2024
    Needz moar Lua

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    [ANOTHER UPDATE TO FREE FALL EXTENSION]

    The RAM-Card's got a small update. Changes:

    -There are now Proximity Cards
    -second memory-cell from cardreader gives card-size


    For more information look on first post (I will always update this one, just to have all information bundled in one place, not spread over several pages )

    PS: Added RAM-Card's to the Unofficial-Extras-SVN now.
    Last edited by Free Fall; 07-19-2008 at 11:02 AM.
    Needz moar Lua

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    [UPDATE TO WIRE SOCKET RADIO]

    I'm proud to finally release a major update to my Wire Socket Radio.

    - Hi-Speed support!

    There is now a second STool to place a Hi-Speed version of the Socket Radio. There are two modes for it right now: "Shared RAM" and "Two Sided RAM". First one is simply, that if you change one of the cells, the change is transfered to the other device. Second one only transferes the change to other device, but doesn't store it locally.

    You can download the new version on the first page.

    PS: As always, try it out please, and report bugs, issues and such. Or just give a comment. ^_^
    Last edited by Free Fall; 08-10-2008 at 03:30 PM.
    Needz moar Lua

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

    Default Re: The Free Fall Extension (Wire Socket Radio and other Stuff i made)

    Right Awn :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

+ Reply to Thread
Page 4 of 9 FirstFirst ... 23456 ... LastLast

LinkBacks (?)

  1. 02-20-2010, 09:18 AM
  2. 01-27-2010, 01:27 PM

Similar Threads

  1. Wire Socket Radio Documentation
    By Free Fall in forum Wiremod Addons & Coding
    Replies: 9
    Last Post: 03-25-2009, 09:28 PM
  2. Wire plug/socket
    By xixo12e in forum Installation and Malfunctions Support
    Replies: 10
    Last Post: 02-26-2009, 09:07 AM
  3. Complex stuff made easy
    By Black Phoenix in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 16
    Last Post: 01-21-2009, 11:04 AM
  4. Creating pre-made wire contraptions in Hammer?
    By Kron in forum Wiremod General Chat
    Replies: 0
    Last Post: 04-30-2008, 01:10 PM
  5. CPU/computer made only with standart wire gates
    By Black Phoenix in forum Finished contraptions
    Replies: 7
    Last Post: 11-27-2007, 09:25 AM

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