Dev build/Linux: magic item shops restocking do not match classic [PARTIALLY RESOLVED]

Curated user bug reports with enough information to reproduce problem. Moderators will move topics here from Help & Support once a bug has been confirmed and enough information has been provided.
User avatar
pango
Posts: 2547
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: theJF - Daggerfall Unity (w/Mods) Part 5 (video)

Post by pango »

That's this issue: viewtopic.php?f=24&t=1398
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: Dev build/Linux: magic item shops restocking do not match classic

Post by Jay_H »

Merged :)
Come join Lysandus' Tomb, a Daggerfall Unity fan Discord.
In-progress guide for Quest Pack 1 here.

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

Re: Dev build/Linux: magic item shops restocking do not match classic

Post by Hazelnut »

Yeah, guys, we haven't forgotten about this. (well I haven't at least)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

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

Re: Dev build/Linux: magic item shops restocking do not match classic [PARTIALLY RESOLVED]

Post by Interkarma »

I've added a partial fix for this to rotate stock once every 24 hours using a deterministic seed. This is probably "good enough" for now in terms of stock rotation, even if it doesn't match classic perfectly.

However, any purchased items will restock the moment player opens purchase UI again. This still needs to be addressed. Will revisit this again later.

User avatar
Ferital
Posts: 234
Joined: Thu Apr 05, 2018 8:01 am

Re: Dev build/Linux: magic item shops restocking do not match classic [PARTIALLY RESOLVED]

Post by Ferital »

I've started to reverse engineer classic mechanics for magic item restocking a while back but didn't go far. Anyway it's still on my todo list.

User avatar
pango
Posts: 2547
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Dev build/Linux: magic item shops restocking do not match classic [PARTIALLY RESOLVED]

Post by pango »

Sorry for the piggy back, but the same issue exists with potion sellers; If you close/reopen the interface, they immediately restock with a new set of potions... I guess it must be a very similar issue.
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: Dev build/Linux: magic item shops restocking do not match classic [PARTIALLY RESOLVED]

Post by Hazelnut »

Well that actually matches classic IIRC. Was planning to imporove it once I saw how magic items work when classic behaviour was figured out.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply