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 


[HELP] Qilox Flash game - Pointers/DMA/??

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Thu Aug 20, 2009 7:41 pm    Post subject: [HELP] Qilox Flash game - Pointers/DMA/?? Reply with quote

hello everyone,
I need some help with the following game:
[Qilox] - flash game ( cant post url but google: qilox download )

using cheat engine I found out how to manipulate the lives
(Even found this code add eax,ff => eax=lives, lives + (-1))

The only problem is that every time I restart the game
The pointer changes (and I cant find a static address)
and another thing is that the address of the code is also changing!
for example: first time I've got this 90b31ab : add eax,ff
and the second time its 50Bffa3 : add eax,ff

what the hell is going on? Smile
(how can I make a trainer for that)
help me please..!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Thu Aug 20, 2009 7:57 pm    Post subject: Reply with quote

You could try pressing ctrl+m in the disassembler at that location and hope for it to show a modulename+offset notation, but I doubt it since you say it's a flash game

Flash is an emulator and perhaps it generates some code on the fly to execute x86 code to speed internal game routines up, but that'd mean that it won't be inside a module.
At most you could try finding a base nearby and use that as calculation, or else just dissect the flash game using a flash tool

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Thu Aug 20, 2009 8:03 pm    Post subject: .. Reply with quote

Thanks for your reply,
I did use ctrl+m but it shows nothing...

I wounder can you direct me to a tutorial that might help or something?
i have no idea how to deal with it

btw is that code shifting?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Thu Aug 20, 2009 8:28 pm    Post subject: Reply with quote

try the flash section, I don't do much with emulators myself

And no, this isn't code shifting, this is code generation

_________________
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
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sat Aug 22, 2009 6:19 am    Post subject: Reply with quote

Best thing you can do here is trying to find an array of byte you can easily scan for.
When making an array of byte, replace static address specifier bytes with **

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Sat Aug 22, 2009 3:38 pm    Post subject: eh? Reply with quote

Can you give me an example of what you mean?
I really dont have any idea how to search for array of bytes..
what exactly does that mean?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sat Aug 22, 2009 4:01 pm    Post subject: Reply with quote

example the code around it looks like:
Code:

00411F90 - 8b f2                      - mov esi,edx
00411F92 - 8b d8                      - mov ebx,eax
00411F94 - 66 f7 03 e8 bf             - test word ptr [ebx],bfe8
00411F99 - 74 07                      - je 00411fa2
00411F9B - 8b c3                      - mov eax,ebx
00411F9D - e8 f2 fc ff ff             - call 00411c94
00411FA2 - 66 8b 3e                   - mov di,[esi]
00411FA5 - 66 83 ff 14                - cmp di,14

to find this block you'd then have to do an array of byte scan for:
8b f2 8b d8 66 f7 03 e8 bf 74 07 8b c3

then when you know where it's located you can do the edits there.

of course, if the code is:
Code:

00411FE4 - 89 43 08                   - mov [ebx+08],eax
00411FE7 - 8b c3                      - mov eax,ebx
00411FE9 - ff 15 1c 78 60 00          - call dword ptr [0060781c]
00411FEF - eb 41                      - jmp 00412032
00411FF1 - 66 f7 c7 00 20             - test di,2000

you'd have to do an array of byte scan for
89 43 08 8b c3 ff 15 ** ** ** ** eb 41 66 f7 c7 00 20

since 0060781c is an address specifier which could change next run

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Sun Aug 23, 2009 2:27 am    Post subject: wicked! Reply with quote

alright got it :)
i'll try to do that..
didnt know you could do that..
I can actually search for a set of code.. ?
what should be the size of the search?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sun Aug 23, 2009 5:46 am    Post subject: Reply with quote

just make sure to also include read only memory

as for the size, the bigger is better since it'll give less false results, but too big is also bad. I'd say at least 8 bytes long, and a max of 32

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Mon Aug 24, 2009 2:45 pm    Post subject: got it Reply with quote

Ok thanks alot man, it cleared some stuff i've seen before..
on youtube someone posted a "how to hack" and he did a search for an array of bytes but i never found how he knew what to search and now i know :)

BTW: i've done it i know how to get exactly to the code where the lives decrease
the only thing that is still a problem is that i have no idea how to make an auto-hack or trainer or anything like that..
i'm trying to look for code that will give me some info on how to find the address that changes each time the game runs..

i have another idea
is there an api function that can scan a process memory/code segment
so i could look for an array of bytes?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Mon Aug 24, 2009 3:43 pm    Post subject: Reply with quote

you'll have to write that yourself. (openprocess, readmemory, check array against memory, ...)

perhaps I'll add an arrayscan routine to the autoassembler, so you can use it in ce tables and ce trainers, but it'll be a slow option...

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

Joined: 20 Aug 2009
Posts: 7

PostPosted: Mon Aug 24, 2009 5:33 pm    Post subject: Reply with quote

oh well..thanks anyway man
you've helped alot :)
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