ZaneDubya / MedievaLandsPublic

MedievaLands [closed source] is a a recreation of an early MMORPG. The desktop client runs on .NET Framework on Windows and macOS. The server runs on .NET Core on Linux. The website is written in PHP and runs on Apache on Linux. 126,500 lines of C#.
8 stars 1 forks source link

Optimization: updating a stat results in *3* update packets. #996

Closed ZaneDubya closed 1 year ago

ZaneDubya commented 1 year ago

Obviously this is inefficient.

Obviously maybe 5 people play this game per day.

But shouldn't I nonetheless try to optimize it?

ZaneDubya commented 1 year ago

Down to one for a single player; two total generated, second only sent to all other players and only when state_public is updated.