Issue information

Issue ID
#3382
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jul 13, 2009 22:05
Last Post
Hercules Elf Bot
Mar 5, 2012 14:22
Confirmation
N/A

Hercules Elf Bot - Jul 13, 2009 22:05

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

Currently, there is an issue with The Sign Quest, that occurs when numerous players attempt to complete the Dance challenge.

A user may start the quest with the chatroom event just fine, and if they fail it, there appears to be no issue, however, if there is a queue of people in the NPC's chatroom, as soon as someone either fails, or successfully completes the challenge, they are warped out, someone is picked from the queue, the chatroom event passes, warps the player in, but the s_dance_timer event never starts, and the whole script grinds to a complete halt, requiring a reloadscripts or a server reboot to solve the issue.'

A temporary fix here, but it's really sloppy:

Add this, before "cmd_in01,33,33,1 script Standby Room#sign 66,{"

CODE
cmd_in01,16,15,0    script    temp_inv_dance#sign    139,1,1,{

OnTouch:
    donpcevent "s_dance_timer::Onbutton_off";
    donpcevent "Examiner#sd::OnDisable";
    donpcevent "s_dance_timer::OnEnable";
    disablenpc "temp_inv_dance#sign";
    end;
}



And then comment:

CODE
OnStartArena:
    disablewaitingroomevent;
    enablenpc "temp_inv_dance#sign";
    //donpcevent "s_dance_timer::Onbutton_off";
    warpwaitingpc "cmd_in01",16,15,1;
    //donpcevent "Examiner#sd::OnDisable";
    //donpcevent "s_dance_timer::OnEnable";
    end;


Like this.

That works for now, but I'd like something less messy.


This post has been edited by HAL9000: Jul 13 2009, 04:41 PM