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

Moderators will move topics here from Help & Support once an issue has been confirmed and enough information provided to reproduce.
User avatar
pango
Posts: 3347
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
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

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

Post by Jay_H »

Merged :)

User avatar
Hazelnut
Posts: 3015
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: 7236
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: 282
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: 3347
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.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Hazelnut
Posts: 3015
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