Issue information

Issue ID
#2252
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Sep 23, 2008 1:01
Last Post
Hercules Elf Bot
Mar 5, 2012 9:08
Confirmation
N/A

Hercules Elf Bot - Sep 23, 2008 1:01

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

This Quest can can be bugged in the part of the "Dance Test" if the char making the test have a timeout. The result its that the "WaitingRoom" gets "locked". I make a fix and just need to change some lines to get fixed:

Change This...
CODE
OnTimer89000:
    donpcevent "dance#return::OnEnable";
    donpcevent "dance#poring::OnDisable";
    stopnpctimer;
    end;
}


To this...
CODE
OnTimer89000:
    donpcevent "dance#poring::OnDisable";
    donpcevent "dance#return::OnEnable";
    end;
}


Change This ...
CODE
OnEnable:
    enablenpc "dance#return#3";
    donpcevent "Waiting Room#dance::OnEnable";
    end;
}


To this ...
CODE
OnEnable:
    enablenpc "dance#return#3";
    donpcevent "Bijou#dance_timer::OnDisable";
    donpcevent "Waiting Room#dance::OnEnable";
    end;
}


And change this ...
CODE
-    script    dancestep::StepTrigger    -1,1,1,{
OnTouch:
    donpcevent "Backdancer#1::OnOmg";
    mapannounce "job_duncer"," " + strcharinfo(0) + ", you lack rhythm... Your timing was too late!",bc_map;
    set DANC_Q,8;
    donpcevent "Waiting Room#dance::OnEnable";
    warp "comodo",188,162;
    end;
}


To this ...
CODE
-    script    dancestep::StepTrigger    -1,1,1,{
OnTouch:
    donpcevent "Backdancer#1::OnOmg";
    mapannounce "job_duncer"," " + strcharinfo(0) + ", you lack rhythm... Your timing was too late!",bc_map;
    set DANC_Q,8;
    donpcevent "Bijou#dance_timer::OnDisable";
    donpcevent "Waiting Room#dance::OnEnable";
    warp "comodo",188,162;
    end;
}


After this changes lots and lots of people do the quest without no problems. I hope this helps (IMG:style_emoticons/default/smile.gif)

Regards.

This post has been edited by hermematon: Sep 22 2008, 06:11 PM