Issue information

Issue ID
#742
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jan 4, 2008 3:27
Last Post
Hercules Elf Bot
Mar 5, 2012 16:14
Confirmation
N/A

Hercules Elf Bot - Jan 4, 2008 3:27

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

if get do the quest alone, and get disconnect from internet, on this section:
CODE
que_sign01,1,1,1    script    #signserin    -1,{

OnInit:
    disablenpc "Serin#serin";
    set $signroomfull,0;
    set $signparty,0;
    end;

OnSerin:
    enablenpc "Serin#serin";
    end;

OnSummon:
    disablenpc "Serin#serin";
    set $@Sign_Summon,10;
    monster "que_sign01",180,200,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
    monster "que_sign01",205,205,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
    monster "que_sign01",190,190,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
    monster "que_sign01",205,190,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
    monster "que_sign01",190,205,"Rotten Corpse",1423,1,"#signserin::OnSignDead";
    monster "que_sign01",200,200,"Ancient Wraith",1475,1,"#signserin::OnSignDead";
    monster "que_sign01",200,180,"Ancient Wraith",1475,1,"#signserin::OnSignDead";
    monster "que_sign01",210,210,"Ancient Mummy",1522,1,"#signserin::OnSignDead";
    monster "que_sign01",180,180,"Ancient Mummy",1522,1,"#signserin::OnSignDead";
    monster "que_sign01",196,195,"Dark Lord Incarnation",1605,1,"#signserin::OnSignDead";
    end;

OnSignDead:
    set $@Sign_Summon,$@Sign_Summon -1;
    if($@Sign_Summon > 0) end;
    set $signroomfull,3;
    stopnpctimer;
    goto OnSerin;

OnCooldown:
    initnpctimer;
    end;

OnTimer600000:
    disablenpc "Serin#serin";
    killmonster "que_sign01","#signserin::OnSignDead";
    set $signroomfull,1;
    set $signparty,0;
    areawarp "que_sign01",229,227,166,162,"niflheim",30,156;
    areawarp "que_sign02",1,1,400,400,"niflheim",30,156;
    stopnpctimer;
    end;
}

And u kill the lastmonster, and get right before talking to serin, the disconnect, u cant never get back to the room, the timer stops, and the "rewarp" not possible.
Only GM can warp inside and recall the character that have a disconnect.
(if u think, thats neverrrrrrrrrr possible that on this seconds someone get disconnect.......i get. >>)
ok 2 ways, server restart and gm recall, but my idea to fix, a second timer or dont stopnpctimer;
but stopnpctimer after talkin with serin^^.
k thy bye ;D

This post has been edited by Blackthunder: Mar 13 2008, 04:52 PM