1.13c hardcoded strings

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
Junior Member
Posts: 109
Joined: Mon Sep 06, 2010 3:59 am
Location: Slovakia

1.13c hardcoded strings

Post by rondel123 » Fri Feb 05, 2016 8:12 pm

Could anyone tell me, how to override some hardcoded strings from strng.tbl by using patchstring.tbl?

For example strModColdDamageRange. The display always reads from string.tbl, ignoring patchstring :sick:

User avatar
Forum Legend
Posts: 2057
Joined: Thu Aug 13, 2009 2:54 pm
Location: localhost

Re: 1.13c hardcoded strings

Post by kidpaddle94 » Fri Feb 05, 2016 9:41 pm

If adding a new instance in patchstring doesn't replace the result, that means it uses a static index from the code. In this case you want to do a constant search for the said index in the code, which you should find in D2Client.dll 95% of the time. Just remember,

string in string.tbl = (index + 0)
string in patchstring.tbl = (index + 10,000)
string in expansionstring.tbl = (index + 20,000)

so for example, string #1254 in expansionstring.tbl would be string #21,254 in the code.

Post Reply

Return to “Code Editing”