Page 1 of 1

Corpse of [object]

Posted: Wed Oct 08, 2008 10:22 pm
by John Adams
I have many objects spawning as corpses (Corpse of a Chemistry Table, Corpse of qey_sign_post, etc).
object-corpse.jpg
Two things:
1) What is causing objects to spawn as corpses?
2) How do I stop this from happening, or is there a code bug or something that can be done server-side to prevent this?
Obviously some data is wrong, I just do not know which value.

Posted: Wed Oct 08, 2008 10:27 pm
by John Adams
Also, what was the magic setting to make objects "solid"? I thought it was like initial_state or something, but that's not in `spawn_objects`, which has only 1 usable value (spawn_id).
Thanks

Posted: Sat Oct 11, 2008 6:45 am
by LethalEncounter
Objects automatically are set as solid. If they aren't there there is a problem with the spawn data somehow. We might think about moving the *_state (and activity_status) fields from spawn_npcs to spawn to avoid issues in the future.
BTW, try setting the HP to 1. The client is probably thinking it is a corpse since the HP is 0.

Posted: Sat Oct 11, 2008 11:14 am
by John Adams
I tried that, setting HP = 1 or even 1000 and restarting, the objects still spawned as corpses. I cannot say this happens every time the zone starts though. I know sometimes I see the object as a corpse, sometimes not. Cannot tell you what the differing conditions are, though.

Posted: Mon Oct 13, 2008 9:53 pm
by John Adams
Was working extensively on this trying to understand why these tables were corpses on spawn. For another reason, I decided to switch from Debug compiled EQ2World.exe to a Release (SVN) compiled EQ2World.exe - the benches are no longer corpses.
Hope this helps narrow down the issue.

Posted: Mon Oct 13, 2008 10:15 pm
by John Adams
Ok, odd... let me re-state the above 1/2 truth. Seems I am in Release compile now, and while in Debug, 100% of the objects, 100% of the time were corpses... now 1/2 of them seem to be corpses, some have the normal white names like tradeskill benches should, and some have that odd cyan name like they are something other than a useable object.
I stood there and /repop'd about 10 times, and the 6 forges I was watching alternated which ones were corpses, blue, and white with each repop. So it's definitely something in the object spawning that's not right.

Posted: Tue Oct 14, 2008 5:59 pm
by LethalEncounter
Should be fixed now. Let me know if you have problems.