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 


code AA run game crashes

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

Joined: 05 Jun 2014
Posts: 22

PostPosted: Thu Jun 02, 2016 10:31 am    Post subject: code AA run game crashes Reply with quote

The problem I is this codescrip run then game crash

game Outlast I want to batery full

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"OLGame.exe"+D5D0ED)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
mov [rbx+000031A8],(float)1.0   // battery full

originalcode:
//movss [rbx+000031A8],xmm1  <<<<<<< battery

exit:
jmp returnhere

"OLGame.exe"+D5D0ED:
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)
"OLGame.exe"+D5D0ED:
movss [rbx+000031A8],xmm1
//Alt: db F3 0F 11 8B A8 31 00 00
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Jun 02, 2016 10:38 am    Post subject: Reply with quote

Are you sure your battery charge is the only thing that is accessed by this code?
Back to top
View user's profile Send private message
it-ty
Newbie cheater
Reputation: 0

Joined: 05 Jun 2014
Posts: 22

PostPosted: Fri Jun 03, 2016 3:32 am    Post subject: Reply with quote

hhhuut wrote:
Are you sure your battery charge is the only thing that is accessed by this code?


Sure but if this codescrip ok work battery not low but battery not full

Code:
[enable]
"OLGame.exe"+D5D0ED:
db 90 90 90 90 90 90 90 90

[disable]
"OLGame.exe"+D5D0ED:
db F3 0F 11 8B A8 31 00 00


but I want codescript to battery full
or because size ofset 2 byte

Code:
movss [rbx+000031A8]
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sun Jun 05, 2016 1:58 pm    Post subject: Reply with quote

This is not a tutorial, moved.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Jun 05, 2016 3:32 pm    Post subject: Reply with quote

Not noticing anything wrong with the code. Maybe some integrity check? Try:
Code:
mov [rbx+000031A8],(float)1.0
movss xmm1,[rbx+000031A8]
Back to top
View user's profile Send private message
5maestro
How do I cheat?
Reputation: 0

Joined: 06 Jun 2016
Posts: 0
Location: ibiza

PostPosted: Wed Jun 08, 2016 12:33 pm    Post subject: hi maybe can help little .... Reply with quote

you can allocate memory for 8bytes or 4 bytes i think itīs more stable ,stronger and maybe you dīont have more crashes i try it if i can....
salute!
best regards
Smile

well i have to say too injection of the code helps to see wich problem itīs i agreed too. how not!!

_________________
5maestro
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