Issue information

Issue ID
#4418
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 31, 2010 11:46
Last Post
Hercules Elf Bot
Mar 5, 2012 15:21
Confirmation
N/A

Hercules Elf Bot - Aug 31, 2010 11:46

Originally posted by [b]Skipper[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4418

Hi

I see a Script Error in Endless Tower, script added recently.

Is that an NPC starts a timer and does not stop, then: Where is annihilated Sieger, the previus mobs reappear and naght sieger is summon Again.

You See...

Find:
CODE
OnTimer20500:
    instance_announce 0,"Let's see who runs fastest. Are you ready?",bc_map,"0x00ffcc";
    areamonster "6@tower",151,66,153,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
    areamonster "6@tower",158,66,160,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
    end;


CODE
OnTimer10500:
    instance_announce 0,"I demand an encore!",bc_map,"0x00ffcc";
    areamonster "6@tower",151,66,153,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
    areamonster "6@tower",158,66,160,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
    end;



Missing stopnpctimer;


My noob Fix:

CODE
OnTimer20500:
    stopnpctimer;
    instance_announce 0,"Let's see who runs fastest. Are you ready?",bc_map,"0x00ffcc";
    areamonster "6@tower",151,66,153,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
    areamonster "6@tower",158,66,160,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
    end;


CODE
OnTimer10500:
    stopnpctimer;
    instance_announce 0,"I demand an encore!",bc_map,"0x00ffcc";
    areamonster "6@tower",151,66,153,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
    areamonster "6@tower",158,66,160,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
    end;



Sorry my bad English ^^