Jump to content

Recommended Posts

Posted
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

Posted
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

  • 3 months later...
Posted
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

  • 3 weeks later...
Posted

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?

  • 1 month later...
Posted
3 minutes ago, Freecz said:

where?

OnMyHourlyPoints:
  message strcharinfo(0),"[Hourly Rewards]: You have " + #HourlyRewards + " Hourly Points .";
Posted

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?

  • 1 month later...
Posted

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 ? 

  • 3 weeks later...
Posted

I added everything into the server but when I go to type any of the commands it tells me there is no such thing, and it also doesn't give rewards or points. Any idea what's wrong with it?

  • 3 weeks later...
Posted
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.

Posted
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 

  • 3 weeks later...
Posted

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;

 

  • 1 year later...
Posted
On 10/1/2020 at 6:48 PM, Almond Snicker said:

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;

 

Any update on this?

  • 4 weeks later...
Posted (edited)
On 6/16/2020 at 6:29 AM, Katazui said:

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?

I have this issue as well. Really need a solution. Thanks.

If the script can add a restriction on certian map, and move all the punching bag to this map, anyone who is in this map will not get points.

Edited by Surefirer
add suggestion
  • 1 year later...
Posted
On 3/14/2022 at 5:27 AM, Surefirer said:

I have this issue as well. Really need a solution. Thanks.

If the script can add a restriction on certian map, and move all the punching bag to this map, anyone who is in this map will not get points.

OnPCLoginEvent:
	addtimer .s_time, strnpcinfo(3)+"::OnHourlyRewards";
	if(strcharinfo(3) == "map_name"){
		deltimer .s_time, strnpcinfo(3)+"::OnHourlyRewards"
		}

probably?

  • 11 months later...
  • 2 weeks later...
Posted

Is it possible to add multiple shop on this script? Well I think yes but how? like:
- Headgear Shop

- Supply Shop

Etc.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...