Originally posted by [b]Splax[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1219
The very last part of the quest isn't working, after killing all the waves of mobs in the elevator, nothing happens. After a few seconds the timeout script kicks in and you're thrown out of the elevator, warping you back to the beginning of jupe_gate. We've done this multiple times, making sure we killed the mobs fast enough for the timeout script to be disabled.
I've checked through the scripts but couldn't find the error.
Also, the quest worked fine before we got an update in the beginning of march. The actual quest was the same, but it didnt have this bug. I'm not sure which revision that was, but I just tried on revision 12366M and it worked perfectly.
All mob spawns dead, .MyMobs should be 0 on all Guard scripts, and GuardEnd enables:
CODE
OnMyMobDead:
set .MyMobs,.MyMobs-1;
if (getvariableofnpc(.MyMobs,"Guard-1#ufe") < 1) {
if (getvariableofnpc(.MyMobs,"Guard-2#ufe") < 1) {
if (getvariableofnpc(.MyMobs,"Guard-3#ufe") < 1) {
if (getvariableofnpc(.MyMobs,"Guard-4#ufe") < 1) {
donpcevent "GuardEnd#ufe::OnEnable";
stopnpctimer;
}
}
}
}
end;
}
This however, never happens:
CODE
jupe_ele,19,6,1 script GuardEnd#ufe 844,{
OnEnable:
enablenpc "GuardEnd#ufe";
donpcevent "TimeOut#ufe::OnDisable";
initnpctimer;
end;