Issue information

Issue ID
#1682
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Jun 14, 2008 10:48
Last Post
Hercules Elf Bot
Feb 21, 2012 14:02
Confirmation
N/A

Hercules Elf Bot - Jun 14, 2008 10:48

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

From Line : 868

CODE
turbo_n_1,371,47,0    script    cos_n_1_end    45,1,1,{
OnInit:
    enablenpc "cos_n_1_end";
    end;

OnTouch:
    set $@end_time,gettimetick(0);
    mapannounce "turbo_n_1","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00";
    donpcevent "TBT_Guide#Broadcast::Onwin_n1";
    warp "turbo_n_1",384,161;
    donpcevent "Guide#TBT_n_1::OnEnable";
    donpcevent "Master#n1::OnDisable";
    disablenpc "Broadcast#n1";
    disablenpc "cos_n_1_end";
    end;
}


Line 1089
CODE
OnTimer60000:
    disablenpc "Guide#TBT_n_1";
    donpcevent "cos_n_1_end::Onreset";
    enablenpc "Notice_Maker1#TBT_n_1";
    enablenpc "Notice_Maker3#TBT_n_1";
    enablenpc "Notice_Maker4#TBT_n_1";
    enablenpc "Disposable_Switch#n1";
    disablenpc "Flasher_Exit_1#n1";
    disablenpc "Flasher_Exit_2#n1";
    enablenpc "No_Unfair_Start#n1-1";
    enablenpc "No_Unfair_Start#n1-2";
    donpcevent "snake#n1::Onreset";
    donpcevent "hunting#n1::Onreset";
    donpcevent "Solo Mode#n1::OnEnable";
    stopnpctimer;
    end;
}


Look at the first code
cos_n_1_end have OnInit and OnTouch
at the second code
CODE
    donpcevent "cos_n_1_end::Onreset";

Onreset? missing on the cos_n_1_end NPC?

btw the real problem.. when I'm bored I tried that Turbo Track [ Solo Mode ].. at the end of the race track... there's no Portal hmm.. I can't find the problem on script.. sorry if the report is wrong XD