Cloudhunter Posted January 10, 2008 Share Posted January 10, 2008 Hello all. As you may be aware, some people put "`" in their name to avoid being kicked, and are usually cheaters. Based on a bug report, I've made a script that will kick anyone with that in their nick, giving them 30 seconds to change it first. It also checks whether people change their nick to include "`". It is heavily based on AlienX's anti cheat script - without it, this script wouldn't exist yet . Instructions for use: Not many, just make sure the script has privileges to kick players. Install the zip file in the server resources folder, start it in any manner you wish and voila! Protection against nick cheaters. Feel free to share any feedback you might have, and I'll do my best to accommodate your suggestions when I have time. If you want any more nick conditions adding, please let me know. That's it for this post, enjoy the script! Edit: First release had a bug, and a typo. Here's the updated link Download here: http://dedicated.janipewter.net/upload/antinamecheat.zip Many thanks to Jani for testing the file on his server, and for hosting the file Cloudy Link to comment
Jani Posted January 11, 2008 Share Posted January 11, 2008 Very simple and useful script indeed. To use it, follow these steps: Upload the zip file to your server's resources directory. If you are using a httpmirror, create a folder named antinamecheat and extract the two files into it, and upload the folder to your mirror server. The script needs kick privileges so you need to add it to your access control list. The easiest way to do this is create a new group which has ONLY the kick privilege, so if anything goes horribly wrong with the script, the most it can do is kick. To do this, I first need to create an ACL which allows members to use the kickPlayer function. This is simple, and in my example I will call my ACL Onlykick. In my acl.xml, it looks like this: <acl name="Onlykick"> <right name="function.kickPlayer" access="true"/> </acl> Now you need to create a group which will link the resource and the ACL. In this example I will call my group ackick. It should look as follows in acl.xml: <group name="ackick"> <acl name="Onlykick"/> <object name="resource.antinamecheat"/> </group> The resource now has permission to use function.kickPlayer, the only administrative function it requires to work. If you want the server to load the anticheat kicker upon startup, you should add the following line to your mtaserver.conf: <resource src="antinamecheat" startup="1" protected="0"/> Link to comment
darkdreamingdan Posted January 13, 2008 Share Posted January 13, 2008 DP3 adds a new onClientChangeNick event to the server, which is cancellable. This means you dont have to use a timer, and instead of kicking the player you can just block him from changing his nick altogether. Link to comment
DazzaJay Posted January 13, 2008 Share Posted January 13, 2008 does this only kick people with the ` in thier names? because i have seen cheaters also using Spaces in thier names... like " Nomez " and when you try to /votekick (if no admins are on the server) it just says "Invalid nick" or somthing like that. if it dosent kick people with spaces in thier name, can you add that? Link to comment
Cloudhunter Posted January 14, 2008 Author Share Posted January 14, 2008 Yup, extremely simple. Although, I think I'll wait until DP3 until adding that, as the onClientNickChange event will help alot, and make it alot less disruptive. Cloudy Link to comment
Sami_~> Posted September 22, 2017 Share Posted September 22, 2017 On 1/11/2008 at 03:04, Cloudhunter said: : http://dedicated.janipewter.net/upload/antinamecheat.zip the download link is not working.. Link to comment
Castillo Posted September 22, 2017 Share Posted September 22, 2017 You should really pay attention to the topic creation date. 1 Link to comment
Recommended Posts