nazgul001 Posted July 17, 2015 Posted July 17, 2015 (edited) Hola disculpen pero tengo una gran duda porque no empieza el evento automatico del poring catcher, no me arroja error el servidor pero no inicia. Lo que me gustaria es que inicie cada 4 hrs y el evento se acabe solo en 1hr matando a todos los mobs claro Este es el script : - script Poring_Catcher -1,{ OnInit: setarray .Maps$[0],"prontera","payon","morocc","comodo"; // Possible maps, add how many you want set .Prize,674; // Reward item ID set .Amount, 1; // Reward item amount set .Spawn,rand(350,350); // How many Killer-Poring will spawn? - Give no Price kill Player set .Spawn2,rand(10,10);// How many Normal-Poring will spawn - Give price set .Map$,.Maps$[rand(getarraysize(.Maps$))]; set .amount_mob,.Spawn + .Spawn2; set .Duration,60; end; OnWhisperGlobal: OnMinute00: announce "Poring Catcher Inicia: Si matas al poring correcto te dara "+getitemname(.Prize)+"!",0; sleep 2500; announce "Hay alrededor de "+.amount_mob+" Porings en "+.Map$+"!",0; monster .Map$,0,0,"Event Poring",1002,.Spawn,strnpcinfo(0)+"::OnMobKilled"; monster .Map$,0,0,"Event Poring",1002,.Spawn2,strnpcinfo(0)+"::OnMobKiller"; OnMobKilled: if( playerattached() ){ announce ""+strcharinfo(0)+" ah sido explotado por un Poring muy molesto.",0; atcommand "@nuke " +strcharinfo(0); } end; OnMobKiller: if( playerattached() ){ getitem .Prize, .Amount; announce ""+strcharinfo(0)+" ah recibido uno de los premios por del Poring Feliz, Muchas Felicidades.",0; } end; } Edited July 17, 2015 by nazgul001 Quote
DanielArt Posted September 18, 2015 Posted September 18, 2015 Intenta creando un script para el inicio del evento, horarios y todo eso, y utiliza un donpcevent para callear el evento en otro script, que sería el que tiene el contenido de los mobs, el OnMobKill:, etcétera.Así siempre hago mis scripts de eventos automáticos y nunca he tenido problemas. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.