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 


Lua assembly

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
jacqueline
How do I cheat?
Reputation: 0

Joined: 13 Aug 2014
Posts: 6

PostPosted: Mon Aug 18, 2014 7:27 pm    Post subject: Lua assembly Reply with quote

I was working off a template and found that freezing these bytes stop damage. The first wildcard or ?? is equal to the health value, if health is 100 its equal to the hex value of 64.

what i want to do is set up a hotkey that will heal 100 health. In the past ive done this with regular addresses and pointers.


Code:
[ENABLE]
aobscan(heal, ?? ?? 00 00 14 00 00 00 14 00 00 00 14 00 00 00 01 00 00 00 ?? 00 00 00 ?? ?? 00 00 0E 00 00 00 ?? 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 ?? 00 00 00 04 00 00 00 00 00 80 3F 00 00 ?? 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F 00 00 80 3F ?? ?? ?? 3F 00 00 00 ?? ?? ?? ?? 3F 00 00 80 3F ?? ?? 80 3F 00 00 80 3F 00 00 80 3F FF FF FF FF FF FF FF FF)
label(_heal)
registersymbol(_heal)

heal:
_heal:
db xx xx

[DISABLE]
_heal:
db xx xx
unregistersymbol(_heal)
Back to top
View user's profile Send private message
Xathan
Advanced Cheater
Reputation: 1

Joined: 19 Jun 2014
Posts: 72

PostPosted: Tue Aug 19, 2014 5:48 am    Post subject: Reply with quote

As far as I know you can activate that script and enter an address entry (2Byte)with base address "_heal". That should do the trick Wink
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