This plugin completely moves the explored map and created pins to the server. As clients explore, they will send their explored areas to the server who will then distribute it to all connected clients. When a client joins, the server will synchronize the currently explored areas to the client. Pins are shared as well but default to false and need to be enabled. When pin sharing is used, all newly created pins are send to the server who saves them along with the explored area.
38
stars
1
forks
source link
Optimized the Map Sync between client and server #7
The MapSync while actively exploring and the initial map sync between client and server are now fully separate processes
During active exploration, the client uses RPC to let the server know about newly explored locations, which the server then relays to all other clients
During initial map sync, the client transfers the entire exploration data in one RPC call instead of many calls. In addition the huge 2048*2048 boolean array the game uses will be compressed by 87.5% for transferring over the wire
Following changes were made: