[1.10] Boss Picking Bug - Potential Remedy

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

User avatar
Mentor
Junior Member
Champion of the Light
Posts: 359
Joined: Wed Dec 07, 2005 6:24 pm
Romania

[1.10] Boss Picking Bug - Potential Remedy

Post by Mentor » Wed Sep 23, 2009 4:38 pm

I think I have found a way for the game to use the UMon column from levels.txt for all difficulties and get rid of some headaches.
I say I think, because I haven't tested it extensively for potential bugs / side-effects. Anyway, no crash occurred.
Anyone who is willing to spend some time on testing it and finds a glitch ( I haven't, after 4 hours of testing), please provide some feedback.

The original code:

Code: Select all

6FC62441  |.  8A41 6D       MOV AL,BYTE PTR DS:[ECX+6D]			   get difficulty from ptGame
6FC62444  |.  84C0          TEST AL,AL				
6FC62446  |.  0F85 AD000000 JNZ D2Game.6FC624F9				        nightmare / hell > don't use UMon columns

this below is accessed only in Normal
6FC624A2  |> \0FBF8443 9A00>MOVSX EAX,WORD PTR DS:[EBX+EAX*2+9A]	get mon index from UMon column
To skip the check, NOP the 3 lines mentioned above:

Code: Select all

6FC62441      90            NOP
6FC62442      90            NOP
6FC62443      90            NOP
6FC62444      90            NOP
6FC62445      90            NOP
6FC62446      90            NOP
6FC62447      90            NOP
6FC62448      90            NOP
6FC62449      90            NOP
6FC6244A      90            NOP
6FC6244B      90            NOP

Ensley03
Posts: 31
Joined: Sat Nov 21, 2015 7:51 pm
United States of America

Re: [1.10] Boss Picking Bug - Potential Remedy

Post by Ensley03 » Sat Dec 01, 2018 10:12 pm

Where does this go? I want to make it so the treasure goblins don't spawn as uniques and champs.

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
South Africa

Hand-picked

Re: [1.10] Boss Picking Bug - Potential Remedy

Post by Necrolis » Sun Dec 02, 2018 7:54 am

Ensley03 wrote:
Sat Dec 01, 2018 10:12 pm
Where does this go? I want to make it so the treasure goblins don't spawn as uniques and champs.
you can do this via monumod.txt; the above is a code edit for D2Game.dll.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
prawn
Junior Member
Paladin
Posts: 111
Joined: Sat Oct 27, 2012 12:21 am
Great Britain

Re: [1.10] Boss Picking Bug - Potential Remedy

Post by prawn » Mon Jan 28, 2019 9:21 pm

Can confirm this works, thanks for the code!

shaolonger
Posts: 7
Joined: Fri Jun 03, 2022 10:12 am

Re: [1.10] Boss Picking Bug - Potential Remedy

Post by shaolonger » Thu Jun 30, 2022 1:49 am

Necrolis wrote:
Sun Dec 02, 2018 7:54 am
Ensley03 wrote:
Sat Dec 01, 2018 10:12 pm
Where does this go? I want to make it so the treasure goblins don't spawn as uniques and champs.
you can do this via monumod.txt; the above is a code edit for D2Game.dll.
Can you share the details about how to do this via monumod.txt? I dont understand how to do that :)

Return to “Code Editing”