| View previous topic :: View next topic |
| Author |
Message |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Thu Aug 20, 2009 7:41 pm Post subject: [HELP] Qilox Flash game - Pointers/DMA/?? |
|
|
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?
(how can I make a trainer for that)
help me please..!
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Thu Aug 20, 2009 7:57 pm Post subject: |
|
|
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 |
|
 |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Thu Aug 20, 2009 8:03 pm Post subject: .. |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Thu Aug 20, 2009 8:28 pm Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Sat Aug 22, 2009 6:19 am Post subject: |
|
|
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 |
|
 |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Sat Aug 22, 2009 3:38 pm Post subject: eh? |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Sat Aug 22, 2009 4:01 pm Post subject: |
|
|
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 |
|
 |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Sun Aug 23, 2009 2:27 am Post subject: wicked! |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Sun Aug 23, 2009 5:46 am Post subject: |
|
|
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 |
|
 |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Mon Aug 24, 2009 2:45 pm Post subject: got it |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25985 Location: The netherlands
|
Posted: Mon Aug 24, 2009 3:43 pm Post subject: |
|
|
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 |
|
 |
marduk_tl How do I cheat?
Reputation: 0
Joined: 20 Aug 2009 Posts: 7
|
Posted: Mon Aug 24, 2009 5:33 pm Post subject: |
|
|
oh well..thanks anyway man
you've helped alot :)
|
|
| Back to top |
|
 |
|