RimWorld

RimWorld

Local Growing First (Continued)
53 Comments
moo 4 Jul @ 10:28pm 
Sorry, I had a mod remembering bills with old ingredients... and the other red errors I'm very aware of where they come from

New log, minimal mod load order. Conflict with VPE-MP

Log - https://pastebin.com/GZBc1YFL
LO - https://www.dropbox.com/t/bCbI5C2YZwPabAla
Mlie  [author] 4 Jul @ 10:16pm 
@moo That log is full of errors, please see the steps described above regarding reporting issues.
moo 4 Jul @ 10:12pm 
Oh I just glanced at the log, looks like VPE-More Plants again, just like the other mod
moo 4 Jul @ 10:11pm 
Mlie  [author] 4 Jul @ 10:07pm 
@moo Please share the link to the full log
moo 4 Jul @ 10:05pm 
Hi @mlie

These kinds of logs are showing up fairly routinely. The right-click menu for growing zones is also not functional.

<pawnname> threw exception in WorkGiver LGF_LocalVCE_SowAquatic : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.

I see a set of three logs one after the other, one each for LGF_LocalVCE_SowAquatic / LGF_LocalVCE_SowSandy / LGF_LocalVCE_SowFlowerGarden




I checked against Smarter Construction, Common Sense and While You're Up. I think the only variable left is Smart Farming but I don't have time this weekend to confirm
Xavier 26 May, 2024 @ 8:49am 
Thank you @Mile - I will work on getting all that to you.
And thank you for keeping all these mods alive! I am subscribed to quite a few of your updates.:schappy:
Mlie  [author] 26 May, 2024 @ 4:27am 
@Xavier Please see the Reporting Issues section described above
Xavier 26 May, 2024 @ 12:05am 
Anyone else having an error with this mod? I have narrowed it down to this mod. Log shows error of "error trying to make float menu for..." Basically what happens is I'm harvesting a field, then if I right click anywhere to either haul or harvest, all work types lock to 3 (unchangeable) and log will show the error above. Right click menu will no longer show up. I remove this mod (out of about 160 total) and problem goes away.
Mathissous 22 Oct, 2022 @ 3:12pm 
Problem fixed :manskull:
My bad :mansmile:
Mathissous 22 Oct, 2022 @ 3:06pm 
Problem fixed ;)
Mlie  [author] 22 Oct, 2022 @ 4:35am 
@Mathissous What?
Mathissous 22 Oct, 2022 @ 4:09am 
In log content this mod is not update to 1.4 version...
piercebuster 16 Mar, 2022 @ 7:09pm 
WHERE HAS THIS MOD BEEN MY WHOLE LIFE
InertFurry 2 Aug, 2021 @ 11:00pm 
It was Works Controller? I removed that and people are very eager to pant things again!
InertFurry 2 Aug, 2021 @ 2:26pm 
I'll have to check; will keep you posted.
Mlie  [author] 2 Aug, 2021 @ 11:44am 
@InertFurry The separate treechopping got updated recently, is the issue still happening?
Mlie  [author] 28 Jul, 2021 @ 8:46am 
@InertFurry I see, ill take a look at it
InertFurry 28 Jul, 2021 @ 7:13am 
If it's a conflict, it's Separate Tree Chopping, which pulls trees out of the plant cutting works field. One or the other might mess with the redirection Local Growing does to ensure pawns work in one zone at a time.
Mlie  [author] 28 Jul, 2021 @ 4:19am 
@InertFurry In my tests they plant on their own. Can you try with only this mod loaded to rule out conflicts?
InertFurry 28 Jul, 2021 @ 3:56am 
This seems to be preventing pawns from seeking plants work unless they're forced to.
Dawnmist 30 Apr, 2021 @ 10:13am 
Yes! This update has fixed it, thank you!
Mlie  [author] 30 Apr, 2021 @ 1:49am 
@Dawnmist Thank you, that made it a lot easier. I think I have fixed it now, I am unable to trigger the error anyway but if you could verify it it would be great!
Dawnmist 30 Apr, 2021 @ 1:08am 
For me:
* Load game
* Select a Pawn - I've been selecting Cergola standing in the door
* Right-click any item they they should be able to interact with, like the tree just below to the right of the door
=> Error thrown instead of a right-click menu showing

Happens on all pawns, and for all interactables. I'm running on linux, but I wouldn't have thought that would make a difference in this instance.
Mlie  [author] 30 Apr, 2021 @ 12:51am 
@Dawnmist How do the error trigger? I loaded up your save and rightclicked around with no errors.
Dawnmist 29 Apr, 2021 @ 6:18pm 
I made sure that steam downloaded the new version (1.0.3.0), but the error is still occurring (same stacktrace).

I've got a copy of the save game where it is happening with the mod list trimmed down to Hugs Lib + Jecs Tools + LGF uploaded to dropbox at https://www.dropbox.com/s/z4px9h4ckrqksrg/Rimworld_LocalGrowingFirst.rws?dl=1 if you want to grab it for testing with at your end.
Mlie  [author] 29 Apr, 2021 @ 12:38pm 
@Dawnmist Thank you for that detailed report. I have hopefully found the issue and have published an update. Since I cannot trigger the error myself I hope you can verify it for me?
Dawnmist 29 Apr, 2021 @ 8:33am 
Harmony (git version, not yet released) has additional analysis of errors to help identify what function/patch in which mod the various lines are.

