Issue information

Issue ID
#2444
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 15, 2008 17:28
Last Post
Hercules Elf Bot
Mar 5, 2012 9:21
Confirmation
N/A

Hercules Elf Bot - Nov 15, 2008 17:28

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

In the part where you break the seals, line 8501 of npc\quests\The_Sign_Quest.txt :

CODE
L_Broken:
    mes "^3355FFOnce you strike the seal,";
    mes "it cracks open and a flash of";
    mes "mysterious light floods out of it.";
    mes "Inside of the seal, you find a very";
    mes "peculiar object...";
    next;
    set brokenseal,brokenseal +1;
    set @sealbreak,0;
    if(brokenseal > 4) goto L_Soul;
    mes "You have";
    mes "obtained a";
    mes "^C9CACBPiece of Spirit.^000000";
    getitem 7306,1;
    close;


You get the item after it checks if you've broken the 4th (last) one and then it tries to delete 4 of those items in your inventory but you only have 3 and it makes the script simply stop (Maybe you should change delitem too so it exits function with a warning instead =3).

Moving the [getitem 7306,1;] before the [if(brokenseal > 4) goto L_Soul;] solves the issue.