Arisstath / roblox-dissector

Roblox UDP Protocol Dissector
MIT License
129 stars 16 forks source link

Generalize ServerReplication.go for client and proxy #33

Closed Gskartwii closed 4 years ago

Gskartwii commented 5 years ago

ServerReplication.go code should be changed into a general "replicator" system that listens to DataModel changes and pushes packets.

When the ProxyWriter receives packets, it should inform the Replicator that it is handling the packets, and then should forward the packets as-is (or patched). Nonetheless, the ProxyWriter should also listen to DataModel changes that do not originate from sent packets.

TODO: How will the shared-DataModel approach for ProxyWriter work with this system?

Gskartwii commented 5 years ago

On second thought, the proxy shouldn't use this system at all, and will instead use the simpler DefaultPacketReader DataModel update system.

Gskartwii commented 4 years ago

Closing, because the client functionality is no longer supported.