Originally posted by [b]Daath[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2242
There is a problem with a warp npc in the nameless island quest.
CODE
nameless_in,12,37,0 script aru_warp 45,1,1,{
end;
OnTouch:
if (aru_monas == 19) {
set aru_monas,20;
warp "nameless_n",168,252;
end;
}
OnInit:
disablenpc "aru_warp";
end;
This npc is disabled on start.
But
CODE
nameless_in,13,53,0 script #Aru_Trigger2 -1,3,1,{
end;
OnTouch:
if (aru_monas == 19 && !@mymobcount) {
mes "[?????]";
mes "Grrr......";
close2;
hideonnpc "Creature#Aru";
set @mymobcount,1;
monster "nameless_in",13,53,"Zombie",1864,1,"#Aru_Trigger2::OnMyMobDead";
end;
}
end;
OnMyMobDead:
initnpctimer;
hideoffnpc "aru_warp";
end;
OnTimer100000:
stopnpctimer;
hideonnpc "aru_warp";
end;
This npcs tries to unhide it, when it is disabled. This cause the warp to never appear when the monster is killed. So it should probably disable/enable the npc, or hideonnpc at startup.
EDIT: Hum scratch that, that does not seem to be the reason why the warp doesn't show up..
This post has been edited by Daath: Sep 17 2008, 02:13 PM