Randtransform.dat

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
User avatar
Tomkomaster
Posts: 96
Joined: Thu Feb 07, 2008 1:15 am
Slovakia

Randtransform.dat

Post by Tomkomaster » Wed Aug 21, 2019 2:22 am

Hi all

Anyone knows how to fix the randtransform.dat bug in 1.13c version of the game? I cannot find anything about the fix, not even for older versions.

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

Hand-picked

Re: Randtransform.dat

Post by Necrolis » Wed Aug 21, 2019 1:52 pm

The 1.10 location for this is:

Code: Select all

//D2Client.0x6FAAE3C0
const uint8_t* __fastcall PAL_GetMonsterPalette(D2UnitStrc* pMonster)
You need to fix the upper bound given to the RandPalette so that it allows for all entries. Looking for this code in other versions should be as easy as looking for the bound check constant and assert.
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

Post Reply

Return to “Code Editing”