Use Coupon WELCOME to save 20%

$ USD
  • $ USD
  • € EUR
  • £ GBP
  • $ AUD
  • R$ BRL
  • CHF CHF
  • ¥ JPY
Anti-AFK CAPTCHA – Free FiveM Mods

RK Anti-AFK CAPTCHA: Source and Timer Problems to Fix

The original Anti AFK CAPTCHA System was posted by yeptys in October 2024 with ox_lib as a requirement and no support offered. Its rk3gaming repository link now returns 404. The release discussion links a rewrite by Hajdenko; we reviewed the surviving Hajdenko repository at 4824c7d. That community revision should not be presented as an actively supported original release.

Original release and rewrite discussion

Hajdenko’s reviewed community revision

Configuration and detection behavior

The revision loads ox_lib, client/main.lua, server/edit_me.lua and config.lua. Defaults are afkTimeMinutes = 10, kickTime = 60 and captchaLength = 6. Detection uses a sphere with radius 10 around the player, rather than tracking all keyboard or gameplay activity. Moving within that area is not necessarily treated as activity.

Repair the retry and cleanup paths first

On a wrong answer, checkAFK starts another challenge without completing the previous challenge’s countdown. That older countdown can still request a kick after a later answer succeeds. Cancelling the input dialog also requests a kick immediately. Test wrong-then-correct and cancelled-input behavior before enabling this for players.

The zone-exit code calls destroy on an ox_lib zone, while the documented Lua removal method is remove. Timer cancellation and replacement also need review: the code assumes a destroy method on the SetTimeout result. Correct lifecycle handling before relying on movement to reset the challenge. Do not advertise this revision as ready to install unchanged.

Limits of the kick mechanism

The server handler kicks the requesting player; it does not verify inactivity or the CAPTCHA itself. This is a client-driven inactivity prompt, not a tamper-resistant anti-cheat or proof of engagement. The source contains no explicit license file, so public code access alone does not establish unrestricted redistribution rights. No gameplay test or repaired package is provided.

Leave a Reply