Hendrickson Posted October 24, 2011 Posted October 24, 2011 I'm looking for someone to make a mod please for me that would limit online attacks of the same player to once per 5 minutes. So only able to attack the same player that is online once per 5 minutes. Maybe someone has already made this mod? Quote
Uridium Posted October 24, 2011 Posted October 24, 2011 but when attacked and they lose dont they usually end up in hosp for X amount of minutes ? Quote
Curt Posted October 24, 2011 Posted October 24, 2011 hmmm...you could create an additional table to store when someone makes an online attack to someone and use timestamps to limit the attacks to every 5 minutes. This would not be too difficult to add at all... Quote
Dave Posted October 25, 2011 Posted October 25, 2011 hmmm...you could create an additional table to store when someone makes an online attack to someone and use timestamps to limit the attacks to every 5 minutes. This would not be too difficult to add at all... Considering it's for such a short time I'm certain a session could suffice. Quote
canibalstew Posted November 3, 2011 Posted November 3, 2011 Easily accomplished It is very easy once you count your attacks as one could add an attacks section to user table then add the code to add to the count and to limit the attacks, lastly add code to reset attacks counter in user table every 5 minutes, very simple and effective. All code goes into attack and cron pages so its an easy thing. I could do this for you for $10 Quote
Dominion Posted November 3, 2011 Posted November 3, 2011 Is there not already an "attacklog" table? So... just use a query to check if there has been a fight between the two players in the last 5 mins. Quote
Hendrickson Posted November 15, 2011 Author Posted November 15, 2011 (edited) And also give the user s print, you have already attacked this user. Please wait 5 minutes and try again. Can anyone code this in for me? Please pm me if you can and the cost. Edit: Canibalstew please pm me I can for some reason pm you! Edited November 15, 2011 by Hendrickson Quote
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.