Tonetzkii Posted April 9, 2012 Posted April 9, 2012 Anyone know this script? Every 15mins the npc give random item like zeny or items on 1 player i mean random for all online but not included vendor. Quote
Rikimaru Posted April 9, 2012 Posted April 9, 2012 You could use GorthexTiger and Nibi's Hourly Points script and modify it,to something like this and then it will work : //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi and Rikimaru //===== Current Version: ============================================= //= 1.4 //===== Compatible With: ============================================= //= Any e/rAthena Version //===== Description: ================================================= //= Get Points every successful hours of gameplay, you cannot get //= the Points even if you miss a second or a minute. A player will //= get a very big bonus if they played 12 hours consecutively //= or without logging out of the game. If the player is vending //= the script will then stop. //===== Additional Comments: ========================================= //= You can modify the script to your liking. //= The default Points is Kafrapoints change it anyway if you like. //= 1.1 = Check Chatting too //= 1.2 = 5 Minute Idle Check & @at/@autotrade check. //= 1.3 = Corrected the current balance line on 12 Hours Consecutive //= 1.4 = Edited the Script for Khaii on rathena.org/board //==================================================================== - script randomreward -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 5) { stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 15){ set @minute,0; getitem -1,1; } stopnpctimer; initnpctimer; end; } //--End of the Script Quote
Joseph Posted April 9, 2012 Posted April 9, 2012 - script Item Giver -1,{ OnPCLoginEvent: setarray .@Item[0],671,1; // <ItemID>,<ItemAmount> while(1) { sleep2 900000; // 15 minutes for ( set .@i, 0; .@i < getarraysize(.@Item); set .@i, .@i + 2 ) { if ( checkvending() ) continue; getitem .@Item[.@i], .@Item[.@i + 1]; } } } Quote
Emistry Posted April 11, 2012 Posted April 11, 2012 LOL ?? the Post... when crazy ???? <div style="font-size: 14px; "><b<p> </p><b<div>http://rathena.org/board/topic/53877-lucky-pick-event/</div><b<div> </div><b<div>every'>http://rathena.org/board/topic/53877-lucky-pick-event/</div><b<div> </div><b<div>every 15 minutes</div><b<div><br /><b <b<div>OnMinute15:</div><b<div>OnMinute30:</div><b<div>OnMinute45:</div><b<div>OnMinute00:</div><b<div> </div><b </div><b<p> </p><b</div><b<p> </p> http://rathena.org/board/topic/53877-lucky-pick-event/ every 15 minutes OnMinute15: OnMinute30: OnMinute45: OnMinute00: Quote
Hoshi Posted April 14, 2012 Posted April 14, 2012 LOL ?? the Post... when crazy ???? <div style="font-size: 14px; "><b<p> </p><b<div>http://rathena.org/board/topic/53877-lucky-pick-event/</div><b<div> </div><b<div>every 15 minutes</div><b<div><br /><b <b<div>OnMinute15:</div><b<div>OnMinute30:</div><b<div>OnMinute45:</div><b<div>OnMinute00:</div><b<div> </div><b </div><b<p> </p><b</div><b<p> </p> http://rathena.org/b...cky-pick-event/ every 15 minutes OnMinute15: OnMinute30: OnMinute45: OnMinute00: I prefer this one Quote
Question
Tonetzkii
Anyone know this script? Every 15mins the npc give random item like zeny or items on 1 player i mean random for all online but not included vendor.
4 answers to this question
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.