Issue information

Issue ID
#4099
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Mar 5, 2010 23:08
Last Post
Hercules Elf Bot
Mar 5, 2012 16:05
Confirmation
N/A

Hercules Elf Bot - Mar 5, 2010 23:08

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;
            }

Hercules Elf Bot - Dec 28, 2011 16:42

Originally posted by [b]Jguy[/b]
Fixed in [rev=15292]