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 


Freezing values in C# app like cheat engine

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
RAIN MAN
Cheater
Reputation: 0

Joined: 27 Oct 2009
Posts: 25

PostPosted: Sat Dec 04, 2010 3:11 am    Post subject: Freezing values in C# app like cheat engine Reply with quote

How can i make my c sharp app freeze the values like in cheat engine ?

Im working on name esp on halo 2 vista and the only way it works is if i freeze the value of the addy in ce i can set values in c# but i dont know how to make it freeze it like in ce. any help would be great anymore details just post.
Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Sat Dec 04, 2010 8:12 am    Post subject: Reply with quote

Continuously write the address. Cheat Engine has an interval setting thats default at 250ms I believe.
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: Sat Dec 04, 2010 9:15 am    Post subject: Reply with quote

Either use a thread/timer to constantly write to the address as SwallowIt mentioned or create a code cave to alter the code to not need a timer writing to it but does the "freezing" effect internally.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
sangeli
Master Cheater
Reputation: 0

Joined: 07 Dec 2006
Posts: 406

PostPosted: Sat Dec 04, 2010 3:40 pm    Post subject: Reply with quote

I find it easy to make a special thread class that is specifically designed to freeze a specific value at a given interval, and create a new thread for each new frozen value.
_________________
Dark Byte wrote:
ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware
Back to top
View user's profile Send private message
RAIN MAN
Cheater
Reputation: 0

Joined: 27 Oct 2009
Posts: 25

PostPosted: Sun Dec 05, 2010 4:42 pm    Post subject: Reply with quote

sangeli wrote:
I find it easy to make a special thread class that is specifically designed to freeze a specific value at a given interval, and create a new thread for each new frozen value.


Sounds like a good idea to me.

I tried a timer set the interval to 100 didnt work then tried 10 still didnt work lol but ill keep searching around and post what i find.
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Wed Dec 08, 2010 4:43 am    Post subject: Reply with quote

If the timer didn't work, you're writing your value wrong.

You can also use CE to find out what instructions the game uses to update that memory address and overwrite them with NOPs (0x90).

For example, if you game writes the new value of your health via a mov [eax], ecx instruction at 0x0051BF32 you could simply make a two byte buffer containing {0x90, 0x90} and write it at that address. This is exactly how "replace this with code that does nothing" works. Of course if it's a different instruction then the length might be different - for example 'mov dword ptr ds:[0027155c], ebx' is 6 bytes long.

_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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