Now I don't have to work on my table anymore!
I can't help myself... but thanks for doing that, Zanzer!
Zanzer, why do we do "test rcx,rcx?"
[automerge]1590303070[/automerge]
Also, Zanzer, let me ask you something more detailed.
The original code is this:
Code: Select all
// ---------- My injection point ----------
23F411A3B04: F3 0F 10 86 20 02 00 00 - movss xmm0,[rsi+00000220]
// ---------- Your injection point ----------
23F411A3B0C: F3 0F 5A C0 - cvtss2sd xmm0,xmm0
23F411A3B10: F2 0F 5A E8 - cvtsd2ss xmm5,xmm0
You did this:
Code: Select all
newmem:
dd (float)1000
code:
mov rax,newmem
movss xmm0,[rax]
cvtss2sd xmm0,xmm0
cvtsd2ss xmm5,xmm0
jmp return
I would have done this:
Code: Select all
newmem:
dd (float)1000
code:
mov [rsi+220],newmem
movss xmm0,[rsi+00000220]
jmp return
Is there any difference? I don't understand xmm0 registers, so I avoid modifying them entirely. Your opinion?
I don't understand your pointer offsets in the Resources section. I understand when you write things like, resourcePtr->18->30, but you've done resourcePtr->18->0*18+30 and I don't understand that at all
Finally, if we add this line:
after the line 21 in the Infinite Health script, it'll ignore temperature for only the player's drone parts. Your ignore temperature script turns it off for everyone.