Ring sockable can't show "X sock"

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Jym_yuki
Junior Member
Paladin
Posts: 139
Joined: Sat Apr 03, 2004 5:34 pm

Ring sockable can't show "X sock"

Post by Jym_yuki » Sat Jul 31, 2004 4:20 pm

if a ring of a amulet has a socket.
but it can't show string for this socket.

can i let it show "1 socket "for ring or amlet ? :)
D2 Mod :)

chestnut3016
Posts: 7
Joined: Mon Jan 11, 2021 9:00 am
China

Re: Ring sockable can't show "X sock"

Post by chestnut3016 » Mon Feb 08, 2021 3:07 am

I've got a same problem

jessedazebra
Junior Member
Paladin
Posts: 144
Joined: Sun Nov 11, 2012 9:46 am
Zimbabwe

Re: Ring sockable can't show "X sock"

Post by jessedazebra » Mon Feb 08, 2021 1:39 pm

The only workaround I know is to add a dummy stat with "Socketed (1)" string.

chestnut3016
Posts: 7
Joined: Mon Jan 11, 2021 9:00 am
China

Re: Ring sockable can't show "X sock"

Post by chestnut3016 » Tue Feb 09, 2021 3:26 am

jessedazebra wrote:
Mon Feb 08, 2021 1:39 pm
The only workaround I know is to add a dummy stat with "Socketed (1)" string.
seems like the index 'socketable' is in dll files :(

chestnut3016
Posts: 7
Joined: Mon Jan 11, 2021 9:00 am
China

Re: Ring sockable can't show "X sock"

Post by chestnut3016 » Tue Feb 09, 2021 3:27 am

jessedazebra wrote:
Mon Feb 08, 2021 1:39 pm
The only workaround I know is to add a dummy stat with "Socketed (1)" string.
seems like the index 'socketable' is in dll files :(

jessedazebra
Junior Member
Paladin
Posts: 144
Joined: Sun Nov 11, 2012 9:46 am
Zimbabwe

Re: Ring sockable can't show "X sock"

Post by jessedazebra » Tue Feb 09, 2021 1:43 pm

chestnut3016 wrote:
Tue Feb 09, 2021 3:27 am
seems like the index 'socketable' is in dll files :(
It is, yeah.

You can simply add a new stat in itemstatcost.txt and use 2 properties when you spawn a socket on your ring: one property for a socket and another one for a new dummy stat that does nothing but display the string for a socket.
Here's the example:
You do not have the required permissions to view the files attached to this post.

chestnut3016
Posts: 7
Joined: Mon Jan 11, 2021 9:00 am
China

Re: Ring sockable can't show "X sock"

Post by chestnut3016 » Tue Feb 09, 2021 3:32 pm

jessedazebra wrote:
Tue Feb 09, 2021 1:43 pm
chestnut3016 wrote:
Tue Feb 09, 2021 3:27 am
seems like the index 'socketable' is in dll files :(
It is, yeah.

You can simply add a new stat in itemstatcost.txt and use 2 properties when you spawn a socket on your ring: one property for a socket and another one for a new dummy stat that does nothing but display the string for a socket.
Here's the example:
Thank you for your patient guidance, it works! much appreciated again! :D

Return to “General Mod Making”