Heromino wrote: ↑Wed Jul 03, 2019 12:09 pm
Is it possible to make a cheat for instant dismantling things without that god damn channeling? Someday I will go nuts because of it.
Sure thing. I'll add it to the table for the next version but in the mean time you can click "Select all" on the code below and paste it in to the current table version and then save the table. It can go anywhere but just make sure to attach to the game before using it.
Careful with this though, it's instant and that makes it very easy to accidentally dismantle things that you didn't want to dismantle.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>24379</ID>
<Description>"[NoBind] Instant Dismantle"</Description>
<LastState/>
<Color>FF00FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(InstantDismantle,FactoryGame-Win64-Shipping.exe,F3 0F 11 73 30 E8) // should be unique
alloc(newmem,$1000,"FactoryGame-Win64-Shipping.exe"+825654)
label(code)
label(return)
newmem:
push rdx
mov rdx,[rbx+30]
add rdx,#1
mov [rbx+30],rdx
pop rdx
code:
//movss [rbx+30],xmm6
jmp return
InstantDismantle:
jmp newmem
return:
registersymbol(InstantDismantle)
[DISABLE]
InstantDismantle:
db F3 0F 11 73 30
unregistersymbol(InstantDismantle)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "FactoryGame-Win64-Shipping.exe"+825654
"FactoryGame-Win64-Shipping.exe"+82562E: FF 90 40 01 00 00 - call qword ptr [rax+00000140]
"FactoryGame-Win64-Shipping.exe"+825634: 48 85 C0 - test rax,rax
"FactoryGame-Win64-Shipping.exe"+825637: 74 17 - je FactoryGame-Win64-Shipping.exe+825650
"FactoryGame-Win64-Shipping.exe"+825639: 48 8B 03 - mov rax,[rbx]
"FactoryGame-Win64-Shipping.exe"+82563C: 48 8B CB - mov rcx,rbx
"FactoryGame-Win64-Shipping.exe"+82563F: FF 90 40 01 00 00 - call qword ptr [rax+00000140]
"FactoryGame-Win64-Shipping.exe"+825645: 48 8B C8 - mov rcx,rax
"FactoryGame-Win64-Shipping.exe"+825648: E8 13 2B 68 01 - call FactoryGame-Win64-Shipping.exe+1EA8160
"FactoryGame-Win64-Shipping.exe"+82564D: 0F 28 F0 - movaps xmm6,xmm0
"FactoryGame-Win64-Shipping.exe"+825650: 48 8B 4B 20 - mov rcx,[rbx+20]
// ---------- INJECTING HERE ----------
"FactoryGame-Win64-Shipping.exe"+825654: F3 0F 11 73 30 - movss [rbx+30],xmm6
// ---------- DONE INJECTING ----------
"FactoryGame-Win64-Shipping.exe"+825659: E8 D2 F4 FE FF - call FactoryGame-Win64-Shipping.exe+814B30
"FactoryGame-Win64-Shipping.exe"+82565E: 48 8B B8 40 01 00 00 - mov rdi,[rax+00000140]
"FactoryGame-Win64-Shipping.exe"+825665: 48 85 FF - test rdi,rdi
"FactoryGame-Win64-Shipping.exe"+825668: 74 44 - je FactoryGame-Win64-Shipping.exe+8256AE
"FactoryGame-Win64-Shipping.exe"+82566A: E8 71 FA 20 00 - call FactoryGame-Win64-Shipping.exe+A350E0
"FactoryGame-Win64-Shipping.exe"+82566F: 48 8B 4F 10 - mov rcx,[rdi+10]
"FactoryGame-Win64-Shipping.exe"+825673: 4C 8D 80 88 00 00 00 - lea r8,[rax+00000088]
"FactoryGame-Win64-Shipping.exe"+82567A: 49 63 40 08 - movsxd rax,dword ptr [r8+08]
"FactoryGame-Win64-Shipping.exe"+82567E: 3B 81 90 00 00 00 - cmp eax,[rcx+00000090]
"FactoryGame-Win64-Shipping.exe"+825684: 7F 28 - jg FactoryGame-Win64-Shipping.exe+8256AE
}
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
MontagIstKacke wrote: ↑Wed Jul 03, 2019 1:58 pm
I cant even open it, if I click on it it says "Failure loading the trainer. Reason :Stream read error". That didnt happen with the old versions.
Thanks for letting me know. I'm looking into this.
Try running Cheat Engine as an admin.
The table might be corrupted, try redownloading it.