Goonstation Forums
[BUGFIX] Allow Complex Powernet-Networking Packets - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: Patches (https://forum.ss13.co/forumdisplay.php?fid=30)
+---- Forum: Implemented (https://forum.ss13.co/forumdisplay.php?fid=31)
+---- Thread: [BUGFIX] Allow Complex Powernet-Networking Packets (/showthread.php?tid=7000)



[BUGFIX] Allow Complex Powernet-Networking Packets - ihenn - 09-01-2016

This allows packets that have a list inside a list to be sent through the powernet-networking component. A practical use would be sending a packet like the following:

address_1=00000000
sender=11111111
command=term_message
data=command=do_something&param1=val1

in the following format:

address_1=00000000&sender=11111111&command=term_message&data=(command=do_something&param1=val1)

Basically it gives more potential to the Powernet-Networking component.

Link to bug report page
Compare: https://github.com/goonstation/goonstation-2016/compare/master...BHennen:mechcomp-complex-packets


RE: [BUGFIX] Allow Complex Powernet-Networking Packets - elan_oots - 05-16-2017

This would be really useful for quite a few things, you could in theory make a semi-self-regulating engine with this (pumps receive commands from wireless packets and gas sensors send gas data on wireless packets). There's a bunch of other stuff as well.

Considering it's been seven eight months and there's been no sign of coders seeing this, what are other peoples' opinions?


RE: [BUGFIX] Allow Complex Powernet-Networking Packets - Flourish - 05-17-2017

I think being able to send lists inside lists via the Powernet would be awesome and would be really useful. However, rather than coming up with a whole new format, I think it'd be nice to just fix the already half-implemented format (aka ampersands).

edit: Were ampersands still working when this bugfix was made?