sunnymouse wrote: ↑Sat Mar 25, 2017 5:35 pm
Hi all
Not sure if this can be done but I'm searching for an unlimited inventory cheat. I love mining things but can't store more than 250 in my suit and 500 in my ship. Any help with this maybe? Thank you in advance.
This will increase the max stack size of items dramatically.
Ok, it's working now, at least on my game so if it is not working on someone else's then I will figure it out.
Added aob to grant large stack upon transfer also.
This appears to be all ops in game that multiply by 250. This table just changes 250 to a very large number.
Code: Select all
{ Game : NMS.exe
Version: 0.1.0.0
}
[ENABLE]
aobscanmodule(moreINV,NMS.exe,69 8E C8 00 00 00 FA 00 00 00) // should be unique
registersymbol(moreINV)
aobscanmodule(maxSlotReset,NMS.exe,41 69 86 C8 00 00 00 FA 00 00 00) // should be unique
registersymbol(maxSlotReset)
aobscanmodule(TransferSize,NMS.exe,69 86 C8 00 00 00 FA 00 00 00 eb 0b) // should be unique
registersymbol(TransferSize)
moreINV:
imul ecx,[rsi+000000C8],7359400
maxSlotReset:
imul eax,[r14+000000C8],7359400
TransferSize:
imul eax,[rsi+000000C8],7359400
[DISABLE]
moreINV:
db 69 8E C8 00 00 00 FA 00 00 00
unregistersymbol(moreINV)
maxSlotReset:
db 41 69 86 C8 00 00 00 FA 00 00 00
unregistersymbol(maxSlotReset)
TransferSize:
db 69 86 C8 00 00 00 FA 00 00 00
unregistersymbol(TransferSize)
{moreINV
// ORIGINAL CODE - INJECTION POINT: "NMS.exe"+6553D4
"NMS.exe"+6553B5: 44 89 6D A7 - mov [rbp-59],r13d
"NMS.exe"+6553B9: 48 8D 4E 60 - lea rcx,[rsi+60]
"NMS.exe"+6553BD: 48 8D 55 9F - lea rdx,[rbp-61]
"NMS.exe"+6553C1: E8 3A 7E 01 00 - call NMS.exe+66D200
"NMS.exe"+6553C6: 2B FB - sub edi,ebx
"NMS.exe"+6553C8: EB 71 - jmp NMS.exe+65543B
"NMS.exe"+6553CA: 44 8B 73 18 - mov r14d,[rbx+18]
"NMS.exe"+6553CE: 8B 03 - mov eax,[rbx]
"NMS.exe"+6553D0: 85 C0 - test eax,eax
"NMS.exe"+6553D2: 75 14 - jne NMS.exe+6553E8
// ---------- INJECTING HERE ----------
"NMS.exe"+6553D4: 69 8E C8 00 00 00 FA 00 00 00 - imul ecx,[rsi+000000C8],000000FA
// ---------- DONE INJECTING ----------
"NMS.exe"+6553DE: 44 3B F1 - cmp r14d,ecx
"NMS.exe"+6553E1: 7E 05 - jle NMS.exe+6553E8
"NMS.exe"+6553E3: 44 8B F1 - mov r14d,ecx
"NMS.exe"+6553E6: EB 12 - jmp NMS.exe+6553FA
"NMS.exe"+6553E8: 83 F8 02 - cmp eax,02
"NMS.exe"+6553EB: 75 0D - jne NMS.exe+6553FA
"NMS.exe"+6553ED: 8B 86 CC 00 00 00 - mov eax,[rsi+000000CC]
"NMS.exe"+6553F3: 44 3B F0 - cmp r14d,eax
"NMS.exe"+6553F6: 44 0F 4F F0 - cmovg r14d,eax
"NMS.exe"+6553FA: 0F 10 03 - movups xmm0,[rbx]
{maxSlotReset
// ORIGINAL CODE - INJECTION POINT: "NMS.exe"+62FD5F
"NMS.exe"+62FD3F: 0F 94 C2 - sete dl
"NMS.exe"+62FD42: 44 22 C2 - and r8l,dl
"NMS.exe"+62FD45: 41 80 E0 01 - and r8l,01
"NMS.exe"+62FD49: 0F 85 0E 01 00 00 - jne NMS.exe+62FE5D
"NMS.exe"+62FD4F: 48 83 C0 0C - add rax,0C
"NMS.exe"+62FD53: 48 3B C1 - cmp rax,rcx
"NMS.exe"+62FD56: 75 D8 - jne NMS.exe+62FD30
"NMS.exe"+62FD58: 8B 45 B8 - mov eax,[rbp-48]
"NMS.exe"+62FD5B: 85 C0 - test eax,eax
"NMS.exe"+62FD5D: 75 0D - jne NMS.exe+62FD6C
// ---------- INJECTING HERE ----------
"NMS.exe"+62FD5F: 41 69 86 C8 00 00 00 FA 00 00 00 - imul eax,[r14+000000C8],000000FA
// ---------- DONE INJECTING ----------
"NMS.exe"+62FD6A: EB 0C - jmp NMS.exe+62FD78
"NMS.exe"+62FD6C: 83 F8 02 - cmp eax,02
"NMS.exe"+62FD6F: 75 0A - jne NMS.exe+62FD7B
"NMS.exe"+62FD71: 41 8B 86 CC 00 00 00 - mov eax,[r14+000000CC]
"NMS.exe"+62FD78: 89 45 D4 - mov [rbp-2C],eax
"NMS.exe"+62FD7B: 49 8B 46 58 - mov rax,[r14+58]
"NMS.exe"+62FD7F: 49 39 46 50 - cmp [r14+50],rax
"NMS.exe"+62FD83: 75 09 - jne NMS.exe+62FD8E
"NMS.exe"+62FD85: 49 8D 4E 48 - lea rcx,[r14+48]
"NMS.exe"+62FD89: E8 A2 F4 03 00 - call NMS.exe+66F230
{TransferSize
// ORIGINAL CODE - INJECTION POINT: "NMS.exe"+6555BB
"NMS.exe"+6555A0: 48 8B CE - mov rcx,rsi
"NMS.exe"+6555A3: E8 88 A0 FD FF - call NMS.exe+62F630
"NMS.exe"+6555A8: 85 C0 - test eax,eax
"NMS.exe"+6555AA: 7E 71 - jle NMS.exe+65561D
"NMS.exe"+6555AC: 8B CF - mov ecx,edi
"NMS.exe"+6555AE: 39 7B 1C - cmp [rbx+1C],edi
"NMS.exe"+6555B1: 0F 4C 4B 1C - cmovl ecx,[rbx+1C]
"NMS.exe"+6555B5: 8B 03 - mov eax,[rbx]
"NMS.exe"+6555B7: 85 C0 - test eax,eax
"NMS.exe"+6555B9: 75 0C - jne NMS.exe+6555C7
// ---------- INJECTING HERE ----------
"NMS.exe"+6555BB: 69 86 C8 00 00 00 FA 00 00 00 - imul eax,[rsi+000000C8],000000FA
// ---------- DONE INJECTING ----------
"NMS.exe"+6555C5: EB 0B - jmp NMS.exe+6555D2
"NMS.exe"+6555C7: 83 F8 02 - cmp eax,02
"NMS.exe"+6555CA: 75 0D - jne NMS.exe+6555D9
"NMS.exe"+6555CC: 8B 86 CC 00 00 00 - mov eax,[rsi+000000CC]
"NMS.exe"+6555D2: 8B CF - mov ecx,edi
"NMS.exe"+6555D4: 3B C7 - cmp eax,edi
"NMS.exe"+6555D6: 0F 4C C8 - cmovl ecx,eax
"NMS.exe"+6555D9: 2B F9 - sub edi,ecx
"NMS.exe"+6555DB: 0F 10 03 - movups xmm0,[rbx]
"NMS.exe"+6555DE: 0F 11 45 AF - movups [rbp-51],xmm0