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 


Address to the opcode in assembler

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

Joined: 22 Jan 2011
Posts: 3

PostPosted: Sat Jan 22, 2011 11:50 am    Post subject: Address to the opcode in assembler Reply with quote

hello
i have one problem:
i'm searched for address, ok i found it.
then i'm adding it to the address list, and click "find out what writes to this address".
i have this opcode:
Code:
0e5835df - 89 9e 98 02 00 00 - mov [esi+00000298],ebx

but when i restart the game, and do the same then i have this opcode:
Code:
0e3d3cc6 - 89 9e 98 02 00 00 - mov [esi+00000298],ebx

(look at the address to opcode)
first:0e5835df
second:0e3d3cc6
they aren't same.
when i restart the game this address is changing.
how to get this address to opcode in c++?
NOTE: this game is made in flash.
please for fast respond and sorry for my english.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jan 22, 2011 12:54 pm    Post subject: Reply with quote

find the address using array of byte scans because flash compiles code at runtime
_________________
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
MrOMGWTF
How do I cheat?
Reputation: 0

Joined: 22 Jan 2011
Posts: 3

PostPosted: Sat Jan 22, 2011 1:12 pm    Post subject: Reply with quote

i don't want to get the address to the value, i'm want to get a ADDRESS to the OPCODE.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Jan 22, 2011 1:57 pm    Post subject: Reply with quote

Please read the post and try to understand what DarkByte is trying to tell you.
That address is going to continue to change every single time.
But if you notice the bytes never change, so scanning for the bytes will help you locate the opcode you want to get to.
Back to top
View user's profile Send private message
MrOMGWTF
How do I cheat?
Reputation: 0

Joined: 22 Jan 2011
Posts: 3

PostPosted: Sat Jan 22, 2011 2:12 pm    Post subject: Reply with quote

i tried it, it doesn't work.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat Jan 22, 2011 2:43 pm    Post subject: Reply with quote

MrOMGWTF wrote:
i don't want to get the address to the value, i'm want to get a ADDRESS to the OPCODE.


Dark Byte is not stupid so there is no need to scream red alert. The Flash games are creating the codes in run-time and that means that the code is not even existing until it is not needed for some operation. And when it is created, of course it has a dynamic address. You can write a Cheat Engine AA script for it which is using aobscan. And that will work if You are skilled enough. I have made trainers for flash-based games a few times with CE, but those were running from an EXE (like most BigFish and GameHouse games) and not played from a browser.
So if You ever wonder why aren't many trainers for these small games which are based on flash, the reason is that flash is working completely differently than a regular program which was written in C or something.
And if the flash game that You are trying to hack is played from a browser, well good luck with it, because the codes will be probably different every time You try it in other browsers with another flash player version.

http://szemelyesintegracio.hu/cheats/41-game-hacking-articles/88-hacking-flash-games-with-ce

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