Project Zomboid

Project Zomboid

ra's Farming & Canning
razab  [nhà phát triển] 24 Thg03, 2023 @ 5:36am
Discussion
here is room for discussion
< >
Đang hiển thị 1-15 trong 18 bình luận
Vile 18 Thg07, 2023 @ 5:24pm 
Hi Ra's maybe you can help me with that:


[18-07-23 20:56:58.056] LOG : General , 1689724618056> 35.484.336> ----------------------------------------- STACK TRACE ----------------------------------------- function: InFarmingSeasonSeedAction -- file: RasFarmingSeedAction.lua line # 22 | MOD: ra's Farming & Canning function: perform -- file: RasFarmingSeedAction.lua line # 37 | MOD: ra's Farming & Canning. [18-07-23 20:56:58.057] ERROR: General , 1689724618057> 35.484.336> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: End of non-table: null at KahluaThread.tableget line:1689.. [18-07-23 20:56:58.057] ERROR: General , 1689724618057> 35.484.336> DebugLogStream.printException> Stack trace:. [18-07-23 20:56:58.060] LOG : General , 1689724618060> 35.484.339> ----------------------------------------- STACK TRACE

Line 22.
elseif month == endMonth and day+1 < data["End"] then

OK, I'm using your mod on my roleplay server, the error itself seems to be something on line 22 that would be relative to time, we normally started the season with your mod around the beginning of July, nobody had problems with crops until since saturday the players started to comment that they couldn't plant anymore, so i went to test it in debug mode and it really breaks, i tried to study the problem and think of a solution but i'm kind of lost and i decided to ask for your help, maybe you can help me, if not I can thank you in the same way.

PS: It doesn't seem to be incompatibility with the other mods, but something that ended up breaking over time... I tested the mods on our test server and it didn't show an error, who knows how to remove it and put it back on, will it work?
razab  [nhà phát triển] 19 Thg07, 2023 @ 5:15am 
Hi! Thanks for reporting. I'll have a look at the problem. What is the in-game time when your players start getting trouble to plant?
Vile 19 Thg07, 2023 @ 6:24am 
In game we are in October, which would be Autumn, we passed September without problems (beginning of autumn) about our settings are in Real-Time in Sandbox and we overwrote it with the mod "Adjust the length of day and night" to make the days last longer than nights, 3h days - 30m nights.

As I said earlier, there doesn't seem to be any problem with the mods as we played from July to September (in game) without any problems with crops, it seems to be some error that came with time, I don't know if messing with climate settings has broken it maybe.. .

I looked in your code that it has compatibility to be allocated after a game has started, I'm going to try it on our test server (before I break everything on the official server and the others kill me lol):
- remove the mod
- Run server to overwrite
- Put the mod again

I'll come back later with the tests and I'll leave my comments here in case it helps someone in the future.

The other thing off topic I made a translation into Brazilian Portuguese, I'll share it with you later in another thread.
Lần sửa cuối bởi Vile; 19 Thg07, 2023 @ 6:27am
razab  [nhà phát triển] 19 Thg07, 2023 @ 9:31am 
ok. so it is intentional behavior of the mod that you cannot plant between october and april. sounds to me that everything works as intended....?

and thanks for translating!
Lần sửa cuối bởi razab; 19 Thg07, 2023 @ 9:41am
Vile 19 Thg07, 2023 @ 10:58am 
Nguyên văn bởi razab:
ok. so it is intentional behavior of the mod that you cannot plant between october and april. sounds to me that everything works as intended....?

and thanks for translating!

omg I'm so stupid lol, I was so excited about the canned food that I didn't pay attention to the description of not planting at certain times, sorry about that, case closed, thank you very much.

It's even going to be better because we're deploying a quest system, so I make sure some things they only get by this system.

ty again!
razab  [nhà phát triển] 19 Thg07, 2023 @ 11:24am 
don't worry. you're welcome. always glad to help.

but also note that when you are in october, the plants of your players will start to die soon (also a feature of the mod).
Lần sửa cuối bởi razab; 19 Thg07, 2023 @ 12:46pm
Vile 19 Thg07, 2023 @ 12:59pm 
Ok, I get it.

what I found strange is that it actually breaks the mod as in debuglog above when I try to plant it, so I believed it was a bug or something.

Just as a tip, it would be interesting to have some visual way that tells me that I can't plant whatever, something like "the soil doesn't seem fertile to plant here."
Lần sửa cuối bởi Vile; 19 Thg07, 2023 @ 1:00pm
razab  [nhà phát triển] 19 Thg07, 2023 @ 1:37pm 
@Vile, when your farming skill is greater or equal 2, there will be a warning message in one of the tooltips telling you that planting has no effect due to winter. one of the screenshots in the mod's description shows this

