blurite / rsprot

RSProt is an all-in-one networking package for RuneScape Private Servers, primarily targeted at the OldSchool scene.
MIT License
27 stars 5 forks source link

Fix/info packets #29

Closed Z-Kris closed 1 week ago

Z-Kris commented 1 week ago

Fixes potential issues where servers might deallocate and reallocate the same index player or worldentity info on the same game cycle. This would result in any players previously observing it not acknowledging that the entity underneath an avatar was completely swapped out, and could result in visual artefacting. This is typically only possible if servers do not use the round-robin index allocation system, but it is technically also possible to happen even with it, although in practice never should.