Jump to content

Server Security and setElementData


glowdemon1

Recommended Posts

Posted

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.

  • Moderators
Posted

indeed Tables are the most secure way to save your data.

Also if you stop sharing elementdata, (by put the last argument on false) cheaters won't know the elementdata key's. :idea:

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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...