| View previous topic :: View next topic |
| Author |
Message |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 8:05 am Post subject: Disabling Codes |
|
|
Hey, I've a question about hacking games... How can I find the disassambler code from a single AoB address? e.g.: life's address was 00 00 02 00 (the 2 is the count of the lives), 1 hit for the character and he's dead... I can change the amount of my life sure, but how could i disable the "death".. so my char won't die when he gets hit.... how can I find the disassambler code?
Thanks in advance!
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 8:13 am Post subject: |
|
|
Right-click on the address and choose "Find out what writes to this address" or find out what is accessing to the address.
Try to find a code which is accessing to Your health only or for the structure where the health is stored and You can use it to change Your health with a script.
_________________
|
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 8:30 am Post subject: (!) |
|
|
Köszi.... megtaláltam a címet, bevittem disassembler-be is csak ha valamit változtatok rajta akkor lefagy a játék, valószínűleg ebből a címből olvas valami...
| Code: | alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [edi],al
jmp 018D0000
exit:
jmp returnhere
01A80000:
jmp newmem
nop
nop
returnhere:
|
Ezt a kódot adta, disassembler-ben viszont ha bármit változtatok rajta lefagy O.o azt akarnám hogy letiltsa a címet.... Ja és az "edi" az az élet címére mutat..
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 8:57 am Post subject: |
|
|
Elég fura, mai játékok nem nagyon használnak AL regisztert. Biztos hogy ez a jó kód? Mi a játék neve?
_________________
|
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 9:11 am Post subject: |
|
|
Hát igen, NES emulátort használok mert szeretem a régi játékokat...
Szal a Contra-t akarom meghackelni ^^ és ennek jónak kell lennie..
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 9:34 am Post subject: |
|
|
Akkor ez így nem fog menni. Az emulátorok máshogy működnek. Viszont ha jó emulátort használsz, akkor abban valószínűleg van memória scanner és az is valószínű hogy a cím statikus.
_________________
|
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 9:43 am Post subject: |
|
|
Ez statikus, elmentettem a CT file-ba és eddig minden emulátornál ugyanott volt, nem pointereket mentettem el
Tudsz egy olyan oldalt ahol leírják hogy kell disassembler nyelven írni? Tudok programozni csak ez egy kicsit más
Köszi!
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
|
| Back to top |
|
 |
Haxory' Grandmaster Cheater Supreme
Reputation: 92
Joined: 30 Jul 2007 Posts: 1900
|
Posted: Mon Feb 14, 2011 10:49 am Post subject: |
|
|
what the fuck is going on in here :/
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel |
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 11:02 am Post subject: |
|
|
| Haxory' wrote: | | what the fuck is going on in here :/ |
nah... we're just spoken.. but in hungarian language
Still can't solve it, if I set the disassembler to nope then game crashes...
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 11:32 am Post subject: |
|
|
| Haxory' wrote: | | what the fuck is going on in here :/ |
I am selling drugs. But only if You use the secret words.
newmem = cocaine
alloc(newmem,2048) //2kb should be enough = 2 kilo should be enough
label(returnhere) = send a message here if You got the stuff
label(originalcode) = then we will proceed as planned
label(exit) = and finish the transaction
Basically that's it.
| Quote: | | Still can't solve it, if I set the disassembler to nope then game crashes |
You cannot use code injection for an emulated game (or You can but it will be unbelievably inefficient and hard to do). So just use the static address.
_________________
|
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 12:04 pm Post subject: |
|
|
| Okay thanks! But got an another problem, with a game for PC... is it possible to hack animations? I mean which animation you do... 2D game.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 2:23 pm Post subject: |
|
|
Hack animations? What do You mean? Can You give an example?
_________________
|
|
| Back to top |
|
 |
scearezt Cheater
Reputation: 0
Joined: 12 Feb 2011 Posts: 46
|
Posted: Mon Feb 14, 2011 2:39 pm Post subject: |
|
|
Okay, so as I know... in simple 2d games the animations has numbers.. such as 1 to stand 2 to walk 3 to run etc... I want to find this one... tried it and found an address but if i change it to 1 then nothing happens...
| Code: | Stand: 00 00 00 00
Run: 00 01 01 00 |
while the character standing i've changed the address to 00 01 01 00 and froze it but seems not work....
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Feb 14, 2011 2:47 pm Post subject: |
|
|
I didn't try it. Seems to be kinda useless for cheating.
_________________
|
|
| Back to top |
|
 |
|