Skip to content

v1.7.23

Choose a tag to compare

@jasona jasona released this 06 Feb 03:27
· 115 commits to main since this release
c9fa946

Protocol routing and STATS delta compression

E-3: Centralize Protocol Routing

  • Moved TIME_ACK and VISIBILITY handling from connection layer into driver's onPlayerInput()
  • All protocol message dispatch now centralized in one method
  • Added setTabVisible() and sendTimePong() public methods on Connection

E-4: STATS Delta Compression

  • Server tracks last-sent stats and sends only changed fields as type: 'delta'
  • Full snapshot every 10th send; deltas in between
  • No message sent when nothing changed (idle players)
  • ~92% bandwidth reduction for combat HP/MP updates, 100% for idle