A small script that allow to edit your skill points, should work on version 1.7 (steam).
Copy the code below then paste it directly into a table (right click > paste) not into a script
.
Open the menu/abilities in game to refresh the values, then edit the "Skill Points Earned" value to what you want, don't change the first value as it will be recalculated.
And always make a backup of your save before using any cheat.
Edit Skill Points
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>26033</ID>
<Description>"Edit Skill Points (Open the Abilities Menu to refresh the values)"</Description>
<Options moHideChildren="1"/>
<LastState/>
<Color>FF8000</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : RuinedKing.exe
Version:
Date : 2022-04-12
Author : acecel
This script does blah blah blah
}
[ENABLE]
aobscanmodule(aob_sp,GameAssembly.dll,8B BE 9C 00 00 00) // should be unique
alloc(newmem,$1000,aob_sp)
alloc(sp_ptr,$4)
registersymbol(sp_ptr)
label(code)
label(return)
newmem:
mov [sp_ptr],rsi
code:
mov edi,[rsi+0000009C]
jmp return
aob_sp:
jmp newmem
nop
return:
registersymbol(aob_sp)
[DISABLE]
aob_sp:
db 8B BE 9C 00 00 00
unregistersymbol(sp_ptr)
unregistersymbol(aob_sp)
dealloc(sp_ptr)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GameAssembly.dll.il2cpp+1254EA
GameAssembly.dll.il2cpp+1254C5: 48 8B CB - mov rcx,rbx
GameAssembly.dll.il2cpp+1254C8: E8 F3 6E 7B 01 - call UnityEngine.Object.op_Inequality
GameAssembly.dll.il2cpp+1254CD: 84 C0 - test al,al
GameAssembly.dll.il2cpp+1254CF: 74 6D - je GameAssembly.dll.il2cpp+12553E
GameAssembly.dll.il2cpp+1254D1: 49 8B 07 - mov rax,[r15]
GameAssembly.dll.il2cpp+1254D4: 48 85 C0 - test rax,rax
GameAssembly.dll.il2cpp+1254D7: 0F 84 0A 03 00 00 - je GameAssembly.dll.il2cpp+1257E7
GameAssembly.dll.il2cpp+1254DD: 48 8B 58 28 - mov rbx,[rax+28]
GameAssembly.dll.il2cpp+1254E1: 48 85 F6 - test rsi,rsi
GameAssembly.dll.il2cpp+1254E4: 0F 84 F8 02 00 00 - je GameAssembly.dll.il2cpp+1257E2
// ---------- INJECTING HERE ----------
GameAssembly.dll.il2cpp+1254EA: 8B BE 9C 00 00 00 - mov edi,[rsi+0000009C]
// ---------- DONE INJECTING ----------
GameAssembly.dll.il2cpp+1254F0: 2B BE FC 01 00 00 - sub edi,[rsi+000001FC]
GameAssembly.dll.il2cpp+1254F6: 33 C9 - xor ecx,ecx
GameAssembly.dll.il2cpp+1254F8: E8 B3 D1 6F 01 - call System.Globalization.NumberFormatInfo.get_CurrentInfo
GameAssembly.dll.il2cpp+1254FD: 45 33 C9 - xor r9d,r9d
GameAssembly.dll.il2cpp+125500: 4C 8B C0 - mov r8,rax
GameAssembly.dll.il2cpp+125503: 33 D2 - xor edx,edx
GameAssembly.dll.il2cpp+125505: 8B CF - mov ecx,edi
GameAssembly.dll.il2cpp+125507: E8 64 B4 29 01 - call System.Number.FormatInt32
GameAssembly.dll.il2cpp+12550C: 48 85 DB - test rbx,rbx
GameAssembly.dll.il2cpp+12550F: 0F 84 C8 02 00 00 - je GameAssembly.dll.il2cpp+1257DD
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>26034</ID>
<Description>"Skill Points Used"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>808080</Color>
<VariableType>4 Bytes</VariableType>
<Address>sp_ptr</Address>
<Offsets>
<Offset>1FC</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>26035</ID>
<Description>"Skill Points Earned"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>800080</Color>
<VariableType>4 Bytes</VariableType>
<Address>sp_ptr</Address>
<Offsets>
<Offset>9C</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>