Originally posted by [b]HappyFunTimeSparkles[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2375
I'm not sure if this was reported before, and if it has been, I apologize in advance.
Basically, the bug is at the end of training grounds, where we do the personality test with Hanson. After completing it, if he recommends swordsman, and you decide to choose which job you want instead of following his recommendation, all the choices that show up are blank. If he recommends something other than swordsman, the menu will show all swordsman.
(IMG:
http://i203.photobucket.com/albums/aa159/Misao_Mizuki/Random%20RO%20Screenies/dd2848bd.jpg)
The problem shows up in novice.txt here:
CODE
S_UserJobchoice:
mes "[Hanson]";
mes "I see. It's your choice.";
mes "There is no obligation to change to the job we recommend. Please choose the job you wish to become.";
next;
setarray .@JOBS$[0],"Swordsman","Mage","Merchant","Thief","Archer","Acolyte";
for( set .@i,0; .@i < getarraysize(.@JOBS$); set .@i,.@i+1 )
{
if(.@JOBS$[@i] == getarg(0)) set .@menu$,.@menu$+":";
else set .@menu$,.@menu$+.@JOBS$[@i]+":";
}
set .@menu, select(.@menu$) -1;
And, the solution one of our staff came up with is:
[04:24] <Djief> the
@i in those 2 lines need to be
.@i:
CODE
if(.@JOBS$[.@i] == getarg(0)) set .@menu$,.@menu$+":";
else set .@menu$,.@menu$+.@JOBS$[.@i]+":";
[04:30] <Djief> well the 2 lines in questions are 3846 and 3847
This post has been edited by HappyFunTimeSparkles: Oct 22 2008, 06:52 PM