Project Zomboid

Project Zomboid

Hard Forage
14 opmerkingen
Vorshim 17 sep 2024 om 14:11 
Hi Spoon! Nice to meet you!

Today, while exploring, I found the file saves/multiplayer/serverIp_id/global_mod_data.bin. It's a mini-database with globalModData tables fetched by the server at game start and client-generated data. This .bin file is saved only when the game closes.

On our server, used for a year, long-term players accumulate a huge file—95-99% of it is from the forageData table. One player has 800,000 lines and an 18MB file.

Could this negatively impact anything? I saw commented-out functions in the mod to reinitialize forageData. Since I’m unsure how the mod and vanilla logic work, would it be better to periodically reset them?

Could you share your thoughts and explain the purpose of forageData?

Thanks!
ArcadeBulls 6 feb 2024 om 0:14 
Is this mod working as of right now? Would love to use it on our server with Camden County, but I'm not sure about the errors mentioned.
[PSS] AvE 27 nov 2023 om 4:54 
Is there a chance for an addon that will also make it difficult for vegetables with the Soul Filcher's Farming Time and Soul Filcher's Awesome Time mods?
sanki mermer 15 sep 2023 om 8:00 
it felt easier to forage for me rn but im not sure
Ashlyn 15 aug 2023 om 18:59 
I'm getting similar error messages. In practice, nothing will come up while foraging. At first I just had to toggle it off and back on, and it worked. Now I can toggle it multiple times and it won't show anything. It also randomly completely blacks out everything outside the investigation circle instead of being transparent.

function: getRefillBonus -- file: forageSystem.lua line # 1035 | MOD: Hard Forage
function: fillZone -- file: forageSystem.lua line # 329 | MOD: Hard Forage
function: createZoneData -- file: forageSystem.lua line # 296 | MOD: Hard Forage
function: getAndActivateZoneAtXY -- file: ISSearchManager.lua line # 985 | Vanilla
function: updateCurrentZone -- file: ISSearchManager.lua line # 995 | Vanilla
function: doUpdateEvents -- file: ISSearchManager.lua line # 1219 | Vanilla
function: toggleSearchMode -- file: ISSearchManager.lua line # 1446 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla.
Alximik 30 jul 2023 om 7:43 
Hello spoon, with the help of the errorMagnifier mod, I noticed the following error: function: getRefillBonus -- file: forageSystem.lua line # 1035 | MOD: Hard Forage - Harder Version
function: fillZone -- file: forageSystem.lua line # 329 | MOD: Hard Forage - Harder Version
function: createZoneData -- file: forageSystem.lua line # 296 | MOD: Hard Forage - Harder Version
function: createForageZone -- file: forageSystem.lua line # 950 | MOD: Hard Forage - Harder Version
function: getAndActivateZoneAtXY -- file: ISSearchManager.lua line # 985 | Vanilla
function: updateCurrentZone -- file: ISSearchManager.lua line # 995 | Vanilla
function: doUpdateEvents -- file: ISSearchManager.lua line # 1219 | Vanilla
function: toggleSearchMode -- file: ISSearchManager.lua line # 1446 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla
java.lang.RuntimeException: __div not defined for operands in getRefillBonus
DaniTresD 3 jun 2023 om 9:12 
Thanks, @spoon lml
spoon  [auteur] 3 jun 2023 om 6:05 
Yep, they work with every map.
DaniTresD 3 jun 2023 om 5:04 
Greetings, does this and hard fishing work with The Forest -- YAGODNYY UPDATE?
spoon  [auteur] 5 mrt 2023 om 2:39 
@ditoseadio Yes fog is included too. In vanilla map it all won't make much difference anyways as its forage zones are made in a wrong way. I made this mod mostly for my own Camden County map.
ditoseadio 4 mrt 2023 om 15:35 
Hello, what would be the "weather events" that refill the zones again?

Rain and snowfall I guess.
Is fog considered a weather event?

Thanks in advance.
PSPSoldier534 25 feb 2023 om 20:44 
In the forageDefinitions.lua under the regular HardForage folder, I found this line under Rosehips (which I have yet to find any of):

months = { 1, 2, 5, 6, 7, 8, 9, 10, 11, 12, },

I'm not sure if that extra comma at the end of the array has any effect on spawn probabilities or I was just unlucky, but I just wanted to bring it to your attention for any potential future updates.
spoon  [auteur] 14 nov 2022 om 4:38 
Usually zones get refilled 3-5 percent per day. Now they get refilled same amount only with weather events. In most maps it wont really matter because they have huge overlayed forage zones and th.- .. well basically what I already said in mod description. My new map is out now too btw - it has the fixed zones.
AstrayCuriosity 14 nov 2022 om 4:13 
Can we get a numbers how long it takes to refill roughly?