Page 1 of 1

[1.10] Revive AI improvements 2.0

Posted: Mon Aug 22, 2016 10:56 am
by Ogodei
Hello guys :) I discovered new things about the Revived monsters, and wanted to share them with you.
Note: While in the thread they're called "Revived", keep in mind that this code also handles the super uniques and the random bosses minions!

Code: Select all

6FCF0DD9   75 1E           JNE SHORT 6FCF0DF9
This is the conditional jump that forces Revived minions to move away from the owner, and yes, even during combat (-_-). I think it's a Blizz leftover from v1.00, when the Revived actually could collide with players. Fix it by changing into JE.

Code: Select all

6FCF0DF9   83F8 14          CMP EAX,14
this handles the distance from the owner in order to trigger the AI pathing.

Code: Select all

6FCF0E0E   6A 14            PUSH 14
This push handles the range ( in sub tiles ) that the revived will keep from their owner while following him.
Reduce it in order to have the revived better keep the pace with you.

Code: Select all

6FCF0DFE   6A 28            PUSH 28

This push states the velocity bonus that revived will get when trying to reach their owner

Re: [1.10] Revive AI improvements 2.0

Posted: Thu Mar 15, 2018 3:45 pm
by Theernestrain
Hey!

Where is this file located? When you say, "Fix it by changing it to JE", what do you mean?

Re: [1.10] Revive AI improvements 2.0

Posted: Thu Mar 15, 2018 3:57 pm
by Ogodei
Hello,

Sorry, these are among my very first code edits, and I didn't know it was necessary to specify such things!

All of these codes are in D2Game.

Theernestrain wrote:
Thu Mar 15, 2018 3:45 pm
When you say, "Fix it by changing it to JE", what do you mean?
I mean that you have to change that JNE SHORT 6FCF0DF9 into JE SHORT 6FCF0DF9. But, iirc, you can simply turn it into a JMP , so that the scattering behavior gets disabled for both players and super uniques \ random bosses

Re: [1.10] Revive AI improvements 2.0

Posted: Thu Mar 15, 2018 11:58 pm
by Theernestrain
I understand man, thanks. I am going to look into these. Maybe you can also help me with the problem I just posted on forum when you get a chance. Would appreciate it. Currently needs to be approved by moderator though.

Re: [1.10] Revive AI improvements 2.0

Posted: Mon Jun 17, 2019 9:47 pm
by Ruffneck
Any chance for a tutorial for 1.13c ?