Welcome, Guest
Username: Password: Remember me

TOPIC: Preventing Rapid Fire Keybind Cheats

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1213

  • Lamron
  • Lamron's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Thank you received: 13
  • Karma: 1
I had a player on my server a few weeks ago that was firing semi-auto weapons inhumanly fast. I did some research to find out how this was done to devise a way to prevent it. Its done with a special keybind that does several actions at once. It fires, reloads, double swaps weapon to cancel reload, and fires again. This allows a weapon to fire again almost instantly, bypassing the fire rate cap, because the game always thinks this is your first shot. (I'm not going to post the actual bind here, but you could find it if you wanted to do some testing)

Anyway, I wrote a script that prevents this keybind from working. I've tested it on my server and it is 100% effective at stopping it, and mostly unnoticeable to normal players.

I'm attaching the file to this post for download. Hopefully someone finds it useful. A READ-ME is included with instructions.
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: {OSG}Brodie, mitsurugi, PainKiller.k4f, {cool.G} ingre

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1218

  • {cool.G} ingre
  • {cool.G} ingre's Avatar
  • Offline
  • Banned
  • Posts: 279
  • Thank you received: 66
  • Karma: 2
nice work man
i try your script
so many players i baned for this
The administrator has disabled public write access.

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1219

  • {cool.G} ingre
  • {cool.G} ingre's Avatar
  • Offline
  • Banned
  • Posts: 279
  • Thank you received: 66
  • Karma: 2
work good mate,thanks for nice script

one problem, if player kiked or reconnect in same map dont work script
only next map, must add script regenerater every 10 sec re exec script
if possible?
The administrator has disabled public write access.

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1220

  • Lamron
  • Lamron's Avatar
  • Offline
  • New Member
  • Posts: 13
  • Thank you received: 13
  • Karma: 1
I wasn't able to replicate the problem you described. Disconnecting and rejoining shouldn't matter because the script restarts at every spawn. That's partially why its set up to stop when a player gets killed or leaves the server, instead of just being a simple looping check.

Auto-restarting the script every few seconds isn't efficient, and will probably cause a memory leak. Whatever the problem is, there's a better solution than that.

Where are you starting the script from? Maybe that is making the difference. Also, what gametype are you using?

What's the IP of your server and I'll join, leave, and reconnect to test it.
The administrator has disabled public write access.
The following user(s) said Thank You: PainKiller.k4f

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1221

  • {cool.G} ingre
  • {cool.G} ingre's Avatar
  • Offline
  • Banned
  • Posts: 279
  • Thank you received: 66
  • Karma: 2
hello mate
for the moment i stop script
wait for fix

i think i add in all gametypes
in war.gsc
sd.gsc
+
+
in all gametypes scripts
i think best solution
Last Edit: 1 year 9 months ago by {cool.G} ingre.
The administrator has disabled public write access.

Preventing Rapid Fire Keybind Cheats 1 year 9 months ago #1222

  • mitsurugi
  • mitsurugi's Avatar
  • Offline
  • Moderator
  • Posts: 135
  • Thank you received: 101
  • Karma: 9
thks lamron, work well for me in S&D
The administrator has disabled public write access.
The following user(s) said Thank You: {OSG}Brodie
Time to create page: 0.365 seconds
Powered by Kunena Forum