Project Zomboid

Project Zomboid

ra's Farming & Canning
razab  [utvikler] 24. mars 2023 kl. 5.36
Discussion
here is room for discussion
< >
Viser 115 av 18 kommentarer
Vile 18. juli 2023 kl. 17.24 
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  [utvikler] 19. juli 2023 kl. 5.15 
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. juli 2023 kl. 6.24 
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.
Sist redigert av Vile; 19. juli 2023 kl. 6.27
razab  [utvikler] 19. juli 2023 kl. 9.31 
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!
Sist redigert av razab; 19. juli 2023 kl. 9.41
Vile 19. juli 2023 kl. 10.58 
Opprinnelig skrevet av 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  [utvikler] 19. juli 2023 kl. 11.24 
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).
Sist redigert av razab; 19. juli 2023 kl. 12.46
Vile 19. juli 2023 kl. 12.59 
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."
Sist redigert av Vile; 19. juli 2023 kl. 13.00
razab  [utvikler] 19. juli 2023 kl. 13.37 
@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
Sist redigert av razab; 19. juli 2023 kl. 13.38
razab  [utvikler] 28. juli 2023 kl. 12.20 
@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  [utvikler] 30. juli 2023 kl. 12.54 
@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.
Roblomine_player 9. sep. 2023 kl. 4.04 
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  [utvikler] 10. sep. 2023 kl. 13.39 
@Roblomine_player, are you using the mod Nested Containers?
Roblomine_player 11. sep. 2023 kl. 7.40 
Opprinnelig skrevet av razab:
@Roblomine_player, are you using the mod Nested Containers?
No, I am not.
razab  [utvikler] 11. sep. 2023 kl. 7.45 
Opprinnelig skrevet av Roblomine_player:
Opprinnelig skrevet av 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?
Roblomine_player 12. sep. 2023 kl. 8.33 
Opprinnelig skrevet av razab:
Opprinnelig skrevet av 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?
Sist redigert av Roblomine_player; 12. sep. 2023 kl. 8.33
< >
Viser 115 av 18 kommentarer
Per side: 1530 50