[1.14d] Prevent Nihlathak's Portal from closing when Waypoint/Quest complete

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
FearedBliss
Posts: 82
Joined: Sat Oct 16, 2010 4:29 pm
United States of America

[1.14d] Prevent Nihlathak's Portal from closing when Waypoint/Quest complete

Post by FearedBliss » Sat Oct 27, 2018 6:58 pm

This is based off devurandom's solution for 1.13d, but ported over.

Code: Select all

This patch prevents the Nihlathak Portal that Anya opens for you, from closing,
when you have the Halls of Pain WP and also have killed him.

1.14d Offset: 18B9D7

OLD CODE:

0058B9D0 | E8 7B 54 0D 00           | CALL game.660E50                                               |
0058B9D5 | 85 C0                    | TEST EAX,EAX                                                   |
0058B9D7 | 0F 85 C5 00 00 00        | JNE game.58BAA2                                                |
0058B9DD | 5E                       | POP ESI                                                        |
0058B9DE | C6 83 89 00 00 00 01     | MOV BYTE PTR DS:[EBX+89],1                                     |

NEW CODE:

0058B9D0 | E8 7B 54 0D 00           | CALL game.660E50                                               |
0058B9D5 | 85 C0                    | TEST EAX,EAX                                                   |
0058B9D7 | 90                       | NOP                                                            |
0058B9D8 | 90                       | NOP                                                            |
0058B9D9 | 90                       | NOP                                                            |
0058B9DA | 90                       | NOP                                                            |
0058B9DB | 90                       | NOP                                                            |
0058B9DC | 90                       | NOP                                                            |
0058B9DD | 5E                       | POP ESI                                                        |
0058B9DE | C6 83 89 00 00 00 01     | MOV BYTE PTR DS:[EBX+89],1                                     |

WHAT TO DO:

NOP the JNE

User avatar
Kieran
Senior Moderator
Angel
Posts: 617
Joined: Mon Oct 22, 2007 9:46 am
Location: England
Contact:
Great Britain

Hand-picked

Re: [1.14d] Prevent Nihlathak's Portal from closing when Waypoint/Quest complete

Post by Kieran » Wed Dec 04, 2019 8:16 pm

If anybody want's this for 1.09d its:

Code: Select all


OLD CODE:

6FCA7012   E8 3FE50400      CALL <JMP.&D2Common.#11146>
6FCA7017   85C0             TEST EAX,EAX
6FCA7019   0F85 C1000000    JNZ D2Game.6FCA70E0
6FCA701F   5F               POP EDI
6FCA7020   C685 89000000 01 MOV BYTE PTR SS:[EBP+89],1

NEW CODE:

6FCA7012   E8 3FE50400      CALL <JMP.&D2Common.#11146>
6FCA7017   85C0             TEST EAX,EAX
6FCA7019   90               NOP
6FCA701A   90               NOP
6FCA701B   90               NOP
6FCA701C   90               NOP
6FCA701D   90               NOP
6FCA701E   90               NOP
6FCA701F   5F               POP EDI
6FCA7020   C685 89000000 01 MOV BYTE PTR SS:[EBP+89],1

WHAT TO DO:
NOP the JNZ

Post Reply

Return to “Code Editing”