• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-27
Back
2

Change force spawn of new items when the entity count falls below the min value instead of at the min value

ImprovementCentral Economy
2

State

User feedback
Issue key
DZG-27
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
streatman
Created
Jul 16, 2026
Views
152
Platform
PC Steam
What happened?

So as far as i am aware, the server forces new entities to spawn, when the count of those items falls to the min value of that item. For the most part, this works great but there is one edge case that is not considered, since official dayz does not make use of that edge case.

For the sake of explaining, i will make a hypothetical example.

When i want to make the M4 really rare, i set the nominal value to 1 and the min value to 0. So that there is only one of it on the ground on the whole server.
Now if i wanted to make it even more rare, i would want to set the restock timer to something above 0. So that the M4 is not always at a spawnpoint somewhere on the map. But sadly, the restock timer in this set up is irrelevant, because the server will spawn a new M4 as soon as the only other one gets picked up or despawns by it self.

2 solutions would be possible here:
- either change the economy to only force spawn items, when the number of entities falls below the min value instead of at the min value
- or allow the min value in the types.xml file to be a negative 1 so that the entity count simply can never reach that min value

Reproduction steps

Irrelevant

Exact build version (optional)
—
Where did it happen?
Community
Is it modded?
Yes
Expected result
—
Section
Mod list

Irrelevant

Load order / launch params
—
Reactions

Activity

    4 months ago
  • streatman
    created issue4 months ago
  • l909
    changed state to
    FEEDBACK
    4 months ago
  • 2 months ago
  • l909
    changed state to
    USER FEEDBACK
    2 months ago
  • 1 day ago
  • streatmancommented(edited)
    1 day ago
    streatmancommented(edited)
    1 day ago

    @l909 A bit unhappy that this just got marked as resolved as "user feedback"...
    would be nice to know if it is usefull feedback, which you consider implementing at some point. Or if it gets dismissed entirely.

    Of course i consider my feedback as a pretty good suggestion because it solves also a bunch of querks in the vanilla CLE as i recently noticed. for example, you currently have set the AK_Suppressor like this in Chernarus

        <type name="AK_Suppressor">
            <nominal>2</nominal>
            <lifetime>9800</lifetime>
            <restock>1800</restock>
            <min>1</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="weapons"/>
            <tag name="shelves"/>
            <usage name="ContaminatedArea"/>
        </type>

    this setup makes it so that there is always 2 suppressors spawned. Sure, you have a restock timer defined, but it ALWAYS gets skipped. Because the moment a player picks one of those 2 entities up, the count hits min and the server spawns in a new one. The restock timer in this case might aswell just be 0, no difference.

  • l909
    Moderator
    replied to a comment
    about 24 hours ago
    l909
    Moderator
    replied to a comment
    about 24 hours ago

    Hello.
    Usually I do not have such information unless the decision is made at some point that something actually gets implemented.

  • streatmancommented
    about 24 hours ago
    streatmancommented
    about 24 hours ago

    @l909 that is a shame. It is demotivating to have little to no feedback on reports or suggestions. My brain needs a little feedback to evaluate if reports or suggestions are worth my time that it takes to make them. But i am not blaming you.
    But please, forward the new information that i provided aswell.

You are not signed in. Please sign in to see more details and to reply.

State

User feedback
Issue key
DZG-27
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
streatman
Created
Jul 16, 2026
Views
152