Joined: 04 May 2016
|Posted: Sun Mar 19, 2017 2:19 pm Post subject: Dark Souls 3 - Script setting NPC Health to 0 doesn't work
|Title says it all. Before the latest update, it worked a treat. Was able to clear trash mobs from the whole game. Now, the script makes no change to the health addresses.
Here's the pastebin of the script: http://pastebin.com/PZ32TraS
It's really simple, just got a huge number of cmp commands comparing a bunch of different enemy model ID's.
I've updated the health instruction AOB, so it's not an issue of me forgetting to update to the new instruction address. I've no idea how to proceed from here.
Edit: Pah. Turns out there is another instruction that works just fine. I was an idiot when copy-pasting my code, so it crashed. Forgot to change the first rbx+D8 to rcx+D8.
Working script: http://pastebin.com/s6b9ebDH
Not too sure if the cmp checks are fully working. Will have to experiment.
Edit2: Figured out why the CMP checks weren't working. I had them inserted after the original instruction's CMP. Inserting them before does the trick.
Works even better than the older version's, as it operates on all enemies for your area, not just the ones that have their 3D loaded.
And here it is: http://pastebin.com/0Bi9A56A