Setting ItemSpoilRateScale to 0 or small values causes crafted food to disappear from the game

Game mode: [Online private]
Type of issue: [Bug]
Server type: [PvE]
Region: [NA]


[Describe the bug here]


Please provide a step-by-step process of how the bug can be reproduced. The more details you provide us with the easier it will be for us to find and fix the bug:

  1. Set ItemSpoilRateScale=0 in the server settings ini file
  2. Start the server
  3. Log into the server
  4. Craft a food item (Gruel is one example)
  5. Take the gruel and put it into a lesser wheel of pain
  6. Walk away for a bit
  7. Come back
  8. Gruel is gone

This happens generally for all foods I’ve tried crafting. Even though 0 is supposed to disable decay and it gets rid of the timer, the food just disappears after a short while. Doesn’t matter if it’s left in the campfire, inventory, a chest, whatever.

Additionally, setting ItemSpoilRateScale to a small value (such as 0.000001) triggers an overflow in the duration values (Causing them to go negative for some foods). This too causes the foods to disappear from the game.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.