Figured it out! Idk if its the proper way to do it but basiaclly i follow the usual setup and start the game, when it auto hooks just ctrl + alt + a and itll open up a new window, paste the code then execute along with the basic and advance cheats and then close as per usual. Special thanks to ZoDDeL and the rest for making it easy for noobs like me to not have to grind the game forever for theseHippie wrote: ↑Mon Apr 15, 2024 11:25 pmThis is so helpful, im new to this so any tutorial on how i could implement this?ZoDDeL wrote: ↑Mon Apr 15, 2024 10:02 pmhere i have clean script for samples i just wrote.s4boi wrote: ↑Mon Apr 15, 2024 6:33 pm
Its less than 100 samples TOTAL combined, not 100 samples each.
Here's the script that adds 48 samples per sample type picked up.
That being said if you pick common it will add 48+1 common samples, if you pick up rare it will add 48+1 rare samples and same goes for super samples. Its a bit inconvenient since you need to hunt for specific sample types that you want to get.
-snip-
once you pickup any sample you get a number of all 3 sample types.Code: Select all
{ Game : helldivers2.exe Version: Date : 2024-04-15 Author : ZoDDeL This script does blah blah blah } [ENABLE] aobscanmodule(samples,game.dll,45 01 B4 8A EC 17 00 00 48 8D 82 99 00 00 00) // should be unique alloc(samples_newmem,$1000) label(samples_code) label(samples_return) samples_newmem: cmp rcx,0 je samples_common cmp rcx,1 je samples_rare cmp rcx,2 je samples_super jmp samples_code // keep common + rare + super below 100!!! samples_common: // when you pickup common mov [r10+rcx*4+000017EC],#49 // common sample mov [r10+rcx*4+000017EC+4],#30 // rare sample mov [r10+rcx*4+000017EC+8],#20 // super sample lea rax,[rdx+00000099] jmp samples_return samples_rare: // when you pickup rare mov [r10+rcx*4+000017EC-4],#49 // common sample mov [r10+rcx*4+000017EC],#30 // rare sample mov [r10+rcx*4+000017EC+4],#20 // super sample lea rax,[rdx+00000099] jmp samples_return samples_super: // when you pickup super mov [r10+rcx*4+000017EC-8],#49 // common sample mov [r10+rcx*4+000017EC-4],#30 // rare sample mov [r10+rcx*4+000017EC],#20 // super sample lea rax,[rdx+00000099] jmp samples_return samples_code: add [r10+rcx*4+000017EC],r14d lea rax,[rdx+00000099] jmp samples_return samples: jmp far samples_newmem nop samples_return: [DISABLE]
the amount is predefined to 49 common, 30 rare and 20 super. (you can change if you like but stay below 100 total)
also its "mov" and not "add" so you cannot overpick to go above 100 total (49 + 30 + 20 = 99 )
but to be sure i would not use it while playing with other people because i did not test the behaviour there.
you can still lose the samples if you die. just pick em up if that happens.
btw. you can use it even on difficulty 1 mission where only common samples exists and farm all types anyway with one pickup.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1