Duplicate spawns
Posted: Wed Jan 22, 2014 1:42 am
Foof brought this to my attention tonight and I can confirm it, it is possible for the server to create duplicate spawns on the client. The new, or more likely original, are just there on the client visually, can't do anything with them, if you manage to click on one it will target the active duplicate that the server is maintaining, /depop will also not remove them. In my case it seemed to be a central point where all spawns around it were duplicated, the origin looked like a fully spawned version after I did /depop and further away it thinned out until there was nothing.
My best guess is that the WS_DestroyGhostCmd packet is never getting sent to the client but another CreateGhostCmd is making it to the client causing two versions of the same spawn to show and the client seems to abandon the older version leaving it visible but useless. Currently I have no clue what is causing this to happen, thought it was a range thing but the way my duplicates finally showed up makes me believe that is not the case as they seemed to thin out evenly in all directions.
To reproduce this I went to frost fang sea did /invul 1 and /speed 400, I then proceeded to run laps around the main island and after a few minutes I noticed it, so it may only be a dev issue due to the high speed.
My best guess is that the WS_DestroyGhostCmd packet is never getting sent to the client but another CreateGhostCmd is making it to the client causing two versions of the same spawn to show and the client seems to abandon the older version leaving it visible but useless. Currently I have no clue what is causing this to happen, thought it was a range thing but the way my duplicates finally showed up makes me believe that is not the case as they seemed to thin out evenly in all directions.
To reproduce this I went to frost fang sea did /invul 1 and /speed 400, I then proceeded to run laps around the main island and after a few minutes I noticed it, so it may only be a dev issue due to the high speed.