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 


Value causing changes but not being accessed?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
pox911
Grandmaster Cheater
Reputation: 28

Joined: 29 Nov 2008
Posts: 918

PostPosted: Mon Aug 26, 2013 7:45 pm    Post subject: Value causing changes but not being accessed? Reply with quote

There is a value that im editing that when edited manually causes changed in the game yet it doesnt seem to be getting accessed at all according to the debugger. Any idea on how to go about finding the function that accesess that value that causes the change?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 26, 2013 8:45 pm    Post subject: Reply with quote

Could be a static/constant value (what kind of value is it?). You could try attaching debugger at game start-up.

Could be anti-debugger/cheat. You could try an alternative debugger method.

Remember, you can always use an unrelated instruction for your injection point...you will just have to use pointers and forget about AOB.
Back to top
View user's profile Send private message
pox911
Grandmaster Cheater
Reputation: 28

Joined: 29 Nov 2008
Posts: 918

PostPosted: Tue Aug 27, 2013 8:35 am    Post subject: Reply with quote

i doubt it's anticheat. Razz it's not the value itself i want to change but the what other values are changed/accessed during the process. I found code directly accessing the address by manually searching but the debugger just doesnt seem to pick up on it. Basicly im trying to alter the level creation settings in terraria. I've caused some funky things to happen so far.


edit: The windows debugger seems to have picked up on it. Is there a way to get the windows debugger to stop crashing steam games though?
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Aug 27, 2013 8:42 am    Post subject: Reply with quote

@pox911

++METHOS +1


Another method. Example:

value1 - accessed
value2 - not accessed (according to the debugger)

But, value2 address is always 0xXXX bytes after value1 address.
You can hook instruction which access value1 and you can change value2.

_________________
Back to top
View user's profile Send private message MSN Messenger
pox911
Grandmaster Cheater
Reputation: 28

Joined: 29 Nov 2008
Posts: 918

PostPosted: Tue Aug 27, 2013 8:52 am    Post subject: Reply with quote

The problem is the VEH debugger not seeing the function and the windows debugger that can causes crashes in steam ran games.

Razz i found out the windows one picks it up by running CE on the server tool during world creation since it uses the same bit of code but doesnt need steam to run.
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Aug 27, 2013 8:55 am    Post subject: Reply with quote

You can try winXP+kernelmode debugger.
Or Win7+DBVM+kernelmode debugger.

_________________
Back to top
View user's profile Send private message MSN Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Aug 27, 2013 8:59 am    Post subject: Reply with quote

pox911 wrote:
edit: The windows debugger seems to have picked up on it.
-Glad to hear it.

If you determine that crashing is unavoidable with Steam, be sure to add all of your relevant instructions to your code list for future access. Very Happy


Last edited by ++METHOS on Tue Aug 27, 2013 9:18 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 27, 2013 9:18 am    Post subject: Reply with quote

some steam games have an annoying secondary protection (CEG) that use up the hardware breakpoints. (get startrek, all details about that security is described in the .pdb that comes with it)

windows debugger will crash the game because on attach it executes an int3 and hopes the debugger catches it, but it won't (hidden from the debugger) and thus crashes the game

The veh debugger works, but because the hardware breakpoints are in use it can not set a breakpoint (unless you use the option to override them, but expect a crash if you do)

So, try exception breakpoints with VEH debug. Those do not use hardware breakpoints (just extremely slow and don't expect them to work with execute breakpoints unless the game makes use of NX or you enable it manually)

_________________
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
pox911
Grandmaster Cheater
Reputation: 28

Joined: 29 Nov 2008
Posts: 918

PostPosted: Tue Aug 27, 2013 7:59 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
You can try winXP+kernelmode debugger.
Or Win7+DBVM+kernelmode debugger.

unless im doing something wrong that didnt effect anything

If i use the exception mode it just seems to stop the game from doing anything at all.

Worst case scenario is that i use a crack on the games i own to run it outside of steam long enough to use the windows debugger.
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Aug 28, 2013 4:51 am    Post subject: Reply with quote

You tried all combinations:
- VEH, Hardware
- VEH, int3
- VEH, page exceptions
- WinDBG, Hardware
- WinDBG, int3
- WinDBG, page exceptions
- WinDBG, Hardware, prevent detection
- WinDBG, int3, prevent detection
- WinDBG, page exceptions, prevent detection





"Worst case scenario is that i use a crack on the games i own to run it outside of steam long enough to use the windows debugger."

Well, sometimes it is the only, and fast, possibility.

_________________
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 -> General Gamehacking 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