Posted 06 October 2012 - 10:23 PM
Hello everyone!
I have recently been working on a way for computers to send RedNet messages further than the default (384??) block limit.
I wrote an API which supports data packets in the same way that RedNet does, but adds support for the packets to be repeated through repeater stations around the map. Since this system requires messages to be broadcast rather than sent to a specific computer, I built-in a VERY basic encryption / decyption system (I'm not sure if it is even worth calling it this…) based on XORing the packets against a string password.
The API is used in the same way that RedNet is, via ccnet.send(id, msg, pass), and packets will retain the ID of the original computer which sent them, so reply packets are easy to forumlate.
The repeater stations also support remote updating of software, so there is no need to manually update each and every repeater station.
I am still working on the API on the private server I host, but I should be ready to release in a few days.
If anyone has any ideas for features which I could include, please make suggestions!
I am no expert at Lua but I know my way around it, so the code will be very much open to improvements.
Stay tuned for a download coming in a few days!
I have recently been working on a way for computers to send RedNet messages further than the default (384??) block limit.
I wrote an API which supports data packets in the same way that RedNet does, but adds support for the packets to be repeated through repeater stations around the map. Since this system requires messages to be broadcast rather than sent to a specific computer, I built-in a VERY basic encryption / decyption system (I'm not sure if it is even worth calling it this…) based on XORing the packets against a string password.
The API is used in the same way that RedNet is, via ccnet.send(id, msg, pass), and packets will retain the ID of the original computer which sent them, so reply packets are easy to forumlate.
The repeater stations also support remote updating of software, so there is no need to manually update each and every repeater station.
I am still working on the API on the private server I host, but I should be ready to release in a few days.
If anyone has any ideas for features which I could include, please make suggestions!
I am no expert at Lua but I know my way around it, so the code will be very much open to improvements.
Stay tuned for a download coming in a few days!