for the problems when trying in debug mode... that's quite strange and shouldn't happen. tested it quite a lot (in debug and normal mode) and never had any problems. but I'll check it again and see whether I've overlooked smth
Lần sửa cuối bởi razab; 19 Thg07, 2023 @ 1:38pm
razab  [nhà phát triển] 28 Thg07, 2023 @ 12:20pm 
@Vile, just wanted to inform you that there is indeed a problem which occurs when planting as you described (not with planting in winter but there is still some error in debug log). was also another player who mentioned it. I now tried to update the mod and fix the problem. thanks for pointing this out. feel free to let me now whether you still detect any problems.
razab  [nhà phát triển] 30 Thg07, 2023 @ 12:54pm 
@Vile, I updated the mod and from what I've heard so far, it seems to work now without showing error messages in mp anymore. however, in case you still detect something strange, you're always welcome to write a bug report.
I can't open my canned vegetables crafted by this mod. Can you help me pls?

here is the log:
function: createMenu -- file: RasFarmingInvContext.lua line # 100 | MOD: ra's Farming & Canning
function: onRightMouseUp -- file: ISInventoryPane.lua line # 1444 | Vanilla.
[09-09-23 13:54:57.980] LOG : General , 1694256897980> ETW Logger | asthmaticTrait(): counterDecrease: 1.7000000000000002, modData.AsthmaticCounter: -40000.
[09-09-23 13:54:57.981] LOG : General , 1694256897981> ETW Logger | outdoorsman(): totalLose=0.2927613810682669. OutdoorsmanCounter=822.0053010856338.
[09-09-23 13:54:57.981] LOG : General , 1694256897981> ETW Logger | fearOfLocations(): modData.FearOfInside: 24000.
[09-09-23 13:54:57.996] LOG : General , 1694256897996> ETW Logger | catEyes(): CatEyesCounter: 19893.645881101744.
[09-09-23 13:54:57.997] LOG : General , 1694256897997> ETW Logger | smoker(): smoking addictionDecay: 0.01336, modData.SmokingAddiction: 0.
[09-09-23 13:55:00.408] LOG : General , 1694256900408> EXITDEBUG: ToggleEscapeMenu 1.
[09-09-23 13:55:00.408] LOG : General , 1694256900408> EXITDEBUG: ToggleEscapeMenu 3.
[09-09-23 13:55:00.408] LOG : General , 1694256900408> EXITDEBUG: ToggleEscapeMenu 4.
[09-09-23 13:55:00.408] LOG : General , 1694256900408> EXITDEBUG: ToggleEscapeMenu 5.
[09-09-23 13:55:00.409] LOG : General , 1694256900409> EXITDEBUG: setGameSpeed 1.
[09-09-23 13:55:00.409] LOG : General , 1694256900409> EXITDEBUG: setGameSpeed 3.
[09-09-23 13:55:00.409] LOG : General , 1694256900409> EXITDEBUG: setShowPausedMessage 1.
[09-09-23 13:55:00.409] LOG : General , 1694256900409> EXITDEBUG: setShowPausedMessage 2.
[09-09-23 13:55:00.409] WARN : Lua , 1694256900409> LuaManager$GlobalObject.require> require("NVAPI/ctrl/instance") failed.
[09-09-23 13:55:00.409] LOG : General , 1694256900409> ECC: OnKeyPressed ВалерійЖуков.
[09-09-23 13:55:01.480] WARN : Lua , 1694256901480> LuaManager$GlobalObject.require> require("NVAPI/ctrl/instance") failed.
[09-09-23 13:56:24.440] WARN : Lua , 1694256984440> LuaManager$GlobalObject.require> require("NVAPI/ctrl/instance") failed.
[09-09-23 13:59:48.768] WARN : Lua , 1694257188768> LuaManager$GlobalObject.require> require("NVAPI/ctrl/instance") failed.
[09-09-23 13:59:53.218] WARN : Lua , 1694257193218> LuaManager$GlobalObject.require> require("NVAPI/ctrl/instance") failed.
razab  [nhà phát triển] 10 Thg09, 2023 @ 1:39pm 
@Roblomine_player, are you using the mod Nested Containers?
Nguyên văn bởi razab:
@Roblomine_player, are you using the mod Nested Containers?
No, I am not.
razab  [nhà phát triển] 11 Thg09, 2023 @ 7:45am 
Nguyên văn bởi Roblomine_player:
Nguyên văn bởi razab:
@Roblomine_player, are you using the mod Nested Containers?
No, I am not.

I cannot really figure out where the problem comes from by just looking at your log. Since I cannot reproduce the problem, I guess there is a conflict with another mod.

Do you use a lot of other mods? Maybe some which change something about inventory management and the corresponding user interface?
Nguyên văn bởi razab:
Nguyên văn bởi Roblomine_player:
No, I am not.

I cannot really figure out where the problem comes from by just looking at your log. Since I cannot reproduce the problem, I guess there is a conflict with another mod.

Do you use a lot of other mods? Maybe some which change something about inventory management and the corresponding user interface?
Yes, I do. About interface I use this: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2950902979&searchtext=tarkov+hud maybe that's the problem?
Lần sửa cuối bởi Roblomine_player; 12 Thg09, 2023 @ 8:33am
< >
Đang hiển thị 1-15 trong 18 bình luận
Mỗi trang: 1530 50