Duplicate spawns

Old bugs stored here for reference.
Locked
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Duplicate spawns

Post by Jabantiz » 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.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Duplicate spawns

Post by John Adams » Wed Jan 22, 2014 2:33 pm

This anomaly is only in the current CoE+ clients? Because I do not remember RoK - DoV ever generating dupes in this manner (at least not once the code pertaining to distance/proximity got fixed back in 2008).

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Duplicate spawns

Post by Jabantiz » Wed Jan 22, 2014 3:56 pm

I was on 1208, I assume Foof was on live but not sure, will test on 1096 tonight to see if I can get it to happen.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Duplicate spawns

Post by Jabantiz » Wed Jan 22, 2014 4:38 pm

Happened on 1096, I did notice that I ran into an area where the spawns hadn't popped yet, took a little bit before they finally popped and continued to run around, when I came back I noticed they were duped.

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: Duplicate spawns

Post by thefoof » Wed Jan 22, 2014 6:36 pm

I've only seen it on newer clients, but its really random to reproduce so no clue when it started

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Duplicate spawns

Post by Jabantiz » Sat Mar 08, 2014 3:51 pm

I uncommented some code in the destroy packet function and noticed running around frostfang I didn't seem to run into the dupes, however when I back tracked I got dupes right away. I assume it has something to do with sending a destroy and a create for the same spawn close together.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Duplicate spawns

Post by John Adams » Sun Mar 09, 2014 8:21 pm

So weird. I believe you, that there are dupes. I just can't recall ever seeing them.

Dello0000
Posts: 175
Joined: Fri May 30, 2014 9:18 am
EQ2Emu Server: MHM Laneth
Characters: Dello - Dellos
Location: Scotland!
Contact:

Re: Duplicate spawns

Post by Dello0000 » Mon Jun 02, 2014 5:42 am

I seen this as well, after starting in frostfang sea, heading over the water to the first camp they get bugged there. 10714L + Server pack 1.5
I cant see it killing the server but it may have an incorrect tooltip. Muhahaha :twisted:

Locked

Who is online

Users browsing this forum: No registered users and 0 guests