Restock timer doesn't work when Item set to max and min of 1. For an example I have set SVALs to a max and min of 1 and a restock of 1 hour. When the SVAl gets picked up, it instantly restocks it instead of waiting an hour to put it on the map. This can make it feel like there is a lot of SVALs on the map even though it is set to 1. I would like it to wait till it restock timer runs out to restock it, because if I pick up an SVAL, I could find it again within minutes. Could you fix this or add a setting in a file that can control it to force it to wait the restock timer.
Description
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 7
- Category
- General
Related Objects
- Mentioned In
- T183428: Revert change to loot economy from T177835.
Event Timeline
if there are 0, and the minimum is 1, yes, it will restock instantly. If the minimum is 0, it will wait.
Seems like it worked perfectly fine before, but I guess its changed now so the minimum is no longer a minimum.
I am actually not sure what the "min" value does any more. Items now respawn at the "restock" rate no matter the minimum value given according to this being "fixed"
@Geez can we get some feedback on exactly what this fix has changed?
did this only change for when an items min and max are the same?
I wonder if they add a setting in a file that can control it to force it to wait the restock timer. no matter what the min and max are, but as of now before 1.26 with having low values of min and max the restock can be ignored.
This is what the current behaviour looks like
- The item will spawn according to its nominal value
- When type reaches the minimum value, it will trigger the restock timer
- Restock value will now trigger in between singular spawns instead of only at the end of spawning from min to nominal
- Restock value will now also additionally trigger once count goes under min
What about items that have max of 1 and a min of one?
If i pick up an sval that has a min and max of 1 and a restock timer of 1 hour, will it take 1 hour to respawn that item?
okay, thank you for fixing that, it kind of made it easy to find even when it was at min and max of 1, at least it'll take time to find another one when the update comes out
I've had reports of this on my server where loot is impossible to find, I've looked and with the restock timers set (being as yall claimed they work now) and it's pretty much non existent. Something is defiantly broken with the CE and the restock timers
@Geez
for clarity if I'm reading this correctly, what you are saying is:
Let's take BDUJacket
<type name="BDUJacket">
<nominal>5</nominal> <lifetime>14400</lifetime> <restock>600</restock> <min>2</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="clothes"/> <usage name="Military"/> </type>
1.25 and prior this item would spawn at server wipe with 5, players would loot it down to 2 and then contrary to documentation, the CLE would spawn it back to 5 then wait for the Restock timer of 600 before checking again
1.26 and up this item would spawn at server wipe with 5, players would loot it down to 2 and then every 600 seconds the CLE would add 1 to the economy if the count was < 5
Is that was this says now?
Also getting players reporting that loot is extremely rare and I use restock timers quite a bit. Probably wasn't an issue before because most rare items are very low qty, but not all cases