nazgul001 Posted July 17, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 37 Reputation: 1 Joined: 06/26/13 Last Seen: November 23, 2020 Share 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 Link to comment Share on other sites More sharing options...
DanielArt Posted September 18, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 58 Reputation: 2 Joined: 11/08/12 Last Seen: July 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
Promise Posted September 28, 2015 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted September 28, 2015 Whispea el npc Quote Link to comment Share on other sites More sharing options...
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.