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 


my aob script wont work

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

Joined: 03 Sep 2017
Posts: 2
Location: 'Merica

PostPosted: Sun Sep 03, 2017 2:19 pm    Post subject: my aob script wont work Reply with quote

everytime i activate it and hit something game crashes -_-
pls fix 4 me ;c

[code]
{Terraria.exe}
[ENABLE]
aobscan(normaldmg,29 86 F4 00 00 00) // should be unique
alloc(newmeme,$1000)

label(codee)
label(returne)

aobscan(shareddmg,29 82 F4 00 00 00) // should be unique
alloc(newmem,$1000)
label(code)
label(return)

newmeme:

codee:
sub [esi+000000F4],AA289
sub [edx+000000F4],AA289
jmp returne

normaldmg:
jmp newmeme
nop
returne:
registersymbol(normaldmg)

newmem:

code:
sub [edx+000000F4],AA289
jmp return

shareddmg:
jmp newmem
nop
return:
registersymbol(shareddmg)
[DISABLE]
normaldmg:
db 29 86 F4 00 00 00

unregistersymbol(normaldmg)
dealloc(newmeme)

shareddmg:
db 29 82 F4 00 00 00

unregistersymbol(shareddmg)
dealloc(newmem)
[/code]

_________________
im badddddd
Back to top
View user's profile Send private message
Death GOD 7
Expert Cheater
Reputation: 0

Joined: 21 Jan 2017
Posts: 105
Location: Heaven and Hell

PostPosted: Mon Sep 04, 2017 2:49 am    Post subject: Reply with quote

Can you show the default code/original code?
And why did you type AA289 or something like that.is it address,value?I couldn't get it
What is Script for? 1 hit kill,god mode?
Please teach my mind. Very Happy

And also try making script separately

_________________

"If you are good at something,never do it for free"-The Joker
I know you are looking at this post, Hitler
Back to top
View user's profile Send private message
DestinyAwakened
How do I cheat?
Reputation: 0

Joined: 03 Sep 2017
Posts: 2
Location: 'Merica

PostPosted: Mon Sep 04, 2017 2:47 pm    Post subject: Reply with quote

It is a 1hitkill script on terraria to kill monsters with shared health and normal health
AA289 is a hex number
AA289 = 696,969 (the damage given)
it is two scripts i tried to combine
and i don't have the original code anymore

_________________
im badddddd
Back to top
View user's profile Send private message
Death GOD 7
Expert Cheater
Reputation: 0

Joined: 21 Jan 2017
Posts: 105
Location: Heaven and Hell

PostPosted: Mon Sep 04, 2017 10:46 pm    Post subject: Reply with quote

Why use hex number?
Try writing in the decimal number(999999)

_________________

"If you are good at something,never do it for free"-The Joker
I know you are looking at this post, Hitler
Back to top
View user's profile Send private message
user5594
Advanced Cheater
Reputation: 0

Joined: 03 Oct 2014
Posts: 72
Location: ::1

PostPosted: Sun Feb 09, 2020 10:17 pm    Post subject: Reply with quote

Is your health address a float?
Try for all of your subtractions:

sub [esi+000000F4],(float)696969
sub [edx+000000F4],(float)696969

sub [edx+000000F4],(float)696969

or

mov [esi+000000F4],(float)0
mov [edx+000000F4],(float)0

mov [edx+000000F4],(float)0
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 Tutorials -> Auto Assembler tutorials 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