Issue information

Issue ID
#3217
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jun 8, 2009 20:12
Last Post
Hercules Elf Bot
Mar 5, 2012 16:09
Confirmation
N/A

Hercules Elf Bot - Jun 8, 2009 20:12

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

CODE
OnTouch:
    if(hg_ma1 == 6) warp "que_bingo",45,186;
    else warp "que_bingo",40,121;
    end;
}



I believe the way eA handles such things has changed since the script was written.

In a nut shell, players are unable to be warped to "que_bingo", 45, 186; because when they go onto the cells that NPC is placed,

CODE
que_bingo,49,125,0    script    end1a#bingo    139,1,1,{

OnInit:
    disablenpc "end1a#bingo";
    disablenpc "end1b#bingo";
    disablenpc "end1c#bingo";
    disablenpc "end1d#bingo";
    disablenpc "end1e#bingo";
    end;

OnTouch:
    if(hg_ma1 == 6) warp "que_bingo",45,186;
    else warp "que_bingo",40,121;
    end;
}

que_bingo,53,121,0    duplicate(end1a#bingo)    end1b#bingo    139,1,1
que_bingo,51,116,0    duplicate(end1a#bingo)    end1c#bingo    139,1,1
que_bingo,46,116,0    duplicate(end1a#bingo)    end1d#bingo    139,1,1
que_bingo,45,121,0    duplicate(end1a#bingo)    end1e#bingo    139,1,1


it's in a game of Bingo, thus two windows can't open at once, thus cancelling both out, effectively hindering anyone with "hg_ma1" value of 6 from either playing the game OR continuing the quest they're on.