View previous topic :: View next topic |
Author |
Message |
g4m3rxx Newbie cheater
Reputation: 0
Joined: 13 May 2012 Posts: 19 Location: India
|
Posted: Mon May 21, 2012 5:56 am Post subject: AA script for Step 9: Shared Code |
|
|
This is the code i have created (observing dissect data structures)
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
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
cmp [ebx+10],1
jne +5
mov eax,42C80000
originalcode:
mov [ebx+04],eax
fldz
exit:
jmp returnhere
"Tutorial-i386.exe"+250C6:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Tutorial-i386.exe"+250C6:
mov [ebx+04],eax
fldz |
My question====>
I have moved 42C80000 in eax
42C80000 is the hex value of float 100
if 100 was in 4 byte then we could represnt #100 in hex
Is there any symbol for FLOAT to represent it in HEX????
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25778 Location: The netherlands
|
Posted: Mon May 21, 2012 7:01 am Post subject: |
|
|
(float)100
_________________
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 |
|
 |
g4m3rxx Newbie cheater
Reputation: 0
Joined: 13 May 2012 Posts: 19 Location: India
|
Posted: Mon May 21, 2012 9:19 am Post subject: |
|
|
thnx its working
can u tell me all of the symbols
like for strings
because if i wish to fix the health of Dave only then i have to type the hex value of Dave in reverse which is 65766144(original is 44617665),, it is very anoying,,, So i'm asking for a way to input the text directly??
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25778 Location: The netherlands
|
Posted: Mon May 21, 2012 10:36 am Post subject: |
|
|
since dave is a nice 4 character string:
cmp [eax+12],'DAVE'
_________________
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 |
|
 |
g4m3rxx Newbie cheater
Reputation: 0
Joined: 13 May 2012 Posts: 19 Location: India
|
Posted: Mon May 21, 2012 11:00 am Post subject: |
|
|
thank u DB
Single cote and double cote both worked for me,
But I got the code:
cmp [ebx+15],'Dave'
|
|
Back to top |
|
 |
|