Feature Request: Access to unmodified / original natives and internal functions (RegisterNetEvent, TriggerServerEvent, etc) #3786
nexa500
started this conversation in
Engineering Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Many popular paid & free anticheats (especially the aggressive ones) do runtime injection / hooking in other resources.
Common techniques include:
RegisterNetEvent,AddEventHandler,TriggerServerEvent,TriggerClientEvent, etc…load/loadstringor modifying metatablesWhile these techniques can be effective against unsecure events, they create significant problems for legitimate script developers:
The negative Impact
RegisterNetEvent('eventName')→ gets replaced by anticheat version → event might get blocked/spoof-checked in unexpected ways.What I would like to see
We already have Citizen.InvokeNative which works for natives, but will not work for non internal functions such as RegisterNetEvent, TriggerEvent, etc...
Having something like this for all functions would great. But ideally it would have to be something more robust so that it can't be overwritten or is protected like the core nui.
Side note
I am aware that people shouldn't use these horrible AC's or the creators shouldn't deploy these nasty tactics. But we don't live in an ideal world, and I would live to have more option to fight against this epidemic.
Beta Was this translation helpful? Give feedback.
All reactions