Change the way a shop's most recent sales are recorded
Moderators: Active DMs, Forum Moderators, Contributors, Suggestion Moderators
-
- Posts: 43
- Joined: Fri Sep 30, 2022 7:18 pm
Change the way a shop's most recent sales are recorded
Currently a shop record only records the 25 most recent sales. This works well with shops that sell equipment, runic materials, or similar, but not on shops whose main market is consumables.
A consumable shop can see its record filled in one or two IRL days, which makes it pretty hard and time consuming to track its performance, since you have to be pulling the logs almost every day.
I think that recording all the sales in a given timeframe (I was thinking the current IC month and the previous IC month, so that older sales are deleted from the log but you still have enough IRL time to check the most recent ones without stressing over it) instead of only recording the latest 25 sales would help shop owners and settlement leaders to better track the performance of consumable shops.
I haven't tinkered too much with NWScript nor NWNX, so I’m not sure how feasible it is to record the sales in a timeframe instead of the latest 25, nor if it would have a heavy impact on the server’s performance, so if doing so was outside of the picture, please, consider at least increasing the recorded sales to the latest 50, 60, or so.
A consumable shop can see its record filled in one or two IRL days, which makes it pretty hard and time consuming to track its performance, since you have to be pulling the logs almost every day.
I think that recording all the sales in a given timeframe (I was thinking the current IC month and the previous IC month, so that older sales are deleted from the log but you still have enough IRL time to check the most recent ones without stressing over it) instead of only recording the latest 25 sales would help shop owners and settlement leaders to better track the performance of consumable shops.
I haven't tinkered too much with NWScript nor NWNX, so I’m not sure how feasible it is to record the sales in a timeframe instead of the latest 25, nor if it would have a heavy impact on the server’s performance, so if doing so was outside of the picture, please, consider at least increasing the recorded sales to the latest 50, 60, or so.
Re: Change the way a shop's most recent sales are recorded
Approved.
I will increase the read out to 50 sale records and monitor any DB related concerns.
Discord: @malkalz
Determine your Public CD Key here
Can't see your vault? Have you migrated your accounts? If you have tried, and still can't see them, message me.
Re: Change the way a shop's most recent sales are recorded
Completed.
Discord: @malkalz
Determine your Public CD Key here
Can't see your vault? Have you migrated your accounts? If you have tried, and still can't see them, message me.