Log in

View Full Version : $mobid switches from NPC_TYPE_ID to SPAWN_#


Irreverent
10-24-2010, 11:22 AM
This is a strange bug and hard to reproduce

But, $mobid is explained as 'the id of the NPC_TYPE' it is

This works for awhile, but after awhile it instead switches to the mobs # in the zone(like if there is 30 mobs in zone, you spawn another is says it is mobid #31).

Anyone else have this happen or could assist me in making sure it consistantly stays the NPC ID?

Irreverent
10-24-2010, 11:29 AM
Found work around. Tried using npc->GetID() which did same thing but NPC->GetNPCTypeID() worked. http://www.eqemulator.net/wiki/wikka.php?wakka=QuestObjects is your friend!