Decided to get it working for any map in 1.14d, whereas before the code had a limit based on the signed values used maxing at 127, so you can use custom LevelID entries of any normally acceptable value.
This current code just adds area 131 to the search and allows for values above 127 as I was using baal throne for some testing, but you can modify it with whatever levelID you want there.
Just open the game.exe with Ollydbg or whatever other disassembly tool you prefer and:
Replace
Code: Select all
00076C8C 83F8 78 CMP EAX,78
00076C8F 75 09 JNE SHORT 00076C9A
Code: Select all
00076C8C E9 20492500 JMP 002CB5B1
Code: Select all
002CB5B1 3D 83000000 CMP EAX,83
002CB5B6 74 0C JE SHORT 002CB5C4
002CB5B8 3D 78000000 CMP EAX,78
002CB5BD 74 05 JE SHORT 002CB5C4
002CB5BF ^ E9 D6B6DAFF JMP 00076C9A
002CB5C4 ^ E9 C8B6DAFF JMP 00076C91
Code: Select all
002CB5B1 3D 83000000 CMP EAX,83
Not sure what makes the snow go full blizzard mode there yet, but hopefully I have time to look into that soon. If you are interested in Arcane Sanc stars, you can modify my script slightly, 00076C7C is where the Arcane level check starts in 1.14d.
1.13 addresses for Sanc and Arreat effects are D2Client.0x8B1DC and D2Client.0x8B1EC
And here is my code for the Arcane Sanc effect on both Arcane Sanc and LvlID131 for 1.14d
Code: Select all
00076C7C E9 30492500 JMP 002CB5B1
002CB5B1 3D 83000000 CMP EAX,83
002CB5B6 74 0C JE SHORT 002CB5C4
002CB5B8 3D 4A000000 CMP EAX,4A
002CB5BD 74 05 JE SHORT 002CB5C4
002CB5BF ^ E9 C2B6DAFF JMP 00076C86
002CB5C4 ^ E9 B8B6DAFF JMP 00076C81