K1NGRAFFY Posted May 10, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Share Posted May 10, 2017 I've tired to search and find a working hourly points in rAthena but no one is working can some one give me a working hourly points script? Thanks in advance Quote Link to comment Share on other sites More sharing options...
0 Amidamaru Posted January 12, 2018 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 21 Reputation: 2 Joined: 07/12/17 Last Seen: March 30, 2020 Share Posted January 12, 2018 //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.4.1 //===== Compatible With: ============================================= //= Any eAthena 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 3 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 Free Points 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 = Added command to check remaining time and updated idle check. (Skorm) //= 1.4.1 = Modified the msgs to display according to .timer. (Skorm) //==================================================================== - script hourlypoints3 -1,{ OnPointGet: //Check for idle. while(checkvending() >= 1 || checkchatting() == 1 || checkidle() >= .idle) { if( .@mes$ == "" ) { dispbottom set( .@mes$, "The hourly points event stopped because you were vending, chatting, or idle!" ); set @hourly_points_timer, 0; } sleep2 .delay; } @consecutive_timer++; .@time_string$ = Time2Str( @consecutive_timer * ( .timer / 1000 ) ); dispbottom "You received "+.points+" Free Point(s) by staying ingame for 1 hour."; #KAFRAPOINTS = #KAFRAPOINTS + .points; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; @consecutive_bonus++; //Check for consecutive timer. if(@consecutive_bonus == .cdelay) { @consecutive_bonus = 0; #KAFRAPOINTS = #KAFRAPOINTS + .cpoints; dispbottom "You receive a bonus "+.cpoints+" Free Point(s) by playing for minimum 3 hours consecutively!!!"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; } OnPCLoginEvent: addtimer .timer,"hourlypoints3::OnPointGet"; @hourly_points_timer = gettimetick(2) + ( .timer / 1000 ); end; OnCheck: message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!"; end; OnInit: bindatcmd "check","hourlypoints3::OnCheck"; //@check to view time till next point. .timer = 1000*60*60; //Timer in milliseconds. ( Default: 1000*60*60 [ = 1 Hour ] ) .cdelay = 3; //Delay before receiving the consecutive bonus. ( Default: 3 [ { ~ 3 Hours } *Using default timer ] ) .cpoints = 10; //Points gained for consecutive time online. ( Default: 10 ) .points = 1; //Normal points gained. ( Default: 1 ) .delay = 1000; //Delay for idle re-check check. ( Default: 1000 [ = 1 Second ] ) .idle = 60*5; //Player is idle after not moving for this many seconds. ( Default: 60*5 [ = 5 Minutes ] ) } Here, you may use this hourlypoints script. i've tested and it's functioning in my server each hour (except idle or vending) you get 1 #KAFRAPOINTS or Freepoint you can change into getitem instead of #KAFRAPOINTS CMIIW 2 Quote Link to comment Share on other sites More sharing options...
1 Poring King Posted May 10, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted May 10, 2017 Here is my Hourly points for my test server - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle."); } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" SEA CPM by staying ingame for 1 hour"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #CASHPOINTS, #CASHPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" SEA CPM in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. set .delay, 500; //Delay for idle re-check check. set .dlimit, 60*5; //Stop points if afk greater then in seconds. } Customize it in your desire goto OnInit Quote Link to comment Share on other sites More sharing options...
0 K1NGRAFFY Posted May 10, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Author Share Posted May 10, 2017 Just now, Poring King said: Here is my Hourly points for my test server - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle."); } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" SEA CPM by staying ingame for 1 hour"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #CASHPOINTS, #CASHPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" SEA CPM in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. set .delay, 500; //Delay for idle re-check check. set .dlimit, 60*5; //Stop points if afk greater then in seconds. } Customize it in your desire goto OnInit I will try it later brooo thanks! Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted May 10, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted May 10, 2017 Quote Link to comment Share on other sites More sharing options...
0 K1NGRAFFY Posted May 10, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Author Share Posted May 10, 2017 1 hour ago, Poring King said: Hey bro i already reach 60minutes and i didnt get any cash points Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted May 10, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted May 10, 2017 Thats why you did not recieve any cash points its because you idle or vend Quote Link to comment Share on other sites More sharing options...
0 JamS Posted December 23, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 12/08/17 Last Seen: January 23, 2019 Share Posted December 23, 2017 how to apply this script? (sorry newbie here) Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted December 30, 2017 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted December 30, 2017 On 12/23/2017 at 3:50 PM, JamS said: how to apply this script? (sorry newbie here) https://github.com/rathena/rathena/wiki/Adding-a-Script Quote Link to comment Share on other sites More sharing options...
0 core Posted January 10, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 135 Reputation: 1 Joined: 05/21/17 Last Seen: June 11, 2018 Share Posted January 10, 2018 On 5/9/2017 at 8:08 PM, Poring King said: Here is my Hourly points for my test server - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: addtimer .timer,"hourlypoints::OnPointGet"; end; OnPointGet: while(checkvending() >= 1 || checkchatting() == 1 || checkidle()>=.dlimit) { sleep2 .delay; if(.@mes$=="") dispbottom set(.@mes$,"The hourly points event haulted because you were vending, chatting, or idle."); } set #CASHPOINTS, #CASHPOINTS + .point_amt; dispbottom "You received "+.point_amt+" SEA CPM by staying ingame for 1 hour"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #CASHPOINTS, #CASHPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" SEA CPM in playing for 12 consecutive hours"; dispbottom "Current Balance = "+#CASHPOINTS+" SEA CPM"; } addtimer .timer,"hourlypoints::OnPointGet"; end; OnInit: set .timer, 1000*60*60; //Timer in milliseconds. set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained. set .delay, 500; //Delay for idle re-check check. set .dlimit, 60*5; //Stop points if afk greater then in seconds. } Customize it in your desire goto OnInit Sir how to add this to your hourly script >> dispbottom "Hourly Rewards have been started for this character."; Quote Link to comment Share on other sites More sharing options...
0 core Posted January 13, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 135 Reputation: 1 Joined: 05/21/17 Last Seen: June 11, 2018 Share Posted January 13, 2018 On 1/12/2018 at 2:46 AM, Amidamaru said: //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.4.1 //===== Compatible With: ============================================= //= Any eAthena 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 3 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 Free Points 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 = Added command to check remaining time and updated idle check. (Skorm) //= 1.4.1 = Modified the msgs to display according to .timer. (Skorm) //==================================================================== - script hourlypoints3 -1,{ OnPointGet: //Check for idle. while(checkvending() >= 1 || checkchatting() == 1 || checkidle() >= .idle) { if( .@mes$ == "" ) { dispbottom set( .@mes$, "The hourly points event stopped because you were vending, chatting, or idle!" ); set @hourly_points_timer, 0; } sleep2 .delay; } @consecutive_timer++; .@time_string$ = Time2Str( @consecutive_timer * ( .timer / 1000 ) ); dispbottom "You received "+.points+" Free Point(s) by staying ingame for 1 hour."; #KAFRAPOINTS = #KAFRAPOINTS + .points; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; @consecutive_bonus++; //Check for consecutive timer. if(@consecutive_bonus == .cdelay) { @consecutive_bonus = 0; #KAFRAPOINTS = #KAFRAPOINTS + .cpoints; dispbottom "You receive a bonus "+.cpoints+" Free Point(s) by playing for minimum 3 hours consecutively!!!"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; } OnPCLoginEvent: addtimer .timer,"hourlypoints3::OnPointGet"; @hourly_points_timer = gettimetick(2) + ( .timer / 1000 ); end; OnCheck: message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!"; end; OnInit: bindatcmd "check","hourlypoints3::OnCheck"; //@check to view time till next point. .timer = 1000*60*60; //Timer in milliseconds. ( Default: 1000*60*60 [ = 1 Hour ] ) .cdelay = 3; //Delay before receiving the consecutive bonus. ( Default: 3 [ { ~ 3 Hours } *Using default timer ] ) .cpoints = 10; //Points gained for consecutive time online. ( Default: 10 ) .points = 1; //Normal points gained. ( Default: 1 ) .delay = 1000; //Delay for idle re-check check. ( Default: 1000 [ = 1 Second ] ) .idle = 60*5; //Player is idle after not moving for this many seconds. ( Default: 60*5 [ = 5 Minutes ] ) } Here, you may use this hourlypoints script. i've tested and it's functioning in my server each hour (except idle or vending) you get 1 #KAFRAPOINTS or Freepoint you can change into getitem instead of #KAFRAPOINTS CMIIW how to allow even afk can earn points Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted January 13, 2018 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 11 hours ago Share Posted January 13, 2018 7 hours ago, core said: how to allow even afk can earn points remove this || checkidle() >= .idle 2 Quote Link to comment Share on other sites More sharing options...
0 core Posted January 13, 2018 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 135 Reputation: 1 Joined: 05/21/17 Last Seen: June 11, 2018 Share Posted January 13, 2018 18 hours ago, sader1992 said: remove this || checkidle() >= .idle Thank you very much sir Quote Link to comment Share on other sites More sharing options...
0 myserver Posted September 14, 2018 Group: Members Topic Count: 15 Topics Per Day: 0.01 Content Count: 45 Reputation: 0 Joined: 08/27/18 Last Seen: October 23, 2018 Share Posted September 14, 2018 On 1/12/2018 at 6:46 PM, Amidamaru said: //===== Hourly Points Script ========================================= //===== By: ========================================================== //= GorthexTiger modified by Nibi //===== Current Version: ============================================= //= 1.4.1 //===== Compatible With: ============================================= //= Any eAthena 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 3 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 Free Points 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 = Added command to check remaining time and updated idle check. (Skorm) //= 1.4.1 = Modified the msgs to display according to .timer. (Skorm) //==================================================================== - script hourlypoints3 -1,{ OnPointGet: //Check for idle. while(checkvending() >= 1 || checkchatting() == 1 || checkidle() >= .idle) { if( .@mes$ == "" ) { dispbottom set( .@mes$, "The hourly points event stopped because you were vending, chatting, or idle!" ); set @hourly_points_timer, 0; } sleep2 .delay; } @consecutive_timer++; .@time_string$ = Time2Str( @consecutive_timer * ( .timer / 1000 ) ); dispbottom "You received "+.points+" Free Point(s) by staying ingame for 1 hour."; #KAFRAPOINTS = #KAFRAPOINTS + .points; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; @consecutive_bonus++; //Check for consecutive timer. if(@consecutive_bonus == .cdelay) { @consecutive_bonus = 0; #KAFRAPOINTS = #KAFRAPOINTS + .cpoints; dispbottom "You receive a bonus "+.cpoints+" Free Point(s) by playing for minimum 3 hours consecutively!!!"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Free Point(s)"; } OnPCLoginEvent: addtimer .timer,"hourlypoints3::OnPointGet"; @hourly_points_timer = gettimetick(2) + ( .timer / 1000 ); end; OnCheck: message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!"; end; OnInit: bindatcmd "check","hourlypoints3::OnCheck"; //@check to view time till next point. .timer = 1000*60*60; //Timer in milliseconds. ( Default: 1000*60*60 [ = 1 Hour ] ) .cdelay = 3; //Delay before receiving the consecutive bonus. ( Default: 3 [ { ~ 3 Hours } *Using default timer ] ) .cpoints = 10; //Points gained for consecutive time online. ( Default: 10 ) .points = 1; //Normal points gained. ( Default: 1 ) .delay = 1000; //Delay for idle re-check check. ( Default: 1000 [ = 1 Second ] ) .idle = 60*5; //Player is idle after not moving for this many seconds. ( Default: 60*5 [ = 5 Minutes ] ) } Here, you may use this hourlypoints script. i've tested and it's functioning in my server each hour (except idle or vending) you get 1 #KAFRAPOINTS or Freepoint you can change into getitem instead of #KAFRAPOINTS CMIIW how to convert this to cashpoint Quote Link to comment Share on other sites More sharing options...
0 Skorm Posted October 18, 2018 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted October 18, 2018 (edited) On 9/14/2018 at 6:35 AM, myserver said: how to convert this to cashpoint Change every instance of #KAFRAPOINTS to #CASHPOINTS. Edited October 18, 2018 by Skorm Quote Link to comment Share on other sites More sharing options...
Question
K1NGRAFFY
I've tired to search and find a working hourly points in rAthena but no one is working
can some one give me a working hourly points script?
Thanks in advance
Link to comment
Share on other sites
14 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.