Tonetzkii Posted April 9, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 323 Reputation: 9 Joined: 11/19/11 Last Seen: September 25, 2015 Share 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 Link to comment Share on other sites More sharing options...
Rikimaru Posted April 9, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
Joseph Posted April 9, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted April 11, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
Hoshi Posted April 14, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 39 Reputation: 1 Joined: 04/04/12 Last Seen: June 1, 2020 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.