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

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Thu Aug 31, 2017 8:04 am    Post subject: Need Help Reply with quote

Quote:
{ Game : ShooterGame.exe
Version:
Date : 2017-08-31
Author : Kalas

This script does blah blah blah
}

[ENABLE]

aobscanmodule(MeleeDamageAOB,ShooterGame.exe,F3 41 0F 10 84 9E 08 01 00 00)
alloc(newmem,$100,MeleeDamageAOB)
//
alloc(MeleeDamageFlag,0Cool
alloc(SpeedFlag,0Cool
alloc(CraftingSkillFlag,0Cool
//
label(code)
label(return)
//
label(1_MeleeDamageFlag)
label(2_SpeedFlag)
label(3_CraftingSkillFlag)
//
label(MeleeDamage)
label(Speed)
label(CraftingSkill)
//
registersymbol(MeleeDamageFlag)
registersymbol(SpeedFlag)
registersymbol(CraftingSkillFlag)

MeleeDamageFlag:
dd 0

SpeedFlag:
dd 0

CraftingSkillFlag:
dd 0

newmem:
cmp rbx,0000000000000008 // Melee Damage
je 1_MeleeDamageFlag
//
cmp rbx,0000000000000009 // Speed
je 2_SpeedFlag
//
cmp rbx,000000000000000B // Crafting Skill
je 3_CraftingSkillFlag

1_MeleeDamageFlag:
cmp dword ptr [MeleeDamageFlag],1
je MeleeDamage
jmp code

2_SpeedFlag:
cmp dword ptr [SpeedFlag],1
je Speed
jmp code

3_CraftingSkillFlag:
cmp dword ptr [CraftingSkillFlag],1
je CraftingSkill

code:
movss xmm0,[r14+rbx*4+00000108]
jmp return

MeleeDamage:
mov [r14+rbx*4+00000108],(float)10
movss xmm0,[r14+rbx*4+00000108]
jmp return

Speed:
mov [r14+rbx*4+00000108],(float)10
movss xmm0,[r14+rbx*4+00000108]
jmp return

CraftingSkill:
mov [r14+rbx*4+00000108],(float)10
movss xmm0,[r14+rbx*4+00000108]
jmp return

MeleeDamageAOB:
jmp newmem
nop
nop
nop
nop
nop
return:
registersymbol(MeleeDamageAOB)

[DISABLE]

MeleeDamageAOB:
db F3 41 0F 10 84 9E 08 01 00 00

unregistersymbol(MeleeDamageAOB)
unregistersymbol(MeleeDamageFlag)
unregistersymbol(CraftingSkillFlag)
unregistersymbol(SpeedFlag)
dealloc(newmem)
dealloc(MeleeDamageFlag)
dealloc(CraftingSkillFlag)
dealloc(SpeedFlag)


What's wrong here, I'm not usually dealing with this kind of stuff so I'm not sure where I did wrong, thanks for anyone help Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25284
Location: The netherlands

PostPosted: Thu Aug 31, 2017 8:29 am    Post subject: Reply with quote

what is the error ?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Thu Aug 31, 2017 8:35 am    Post subject: Reply with quote

Well after I add an address manually and put MeleeDamageFlag, I see 0, I change it to 1 It doesn't do anything, when It supposed to move 10 there.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Thu Aug 31, 2017 10:14 am    Post subject: Reply with quote

Code:
MeleeDamageFlag:
dd 0

SpeedFlag:
dd 0

CraftingSkillFlag:
dd 0

try placing them anywhere under newmem, sometimes it works.

unless you will create a label and allocate memory for that label and placing them under the new label.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Thu Aug 31, 2017 10:42 am    Post subject: Reply with quote

It works, weird Very Happy thank you
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Thu Aug 31, 2017 12:09 pm    Post subject: Reply with quote

nothing weird, all allocated memory is under newmem.
as i said, unless you will create and allocate new memory and label for them...then you can put them above newmem which is under the new allocated memory.

got it?

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
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