Project Zomboid

Project Zomboid

Hard Forage
14 条留言
Vorshim 2024 年 9 月 17 日 下午 2: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 2024 年 2 月 6 日 上午 12: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] XXIII~AvE~XXXII 2023 年 11 月 27 日 上午 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 2023 年 9 月 15 日 上午 8:00 
it felt easier to forage for me rn but im not sure
Ashlyn 2023 年 8 月 15 日 下午 6: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 2023 年 7 月 30 日 上午 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 2023 年 6 月 3 日 上午 9:12 
Thanks, @spoon lml
spoon  [作者] 2023 年 6 月 3 日 上午 6:05 
Yep, they work with every map.
DaniTresD 2023 年 6 月 3 日 上午 5:04 
Greetings, does this and hard fishing work with The Forest -- YAGODNYY UPDATE?
spoon  [作者] 2023 年 3 月 5 日 上午 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 2023 年 3 月 4 日 下午 3: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 2023 年 2 月 25 日 下午 8: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  [作者] 2022 年 11 月 14 日 上午 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 2022 年 11 月 14 日 上午 4:13 
Can we get a numbers how long it takes to refill roughly?