Bugged Item - Linenfold Chest

User avatar
Poisonous
Posts: 550
Joined: Mon Dec 07, 2015 7:18 am

Bugged Item - Linenfold Chest

Postby Poisonous » Sat Jan 09, 2016 11:42 pm

Found a bugged item in the Myconid dungeon (Sarshel graveyard). It was unable to be carried even though it didn't weigh too much.

It was listed as Bad Strref before being ID'd, and Linenfold Chest after being ID'd.
Image
Mother Kelda Adler, priestess of The Crying God, wife, sister, mother. [Retired: old posts here and here]
Manishie, wanderer and songbird. Not a fan of sausage. Typically in Songhall, Sayildi's, or wandering...
Image

Loreweaver
Administrator & Builder
Posts: 542
Joined: Sun Nov 15, 2015 10:39 pm

Re: Bugged Item - Linenfold Chest

Postby Loreweaver » Thu Jan 28, 2016 1:04 pm

This is a problem which happens with many of the non-default item types. Basically, if you want to make a new item type like CEP did for this one, you make an entry in the baseitems.2da file describing the item properties and have this point to an entry in the tlk file containing the item name. The name will be used for most things, but when it comes to the Acquired Item: ... message of an unidentified item, it gets messed up.

For example, baseitems entry 51 points to the tlk name "Rapier" while entry 311 points to "Miscellaneous Medium 2*." Both of these items give the Acquired Item: Rapier message however, and changing the tlk entry for item type 51 changes the Acquired message for both of them. In other words, it loops around instead of using the right entry number here.

It may be possible to reshuffle some of the new entries in a way that gets around this problem, but it's very likely not going to be worth the trouble of remaking all the affected items.


Who is online

Users browsing this forum: No registered users and 4 guests