Ok, So i eddited the script a bit as to what I think might be the fix. This is what I came up with
// https://rathena.org/board/topic/107191-r-mvp-event-script/
- script mvp_event_main -1,{
OnInit:
.map$ = "guild_vs1";
end;
disablenpc "mvp_event_main_warp"
OnMinute52:
if ( !.status ) {
.status = 1;
enablenpc "mvp_event_main_warp";
for ( .@i = 3; .@i > 0; .@i-- ) {
announce "MVP Event start in "+.@i+" minutes.",bc_all;
sleep 60000;
}
disablenpc "mvp_event_main_warp";
announce "MVP Event start now.",bc_all;
for ( .@i = 10; .@i > 0; .@i-- ) {
mapannounce .map$,"MVP Event start in "+.@i+" seconds.",bc_map;
sleep 1000;
}
monster .map$,0,0,"--ja--",1002,1,strnpcinfo(3)+"::OnKilled";
.status = 2;
initnpctimer;
}
end;
OnTimer1800000: // 30 minutes.
OnEnd:
stopnpctimer;
.status = 0;
end;
OnKilled:
if ( .status == 2 ) {
donpcevent strnpcinfo(3)+"::OnEnd";
addrid(1);
getitem 512,1;
getitem 512,2;
getitem 512,3;
mes "Gained rewards";
close2;
warp "SavePoint",0,0;
}
end;
prontera,155,181,5 warp mvp_event_main_warp 2,2,guild_vs1,50,50
}
I moved the prontera warp to the bottom, as otherwise the warp was constantly staying in place without disabling. Also for testing purpose I changed the OnTime to OnMinute. I don't seem to be getting any announcement whatsoever, before or after it was editted. Any ideas on a fix? Thanks in advanced!