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 


After 10 hours, finally found regularity. How to automate?

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

Joined: 10 Jan 2013
Posts: 6

PostPosted: Mon Mar 03, 2014 4:07 pm    Post subject: After 10 hours, finally found regularity. How to automate? Reply with quote

hey there,

for a flash game, i finally found out which Adresses are those i can edit, to manipulate the game.

The first char and the last 2 chars are always the same. Tried it out on 3 different computers and did some reboots to be sure.

What i basically do is, start the game, use "new scan" and "next scan" to find a value. Get about 8 Results, and picking those 2 which always got the same beginning and ending.

Then i wait for the games time to end.
After that I start a new game.
Both values reset to 0 and count up to 60 (seconds)
When they reach about 55 i reset them manually to 1, so i got aditional 59 Seconds to play

Is there a way to automatize this? It just costs too much coins, to play the game 1 round without any effort just to find the right values.
Also the swapping around between the game and CE costs some seconds.

Unfortunately resetting the game for another 59 seconds is all which works.
When i reset the game to more than 59 seconds or when i reset it 2 times, it crashes and doesnt credit me any points when it's finished.

So how can i automatize this Wink
Regards!
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Mon Mar 03, 2014 7:08 pm    Post subject: Reply with quote

Two options here.

1 - Learn about actionscript, and edit the game's actionscript to make a hacked .swf that acts the way you want it to. There's multiple .swf/AS editing tools out there.

2 - You can use CE's speedhack and set the game's speed to 0 to freeze it while you're doing the scans, and have it scan for stuff in a certain memory range to make the scanning process easier?

_________________
Back to top
View user's profile Send private message
budwiz0r
How do I cheat?
Reputation: 0

Joined: 10 Jan 2013
Posts: 6

PostPosted: Mon Mar 03, 2014 8:38 pm    Post subject: Reply with quote

okay well i'm still watching tutorials and reading a lot.

seems like what i need is a pointer.
i tried out 2 different ways to get a pointer.

one method worked first.
i got a pointer, restarted the game a few times and the pointer still worke.
but when i closed and opened the whole browser it didnt work anymore.

i got the feeling that there is a problem with the base adress.
unfortunately i have to use firefoxes' FlashPlayerPlugin_12_0_0_70.exe.

i think this process is like always different.
or i just didnt get the right pointer. =/
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Mon Mar 03, 2014 11:51 pm    Post subject: Reply with quote

I didn't mention pointers because they're more trouble than they're worth when it comes to interpreted environments (flash, java, anything in a browser). There's no solid pointers, they'll all break when you do anything like restart the browser or update flash/java/whatever.

You can try downloading the standalone flash player app and running that, you'd have more success as the environment there is more sterile.

But making a hacked .swf by changing the actionscript (which is the flash coding) is generally what people do instead, because that will ALWAYS work.

_________________
Back to top
View user's profile Send private message
budwiz0r
How do I cheat?
Reputation: 0

Joined: 10 Jan 2013
Posts: 6

PostPosted: Tue Mar 04, 2014 6:47 am    Post subject: Reply with quote

okay i'll have a look at it. i already used the sothink swf decompiler but it seems like the game is protected. furthermore i cant get it to work lokally because it's communicating with the server and transmitting user-ids, points, coins etc..

is something like that even workaroundable?
Wink

edit: here is what i mean:
h**p://img5.fotos-hochladen.net/uploads/decompiledxlm3zh57ey.jpg

i can access sounds, sprites, texts etc. but the actions seem to be crypted. or am i just too stupid?^^
Back to top
View user's profile Send private message
budwiz0r
How do I cheat?
Reputation: 0

Joined: 10 Jan 2013
Posts: 6

PostPosted: Tue Mar 04, 2014 3:38 pm    Post subject: Reply with quote

would you mind having a look at it? Wink
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Tue Mar 04, 2014 10:22 pm    Post subject: Reply with quote

I've got no experience with AS obfuscation, and the forum says no help with online games, so I'm hush about this.
_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Mar 04, 2014 10:32 pm    Post subject: Reply with quote

Nothing wrong with discussing methods as long as it's not game specific.

anyhow, obfuscated code is only a problem for the spoiled gamehacker.
Us asm gamehackers have been editing code blind from the start.
All you need to do is find the code you're interested in
From that point on, you can use the meaningless symbol as a way to look it up. (the symbol has to be a unique identifier)

_________________
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
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Tue Mar 11, 2014 10:50 am    Post subject: Reply with quote

Or you can just try to understand what the script could used for.
By testing and checking from which function it calls, what are the vars values, you can basically guess a lot.

But it still gonna take time, unless you have a copy of older version of games (I have like 5-6 GB folder with hundreds with old swf of games, just incase they decide to obfuscate it) and then you can look in the old swf for scripts that you believe could affect the game, and locate the file in the new swf (by like searching vars values, that's something that developers usually don't touch if they obfuscate).

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
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 Lua Scripting 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