[1.11b] more Hireling titles (HireDesc.txt)

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

Sduibek

[1.11b] more Hireling titles (HireDesc.txt)

Post by Sduibek » Wed Mar 05, 2008 6:22 pm

This is a follow-up to Kingpin and Mhyrginoc's thread here:
viewtopic.php?t=30865

PLEASE read that thread before continuing, I don't want to re-explain everything they discovered :P


However, once you've read that thread, and if you want to make those mods for Diablo II v1.11b, here you go:


ASM for D2Common.dll--

Code: Select all

:6FD663A0 85C9 test ecx, ecx
:6FD663A2 7C17 jl 6FD663BB
:6FD663A4 83F909 cmp ecx, 00000009
:6FD663A7 7312 jnb 6FD663BB
:6FD663A9 668B0C4D0858DE6F mov cx, word ptr [2*ecx+6FDE5808]
:6FD663B1 6685C9 test cx, cx
:6FD663B4 7405 je 6FD663BB
HEX for D2Common.dll--

Code: Select all

Offset 91040 / Hex 163A0
85C97C1783F9097312668B0C4D0858DE6F6685C97405

***For this next part, open D2Common.dll in HexWorkshop:

Code: Select all

Offset 612362 / Hex 9580A
2B0D2C0D522B502B512B310D300D2F0D
Change to (per the example below) -->

Code: Select all

2B0D2C0D522B502B512B310D300D2F0DA82BA72B
Add the entries to HireDesc.txt and Hireling.txt per kingpin's thread at viewtopic.php?t=30865,

and you now have a "Warcries" and "Combat Skills" Barbarian in Act5 ;)


Here's the string .TBL numbers for reference:
====================================================
Act1 MERC DESC indexes: (string)
Firearw 3371
Coldarw 3372

Act2 MERC DESC indexes: (patchstring)
Defens 1088 11088
Offens 1089 11089
Combat 1090 11090

Act3 MERC DESC indexes: (string)
Lightng 3375
Cold 3376
Fire 3377

Act5 MERC DESC indexes: (patchstring)
comb 1176 11176 2BA8
warc 1175 11175 2BA7
====================================================


:mrgreen:

PS- Thanks goes to kingpin of course, with his code locations I was able to find and replicate the changes for 1.11b - Thanks man!
Last edited by Sduibek on Wed Mar 05, 2008 7:52 pm, edited 2 times in total.

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

Post by Necrolis » Wed Mar 05, 2008 6:47 pm

You already posted this in the ancient thread you res'ed, this is akin to spamming rather just make the new topic, thanks in advance. Also use the [code.][/code.] tags to make stuff easier to read
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

Sduibek

Post by Sduibek » Wed Mar 05, 2008 7:53 pm

[quote=Necrolis";p="378958"]You already posted this in the ancient thread you res'ed, this is akin to spamming rather just make the new topic, thanks in advance. Also use the [code.][/code.] tags to make stuff easier to read[/quote]Done. And duly noted.

01tu01
Posts: 10
Joined: Tue Aug 22, 2023 1:09 pm
China

Re: [1.11b] more Hireling titles (HireDesc.txt)

Post by 01tu01 » Fri Sep 01, 2023 2:24 pm

Hello, I wonder if you'll answer my questions after so long time.

You made it in 1.11b, and now I would like to know how to make it in 1.13c.

I think the key part is `word ptr [2*ecx+6FDE5808]`, how to ensure the proper number in `[]`.

Thank you in advance.

Return to “Code Editing”