Need Help

Post your topics and discussions here that you can't find a good section for.
Post Reply
User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 448
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 81

Need Help

Post by Kalas » Thu Aug 31, 2017 1:31 pm

Hello, I'm not really dealing with these kind of stuff normal, but I wanted to know how exactly can I make this work:
{ 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)
If someone can explain to me where I did wrong and fix me please :)

User avatar
MangaDrawing
Novice Cheater
Novice Cheater
Posts: 20
Joined: Sun Mar 05, 2017 11:04 am
Reputation: 0

Re: Need Help

Post by MangaDrawing » Fri Sep 01, 2017 2:25 pm

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).

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 448
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 81

Re: Need Help

Post by Kalas » Fri Sep 01, 2017 3:58 pm

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

Matze500
Cheater
Cheater
Posts: 25
Joined: Fri Mar 17, 2017 1:42 am
Reputation: 2

Re: Need Help

Post by Matze500 » Fri Sep 01, 2017 3:59 pm

Alloc is not needed just register the flags with registersymbol(yourflag)

Greets Matze

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 448
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 81

Re: Need Help

Post by Kalas » Fri Sep 01, 2017 4:15 pm

Matze500 wrote:
Fri Sep 01, 2017 3:59 pm
Alloc is not needed just register the flags with registersymbol(yourflag)

Greets Matze
Thanks, ill keep that in mind.

Matze500
Cheater
Cheater
Posts: 25
Joined: Fri Mar 17, 2017 1:42 am
Reputation: 2

Re: Need Help

Post by Matze500 » Fri Sep 01, 2017 10:31 pm

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

User avatar
Kalas
Expert Cheater
Expert Cheater
Posts: 448
Joined: Fri Mar 03, 2017 9:49 am
Reputation: 81

Re: Need Help

Post by Kalas » Fri Sep 22, 2017 6:00 pm

SunBeam wrote:
Mon Sep 11, 2017 5:35 pm
Small suggestion: don't start label names with numbers.
Ok thanks 👌

Post Reply

Who is online

Users browsing this forum: No registered users