EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   $mobid switches from NPC_TYPE_ID to SPAWN_# (https://www.eqemulator.org/forums/showthread.php?t=32360)

Irreverent 10-24-2010 11:22 AM

$mobid switches from NPC_TYPE_ID to SPAWN_#
 
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...a=QuestObjects is your friend!


All times are GMT -4. The time now is 11:49 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.