Originally posted by [b]NoH[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4099
CODE
else if (KNIGHT_Q == 6 || KNIGHT_Q == 7) {
if (KNIGHT_Q == 6) {
set .@mes$,"Sir Siracuse sent me to you.:Oh, nothing.";
mes ".....What?";
next;
}
else
set .@mes$,"I want to try again!:...";
if (select(.@mes$) == 1) {
there is a next missing:
CODE
else if (KNIGHT_Q == 6 || KNIGHT_Q == 7) {
if (KNIGHT_Q == 6) {
set .@mes$,"Sir Siracuse sent me to you.:Oh, nothing.";
mes ".....What?";
next;
}
else {
set .@mes$,"I want to try again!:...";
next; // Bugfix: il manquait un next
}
if (select(.@mes$) == 1) {
Right after:
CODE
set KNIGHT_Q,7;
changequest 9004,9005;
Yes, but how do you know the player has the quest 9004: he could be reattempting the test, so:
CODE
set KNIGHT_Q,7;
if(checkquest(9004) != -1) { // Bugfix: on évite que le map server gémisse au cas où le joueur repasse l'épreuve [No Healing]
changequest 9004,9005;
}