Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help/Request Trainer Maker

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
2Xmatch
How do I cheat?
Reputation: 0

Joined: 10 Apr 2011
Posts: 5

PostPosted: Sun Apr 10, 2011 2:53 pm    Post subject: Help/Request Trainer Maker Reply with quote

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
View user's profile Send private message
2Xmatch
How do I cheat?
Reputation: 0

Joined: 10 Apr 2011
Posts: 5

PostPosted: Tue Apr 12, 2011 12:55 pm    Post subject: Reply with quote

BUMP. Can anybody reply to this please
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Apr 12, 2011 2:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
2Xmatch
How do I cheat?
Reputation: 0

Joined: 10 Apr 2011
Posts: 5

PostPosted: Wed Apr 13, 2011 6:48 am    Post subject: Reply with quote

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
View user's profile Send private message
2Xmatch
How do I cheat?
Reputation: 0

Joined: 10 Apr 2011
Posts: 5

PostPosted: Fri Apr 15, 2011 8:07 am    Post subject: Reply with quote

can this be implemented in the next CE release?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25820
Location: The netherlands

PostPosted: Fri Apr 15, 2011 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
2Xmatch
How do I cheat?
Reputation: 0

Joined: 10 Apr 2011
Posts: 5

PostPosted: Fri Apr 15, 2011 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25820
Location: The netherlands

PostPosted: Sat Apr 16, 2011 4:30 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites