Hi all!!!
I'm making a program for interrupt autoclicker. Can anyone share the php code needed for ban player?
Whith that code i will interrupt the autoclicker and the players couldnt dupe on my server.
Printable View
Hi all!!!
I'm making a program for interrupt autoclicker. Can anyone share the php code needed for ban player?
Whith that code i will interrupt the autoclicker and the players couldnt dupe on my server.
nothing can be done with php for that.
See our protect from duping -style thread.
cant i bann a player with php???
Sorry my english is bad. The only thing i need is the ban player method on php if exists. All the other code is done and working.
Yes you can... but autoclickers are client side... you need to code something that starts with the client to prevent that but its useless to do since they could easily just use a different client...
Best solution: Find server side fixes to your problems instead of doing anything client side. Number 1 rule of client-server programming never trust the client
Please, if you know the method share and i tell u if it works.
Ok i've got the player banned when use autocklicker but now i need to kick it out.
The program is easy, count the clicks, and for x quantity of clicks detected from the same id account bann automaticaly the player.
The problem now is that i need to kick player. Any ideas?
Thanks man.
to be honest, dont use the retreat mode detector. Players dont always display the retreat mode thing and 40% of the time its jsut people accidently going into retreat mode, not duping.
To prevent the problem serverside:
disable dropping items and make all items in item mall only stack to 1 or have a buy ammount of max stack.
(or just put item mall in npcs/disable it).
make everything full stack then. or decrease their stack ammount.
anything to stop them repeating this action over and over and over.
My program do that:
-Check world2.formatlog every (5 min).
-Save an array with all player ids that buy at item mall and save the total clics on that 5 minutes.
-Clean the world2.formatlog.
-If any player id did more than 500 on the last 5 min (for dupe they need 11 min) the player will be banned for 1 hour and kiked form server.
I made a script just like that also, but its important to measure both the speed and the frequency of purchases.
Be aware item dropping is also a cause.