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 


Few questions.

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

Joined: 28 Jun 2014
Posts: 5
Location: Croatia,Trilj

PostPosted: Mon Aug 18, 2014 6:04 am    Post subject: Few questions. Reply with quote

So i i'm using CE for 4 months so far.I learned a lot of stuff but there are some things that i just don't understand.
1.Why does in some games you need to multiply the value with 8?
-In Sonny 2 you need to multiply with 8,same in "Castaway".
You got 4 skill points,you need multiplty with 8.You get 32 change it or freeze it.
2.Array of byte.
I don't understand how that works.I played a lot of games where you can't find the value with 4,8-bytes,double...So you need some codes.
Example:
Bloons Tower Defens 5:
I couldn't find anything so i searched on google,finded this:
You search "2464d066????????a0" and change it to"2d7fd066????????a0"
"464" was changed to "d7f".I don't understand what does that means?You just change some numbers to letters,or letters to numbers.
Can someone please explain this?
Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Mon Aug 18, 2014 6:25 am    Post subject: Reply with quote

1: thats because they don't understand the binary scan nor that the value is actually compressed on a bit level, and the first 3 bits are bits of another value
Here is a custom type that deals with this situation: http://forum.cheatengine.org/viewtopic.php?t=529904

2: that depends on what the aob is. Perhaps they used a flash decompiler and found the bytecode of a function in the file, and then search for that bytecode in memory and apply an update. E.g. replacing a decrease with a "do nothing"

It could also be native code they found with the debugger, but for the rest it'd be the same, but you'll have more control then (for bytecode you can't easily allocate new memory, for native code you can, so you have more room to do fancy stuff)

I your example it looks like flash bytecode with just a few changed instructions

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

Joined: 28 Jun 2014
Posts: 5
Location: Croatia,Trilj

PostPosted: Mon Aug 18, 2014 6:32 am    Post subject: Reply with quote

Thank you!
I actually understand something Very Happy.
I used that "do nothing" few times.
Thanks,you helped me a lot!
Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Mon Aug 18, 2014 10:30 am    Post subject: Reply with quote

Cyseth wrote:
Thank you!
I actually understand something Very Happy.
I used that "do nothing" few times.
Thanks,you helped me a lot!


Flash games are written in either AS2 or AS3,the old AS2 multiplies the values by 8 automatically when compiled (sometimes it also adds 6),but AS3 does not,that's why you can find values in Burrito Bison Revenge for example without multiplying by 8.

When everything fails,I'd recommend you to use a flash decompiler and write raw AVM bytes,for example,in games like Knightmare Tower,I don't see how you could cheat without using this method.
Commonly used flash decompilers include ffdec,Sothink SWF Decompiler and Flash Decompiler Trillix.
Back to top
View user's profile Send private message
Cyseth
How do I cheat?
Reputation: 0

Joined: 28 Jun 2014
Posts: 5
Location: Croatia,Trilj

PostPosted: Tue Aug 19, 2014 10:27 am    Post subject: Reply with quote

Are there any tutorials how to use flash decompiler?
I would try it out,and can someone send me a download link?
Back to top
View user's profile Send private message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Tue Aug 19, 2014 1:20 pm    Post subject: Reply with quote

Cyseth wrote:
Are there any tutorials how to use flash decompiler?
I would try it out,and can someone send me a download link?


You'll need the following list of bytecodes and opcodes,save it to a txt:
http://www.cheatengine.org/forum/viewtopic.php?t=472493
[Free]
FFDec:
http://www.free-decompiler.com/flash/download.html
[/free]
[NotFree]
Sothink SWF Decompiler:
http://www.sothink.com/product/flashdecompiler/
Flash Decompiler Trillix:
http://www.flash-decompiler.com/
[/NotFree]
I use all the three because:
ffdec is good,it can even decompile zws encoded swfs (like Gemcraft Chasing Shadows),but searching in Actionscript takes too much time,it also takes too much memory.
Sothink is also a nice one,it crashes when I try to search in Actionscript in stencyl games,but it does a pretty good job.
I only use the third one when both ffdec and Sothink fail.

Here's a tutorial:
http://www.arcadeprehacks.com/forum/threads/19923-Inside-SWFs-AS3-Bytecode-Tutorial-%28Advanced%29
http://www.arcadeprehacks.com/forum/threads/15339-Cheat-Engine-Array-of-byte-hacking
http://forum.cheatengine.org/viewtopic.php?t=431913
You may also need SWF Memory Dumper:
http://www.forceprojectx.com/services/apps
Back to top
View user's profile Send private message
Cyseth
How do I cheat?
Reputation: 0

Joined: 28 Jun 2014
Posts: 5
Location: Croatia,Trilj

PostPosted: Tue Aug 19, 2014 5:46 pm    Post subject: Reply with quote

Thanks Redone.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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