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 


Need help [AOB]

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

Joined: 08 Mar 2014
Posts: 10

PostPosted: Thu Mar 13, 2014 10:42 am    Post subject: Need help [AOB] Reply with quote

Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access

originalcode:
movss xmm2,[esi+eax*8+1C]

exit:
jmp returnhere

"South Park - The Stick of Truth.exe"+385A6A:
jmp newmem
nop
returnhere:

aobscan(pp, 85 C0 75 25 F3 0F 10 03 8B 16 ** ** ** ** **)
label(_pp)
registersymbol(_pp)

pp:
_pp:
db 85 C0 75 25 F3 0F 10 03 8B 16 90 90 90 90 90

[DISABLE]
dealloc(newmem)
"South Park - The Stick of Truth.exe"+385A6A:
movss xmm2,[esi+eax*8+1C]
//Alt: db F3 0F 10 54 C6 1C
_pp:
db 85 C0 75 25 F3 0F 10 03 8B 16 F3 0F 58 45 FC

unregistersymbol(_pp)


what i have to change in this code to not only freeze the pp but instead freeze the pp amount at 99

if i use
Code:
movss xmm2,[esi+eax*8+1C],(float)99


i got a compilation error
Back to top
View user's profile Send private message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Thu Mar 13, 2014 2:50 pm    Post subject: Reply with quote

Use this instead

Code:

mov [esi+eax*8+1C],(float)99
movss xmm2,[esi+eax*8+1C]



_________________
Hey! , Rep++ .
Back to top
View user's profile Send private message
SayWhatAgain
Newbie cheater
Reputation: 2

Joined: 08 Mar 2014
Posts: 10

PostPosted: Thu Mar 13, 2014 4:33 pm    Post subject: Reply with quote

omoe wrote:
Use this instead

Code:

mov [esi+eax*8+1C],(float)99
movss xmm2,[esi+eax*8+1C]


can you give me the complete entire code (and where i put the code you gave me) please,i am new to cheat engine and having some problems

thats my uncompiled code

Code:
[ENABLE]
label(pp)
registersymbol(pp)
aobscan(ppscan, 0F 28 C1 03 C0 ** ** ** ** ** ** 8D 4C C6 1C 0F 2E C2)

ppscan:
pp:
db 0F 28 C1 03 C0 90 90 90 90 90 90 8D 4C C6 1C 0F 2E C2

[DISABLE]
pp:
db 0F 28 C1 03 C0 F3 0F 10 54 C6 1C 8D 4C C6 1C 0F 2E C2

unregistersymbol(pp)
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