Jump to content
sader1992

Utility: sader's Hourly Rewards

Recommended Posts

6 hours ago, Bringer said:

is this hourly reward base or char or account?

like when they change char timer will counting

default on account

if you change 

#HourlyRewards += 1;

to

HourlyRewards += 1;

it would be on char , with the points variable ofc HourlyRewards

Link to comment
Share on other sites

3 hours ago, sader1992 said:

default on account

if you change 

#HourlyRewards += 1;

to

HourlyRewards += 1;

it would be on char , with the points variable ofc HourlyRewards

sorry i mean the timer not the point

timer will continue even they change char

Link to comment
Share on other sites

Hello Sader. I am using your script. I just want to know if it is possible to have a command to check the remaining time to get the next reward? Thank you.

Link to comment
Share on other sites

On 4/18/2020 at 11:46 PM, FranzRouen said:

Hello Sader. I am using your script. I just want to know if it is possible to have a command to check the remaining time to get the next reward? Thank you.

up

Link to comment
Share on other sites

Hello! Sorry for bringing up a old thread, but I've noticed that players are able to bypass the hourly idle check by attacking a Punching Bag 24/7, is there a way to prevent this?

Link to comment
Share on other sites

Hey guys, players are able to bypass the hourly idle check by constantly attacking the Punching Bag Script, I was wondering if there's a way to ensure the idle check when attacking the Punching Bag.

My current solution was to create the Punching Bag with OnTouch: which will cancel the effect, however, long-ranged classes are able to bypass the OnTouch from distance. I was wondering if there's a way to prevent this little bug through this script?

Link to comment
Share on other sites

Anyone tried to add, additional message to the players, every time they reach 30 minutes out of 1 hour they will receive a message that they successfully accumulated 30 minutes of our 1 hour ? 

Link to comment
Share on other sites

9 hours ago, Sergardo said:

how to make hourly point continuous even u  got disconnected or change character

 

this is tricky , you can't do that , this system add timer to the attached session , and on logout the session will be removed.

if you want to do that I advises you to search for others systems that does not send the reward to the player as soon as they complete the hour , they must talk to the npc to get their reward.

Link to comment
Share on other sites

On 9/8/2020 at 9:24 PM, sader1992 said:

this is tricky , you can't do that , this system add timer to the attached session , and on logout the session will be removed.

if you want to do that I advises you to search for others systems that does not send the reward to the player as soon as they complete the hour , they must talk to the npc to get their reward.

thanks sir 

Link to comment
Share on other sites

Hi Sader, 

Found this on a thread using the search bar, I'm not much knowledgeable in scripts so I think it's best to have you check it.
May you please check and verify if it fits your script well?


This is from @jeronpot, allowing to continue points even if disconnected.

#HourlyRewards = 0;

OnPCLogoutEvent:
	if(.s_GePard_ip){
	query_logsql("delete from `sader_variables_log` where `variable` = '#Hourly_Rewads_Check' AND `account_id`= '"+getcharid(3)+"'");
	}
	if(#Hourly_Ban == 1){
		#Hourly_Ban = 0;
	}
	#Hourly_Rewads_Check = 0;
end;

Also, this to check how many remaining minutes left to get the next point by @Poring King

OnCheck:
    message strcharinfo(0),@hourly_points_timer ? Time2Str( @hourly_points_timer )+" Remaining.":"Something went wrong relog!";
    end;

 

Link to comment
Share on other sites

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.