Issue information

Issue ID
#2969
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 15, 2009 1:48
Last Post
Hercules Elf Bot
Mar 5, 2012 13:05
Confirmation
N/A

Hercules Elf Bot - Apr 15, 2009 1:48

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

hi, I`m blackfire


In all files of guild castles

aldeg_cas01.txt
aldeg_cas02.txt
aldeg_cas03.txt
aldeg_cas04.txt
aldeg_cas05.txt
gefg_cas01.txt
gefg_cas02.txt
gefg_cas03.txt
gefg_cas04.txt
gefg_cas05.txt
payg_cas01.txt
payg_cas02.txt
payg_cas03.txt
payg_cas04.txt
payg_cas05.txt
prtg_cas01.txt
prtg_cas02.txt
prtg_cas03.txt
prtg_cas04.txt
prtg_cas05.txt



QUOTE
aldeg_cas01,123,223,0 script #switch_A01 111,{
mes " ";
mes "There's a small lever. Will you pull it? ";
next;
switch(select("Pull.(IMG:style_emoticons/default/biggrin.gif)o not.")) {
case 1:
warp "aldeg_cas01",218,176;
break;
case 2:
break;
}
end;
}



in "Case 2:"

the command "Close;" is lost?

but when i try with second opcion this npc crash


Example
QUOTE
aldeg_cas01,123,223,0 script #switch_A01 111,{
mes " ";
mes "There's a small lever. Will you pull it? ";
next;
switch(select("Pull.(IMG:style_emoticons/default/biggrin.gif)o not.")) {
case 1:
warp "aldeg_cas01",218,176;
break;
case 2:
close;
}
end;
}




forgiveness for my English .. I am speaking only Spanish^ ^