Jump to content

Server Security and setElementData


glowdemon1

Recommended Posts

Hi, I was wondering if it would be safe to use setElementData and getElementData serverside without having to fear breaches and fake clients. Are rougue clients a common problem and would I be able to use elementData without an anti cheat system but only if I use elementData serverside and not clientside?

Link to comment

It should be safe if you have a table of common d3d9 checksums, like default one, ultrathing and enb(?), and compare those to getPlayerACInfo in onPlayerConect to check if the player is using a dll injection. If he is using a non-common d3d9 file, then it could be a dll injection, and you can then use cancelEvent to prevent the user from connecting to the server.

Or should I said, you should have this kind of anti-cheating system no matter what, since otherwise a player can steal maps, call exported functions, setElementData (which is especially bad for gamemodes like race, that depend on element data very much), and triggerServerEvent's.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...