Closed SquidDev closed 7 years ago
Sadly, when broadcasting terminal state, you have to at least send most of the terminal object (otherwise it deletes it for whatever reason).
Thankfully you don't have to send the actual terminal contents. It should be possible to only send terminal lines to those listening. Possibly only the lines which have changed.
Sadly you either have to send the whole terminal or nothing at all. I don't really want to hack the vanilla protocol too much, so this'll have to do.
There are several performance and security issues with CC's current packet system. All these options should be behind a series of config options as they may break other mods.