Jump to content

Editing client scripts for hack?


Siberhecy

Recommended Posts

Hello, I'm new in MTA scripting. 

I just checked zombies script by Slothman and I see server triggers punch in client and my question starts.

What happens if client edits the script, someone gonna comment all punch action code lines than mean zombies don't attack him... Is it possible? It must be possible, the server doesn't calculate health...

I didn't see any set element health code in server...

Waiting for answers thanks.

 

Link to comment
13 minutes ago, Siberhecy said:

What happens if client edits the script, someone gonna comment all punch action code lines than mean zombies don't attack him... Is it possible?

MTA will reload the script, if the client edits it, so you don't need to worry about that unless you are dealing with a very expert hacker, which you won't be able to stop anyway. You should always try to keep important logic on server-side, if that's not an option then keep it on client-side.

  • Like 1
Link to comment
3 minutes ago, Saml1er said:

MTA will reload the script, if the client edits it, so you don't need to worry about that unless you are dealing with a very expert hacker, which you won't be able to stop anyway. You should always try to keep important logic on server-side, if that's not an option then keep it on client-side.

Yah, I always prefer work w server side, I never trust client...  Thanks for the reply!

2 minutes ago, CodyJ(L) said:

MTA has one of the best Anti cheat systems any game has ever had period.

2

 

I hope so...

Link to comment

Instead of using Luac, you could delete the file, when it's starting to run from the harddrive, because it's already loaded into the memory... 

I say this, because there are some guy, who can encrypt your luac file... 

Edited by Awang
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...