If someone can explain to me where I did wrong and fix me please{ 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,08)
alloc(SpeedFlag,08)
alloc(CraftingSkillFlag,08)
//
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)
Need Help
Need Help
Hello, I'm not really dealing with these kind of stuff normal, but I wanted to know how exactly can I make this work:
- MangaDrawing
- Cheater
- Posts: 29
- Joined: Sun Mar 05, 2017 11:04 am
- Reputation: 0
Re: Need Help
Hi.
I think you use label Instead of alloc.
mean : alloc(MeleeDamageFlag,08) to label(MeleeDamageFlag)
alloc(SpeedFlag,08) to label(SpeedFlag)
alloc(CraftingSkillFlag,08) to label(CraftingSkillFlag). And remove a",MeleeDamageAOB" from alloc(newmem,$100,MeleeDamageAOB).
I think you use label Instead of alloc.
mean : alloc(MeleeDamageFlag,08) to label(MeleeDamageFlag)
alloc(SpeedFlag,08) to label(SpeedFlag)
alloc(CraftingSkillFlag,08) to label(CraftingSkillFlag). And remove a",MeleeDamageAOB" from alloc(newmem,$100,MeleeDamageAOB).
Re: Need Help
Nope, I got it working. I had an issue in the:
cmp rbx,0000000000000008 // Melee Damage
je 1_MeleeDamageFlag
//
cmp rbx,0000000000000009 // Speed
je 2_SpeedFlag
//
cmp rbx,000000000000000B // Crafting Skill
je 3_CraftingSkillFlag
cmp rbx,0000000000000008 // Melee Damage
je 1_MeleeDamageFlag
//
cmp rbx,0000000000000009 // Speed
je 2_SpeedFlag
//
cmp rbx,000000000000000B // Crafting Skill
je 3_CraftingSkillFlag
Re: Need Help
Alloc is not needed just register the flags with registersymbol(yourflag)
Greets Matze
Greets Matze
Re: Need Help
The db(1byte), dw(2 byte or word), dd(4 byte or double word),dq(8byte or quad word) reserves the memory if they are below “newmem:“. Best place is below jmp return and the injection point.
Greets Matze
Greets Matze
Who is online
Users browsing this forum: waetry