HenryEx wrote: ↑Sat Nov 19, 2022 1:43 pm
I noticed
Hey, just a suggestion but would you mind to just update one of your posts instead of re-posting the scripts in new posts every time you fix one?
Then I could also link your post in my main post for easier navigation.
For example you could just update this post everytime.
viewtopic.php?p=250247#p250247
And you could move things into spilers to make it look cleaner like
Code: Select all
[spoiler=Magazine Ammo]
[color=#000000]
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>34219</ID>
<Description>"Unlimited Magazine Ammo"</Description>
<LastState/>
<Color>0000FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : FSD-Win64-Shipping.exe
Version:
Date : 2022-11-06
Author : HenryEx
}
[ENABLE]
aobscanmodule(ClipCount,$process,8B 81 38 06 00 00 48 89)
alloc(newmem,$80,ClipCount)
label(code)
label(return)
newmem:
mov eax,[rcx+00000620] // amount of ammo spent
imul eax,2
code:
cmp [rcx+00000638],eax
jl return
mov eax,[rcx+00000638] // current ammo
jmp return
ClipCount:
jmp newmem
nop
return:
registersymbol(ClipCount)
{$LUA}
memrec.Color = 0x0000FF00 --format AABBGGRR this is bright green
{$ASM}
[DISABLE]
{$LUA}
memrec.Color = 0x000000FF -- this is bright red
{$ASM}
ClipCount:
db 8B 81 38 06 00 00
unregistersymbol(ClipCount)
dealloc(newmem)
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
[/color]
[/spoiler]
Which would then look like this:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>34219</ID>
<Description>"Unlimited Magazine Ammo"</Description>
<LastState/>
<Color>0000FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : FSD-Win64-Shipping.exe
Version:
Date : 2022-11-06
Author : HenryEx
}
[ENABLE]
aobscanmodule(ClipCount,$process,8B 81 38 06 00 00 48 89)
alloc(newmem,$80,ClipCount)
label(code)
label(return)
newmem:
mov eax,[rcx+00000620] // amount of ammo spent
imul eax,2
code:
cmp [rcx+00000638],eax
jl return
mov eax,[rcx+00000638] // current ammo
jmp return
ClipCount:
jmp newmem
nop
return:
registersymbol(ClipCount)
{$LUA}
memrec.Color = 0x0000FF00 --format AABBGGRR this is bright green
{$ASM}
[DISABLE]
{$LUA}
memrec.Color = 0x000000FF -- this is bright red
{$ASM}
ClipCount:
db 8B 81 38 06 00 00
unregistersymbol(ClipCount)
dealloc(newmem)
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
You can ofc put it into "code" inside of the spoiler.