Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Report specific bugs in Daggerfall Unity. Please read guidelines before posting.
Post Reply
SlainByWoodborne
Posts: 27
Joined: Fri Apr 12, 2019 4:24 am

Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by SlainByWoodborne » Tue Apr 16, 2019 12:27 am

Description:
Using the attached save, in the "Inventory" navigate to the "Clothing & Misc" tab. On the "Clothing & Misc" tab, verify three parchments labeled as "Map". I don't know how long ago I mistook these for potion recipes but neither "Use" nor "Equip" nor transferring from cart to character nor character to cart seems to add a location to my map. I'm surprised these even made it into my inventory considering a dialogue is always (except for these three) displayed whenever looting a map parchment.
Attachments
Items_not_stacking_SAVE32.7z
(201.12 KiB) Downloaded 5 times

User avatar
Jay_H
Posts: 2005
Joined: Tue Aug 25, 2015 1:54 am

Re: Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by Jay_H » Tue Apr 16, 2019 12:44 am

It's curious that they're in the inventory. Maps are supposed to disappear once they enter your possession. Do you remember how you got them?
Try the first Daggerfall Unity Quest Pack with roughly 210 all-new quests.
I write quests but have no technical knowledge.

User avatar
Interkarma
Posts: 4104
Joined: Sun Mar 22, 2015 1:51 am

Re: Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by Interkarma » Tue Apr 16, 2019 1:07 am

Jay's correct, this shouldn't happen anymore. Based on the other bug report with old-style "magic item" ruby placeholders, is this by chance a character loaded from an older build of Daggerfall Unity? Some of these transitional items might persist if character existed prior to certain features being implemented.

SlainByWoodborne
Posts: 27
Joined: Fri Apr 12, 2019 4:24 am

Re: Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by SlainByWoodborne » Tue Apr 16, 2019 2:14 am

For reference, in this thread as well, this is my first version of DFU and the character was created this past weekend (on Saturday 20190413).

I looted them from the wardrobe on the second floor of a shop where an additional shelf is sometimes placed; along the wall the room and hallway share. I do not recall the shop type aside from either a general store or pawnshop layout.

User avatar
Interkarma
Posts: 4104
Joined: Sun Mar 22, 2015 1:51 am

Re: Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by Interkarma » Tue Apr 16, 2019 7:18 am

Thank you for the extra info. :)

User avatar
Hazelnut
Posts: 1147
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Win_x64_0.7.91: Map parchments in character inventory; unable to "use"

Post by Hazelnut » Thu Apr 18, 2019 3:14 pm

You should be able to use maps, even though for the most part they are 'used' when you pick them up and never get added as an inventory item.

Unless removed recently, this is the code that handles using map items. Are you sure it's a map from looking at your savefile?

Code: Select all

            else if (item.IsOfTemplate(ItemGroups.MiscItems, (int)MiscItems.Map) && collection != null)
            {   // Handle map items
                RecordLocationFromMap(item);
                collection.RemoveItem(item);
                Refresh(false);
            }

EDIT:
I took a look at the savefile and the items you have are using a different enum. Seems we have 2 entries for maps in the DFU enums, MiscItems.Map and Maps.Map and this code is only handling one of them. Interkarma, can you recall why there are two entries in the enums here? They both map to the same integer 287 and entry in item templates but the latter isn't used anywhere in the codebase, but maybe is what's used by some quests.

Post Reply