Error in quest::depop()
If you spawn 2 or more mobs in the same zone with the same npc_types ID and then call quest::depop(npctypes ID), it will always depop the first mob it finds in the npc list, but it won't depop the 2nd or any other mobs with that ID. Subsequent calls to quest::depop(npctypes ID) will also fail to depop the 2nd or more mobs with that ID.
I have corrected this bug with the code below: Please replace the questmgr::depop(int) method in the questmgr.cpp file with the method below: Code:
void QuestManager::depop(int npc_type) { Please add this to the server code. I and Sesmar have both tested this and find that it works as expected. Thank you! |
All times are GMT -4. The time now is 07:15 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.