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 


AA script for Step 9: Shared Code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
g4m3rxx
Newbie cheater
Reputation: 0

Joined: 13 May 2012
Posts: 19
Location: India

PostPosted: Mon May 21, 2012 5:56 am    Post subject: AA script for Step 9: Shared Code Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon May 21, 2012 7:01 am    Post subject: Reply with quote

(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
View user's profile Send private message MSN Messenger
g4m3rxx
Newbie cheater
Reputation: 0

Joined: 13 May 2012
Posts: 19
Location: India

PostPosted: Mon May 21, 2012 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon May 21, 2012 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
g4m3rxx
Newbie cheater
Reputation: 0

Joined: 13 May 2012
Posts: 19
Location: India

PostPosted: Mon May 21, 2012 11:00 am    Post subject: Reply with quote

thank u DB
Single cote and double cote both worked for me,

But I got the code:
cmp [ebx+15],'Dave'
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