Trouble with mutliple spawn commands
edit: Erased this post so someone didn't confuse changes.. see latest post in thread.
|
Doesn't this override or break the fix described in this post ?
http://www.eqemulator.net/forums/vie...asc&highlight= |
Well, I found that the above change helped with spawning multiple mobs, but the message to those newly spawned mobs wasn't getting through. I thought that I had posted this last night (hope I included everything), but I guess not. Disregard the above change. This is what needs to be done:
changes to zone/embparser.cpp about line 312, replace: Code:
std::string cmd = "@quest::cmd_queue = (); package " + (std::string)(pkgprefix) + (std::string)(";"); Code:
std::string cmd = "package " + (std::string)(pkgprefix) + (std::string)(";"); Code:
int numcoms = perl->geti("quest::qsize()"); Code:
static int c = 0; about line 342, replace (first occurance): Code:
parse->Event(EVENT_SPAWN, npc->GetNPCTypeID(), 0, npc->CastToMob(), 0); Code:
parse->Event(EVENT_SPAWN, npc->GetNPCTypeID(), 0, npc->CastToMob(), npc); |
merged in, together with 0.5.6dr1 code, to CVS repository :
http://quests.eqemulator.net Go to : Menu-> CVS web eqemu files are in the eqemu module |
All times are GMT -4. The time now is 12:03 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.