Csimbi wrote: ↑Sun Nov 29, 2020 8:56 am
I suspect it is calculated from various sources (like citizens, recent events, etc.) which makes it challenging to track it down (a few stack traces will be needed I guess).
Good luck!
I think it's because hope sources are temporary so the value you find is the sum of all values from hope sources I still can't find a way to manipulate it
I didn't try too hard to find it either cuz I agree that hope/discontent challenge makes it more fun
however I've managed to find building efficiency and wrote a script for it. it's reliably working for me so far if y'all wanna give it a test
I only have steam version tho
also I'm still trying to find scout speed but I got nothing so far x_x idk if you've ever looked into that Csimbi
things im trying to do :
- no building ability cooldown so i can spam to get hope
- scout speed
- building effect radius
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>1795</ID>
<Description>"Super Efficient Buildings"</Description>
<Options moHideChildren="1"/>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
aobscanmodule(SuperEfficient,Frostpunk.exe,F3 0F 11 71 70) // should be unique
alloc(newmem,$1000,"Frostpunk.exe"+1223D41)
label(code)
label(return)
label(superEff)
registersymbol(superEff)
newmem:
code:
mulss xmm6,[superEff]
movss [rcx+70],xmm6
jmp return
superEff:
dd (float)10
SuperEfficient:
jmp newmem
return:
registersymbol(SuperEfficient)
[DISABLE]
SuperEfficient:
db F3 0F 11 71 70
unregistersymbol(SuperEfficient)
unregistersymbol(superEff)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "Frostpunk.exe"+1223D41
"Frostpunk.exe"+1223D1B: F3 0F 11 54 24 28 - movss [rsp+28],xmm2
"Frostpunk.exe"+1223D21: 76 05 - jna Frostpunk.exe+1223D28
"Frostpunk.exe"+1223D23: 0F 28 D0 - movaps xmm2,xmm0
"Frostpunk.exe"+1223D26: EB 15 - jmp Frostpunk.exe+1223D3D
"Frostpunk.exe"+1223D28: 0F 2F D3 - comiss xmm2,xmm3
"Frostpunk.exe"+1223D2B: 48 8D 44 24 20 - lea rax,[rsp+20]
"Frostpunk.exe"+1223D30: 48 8D 54 24 28 - lea rdx,[rsp+28]
"Frostpunk.exe"+1223D35: 48 0F 46 C2 - cmovbe rax,rdx
"Frostpunk.exe"+1223D39: F3 0F 10 10 - movss xmm2,[rax]
"Frostpunk.exe"+1223D3D: F3 0F 58 CE - addss xmm1,xmm6
// ---------- INJECTING HERE ----------
"Frostpunk.exe"+1223D41: F3 0F 11 71 70 - movss [rcx+70],xmm6
// ---------- DONE INJECTING ----------
"Frostpunk.exe"+1223D46: F3 0F 11 5C 24 28 - movss [rsp+28],xmm3
"Frostpunk.exe"+1223D4C: F3 0F 11 44 24 30 - movss [rsp+30],xmm0
"Frostpunk.exe"+1223D52: F3 0F 59 CC - mulss xmm1,xmm4
"Frostpunk.exe"+1223D56: 0F 2F C1 - comiss xmm0,xmm1
"Frostpunk.exe"+1223D59: F3 0F 11 4C 24 20 - movss [rsp+20],xmm1
"Frostpunk.exe"+1223D5F: 77 15 - ja Frostpunk.exe+1223D76
"Frostpunk.exe"+1223D61: 0F 2F CB - comiss xmm1,xmm3
"Frostpunk.exe"+1223D64: 48 8D 44 24 28 - lea rax,[rsp+28]
"Frostpunk.exe"+1223D69: 48 8D 4C 24 20 - lea rcx,[rsp+20]
"Frostpunk.exe"+1223D6E: 48 0F 46 C1 - cmovbe rax,rcx
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>1798</ID>
<Description>"Efficiency Multiplier"</Description>
<LastState Value="10" RealAddress="7FF73B160012"/>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>Float</VariableType>
<Address>superEff</Address>
</CheatEntry>
<CheatEntry>
<ID>1800</ID>
<Description>"Rarely happen but If it's not seems to be boosting, unassign then reassign workers, or turn building operation off or back on"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>808000</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>