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 


Dynamic Address - Flash Game

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

Joined: 29 Mar 2011
Posts: 4

PostPosted: Tue Mar 29, 2011 10:13 am    Post subject: Dynamic Address - Flash Game Reply with quote

Hello guys, I'm new here so I guess that's the correct board to post.

Well, I'm trying to find some addresses in a flash game with CE, but here is the problem.

As I could see the addresses used on it isn't static, so everytime that I open the game again the addresses are totally different, I tried to use CE to find like the X position of the character, but after some Scans it found 6 Addresses that change to the correct coordinate that I am.

Well, I read some tutorials and I know that I must to use pointers etc, but that's the problem, If we find only one address it's "easy" to find pointers, but it's finding 6, what address should I look? I used the function "What is writing on this address" (something liek that) and each one return a different value on the [eax+XXXXX], where XXXXX is the value.

Anyway, I got one of these address to test, but when I scan it to find the pointer but well, it returns more than 800000 results, how am I suppost to know what I have to use ? ;s

Any help would be great, sorry for my english, I'm brazilian.

Thank you.
Back to top
View user's profile Send private message
maozao
How do I cheat?
Reputation: 0

Joined: 29 Mar 2011
Posts: 4

PostPosted: Tue Mar 29, 2011 9:55 pm    Post subject: Reply with quote

Hello guys!

Trying to find some addresses again I started to scan Double values and it worked better, as you can see the Mana value has 2 addresses as the Life, but on this SS is only showing the Mana address.

Well, when I click on "What writes to this address" you can see this:

ht tp :// img190 .imageshack .us /i/ pointer.jpg/ (remove the spaces, I can't post URL's yet)

So what do you think about it ?!

As you can see those addresses, when I close the game and open again they are different's, am I looking on the correct place? I mean, if I found the pointers values etc will be possibl to "know" where those informations are automatically as when we are using static addresses ?

Thanks again.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Mar 30, 2011 2:49 pm    Post subject: Reply with quote

Some info about why isn't the best idea to use CE to make flash trainers.

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

In short, flash will work differently than normal games and the codes are not static. Pointers will not be too reliable.

_________________
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
maozao
How do I cheat?
Reputation: 0

Joined: 29 Mar 2011
Posts: 4

PostPosted: Wed Mar 30, 2011 8:14 pm    Post subject: Reply with quote

Thank you Geri, you have great tutorials on that website, I had take a look on them some days ago ^^

What you suggest to me about my "problem" ?

Thanks again.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Thu Mar 31, 2011 9:23 am    Post subject: Reply with quote

aobscans are the easiest way to find it

alternatively you could place the hook in the flash player (just trace back till you get into the flash player code) and just use that to find the address of the objects and use those pointers to edit the value you want

e.g the following lua script will find all AS3 class objects (for browsers that use npswf32.dll, so not internet explorer)
Code:

--flash version 10.2.153.1

flashaddress=getAddress("NPSWF32.dll+3d7940"); --tip: change to aobscan
function debugger_onBreakpoint()
  if (EIP==flashaddress) then
    local classbase=readInteger(EDI);
    classbase=classbase-(classbase % 2) --if uneven make it even



    print("Classbase=".. string.format( "%x", classbase))


    return 1
  else
    return 0 --let the user handle it
  end

 
end

debug_removeBreakpoint(flashaddress);
debug_setBreakpoint(flashaddress);


(to stop, just do debug_removeBreakpoint(flashaddress); )

_________________
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
maozao
How do I cheat?
Reputation: 0

Joined: 29 Mar 2011
Posts: 4

PostPosted: Thu Mar 31, 2011 9:58 am    Post subject: Reply with quote

Thank you Dark Byte.

Should I use that Script on CE ? I never used it yet so I'm not sure hehehe

About that DLL+Address, should I change it too? Or it's a default value for Flash ? If yes, what DLL/Address I have to use? The address that I found a value like the Mana Addresses ?

I'm doing these questions cuz I'm working right now and I can't test it yet, so when I'm at home I can follow every ideas and give my feedback.

Thanks again.
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