Posting this here because obviously lots of admins use ETPro on their public servers and frequent these forums. I've been dabbling with a bit of lua scripting, and after a little incident with an aimbotter last night I thought I'd release a script that other admins may find handy. Basically this new etbot or whatever it is seems to be able to disable admin_mod, which is a pain in the ass if you dont want to give all your refs rcon to deal with them.
The first script adds a couple of commands available to normal refs logged in via password, the commands are intended to make it unpleasant for bots to stay on your server.
gw_refv1.lua
Whilst I'm at it might as well post these too:
Batterybot: version of Hadr0's anti-spawnkill script modified for battery.
battery_botv3.lua
Selfkill punishment: want to discourage selfkills? use this script to set a limit for selfkills and penalise players in health and ammo.
skcount_v1.lua
I'll stick them on the wiki when I get around to finding out how to work it :S. Please feel free to provide feedback, either on variations you would like added or indeed if the lua masters want to give me some pointers on my first attempts, you are very welcome to do so.
p.s. They are all slightly sloppy atm with commented lines etc. This is due to the fact that I wasn't planning on promulgating them yet, it was only that botter last night that prompted me to do so.
aimbot deterrent and other misc lua scripts
Moderators: Forum moderators, developers
aimbot deterrent and other misc lua scripts
GhosT:McSteve
Ghostworks Gaming Community
Ghostworks Gaming Community
You're right. It was my intention to do this and hence had this in the comments when i was drafting the pseudocode. Like I said, apologies for the sloppy script and misleading comments such as these, they haven't been tidied yet. Thanks to ReyalP, I quickly abandoned looking for the chargebar after he told me it was not accessible.
The empty charge bar thing was to prevent medics and fops bagging themselves up at spawn, but since they cant do both health and ammo I didn't see it as a major concern. I did think to use the relevant lines from im2good4u's noweapon script to empty their ammo/heath weaponbank, but haven't done so yet.
I'm tidying the scripts atm and so hopefully I'll get all misleading comments removed shortly.
The empty charge bar thing was to prevent medics and fops bagging themselves up at spawn, but since they cant do both health and ammo I didn't see it as a major concern. I did think to use the relevant lines from im2good4u's noweapon script to empty their ammo/heath weaponbank, but haven't done so yet.
I'm tidying the scripts atm and so hopefully I'll get all misleading comments removed shortly.
GhosT:McSteve
Ghostworks Gaming Community
Ghostworks Gaming Community