Page MenuHomeFeedback Tracker

Restock Timer
Closed, ResolvedPublic

Description

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.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Geez changed the task status from New to Awaiting internal Testing.Jan 2 2024, 1:22 PM
Geez changed the task status from Awaiting internal Testing to Assigned.Jan 3 2024, 4:05 PM
Geez added a subscriber: Geez.May 20 2024, 12:33 PM

Hello XMC_Cross.
The issue has been fixed for the 1.26 update.
Regards,
Geez

Geez closed this task as Resolved.May 20 2024, 12:33 PM
Geez claimed this task.

Should he have not just set the minimum to 0 to have the same effect?

Should he have not just set the minimum to 0 to have the same effect?

IF i have it'll still restock instantly, same if I set max of 2 and a min of 1

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"

Dannydoomno1 added a comment.EditedAug 6 2024, 9:23 PM

@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.

Geez added a comment.Aug 7 2024, 12:54 PM

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?

Geez added a comment.Aug 7 2024, 1:16 PM

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?

correct.

XMC_Cross added a comment.EditedAug 7 2024, 1:24 PM

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

sileed added a subscriber: sileed.Oct 29 2024, 4:05 PM

@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

Geez added a comment.Oct 30 2024, 12:59 PM

@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

What you are saying should be correct, yes