Siberhecy

Editing client scripts for hack?

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.

 

Share this post


Link to post
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

Share this post


Link to post

MTA has one of the best Anti cheat systems any game has ever had period. You don't really have to worry about any of this sort of stuff unless they figure out some sort of http export or something that they can get into.

  • Like 1

Share this post


Link to post
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...

Share this post


Link to post

if you wanna save your client site , then complete all of your script with luac.

Share this post


Link to post

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

Share this post


Link to post

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.