Issue information

Issue ID
#1024
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Feb 21, 2008 18:17
Last Post
Hercules Elf Bot
Feb 21, 2008 18:17
Confirmation
N/A

Hercules Elf Bot - Feb 21, 2008 18:17

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

When you're killing in the Room of Water, and you're timeout, it must to kick out from the room. But this doesn't occur, staying in the room until you re-login.

I've seen the code and I've found this:

CODE
job_wiz,1,1,1    script    Room of Water    66,{
[...]
OnTimer184000:
    donpcevent "Room of Water#Failed::OnEnable";
    end;

OnTimer185000:
    mapannounce "job_wiz","Next candidate, please enter.",bc_map;
    end;

OnTimer186000:
    disablenpc "Room of Water#Failed";
    donpcevent "Room of Water::OnDisable";
    donpcevent "Waiting Room#wiz::OnEnable";
}


When you go to "Room of Water#Failed":

CODE
job_wiz,114,169,0    script    Room of Water#Failed    -1,16,16,{
OnInit:
    disablenpc "Room of Water#Failed";
    end;

OnTouch:
    mapannounce "job_wiz",strcharinfo(0)+" has not succeeded.",bc_map;
    warp "geffen",120,110;
    end;
}


It doesn't exist the OnEnable label. I think that script doesn't have to be an "OnTouch" type, and the label OnTouch has to be updated to OnEnable. And in the first piece of code, changing "donpcevent" to "doevent" for correct using of "warp". With that you're warped to Geffen without any problem I think.

I haven't seen it, but it's possible this occurs in the other three rooms too.

This post has been edited by telekito: Feb 21 2008, 10:23 AM