Right, last update borked it. Need to update the AOB search and some offsets.wadic63754 wrote: ↑Mon Dec 04, 2023 8:44 pmIt seems that this script doesn't work anymore, when I try to copy it into Cheat Engine I only get errors like "<<The array of byte named [name] could not be found>>"
Performance points (or sometimes called Season XP):
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>113069</ID>
<Description>"Change PP gain on mission completion"</Description>
<Options moHideChildren="1"/>
<LastState/>
<Color>0000FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : FSD-Win64-Shipping.exe
Version:
Date : 2023-12-02
Author : HenryEx
}
[ENABLE]
aobscanmodule(SeasonXPGain,$process,7E 0C 44 01 7F 08)
aobscanmodule(SeasonXPTerminal,$process,E8 * * * * 8B 40 08 48 83 C4 20 5B C3)
registersymbol(SeasonXPGain)
registersymbol(SeasonXPTerminal)
alloc(SeasonXP,$100,SeasonXPGain)
registersymbol(SeasonXP)
label(code)
label(dump)
label(return)
label(return2)
label(flat)
label(mult)
label(min)
label(exit)
SeasonXP:
dq 0
dd 0
dd 0
dd (float)1
dd 0
code:
mov [SeasonXP],rdi
jle return+8
cmp [SeasonXP+8],0
jng short mult
mov r15d,[SeasonXP+8]
mult:
cmp [SeasonXP+10],(float)1
je short flat
movss [SeasonXP+14],xmm0
cvtsi2ss xmm0,r15d
mulss xmm0,[SeasonXP+10]
cvtss2si r15d,xmm0
movss xmm0,[SeasonXP+14]
flat:
cmp [SeasonXP+C],0
jl short min
add r15d,[SeasonXP+C]
min:
cmp r15d,0
jge short exit
xor r15d,r15d
exit:
add [rdi+08],r15d
jmp return
dump:
mov [SeasonXP],rax
mov eax,[rax+08]
add rsp,20
jmp return2
SeasonXPGain:
jmp SeasonXP+18
nop
return:
SeasonXPTerminal+5:
jmp dump
db 90 90
return2:
{$LUA}
memrec.Color = 0x0000FF00 --format AABBGGRR this is bright green
{$ASM}
[DISABLE]
{$LUA}
memrec.Color = 0x000000FF -- this is bright red
{$ASM}
SeasonXPGain:
db 7E 0C 44 01 7F 08
SeasonXPTerminal+5:
db 8B 40 08 48 83 C4 20
unregistersymbol(SeasonXPGain)
unregistersymbol(SeasonXPTerminal)
unregistersymbol(SeasonXP)
dealloc(SeasonXP)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>113070</ID>
<Description>"Gain fixed points (0 = normal gain)"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>SeasonXP+8</Address>
</CheatEntry>
<CheatEntry>
<ID>113071</ID>
<Description>"Multiplier"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>Float</VariableType>
<Address>SeasonXP+10</Address>
</CheatEntry>
<CheatEntry>
<ID>113072</ID>
<Description>"Flat bonus points"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>SeasonXP+C</Address>
</CheatEntry>
<CheatEntry>
<ID>113073</ID>
<Description>"Current Performance Points"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>[SeasonXP]+8</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>113064</ID>
<Description>"Change Exp gain on mission completion"</Description>
<Options moHideChildren="1"/>
<LastState/>
<Color>0000FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : FSD-Win64-Shipping.exe
Version:
Date : 2023-12-02
Author : HenryEx
}
[ENABLE]
aobscanmodule(MissionXPGain,$process,45 3B FE 45 0F 4E F7)
registersymbol(MissionXPGain)
aobscanmodule(EquipmentXPPointer,$process,8B 58 10 85 DB 78 * E8 * * * * 33 D2)
registersymbol(EquipmentXPPointer)
alloc(MissionXP,$100,MissionXPGain)
registersymbol(MissionXP)
registersymbol(EquipmentXP)
label(code)
label(return)
label(flat)
label(mult)
label(min)
label(exit)
label(return2)
MissionXP:
dq 0
dd 0
dd 0
dd (float)1
dd 0
code:
mov [MissionXP],rdi
add qword ptr [MissionXP],10
cmp [MissionXP+8],0
jng short mult
mov r15d,[MissionXP+8]
mult:
cmp [MissionXP+10],(float)1
je short flat
movss [MissionXP+14],xmm0
cvtsi2ss xmm0,r15d
mulss xmm0,[MissionXP+10]
cvtss2si r15d,xmm0
movss xmm0,[MissionXP+14]
flat:
cmp [MissionXP+C],0
jl short min
add r15d,[MissionXP+C]
min:
cmp r15d,0
jge short exit
xor r15d,r15d
exit:
cmp r15d,r14d
cmovle r14d,r15d
jmp return
EquipmentXP:
lea rbx,[rax+10]
mov [MissionXP],rbx
mov ebx,[rax+10]
test ebx,ebx
jmp return2
MissionXPGain:
jmp MissionXP+18
db 90 90
return:
EquipmentXPPointer:
jmp EquipmentXP
return2:
{$LUA}
memrec.Color = 0x0000FF00 --format AABBGGRR this is bright green
{$ASM}
[DISABLE]
{$LUA}
memrec.Color = 0x000000FF -- this is bright red
{$ASM}
MissionXPGain:
db 45 3B FE 45 0F 4E F7
EquipmentXPPointer:
db 8B 58 10 85 DB
unregistersymbol(MissionXPGain)
unregistersymbol(MissionXP)
unregistersymbol(EquipmentXPPointer)
unregistersymbol(EquipmentXP)
dealloc(MissionXP)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>113065</ID>
<Description>"Gain fixed Exp (0 = normal gain)"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>MissionXP+8</Address>
</CheatEntry>
<CheatEntry>
<ID>113066</ID>
<Description>"Multiplier"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>Float</VariableType>
<Address>MissionXP+10</Address>
</CheatEntry>
<CheatEntry>
<ID>113067</ID>
<Description>"Flat bonus exp"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>MissionXP+C</Address>
</CheatEntry>
<CheatEntry>
<ID>113068</ID>
<Description>"Current Experience"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>FF8000</Color>
<VariableType>4 Bytes</VariableType>
<Address>[MissionXP]</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1