| View previous topic :: View next topic |
| Author |
Message |
2Xmatch How do I cheat?
Reputation: 0
Joined: 10 Apr 2011 Posts: 5
|
Posted: Sun Apr 10, 2011 2:53 pm Post subject: Help/Request Trainer Maker |
|
|
I know cheat engine already has a trainer maker function that i used on numerous occasions.
I recently had an idea on how to protect myself from evil admins on HL based games . The server is able to execute different commands in the players console. Admins use it to force players to quit the game, plugins use it to force different variables or detect modifications. The server can only test if a variable exists and change it if it is. When i change the names of the vars with cheat engine the server can't force those commands unless it know what changes i made( EG : i search text for cl_ and change it with ul_ all my console vars would change to ul_ from cl_, thus the server won't be able to force them on my client).
This method is tedious when you have to change many variables , also the adresses of those variables change on each game start . I am trying to make a trainer that scans the memory for a certain(pre-established in the trainer) value and changes it automatically . Otherwise i would have to make up to 10 different searches (quit/kill/cl_/gl_/developer/demo/screenshot/bind/say...etc)
It seems that cheat engine is unable to make such a trainer; or i am unable to figure it out.
Any help is welcomed, thanks. |
|
| Back to top |
|
 |
2Xmatch How do I cheat?
Reputation: 0
Joined: 10 Apr 2011 Posts: 5
|
Posted: Tue Apr 12, 2011 12:55 pm Post subject: |
|
|
| BUMP. Can anybody reply to this please |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Apr 12, 2011 2:40 pm Post subject: |
|
|
Servers can query cvar values as well, not just if they exist. If it fails to find the Cvar it could also detect that as a cheat and that you are redirecting the Cvar elsewhere etc.
As for finding things, look into signature scanning using array of bytes. There are some tutorials around the forums on how to use it and such. You should also look into code shifting to handle the moving addresses. If I recall, everything in HL based games are based off from engine.dll, don't take my word for it though. _________________
- Retired. |
|
| Back to top |
|
 |
2Xmatch How do I cheat?
Reputation: 0
Joined: 10 Apr 2011 Posts: 5
|
Posted: Wed Apr 13, 2011 6:48 am Post subject: |
|
|
Of course it can probe for missing /changed variables but i can solve that problem without any difficulty by making aliases of the old vars. I just open my config and replace cl_ with alias cl_, i run the config after the trainer and it's done.I also use that method to change convars that different hacks ad to the game. Severs scan for known cheat related vars and if they detect them , they ban/kick /crash the client thus i can escape different server side scans.
also this method allows me to load normal config files without editing them for the modified vars, i execute the config files and the scan modifies all the memory references.
This is why i would prefer this method.oh and direct ram editing helps me escape crc checks . |
|
| Back to top |
|
 |
2Xmatch How do I cheat?
Reputation: 0
Joined: 10 Apr 2011 Posts: 5
|
Posted: Fri Apr 15, 2011 8:07 am Post subject: |
|
|
| can this be implemented in the next CE release? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25820 Location: The netherlands
|
Posted: Fri Apr 15, 2011 8:32 am Post subject: |
|
|
That would be game specific, so no
You'll have to find this out yourself, find the var, find out what reads it place a hook there. Then when called check the stack to see from where the read came. If it was a server request, return the original value, else return the changed value (It's like bypassing a crc check but then a little more complex) _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
2Xmatch How do I cheat?
Reputation: 0
Joined: 10 Apr 2011 Posts: 5
|
Posted: Fri Apr 15, 2011 11:58 am Post subject: |
|
|
| i'm talking about a option that allows you to make a trainer that scans for a value of a certain category (4byte/double/text etc)and replaces all the results with another value |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25820 Location: The netherlands
|
Posted: Sat Apr 16, 2011 4:30 pm Post subject: |
|
|
you could use the lua aobscan routine for that (first convert the string to an aob to scan for) and then for each result do a write _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|