Issue information

Issue ID
#2386
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Oct 26, 2008 0:48
Last Post
Hercules Elf Bot
Mar 5, 2012 9:18
Confirmation
N/A

Hercules Elf Bot - Oct 26, 2008 0:48

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

The bug occurs when you defend the castle and create both Guardian Stones. After those stones get destroyed, one cannot repair them anymore, because the NPC for the stones do not appear again, even after the 5 minute delay. Only if the castle changes owner, the Stones can be repaired again.

The reason is this:

CODE
OnTimer300000:
    donpcevent "1st Guardian Stone#aru04::OnGuardian";
    setarray $agit_ar04[0],2; //Global Variable
    stopnpctimer;
    end;
}


CODE
OnTimer300000:
    donpcevent "2nd Guardian Stone#aru04::OnGuardian";
    setarray $agit_ar04[1],2; //Global Variable
    stopnpctimer;
    end;
}


The Label OnGuardian doesn't exist at all in the entire script. It's supposed to be OnEnable.

CODE
    donpcevent "1st Guardian Stone#aru04::OnEnable";

and
CODE
    donpcevent "2nd Guardian Stone#aru04::OnEnable";


This bug exists on the arug_cas05 map as well. 100% identical.

This post has been edited by Perceval: Oct 25 2008, 06:08 PM