Hireling PlugIn Ver.1.0 

Two different graphic-version are possible, please choose the one which you like more (Inventory is not working!, only graphic) 
After you have choosen do the following steps: 

Copy file "npcinv.dc6" into Folder "data\globa\ui\panel\" 
Replace the 2 Hireling-Lines in your inventory.txt with those from the inventory.txt within this plugin 

Edit your D2Client.dll and your D2Game.dll (Details below) 

------------- 

Following are the code parts which are implemented: 

In D2Client.dll 
d2client change: bypass item type checks for client hireling page. 

0004D47C   C707 01000000    MOV     DWORD PTR [EDI],1 


0004D55F   46               INC     ESI 
0004D560   90               NOP 

-------------------------------------- 

In D2Game.dll 
d2game change1: bypass item type checks for server send item to hireling. 


00058BC1   90               NOP 
00058BC2   90               NOP 

--------------- 

d2game change2: calculate correct place to store item sent to hireling: 
Forces ring to pos 'equip2' if 'equip1' is full. 
Removed force shield to pos 'equip2' (to fix act3 hireling 2hand problem). 


00058D81   E8 CA2B0900      CALL    000EB950 
00058D86   33C0             XOR     EAX,EAX 
00058D88   8A4424 14        MOV     AL,[ESP+14] 
00058D8C   50               PUSH    EAX 
00058D8D   90               NOP 
00058D8E   90               NOP 
00058D8F   50               PUSH    EAX 
00058D90   55               PUSH    EBP 
00058D91   E8 CC2B0900      CALL    000EB962 
00058D96   8BF0             MOV     ESI,EAX 
00058D98   58               POP     EAX 
00058D99   3C 06            CMP     AL,6 
00058D9B   7C 30            JL      SHORT 00058DCD 
00058D9D   85F6             TEST    ESI,ESI 
00058D9F   74 2C            JE      SHORT 00058DCD 
00058DA1   8A4424 10        MOV     AL,[ESP+10] 
00058DA5   50               PUSH    EAX 
00058DA6   55               PUSH    EBP 
00058DA7   E8 B62B0900      CALL    000EB962 
00058DAC   8BE8             MOV     EBP,EAX 
00058DAE   90               NOP 
... 
00058DC4   90               NOP 


Make sure to nop all from DAE - DC4 

--------------------------- 

Based on "Hireling Discovery" by Baron-Josh. 
Thanks to SVR for finding the item store code, coding the new functions, 
and making the graphics.