Jump to content

Angeluz

Members
  • Posts

    103
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Angeluz

  1. -	script	Vip_Icon	-,{
    
    OnPCLoginEvent:
    	if(vip_status(1)) {
    		set .@a, vip_status(2) - gettimetick(2);
    		bonus_script "{}",.@a,8,0,EFST_VIPSTATE;
    		dispbottom "--- VIP ----";
    		dispbottom "==========================";
    		dispbottom "VIP Player";
    		dispbottom "Remaining VIP duration :"+callfunc("Time2Str",vip_status(2));
    		dispbottom "==========================";
    		end;
    	}
    }

    try with this

  2. Para los items y mobs, agregaste las db? (están el repositorio de rathena: https://github.com/rathena/rathena/tree/master/sql-files)

     

    Lo de esas funciones creo que aparecieron hace poco no las he visto, deja revisar y te aviso

     

    Edit:
    Agregué las funciones y me funcionan correctamente, no modifiqué nada. No sé cual pueda ser tu error.

    Funcionan tanto en cuentas de GM como de usuario normal

  3. 6 hours ago, Notorius said:

    donde desactivo el emblemwebservice otra cosal cual tabla de item subiste ala base de datos es que ami me aparece laas tablas de mi emulador con un _re que me imagino que es de renewall y las otras no lo tienen subo las que no tienen el _re al final?

     

    Si tienes el último hash del emulador no deberías desactivar el emblemwebservice, pero está aquí:
    https://github.com/rathena/FluxCP/blob/master/config/application.php#L24

     

    Y sobre los MvP hay que cargarlos en el sql, los mob_db y los item_db, y sí, los que tienen _re es porque son renewall, depende de tu emulador

    • Love 1
  4. try with this

     

    -	script	KillMon2Cash	-1,{
    OnNPCKillEvent:
    .@gettimetick = gettimetick(2);
    if (rand(100) < 1 && .@gettimetick > @delay) {
    	getitem 50001,1;
    	@delay = .@gettimetick + 60; // 60 seconds
    }
    end;
    
    OnInit:
    	bindatcmd "check", "KillMon2Cash::OnCheckTime";
    	end;
    	
    OnCheckTime:
      	if (( @delay - gettimetick(2)) <=0 )
    		message strcharinfo(0),"Your next drop is ready!";
      	else
      		message strcharinfo(0),"Next drop in "+ ( @delay - gettimetick(2) ) + " seconds.";
    	end;
    }

     

    • Love 1
  5. 3 hours ago, WillJocker said:

    time error ?

    image.thumb.png.8334c029bcfc64cade0679118d78bfae.png

    my bad

     

    -	script	KillMon2Cash	-1,{
    OnNPCKillEvent:
    .@gettimetick = gettimetick(2);
    if (rand(100) < 1 && .@gettimetick > @delay) {
    	getitem 50001,1;
    	@delay = .@gettimetick + 60; // 60 seconds
    }
    end;
    
    OnInit:
    	bindatcmd "check", "KillMon2Cash::OnCheckTime";
    	end;
    	
    OnCheckTime:
    	message strcharinfo(0),"Next drop in "+ ( @delay - gettimetick(2) ) + " seconds.";
    	end;
    }

     

    • Love 1
  6. On 1/22/2023 at 7:49 PM, Enoch said:

    no error code but it doesnt work after  they can talk to the npc even they reach max lvl, i mean they can make another character and max lvl and claim again

    Do you want it to be a unique prize per server? Or do you want to have them charge it once per account? That is, if two Ministrels reach the maximum level, will it only be given to one? Or that if I arrive with a minister and then with an archbishop, I can't collect it with the archbishop?

     

    i change it to sniper and creator 99/60
    i take it first with creator
    image.png.b456edfb561bee6f51a14df1ae5c3054.png

    then i change to sniper in same account, with new account and dont let me


    image.png.aa139981308365f045a220a8541a45e5.png

     

    if you already take the price before start doesnt work you need to start from scratch

×
×
  • Create New...