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 with this script!

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

Joined: 18 Nov 2013
Posts: 11

PostPosted: Wed Nov 27, 2013 8:45 am    Post subject: Need help with this script! Reply with quote

Hey I've just made "Instant Pick Up" for a game. To loot the items you need to press "E" and if there are many items you can hold "E" button. With my script you can instantly loot the items but just if u click "E" and not hold "E". I haven't know why! But now I saw the Value was full if I click one time but if I hold "E" the value changes. I freezed the value and could loot instantly without any problem (And hold "E")

My Question is: Can I freeze the value after changing the value with the script?

My SCRIPT:
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov dword ptr [SG.exe+FDDEA0],(float)1
// My question is can I make a instruction what freeze (float)1?
originalcode:
movss [FDDEA0],xmm0

exit:
jmp returnhere

"SG.exe"+43C84:
jmp newmem
nop
nop
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"SG.exe"+43C84:
movss [FDDEA0],xmm0
//Alt: db F3 0F 11 05 A0 DE 06 01
Back to top
View user's profile Send private message
omoe
Grandmaster Cheater
Reputation: 8

Joined: 11 Jun 2013
Posts: 547

PostPosted: Thu Nov 28, 2013 12:26 am    Post subject: Reply with quote

I dont think doing this is correct
Code:

mov dword ptr [SG.exe+FDDEA0],(float)1
// My question is can I make a instruction what freeze (float)1?
originalcode:
movss [FDDEA0],xmm0


try
Code:

originalcode:
mov dword ptr [SG.exe+FDDEA0],(float)1 
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Thu Nov 28, 2013 12:38 am    Post subject: Reply with quote

Chances are pretty good that FDDEA0 and SG.exe+FDDEA0 are not the same address. Try replacing [SG.exe+FDDEA0] with [fddea0] in your original script.
Back to top
View user's profile Send private message
Freakfrash
Newbie cheater
Reputation: 0

Joined: 18 Nov 2013
Posts: 11

PostPosted: Thu Nov 28, 2013 4:01 pm    Post subject: Reply with quote

originalcode:
mov dword ptr [SG.exe+FDDEA0],(float)1

It's useless... doesn't change anything.
Btw: Why changing the originalcode? o.O
And it still make the same like my script.
I need to freeze the value or it won't work
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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