Jump to content

Error con poring catcher


nazgul001

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   1
  • Joined:  06/26/13
  • Last Seen:  

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 by nazgul001
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  58
  • Reputation:   2
  • Joined:  11/08/12
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...