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 


Confused about this instruction
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Mon Jan 09, 2012 2:36 am    Post subject: Reply with quote

as I said, perhaps the state you are seeing is after the instruction has been executed, so when you think movq [esi+14],xmm0 is about to be executed, it's actually going to execute movq xmm0,[ebx+08]
Just try to keep that in mind.

Also, this piece of code looks like one of those "Update from server" codes where the state of an object is updated according to the packet you've received. This means it's serversided so wouldn't be much use to play with except for visual stuff

And it could be it's a dbvm bug where it doesn't emulate the breakpoint properly, or you have a messed up cpu, or it's the 64-bit kernel driver where it doesn't update the correct state

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Jan 09, 2012 2:52 am    Post subject: Reply with quote

No, it is a regular single player game.

These kind of "copy an array to another array" codes are very common. At least I have seen lots of examples for it in single player games. Mainly in simulators, but in some other games too.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 312

PostPosted: Mon Jan 09, 2012 3:35 am    Post subject: Reply with quote

Dark Byte wrote:
as I said, perhaps the state you are seeing is after the instruction has been executed, so when you think movq [esi+14],xmm0 is about to be executed, it's actually going to execute movq xmm0,[ebx+08]
Just try to keep that in mind.


Not sure if this is the case when it occurs, but I never see the memory address at ESI+14 change during the entire routine.

Quote:
Also, this piece of code looks like one of those "Update from server" codes where the state of an object is updated according to the packet you've received. This means it's serversided so wouldn't be much use to play with except for visual stuff


No, I don't cheat in online games. At least not in the online mode if a single player game has one. Not interested in things like that.

Quote:
And it could be it's a dbvm bug where it doesn't emulate the breakpoint properly, or you have a messed up cpu, or it's the 64-bit kernel driver where it doesn't update the correct state


I downloaded a cracked copy of the game to remove the GFWL so I can use VEH and WinDBG with cheat engine. When using those two, the instruction executes correct and the memory address changes when it's supposed to. So I guess you're correct, it's either the kernel driver or DBVM (I tried both v6 and v7). Let me know if you want more information, I can hop on IRC if you're interested in fixing this bug.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Mon Jan 09, 2012 3:48 am    Post subject: Reply with quote

One thing you could test is use dbvm and the kernelmode debugger to debug the tutorial.
Then restart ce (do not unload the driver) and enable veh debug and debug the game. See if that messes up the debugging.
If so, it's dbvm emulating the breakpoint incorrectly
If not, it's the driver that's not handling it properly

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
SwaggaJackin'
Master Cheater
Reputation: 2

Joined: 06 Nov 2009
Posts: 312

PostPosted: Mon Jan 09, 2012 3:53 am    Post subject: Reply with quote

Alright, when I get the chance I'll check and post back results. Thanks.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Jan 09, 2012 9:07 am    Post subject: Reply with quote

Expect some crashes in the game. It is unstable when you are debugging it because many of the codes are running like crazy.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
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 Gamehacking All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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