Invalid Price Data Added to Database #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I found that when loading this mod (version 1.1.0), a lot of records were added to the templates.prices dictionary that don't have valid data (null, undefined, or NaN). I attached an excerpt from one of my server logs that has the hashes of all affected items in base SPT-AKI 3.5.8 and the values this mod generated for each.
Could you please update your mod to only add records to the templates.prices dictionary if they contain valid data?
Currently, I'm testing for this by doing:
if ((price == null) || isNaN(price))
Thanks!
Sorry, I just saw this. I did a big overhaul of the code for this mod. Since this is quite an old issue I'm going to close it for now, feel free to re-open if you still observe the same issue with the latest changes and SPT 3.8.0.