Using that and removing Achtung (so it didn't catch the error, letting it go through to Harmony instead) results in the following error reported:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2471306622
Dawnmist 29 Apr, 2021 @ 7:57am 
Update on the issue with Achtung - there were 2 errors, one that LGF is throwing, and then one in the menu error handler in Achtung that tried to catch the LGF error.

Achtung 3.1.7 has fixed the menu error handler, so now I can get:

System.NullReferenceException: Object reference not set to an instance of an object
at LocalGrowingFirst.WorkGiver_LocalZoneWrapper.get_PotentialWorkThingRequest () [0x00000] in <6bb7558d293f4cef8154ee2ee59ee969>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders_NewTmp_Patch2(UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool)
at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x00084] in <64e18a81024640d8bdfb3f18f6a770bf>:0
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.RimWorld.FloatMenuMakerMap.ChoicesAtFor_Patch2(UnityEngine.Vector3,Verse.Pawn)
Elderwood 26 Apr, 2021 @ 11:46pm 
I too have just spent over an hour trying to find out what was causing my loss of right click option. Can confirm that this was the culprit (and yes I'm using Achtung!).

Big fan of your work usually Mlie, hope you work out what the issue is. :steamthumbsup:
Dawnmist 18 Apr, 2021 @ 9:50am 
I found that removing this mod - and only this mod - fixes the issue I was seeing (right click menu doesn't appear, message in the debug log with an object that was a null pointer), but the fact that it would happen on the save with only Achtung & Local Growing First but not on a newly created game with the same mods active makes me think that there is something in the save game data that contributes to the problem.

Since it was a newish save game, I decided to start over with a fresh game instead of continuing with a save that was...questionable as to whether it was partly corrupted. It was when I came over here to reinstall this mod to test whether I could get better logging detail using a newer version of Harmony and saw several reports about right-click issues and needing to test which mod combination was causing it, that I thought that I'd pass on the info that I'd been having issues and had traced it back to the pair of this and Achtung. :)
Mlie  [author] 18 Apr, 2021 @ 9:42am 
@Dawnmist Ive had that issue with achtung without this mod in my save. Removed it by disabling some of achtungs settings if I remember correctly. Hope you find the issue!
Dawnmist 18 Apr, 2021 @ 9:33am 
Achtung! + Local Growing First will cause the right-click menu issue (but only on one of my existing saves, it didn't happen on a fresh save). I've currently been trying to trace the issue with the help of Brrainz.
Mlie  [author] 2 Jan, 2021 @ 11:30pm 
If anyone wants to help me find the issue, please load just this mod and verify that it works. Then add your other mods and test until you find what other mod is causing it
MagnusGames 2 Jan, 2021 @ 10:20pm 
yeah, this mod is bugged
Dave 24 Dec, 2020 @ 9:10am 
The right clicking issue is still happening (to me at least). Took me an hour to work out it was this mod. Hope you're able to fix is. Can send you my mod list if you think it is a conflict issue and you have the time/want to find out.
DrBubba 15 Nov, 2020 @ 3:13pm 
Same as @pinbuck. I posted in the Discord.
pinbuck 2 Nov, 2020 @ 6:09pm 
@ me if you want me to drop info
pinbuck 2 Nov, 2020 @ 6:08pm 
sticking with growing priority mod for now as im getting a bug when rightclicking
TheDanishJonas 21 Oct, 2020 @ 3:42am 
Thank you for updating this mod. Pawns leaving half-finished growing zones are my biggest gripe with the game, and this fixes it! Thanks!
whatchagonnado'boutthatson? 15 Oct, 2020 @ 11:48am 
that is the odd thing about it. there is no error :D
Mlie  [author] 15 Oct, 2020 @ 11:04am 
@whatchagonnado'boutthatson? Not sure why you are having the issue. I tested it now and have no problems with it. If you can find an error message or something it might help.
whatchagonnado'boutthatson? 15 Oct, 2020 @ 8:03am 
yes it does. as soon as i load this mod i can't do right click related actions with undrafted pawns
Mlie  [author] 14 Oct, 2020 @ 2:20pm 
@whatchagonnado'boutthatson? Does this happen with only this mod loaded?
whatchagonnado'boutthatson? 14 Oct, 2020 @ 2:05pm 
I don't know how much effort and interest there is still for this mod. however i encountered an issue where i cannot make undrafted pawns do anything by right clicking.
Mlie  [author] 13 Jul, 2020 @ 1:18pm 
@Chum I think I fixed this error. Its a bit of a workaround but it seems to do the trick. Thanks for reporting.
Mlie  [author] 18 May, 2020 @ 8:23am 
@Chum I see, ill check it out
Chum 18 May, 2020 @ 4:08am 
I understand you might not be maintaining this mod, but nonetheless - it appears to have a bug. A colonist with Plants 5 would go to a psychoid field (which requires Plants 6), cut the plants that needed cutting, then attempt to reserve a spot for planting. This throws an error in the log. It's not game-breaking, but it keeps throwing, which is annoying if Pause on Exceptions is on.
pinbuck 20 Apr, 2020 @ 5:53pm 
Aye thx
Think3r 20 Apr, 2020 @ 3:54pm 
@Mlie Thanks for the clarification.