phogue / Potato

Procon 2 is a (long promised and often postponed) second release of the Procon admin tool for gameservers. Once released, it will allow managing several games and automating tasks via plugins.
https://myrcon.com/
Apache License 2.0
20 stars 4 forks source link

Remove ProtocolState from protocol events #61

Closed phogue closed 10 years ago

phogue commented 10 years ago

It's a big cpu/memory hog being serialized around a lot when one tiny piece of information is updated.

This should be removed from the protocol event.

phogue commented 10 years ago

The protocol now tracks what should be changed on a protocol, which is then passed along to the Core AppDomain and Plugin sandboxed AppDomain. Smaller serializations, while still allowing every event to update the state.