Mods / CAN Crops
Author: KenigVovan
Side: Both
Created: Mar 18th 2023 at 6:06 AM
Last modified: Nov 7th at 7:19 PM
Downloads: 9554
Follow Unfollow 130
Latest file for v1.20.0-pre:
cancrops_0.2.7.zip
1-click install
Inspired and use some logic from minecraft mod AgriCraft
Crop seeds now have parameters, their values can change their behavior.
- Gain - amount of drop which player get after plant's block is broken
- Growth - reduce time for plant to reach next grow stage
- Strength - increase length of collected drop perish time (by +8% per stat level)
- Resistance - change border temperature for growing plant (by default -/+0.4C per stat level)
- Fertility - inner parameter used for combine logic
- Mutativity - inner parameter used for stat mutation logic
Mod replaces default farmland - you'll be able to plant on the old ones but it won't let you use new crop parameters.
To make new farmland block just use default hoe as before. Old farmland blocks can not be made this way anymore.
(Farmland blocks in creative menu are default ones, I'll add moded little bit later)
After you created new farmland blocks you can plant seeds on it as before if plant is defined jsons of the mod. Now all vanila crops + MoreCrops mod plants are added. (Jsons are now in recipes/plants/plants_jsons)
To get crop seeds with better parameters you would need selection sticks. Same way as it worked in AgriCraft and shown in the screenshot.
As a result on farmland block can apear new crop (from mutation) or one of the parents around. Sticks will be removed after crop appeared.
TODO:
- block crops will die if not harvested in X years/monthe after planted/reached last stage
- additional item drop configured through plants_jsons
- additional mutations for plants
- move plants_jsons/mutations_json from mod to ModConfig?
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v0.2.7 | 159 | Nov 7th at 7:19 PM | Show | cancrops_0.2.7.zip | Install now | |
v0.2.6 | 232 | Oct 30th at 6:43 PM | Show | cancrops_0.2.6.zip | Install now | |
v0.2.5 | 122 | Oct 26th at 12:37 PM | Show | cancrops_0.2.5.zip | Install now | |
v0.2.4 | 376 | Oct 5th at 5:56 PM | Show | cancrops_0.2.4.zip | Install now | |
v0.2.3 | 538 | Aug 28th at 3:48 PM | Show | cancrops_0.2.3.zip | Install now | |
v0.1.27 | 289 | Aug 14th at 7:41 PM | Show | cancrops_0.1.27.zip | Install now | |
v0.1.26 | 101 | Aug 12th at 2:45 PM | Show | cancrops_0.1.26.zip | Install now | |
v0.1.25 | 483 | Jul 9th at 5:48 PM | Show | cancrops_0.1.25.zip | Install now | |
v0.1.24 | 226 | Jul 1st at 6:25 PM | Show | cancrops_0.1.24.zip | Install now | |
v0.1.23 | 88 | Jun 30th at 10:29 AM | Show | cancrops_0.1.23.zip | Install now | |
v0.1.22 | 474 | Jun 1st at 5:13 AM | Show | cancrops_0.1.22.zip | Install now | |
v0.1.20 | 764 | Mar 27th at 5:58 PM | Show | cancrops_0.1.20.zip | Install now | |
v0.2.2 | 581 | Feb 18th at 8:58 PM | Show | cancrops_0.2.2.zip | Install now | |
v0.2.1 | 716 | Jan 12th at 4:36 PM | Show | cancrops_0.2.1.zip | Install now | |
v0.2.0 | 155 | Jan 10th at 6:52 PM | Show | cancrops_0.2.0.zip | Install now | |
v0.1.18 | 110 | Feb 19th at 7:07 PM | Show | cancrops_0.1.18.zip | Install now | |
v0.1.17 | 928 | Nov 30th 2023 at 7:33 PM | Show | cancrops_0.1.17.zip | Install now | |
v0.1.16 | 133 | Nov 29th 2023 at 9:44 PM | Show | cancrops_0.1.16.zip | Install now | |
v0.1.15 | 117 | Nov 29th 2023 at 8:41 PM | Show | cancrops_0.1.15.zip | Install now | |
v0.1.14 | 126 | Nov 29th 2023 at 4:24 PM | Show | cancrops_0.1.14.zip | Install now | |
v0.1.13 | 151 | Nov 28th 2023 at 8:49 PM | Show | cancrops_0.1.13.zip | Install now | |
v0.1.12 | 193 | Nov 23rd 2023 at 9:01 PM | Show | cancrops_0.1.12.zip | Install now | |
v0.1.11 | 465 | Nov 1st 2023 at 8:48 PM | Show | cancrops_0.1.11.zip | Install now | |
v0.1.10 | 133 | Nov 1st 2023 at 6:47 PM | Show | cancrops_0.1.10.zip | Install now | |
v0.1.9 | 225 | Oct 27th 2023 at 6:04 PM | Show | cancrops_0.1.9.zip | Install now | |
v0.1.8 | 193 | Oct 15th 2023 at 3:08 PM | Show | cancrops_0.1.8.zip | Install now | |
v0.1.7 | 168 | Oct 6th 2023 at 8:21 PM | Show | cancrops_0.1.7.zip | Install now | |
v0.1.6 | 128 | Oct 6th 2023 at 6:22 PM | Show | cancrops_0.1.6.zip | Install now | |
v0.1.5 | 141 | Oct 6th 2023 at 4:14 PM | Show | cancrops_0.1.5.zip | Install now | |
v0.1.4 | 242 | Aug 3rd 2023 at 10:58 AM | Show | cancrops_v0.1.4.zip | Install now | |
v0.1.3 | 246 | Jun 19th 2023 at 2:21 PM | Show | cancrops_v0.1.3.zip | Install now | |
v0.1.2 | 157 | Jun 17th 2023 at 7:58 AM | Show | cancrops_v0.1.2.zip | Install now | |
v0.1.1 | 162 | Jun 13th 2023 at 2:46 PM | Show | cancrops_v0.1.1.zip | Install now | |
v0.1.0 | 232 | Mar 25th 2023 at 5:29 PM | Show | cancrops_v0.1.0.zip | Install now |
Is there NO info about this anywhere? What do the sticks do? What does the cultivator do? Please give us some info?
hey so how can i keep my crops moisturized without constent attendance, i have them next to water and the water does nothing ill leave and comeback and the ones without crops on them have no water, im used primal survive furrowed ground and iragation vessels and nothing
Annastasija
0.2.7 fixes it
Critical error every time I try to till the ground with a hoe on 1.20 pre11
KenigVovan
Купил лицензию только для того что бы писать сюда баг-репорты👀
Ingvard12
0.2.6 должно починить
"Game Version: v1.19.8 (Stable) by OverF1X"
кек
Не запускуается мир
Running on 64 bit Windows 10.0.19045.0 with 32679 MB RAM
Game Version: v1.19.8 (Stable) by OverF1X
30.10.2024 19:42:28: Critical error occurred in the following mods: cancrops@0.2.5, xskills@0.8.8, xlib@0.8.6
Loaded Mods: aculinaryartillery@1.2.1, arrowheadsrecovery_fork@1.0.0, axleinblocks@1.19.8-rc.1, bettersticks@1.1.0, explosive@0.0.2, butcheringfix@1.0.0, candlestory@0.0.2, chiseltools@1.12.7, dont-place-sticks@1.0.1, emotemenureload@1.0.5, femininity@0.1.3, geoaddons@1.3.6, immersivecorpsedrop@1.0.2, instanddrifterdrops@1.1.0, itemrecycle@0.4.0, lanternpost@1.0.8, longtermfood@0.0.3, meltingpp@1.0.2, millwright@1.1.6, spyglass@0.5.1, temporal_gears_stack@1.0.0, thatchexpanded@1.1.1, toolsextended@1.0.2, vichnybackpack@1.0.0, volumetricshadingreupdated@0.7.5, game@1.19.8, adamassk@0.0.1, abcsreborn@0.2.1, animationmanagerlib@0.8.8, apelanterns@1.0.0, apewindows@1.0.0, egocaribautomapmarkers@3.1.0, flags@0.32.1, beehivekiln@1.6.1, cancrops@0.2.5, composter@1.1.0, cooperativecombat@1.1.1, cuniculture@1.0.2, dssilicatebricks@1.0.3, expandedfoods@1.7.2, foodshelves@1.3.1, fromgoldencombs@1.6.3, herbarium@1.3.0, hit@2.1.2, kitchwaypointlabeler@1.1.0, medievalexpansion@3.13.1, meteoricexpansion@1.2.5, morepiles@1.5.0, nbcartographer@2.0.10, spearexpantion@0.1.8, oneroof@1.1.1, simplewinddirectionpelagus@1.0.0, petai@2.2.6, pileful@1.1.5, playerlist@2.1.4, prospecttogether@1.3.0, rivers@3.1.0, rockstratavariety@0.0.1, sailboat@1.3.1, smithingplus@1.1.1, storageoptions@1.0.2, creative@1.19.8, vsimgui@1.1.5, survival@1.19.8, xlib@0.8.6, bullseye-continued@2.5.8, cats@2.0.3, chemistrylib@1.1.5, configlib@1.3.13, feverstonehorses@1.6.1, foxtaming@1.4.0, grasscompost@1.0.0, plankstick@1.0.1, sandwich@1.2.0, wildcraftfruit@1.2.2, wolftaming@2.1.3, xinvtweaks@1.6.6, xskills@0.8.8, kosfire@1.1.3, statushudcont@2.1.1
HarmonyLib.HarmonyException: Patching exception in method virtual System.Void Vintagestory.API.Common.EntityAgent::OnGameTick(System.Single dt)
---> System.IO.FileNotFoundException: Could not load file or assembly 'primitivesurvival, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Не удается найти указанный файл.
File name: 'primitivesurvival, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeMethodInfo.<get_Signature>g__LazyCreateSignature|25_0()
at System.Reflection.RuntimeMethodInfo.get_ReturnType()
at HarmonyLib.ReversePatcher.<>c__DisplayClass5_0.<GetTranspiler>b__0(MethodInfo m)
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at HarmonyLib.ReversePatcher.GetTranspiler(MethodInfo method)
at HarmonyLib.ReversePatcher.Patch(HarmonyReversePatchType type)
at HarmonyLib.PatchClassProcessor.ReversePatch(MethodBase& lastOriginal)
at HarmonyLib.PatchClassProcessor.Patch()
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type)
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at HarmonyLib.Harmony.PatchAll(Assembly assembly)
at cancrops.src.compat.xskills.harmPatch.Postfix_DoHarmonyPatch(ICoreAPI api) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\compat\xskills\harmPatch.cs:line 29
at XSkills.XSkills.DoHarmonyPatch_Patch1(ICoreAPI api)
at XSkills.XSkill.OnConfigReceived()
at XLib.XLeveling.XLevelingClient.MessageHandler(SkillConfig skillConfig)
at Vintagestory.Client.NoObf.NetworkChannel.<>c__DisplayClass12_0`1.<SetMessageHandler>b__0(Packet_CustomPacket p) in VintagestoryLib\Client\API\NetworkChannel.cs:line 73
at Vintagestory.Client.NoObf.NetworkChannel.OnPacket(Packet_CustomPacket p) in VintagestoryLib\Client\API\NetworkChannel.cs:line 27
at Vintagestory.Client.NoObf.NetworkAPI.HandleCustomPacket(Packet_Server packet) in VintagestoryLib\Client\API\NetworkAPI.cs:line 105
at Vintagestory.Client.NoObf.ProcessPacketTask.ProcessPacket(Packet_Server packet) in VintagestoryLib\Client\Systems\NetworkProcess.cs:line 448
at Vintagestory.Client.NoObf.ProcessPacketTask.Run() in VintagestoryLib\Client\Systems\NetworkProcess.cs:line 442
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 776
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 731
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 163
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 676
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 651
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
System.IO.FileNotFoundException: Could not load file or assembly 'primitivesurvival, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Не удается найти указанный файл.
File name: 'primitivesurvival, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeMethodInfo.<get_Signature>g__LazyCreateSignature|25_0()
at System.Reflection.RuntimeMethodInfo.get_ReturnType()
at HarmonyLib.ReversePatcher.<>c__DisplayClass5_0.<GetTranspiler>b__0(MethodInfo m)
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at HarmonyLib.ReversePatcher.GetTranspiler(MethodInfo method)
at HarmonyLib.ReversePatcher.Patch(HarmonyReversePatchType type)
at HarmonyLib.PatchClassProcessor.ReversePatch(MethodBase& lastOriginal)
at HarmonyLib.PatchClassProcessor.Patch()
jayu
cool, thanks for info and compatibility, I'll update it in next version
Btw, I added compatibility for your mod in my Farmland Drops with Nutrients mod
KenigVovan You don't have to have it fail though, you can just not run the modsystem if the mod is not loaded
See for example ShouldLoad here which uses the value defined here
Or here where I do it for xskills
Also this will probably be added in 1.20 to make things easier: discord.com/channels/302152934249070593/402173001178677268/1267148709788127433
jayu
it's the way compatibility is working now by additional ModSystems which fail when mods are not present, but all others should work fine. It's just easier than maintain 3 separate mods
Mod seems to throw errors with loading the XSkills and Primitive Survival compatibility systems when those mods are not installed.
I've gotten it to work and plant, but my attempt to make the Cavoli pears drop leaves when clippable didn't work - the clip prompt never came up, and harvesting it with a knife anyways didn't seem to work. Did I make an error in my code? Also, can I make it drop between 2 and 4 leaves?
{
"file": "cancrops:recipes/plants_jsons/plantmaterial_plants.json",
"op": "add",
"path": "/-",
"value": {
"enabled": true,
"domain": "plantmaterial",
"id": "swamppear",
"growthmultiplier": 1.0,
"cloneable": true,
"spreadchance": 0.2,
"seeddropchance": 1.0,
"seeddropbonus": 0.0,
"allowSourceStage": 6,
"MinClipStage": 5,
"ClipRollbackStage": 4,
"Clip_products": {
"Products": [
{
"CollectibleCode": "plantmaterial:leaf-swamppear",
"ItemClass": 1,
"Avg": 0.5,
"Var": 0.3,
"LastDrop": false
}
]
}
}
}
Joblerone
you can extend some of the plants_jsons file or create your own there and replace it in the .zip. If you want to have it as json patch you can do something like:
{
"file": "cancrops:recipes/plants_jsons/morecrops_plants.json",
"op": "add",
"path": "/-",
"value": {
"enabled": true,
"domain": "morecrops",
"id": "beet",
"growthmultiplier": 1.0,
"cloneable": true,
"spreadchance": 0.2,
"seeddropchance": 1.0,
"seeddropbonus": 0.0,
"allowSourceStage": 4,
"MinClipStage": 4,
"ClipRollbackStage": 2,
"Clip_products": {
"Products": [
{
"CollectibleCode": "morecrops:seeds-beet",
"ItemClass": 1,
"Avg": 0.5,
"Var": 0.3,
"LastDrop": false
}
]
}
}
}
where you replace domain with modid of the target mod, id is name of crop. Also change drop for Clip_products or delete everything from the [ ].
Same way for mutations but in different file and with different attributes
is there a way for us to write our own patches in? i want to patch in Plant Material compatibility on my own, but my attempts to copy your files didn't end up working. do i need to create files in more than just plant_jsons?
holy shit thank you so much!!
Joblerone
it isn't now, I'll update it today/tomorrow
is this mod compatible with farmtotable, or do i have to grab the original morecrops to use it?
Can someone explain the selection sticks a little? What their function? Are they required? What do you gain from using them? What do you lose from not using them? etc.
What's the difference between using one set or two on a single farmland square? Do you install them before you plant or after? CAN you install them after?
If weeds will grow on your crop plots, how do you remove them without negatively impacting the crop? Is the cultivator involved or is that a tool for harvesting crops?
Also, KenigVovan, is there any way you could make the cultivator able to be placed on the tool racks? Or even leaned against a wall?
Minora_Marine
yes, there is config settings for that, I forgot to update read/write function for config,
so for the current version you can remove your config and regenerate a new one with new settings or
add
"weedMinimumSpreadStage": 1,
"weedResistanceByStat": 0.05,
"weedSpreadChancePerStage": {
"0": 0.1,
"1": 0.3,
"2": 0.5
},
"weedSpreadingActivated": true,
"weedAppearanceChance": 0.06
into your config and change weedAppearanceChance to 0 zero to turn off weed spread and generation at all or
weedSpreadingActivated to false and weed won't spread from one farmland to another and just appear and stay on one block
with selection sticks on it.
I'll add some period after weed stage increased to mitigate such rampant weed spread
KenigVovan
Did you create a config for the weed growth?. The concept is cool having to remove the weeds from the crops, however some of the weeds are very aggressive. Completely turning your selection sticks to grass overnight without even a sign of weed growth. Is this spontaneous grass intended or a bug? it is in no way game breaking, just confusing at first as you randomly end up with a bunch of grass.
KenigVovan
Thanks for the update everything is working perfectly again!
Thanks, I'll try that, Minora_Marine
DrBubba
I had this issue with the incorrect version of the mod that the version checker downloads v0.2.2, as per Shinohoyo's post. I redownloaded the one from this page v1.27 and it worked perfectly. Hope this helps
Something odd is happening and it could very well be user error, but I have Moist Farmland (that has the CAN tag on it showing it's made correct, right?) and I can't seem to be able to plant any seeds. I can place selection sticks, but seeds do nothing. Any suggestions on what could be the culprit, KenigVovan?
Minora_Marine
I'll push new version this week which will also contain a fix for no mutation/seed issue
Mod worked perfectly for a few days and then I had a random crash yesterday after crafting selection sticks, I think was caused by this mod. I reloaded the game and it was working fine. I have been playing today and I am no longer getting mutations/new seeds. Im not sure if this mod somehow broke itself when I reloaded or are the mutations just super rare? as I got 3 yesterday but none again after the crash. is there some way to reset the mod if this is the case?
This was the crash log:
Game Version: v1.19.8 (Stable)
2024/08/25 09:56:52: Critical error occurred
Loaded Mods: aculinaryartillery@1.1.5, lumbersling@1.2.2, primitivesurvival@3.6.4, Vanilla_PlusWorldGen@1.3.5, game@1.19.8, ancienttools@1.5.18, betterruins@0.3.7, cancrops@0.1.27, carryon@1.7.4, expandedfoods@1.6.9, herbarium@1.2.0, creative@1.19.8, survival@1.19.8, xlib@0.8.6, wildcraftfruit@1.2.1, wildcraftherb@0.0.1, xskills@0.8.8
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vintagestory.GameContent.DynFoliageProperties.GetOrLoadTexture(ICoreClientAPI capi, String key) in VSSurvivalMod\Systems\FruitTree\BEFruitTreePart.cs:line 40
at Vintagestory.GameContent.BlockEntityFruitTreePart.get_Item(String textureCode) in VSSurvivalMod\Systems\FruitTree\BEFruitTreePart.cs:line 109
at Vintagestory.GameContent.BlockFruitTreeFoliage.GetColor(ICoreClientAPI capi, BlockPos pos) in VSSurvivalMod\Systems\FruitTree\BlockFruitTreeFoliage.cs:line 94
at Vintagestory.GameContent.ChunkMapLayer.GenerateChunkImage(Vec2i chunkPos, IMapChunk mc, Int32[]& tintedImage, Boolean colorAccurate) in VSEssentials\Systems\WorldMap\ChunkLayer\ChunkMapLayer.cs:line 493
at Vintagestory.GameContent.ChunkMapLayer.OnOffThreadTick(Single dt) in VSEssentials\Systems\WorldMap\ChunkLayer\ChunkMapLayer.cs:line 344
at Vintagestory.GameContent.WorldMapManager.b__22_0()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
Game Version: v1.19.8 (Stable)
2024/08/26 19:50:25: Critical error occurred in the following mod: cancrops@0.1.27
Loaded Mods: aculinaryartillery@1.1.5, lumbersling@1.2.2, primitivesurvival@3.6.4, Vanilla_PlusWorldGen@1.3.5, game@1.19.8, ancienttools@1.5.18, betterruins@0.3.7, cancrops@0.1.27, carryon@1.7.4, expandedfoods@1.6.9, herbarium@1.2.0, creative@1.19.8, survival@1.19.8, xlib@0.8.6, wildcraftherb@0.0.1, xskills@0.8.8
System.NullReferenceException: Object reference not set to an instance of an object.
at cancrops.src.items.CANItemSelectionSticks.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\items\CANItemSelectionSticks.cs:line 70
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 854
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 386
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 89
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 186
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 809
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1013
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 676
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 651
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Perfect!
Shinohoyo
I plan to add clipping behavior for some plants to get drop and just rollback to some stage depending on some seed's stat, there is ofc also can be some chance to get additional seed through this.
Also just mentioning it incase anyone else has this issue, https://mods.vintagestory.at/show/mod/13118 downloads 0.2.2 which does not seem to be the latest version. Took me a while to figure out why I was crashing haha.
Any plans to add clippings or another way to propogate plants? Would be cool to be able to shear a plant to get a seed (or a chance at a seed if thats too op or both and make it a config option :P) at the cost of a growth level or two. As if you were taking a clipping of the plant to transplant without having to custom code clippings for each plant.
Awesome, thanks!
Banderi
if you meant https://mods.vintagestory.at/farmlanddropssoil then .27 should work together now
Any ways to make this work with/similar to Farmland Drops Soil? (maybe have a config to make it so it drops soil instead of losing it forever?)
Chrizzlybear
Hey, put it on pastebin or on github in a new issue, please
Hi, I have translated the mod into german.
de.json
jamescook
it doesn't have any new crops/plants yet
will this alow me to grow horsetail so i can make healing items easyer?
Проверил, все работает и в одиночке и на сервере, благодарю
Спасибо!
Ingvard12
0.1.25 должно решить это,
спасибо за инфо
Перестают селекционироваться пока не пересадить, полностью выросшие дают урожая как дикие. Если посадить и сломать только что посаженное растение то у семян появляются параметры 1;1;1;1, если же перезайти на мир, то семена выпадают без параметров, и есть шанс вообще не получить семян, как если бы это было дикорастущее растение. У селекционированных семян тоже пропадают параметры, в общем, становятся дикорастущими, из-за этого чтобы не потерять весь прогресс приходится собирать весь посаженный огород перед тем как выйти с мира/закрыть север
Ingvard12
То что умершие дают стандартные пока как так и задумано. Что именно меняется, что они дикорастущие? Не показывает информацию при наведении на них или что-то ещё?
Вылетов и ошибок нет, в логах ничего не нашел. Просто если перезапустить сервер или одиночный мир так происходит
Ingvard12
В логах краши или ошибки?
Когда перезахожу на мир все посаженные растения становятся дикорастущими, так же умершие селекционированные растения дают стандартные семена
adres4t
fixed in 1.24
KenigVovan
Cool, thank you. i will report back after next harvest to confirm whether it solved my issue
Hi. I get this crash, might be bad mod combo on my side.
server log entry:
RhetoricalQuest
try 0.1.23
KenigVovan
at the time that was the only crop i had mature to try and harvest. everytime i would harvest it, the animation would play, the particals of it breaking and everything, but it would drop nothing, exiting the session and loading back in would have the crops still be there. CAN Crops v1.22 Vintage Story v1.19.8
RhetoricalQuest
you can reproduce it everytime? And it only with turnips? Also which version do you have?
KenigVovan
Turnips, mature (5/5)
RhetoricalQuest
I'd need more info to reproduce it, which plant it was and what ~stage it had when you tried to break it?
Hey KenigVovan, I seem to be having a similar issue to Prot from a couple months ago but with a different thrown error. Any ideas? Or should i just revert back to 1.11 like you suggested by then?
26.6.2024 14:12:17 [Server Error] Exception: Object reference not set to an instance of an object.
at cancrops.src.blockenities.CANBlockEntityFarmland.GetDrops(ItemStack[] drops, IPlayer byPlayer) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\BE\CANBlockEntityFarmland.cs:line 248
at cancrops.src.harmPatch.Prefix_GetDrops(BlockCrop __instance, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, ItemStack[]& __result, Single dropQuantityMultiplier) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\harmPatch.cs:line 405
at Vintagestory.GameContent.BlockCrop.GetDrops_Patch3(BlockCrop this, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.API.Common.Block.OnBlockBroken(IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 1067
at cancrops.src.harmPatch.Stub_Block_OnBlockBroken_Patch0(Object instance, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at cancrops.src.harmPatch.Prefix_OnBlockBroken(BlockCrop __instance, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\harmPatch.cs:line 565
at Vintagestory.GameContent.BlockCrop.OnBlockBroken_Patch2(BlockCrop this, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.Server.ServerSystemBlockSimulation.TryModifyBlockInWorld(ServerPlayer player, Packet_ClientBlockPlaceOrBreak cmd) in VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 575
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockPlaceOrBreak(Packet_Client packet, ConnectedClient client) in VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 346
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket) in VintagestoryLib\Server\ServerMainNetworking.cs:line 138
Awutak
should work now with 1.0.7. compat mod
Hi, your Mod issues a conflict with xSkills, so that I can't plant seeds and the cancrop/xskills compat doesn't work with 1.19.8
KenigVovan , Привет
Версия 1.19.8
ABCSReborn-v.0.2.1.zip
A Culinary Artillery 1.1.4.zip
BetterBloomery-1.0.5.zip
BetterCrates_v1.7.1.zip
BetterFirepit-1.1.4.zip
betterpitkilntimer_1.1.0.zip
BetterRuinsv0.3.5.zip
BetterTradersv0.0.5.zip
blacksmithenhancements_1.0.5.zip
cancrops_0.1.22.zip
cancropsprimitivesurvivalcompat_1.0.3.zip
cancropsxskillscompat_1.0.6.zip
CommonLib_VS1.19.4_net7_v2.3.7.zip
Composter-v1.1.0.zip
configlib_1.3.2.zip
electricity_0.0.11.zip
electricityaddon_0.0.2.zip
expanded_matter-2.4.0.zip
Expanded Foods 1.6.9.zip
ExtraChests_v1.8.0.zip
ExtraOverlays_VS1.19.0-rc.5_net7_v1.4.0.zip
feverstonewilds_1.5.0-rc.2.zip
Fieldsandplateaus-v1.0.2.zip
FlexibleTools-119-3.0.1.zip
Foundry_v1.0.0.zip
HelveHammerExtensions_VS1.19.0-rc.5_net7_v1.6.0.zip
herbarium_1.2.0.zip
hudclock-3.4.0.zip
MeltingPP.zip
millwright_1.1.5.zip
more-map-icons-1.1.0.zip
petai_v2.2.4.zip
PlayerCorpse_VS1.19.7_net7_v1.10.1-rc.1.zip
pottery-wheel_v1.1.0.zip
ppgsm - 1.0.0.zip
primitivesurvival_3.5.4.zip
ProspectTogether-1.3.0.zip
RTM.zip
Some Extra Molds.zip
Spear_Expantion_by_Kanahaku_0.0.1.zip
steamandpower_1.5.0.zip
SticksFromFirewood-1.1.0.zip
storagecontroller1.0.9.zip
Swordz 1.1.7.zip
tarmor_v_0.1.9.zip
TeleportationNetwork_VS1.19.0-rc.5_net7_v1.14.2.zip
TemporalProspector-1.0.1.zip
TemporalTinkerer_v2.3.6.zip
temportalstormtimer.zip
translocatorengineeringredux_1.5.0.zip
tstools_v2.1.0.zip
usefulstuff17_1.3.2.zip
VintageEngineering-0.1.4.zip
VisibleResinParticles.zip
vsimgui_1.1.2.zip
WeaponPackAlphaUnofficial_1.5.1.zip
wildcraftfruit_1.2.0.zip
wildcraftherb_0.0.0.zip
wildcrafttree_1.1.0.zip
xinvtweaks_v1.5.9-rc.1.zip
xlib_v0.8.3.zip
xskills_v0.8.5.zip
NESHK0
Какие моды стоят и какая версия игры?
KenigVovan
Сажать не могу никакие растения
Any possibility with adding compatibility with Toolworks?
From what I can tell, CAN overrides default hoes to make farmland into a "Farmland (CAN)" variant when tilling the ground, the toolworks hoes dont make the variant farmland.
How would one make it compatible with Wild Farming Revival or is that compatibility in the works?
Will it be compatible with the New world crop mod?
New game and a problem. I can't plant plants .Tree seeds yes, shrubs too but vegetable seeds no . After removing this mod everything is ok.
(fixed) Game crashes when Cropsticks are in hand, and right clicked in the air with a NullReferenceException.
(inprogress)Cropsticks can be placed, but not removed without breaking the farmland underneath.
(fixed) (seems to work) Crops can no longer be placed on default farmland with CANCrops installed.
(fixed) Fertilized Land that transforms into a different tier of farmland has cropsticks invisible.
(fixed) Old Farmland can not be watered with the watering can after addition of this CANCrops.
Earthworms do not fertilize soil
~ (cannot reproduce) Crops can spread to empty farmland without any cropsticks present. Undocumented feature, or a bug?
KenigVovan
Another bug: Crops when left at full growth for long enough revert to their first stage.
EbKeth
I'll check what can be done upon instructions/guide.
KenigVovan
This mod is interesting but should have a little clearer set of instructions for folks who aren't familiar with Agricraft / IC2 style crops. A guide on this page, as well as in the handbook would be a great boon.
Bugs (xskills and primitave survival installed, with compatability patches):
I say "cropsticks" instead of Selection Sticks multiple times here, whenever you see cropsticks, i mean Selection Sticks.
Have also found a bug that sticks disappear/go invisible when you fertilize the ground and it transforms into a different tier of farmland.
I am using both the Compatability for xSkils and Primitive Survival (No idea if thats a factor)
Here's a vid of that: imgur.com/a/aunCQJI
Also confirming that what both Psyborg and xAzural are saying that with latest version of this and compatability patch for Primitive Survival that the Earthworms are not currently having any Fertilizer effect
It's still not fully compatible with Primitive Survival - earthworms don't do anything.
The main issue is that newly tilled soil (CAN farmland) automatically get 100% moisture and retains it forever. Sometime the moisture drops, sometime it gets back up, and sometimes it just stays at the same level no matter what. I did a test with few cycles of growing crops with this mod - I haven't used a single drop of water in the middle of land, and the soil was always 80-90%+ moisturized.
I keep having my crops, both on sticks and not on sticks, seemingly reset their growth stage randomly after sitting full-grown for a period of time. Is this an intentional behavior? Definitely makes life challenging when the server is set to run even without players online.
KenigVovan
Tested new compat version for worms. Did not seem to work. Worms still do not fertilize CAN farmland from Primative survival.
I also tested dissapearing selection sticks. That fix did work! Appreciate it!
Edit 1: Selection Sticks are also invisible on Terra Preta
xAzural
Game Version: v1.19.0-rc.6
Mod Version: v0.2.0
Compat: Primitive Survival (v1.0.1)
I seem to not be able to place Selection Sticks. 1.19 rc6
I did not have a compat installed.
Edit 1: Also id like to note that it seems the new CAN farmland isnt fertilized by worms from Primative Survival. Is this intentional?
Prevents the creation of worm castings by this mod as well D:
Edit 2: Selection sticks dissapear after you leave a server and rejoin. (I have noticed they sometimes reappear after a long time randomly.
Not sure if they just dont load in right away or there is an issue somewhere.
KenigVovan Can you make a compatibility to Fields of Gold or is it already compatible?
SalazarWindriver
you need xskills/cancrops compatibility
I did not see anything in the logs but here is the list, sorry it a big list.
A Culinary Artillery
Alloy Calculator
Auto Map Markers
A Wearable light
Beehive Kiln
BetterBloomeries Reborn
Better Crates
Better Pit Kiln Timer
Better Ruins Loot Changes
Betterruins
bricklayers
buckets stack to 5
butchering
Can crops
carry on
cellar door
ceramos
clay casting
commonlib
death waypoints
drbraziers
drop resin anyway
dungeons remastered
dye recipe fix
expanded foods
expanded matter
extra chests
extra cayforming
extra info
farm survival (might be an issue)
fields and plateaus
from golden combs
glassmaking
hanging oil lamps
hide and fabric
hud clock
hud real time clock
just more ruins
liquid containers
more cattail drops
medieval expansion
more candles
more clay
yabba forge
more roofing
more torch holders
navarlio xskils
no charcoal lost
pie on shelf
player corpse
pot on shelf
primitive survival
prospector info
quicklime in pitkiln
rackable firestarter
real shingles
resin regrow 2
simple cloth
simple cloth additions
simplified tanning
status hud
stickemup
stick recipe
stone bake over
stone quarry
stone railings
storage controller
storage options
structure spawn chances 300%
survival expanded
th3dungeon
underground mines
use planks in pit kiln
vertical planks
buffed vessels
visible ore
visible terra preta particles
bigger windmill
whole lotta tree seeds
xlib
xskils
animal reproduction tweaks
SalazarWindriver
hi, I wasn't able to reproduce an issue. Which mods do you have installed? Does debug files had some errors in it?
weird issue. using a bone hoe from Nats survival expanded on Terra Preta and it created farmland (CAN) but a can't place default crops on it. I used a vanilla flint hoe to create normal farmland that could take the crops.
sorry for the "late" reply, irl stuff. It seems all ok now, but I'll certainly report if any problems appear
Ototinho
plant just was under the block border, should be fixed in .17, regarding sticks - they were shown for me. I would need more info when you do not see them
bruh moment. crops and selection sticks aren`t showing (another epic debugging session I guess)
the mods and the version are the same except CANcrops and PS compat that I've updated
Ototinho
0.1.16 and a new primitivesurvival/cancrops compatibility should help with BEFurrowedLand
don`t know why but this crash happened
Running on 64 bit Windows with 32670 MB RAM
Game Version: v1.18.15 (Stable)
29/11/2023 17:52:47: Critical error occurred in the following mod: primitivesurvival@3.3.0
Loaded Mods: primitivesurvival@3.3.0, game@1.18.15, cancrops@0.1.15, creative@1.18.15, survival@1.18.15, xlib@0.7.4, cancropsprimitivesurvivalcompat@1.0.0, xskills@0.7.5, cancropsxskillscompat@1.0.3
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.GameContent.BlockEntityFarmland.updateMoistureLevel(Double totalDays, Single waterDistance, Boolean skyExposed, ClimateCondition baseClimate) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 348
at Vintagestory.GameContent.BlockEntityFarmland.updateMoistureLevel(Double totalDays, Single waterDistance) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 324
at Vintagestory.GameContent.BlockEntityFarmland.WaterFarmland(Single dt, Boolean waterNeightbours) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 1100
at PrimitiveSurvival.ModSystem.BEFurrowedLand.OnPipeTick(Single dt)
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 59
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 796
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 712
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 200
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
and this crash happened when i put a CAN farmland on the ground
Running on 64 bit Windows with 32670 MB RAM
Game Version: v1.18.15 (Stable)
29/11/2023 17:57:13: Critical error occurred in the following mod: cancrops@0.1.15
Loaded Mods: primitivesurvival@3.3.0, game@1.18.15, cancrops@0.1.15, creative@1.18.15, survival@1.18.15, xlib@0.7.4, cancropsprimitivesurvivalcompat@1.0.0, xskills@0.7.5, cancropsxskillscompat@1.0.3
System.Collections.Generic.KeyNotFoundException: The given key 'moist' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Vintagestory.API.Datastructures.OrderedDictionary`2.get_Item(TKey key) in VintagestoryApi\Datastructures\Dictionary\OrderedDictionary.cs:line 252
at cancrops.src.blockenities.CANBlockEntityFarmland.OnCreatedFromSoil(Block block) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\BE\CANBlockEntityFarmland.cs:line 85
at cancrops.src.blocks.CANBlockFarmland.OnBlockPlaced(IWorldAccessor world, BlockPos blockPos, ItemStack byItemStack) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\blocks\CANBlockFarmland.cs:line 48
at Vintagestory.Common.BlockAccessorBase.SetSolidBlockInternal(Int32 blockId, BlockPos pos, IWorldChunk chunk, Boolean synchronize, Boolean relight, ItemStack byItemstack) in VintagestoryLib\Common\API\BlockAccessorBase.cs:line 175
at Vintagestory.Common.BlockAccessorBase.SetBlockInternal(Int32 blockId, BlockPos pos, IWorldChunk chunk, Boolean synchronize, Boolean relight, Int32 layer, ItemStack byItemstack) in VintagestoryLib\Common\API\BlockAccessorBase.cs:line 138
at Vintagestory.Common.BlockAccessorRelaxed.SetBlock(Int32 blockId, BlockPos pos, ItemStack byItemstack) in VintagestoryLib\Common\API\BlockAccessorRelaxed.cs:line 76
at Vintagestory.API.Common.Block.DoPlaceBlock(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel, ItemStack byItemStack) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 884
at Vintagestory.API.Common.Block.TryPlaceBlock(IWorldAccessor world, IPlayer byPlayer, ItemStack itemstack, BlockSelection blockSel, String& failureCode) in VintagestoryApi\Common\Collectible\Block\Block.cs:line 793
at Vintagestory.Client.NoObf.ClientMain.OnPlayerTryPlace(BlockSelection blockSelection, String& failureCode) in VintagestoryLib\Client\ClientMain.cs:line 1626
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnBlockBuild(BlockSelection blockSelection, Block onBlock, String& failureCode) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 701
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 447
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 92
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 790
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 983
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
evrything else seems fine
Ototinho
ah, here we go again, try 0.1.15
uhh actually, using fertilizer is making it crash now
Running on 64 bit Windows with 32670 MB RAM
Game Version: v1.18.15 (Stable)
29/11/2023 17:31:47: Critical error occurred in the following mod: cancrops@0.1.14
Loaded Mods: primitivesurvival@3.3.0, game@1.18.15, cancrops@0.1.14, creative@1.18.15, survival@1.18.15, xlib@0.7.4, cancropsprimitivesurvivalcompat@1.0.0, xskills@0.7.5, cancropsxskillscompat@1.0.3
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.GameContent.BlockEntityFarmland.get_AtlasSize() in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 1196
at Vintagestory.Client.NoObf.ShapeTesselator.TesselateShapeElement(Int32 indexForLogging, MeshData meshdata, ShapeElement element, TesselationMetaData meta) in VintagestoryLib\Client\Render\Tesselation\ShapeTesselator.cs:line 394
at Vintagestory.Client.NoObf.ShapeTesselator.TesselateShapeElements(MeshData meshdata, ShapeElement[] elements, TesselationMetaData meta) in VintagestoryLib\Client\Render\Tesselation\ShapeTesselator.cs:line 306
at Vintagestory.Client.NoObf.ShapeTesselator.TesselateShape(Shape shapeBase, MeshData& modeldata, Vec3f wholeMeshRotation, Vec3f wholeMeshOffset, Single wholeMeshScale, TesselationMetaData meta) in VintagestoryLib\Client\Render\Tesselation\ShapeTesselator.cs:line 302
at Vintagestory.Client.NoObf.ShapeTesselator.TesselateShape(TesselationMetaData meta, Shape shapeBase, MeshData& modeldata) in VintagestoryLib\Client\Render\Tesselation\ShapeTesselator.cs:line 237
at cancrops.src.blockenities.CANBlockEntityFarmland.genFertilizerQuad() in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\BE\CANBlockEntityFarmland.cs:line 976
at cancrops.src.blockenities.CANBlockEntityFarmland.updateFertilizerQuad() in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\BE\CANBlockEntityFarmland.cs:line 968
at cancrops.src.blockenities.CANBlockEntityFarmland.OnBlockInteract(IPlayer byPlayer) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\BE\CANBlockEntityFarmland.cs:line 150
at cancrops.src.blocks.CANBlockFarmland.OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\blocks\CANBlockFarmland.cs:line 72
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 867
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 447
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 92
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 790
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 983
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 29/11/2023 17:29:28, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x448c
Hora de início do aplicativo com falha: 0x0x1da2302ba4ef75f
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: a7eaebd5-fec6-4a01-9d31-ac8defde2604
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
--------------
{ TimeGenerated = 29/11/2023 17:28:54, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x3504
Hora de início do aplicativo com falha: 0x0x1da23026b4f3080
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: 0be8c5d9-c94c-493b-80fa-1075ea84b236
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
--------------
{ TimeGenerated = 29/11/2023 17:26:48, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x32e0
Hora de início do aplicativo com falha: 0x0x1da2301e4bc1b6a
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: cac4e4d8-3514-41bc-999b-54f5c8e29c04
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
yeah, now everything is working fine, thanks a bunch!!!!
Ototinho
try 0.1.14 and with a new version of xskills/cancrops compatibility
the mod works but it crashes when i try to use a watering can, everything else is working fine (it seems at least)
(sorry for portuguese words, i'm brazilian)
Running on 64 bit Windows with 32670 MB RAM
Game Version: v1.18.15 (Stable)
29/11/2023 00:00:10: Critical error occurred
Loaded Mods: primitivesurvival@3.3.0, game@1.18.15, cancrops@0.1.13, commonlib@2.2.0, creative@1.18.15, survival@1.18.15, xlib@0.7.4, cancropsprimitivesurvivalcompat@1.0.0, xskills@0.7.5, cancropsxskillscompat@1.0.2
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.Common.BlockAccessorBase.GetBlock(BlockPos pos) in VintagestoryLib\Common\API\BlockAccessorBase.cs:line 80
at Vintagestory.GameContent.BlockEntityFarmland.GetCrop() in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 823
at Vintagestory.GameContent.BlockEntityFarmland.updateMoistureLevel(Double totalDays, Single waterDistance) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 323
at Vintagestory.GameContent.BlockEntityFarmland.WaterFarmland(Single dt, Boolean waterNeightbours) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 1099
at Vintagestory.GameContent.BlockEntityFarmland.WaterFarmland(Single dt, Boolean waterNeightbours) in VSSurvivalMod\BlockEntity\BEFarmland.cs:line 1095
at Vintagestory.GameContent.BlockWateringCan.OnHeldInteractStep_Patch1(BlockWateringCan this, Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.API.Common.CollectibleObject.OnHeldUseStep(Single secondsPassed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1044
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleHandInteraction(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 310
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnGameTick(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 165
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 59
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 796
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 712
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 200
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 28/11/2023 23:50:13, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x3384
Hora de início do aplicativo com falha: 0x0x1da226d9227325b
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: f7c46450-df1b-4c9f-b192-3e6600f855cb
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
--------------
{ TimeGenerated = 28/11/2023 23:41:11, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x2d00
Hora de início do aplicativo com falha: 0x0x1da226d02ea0d53
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: 3b3efcbf-3ecd-41f1-b2c8-f3bad1f347d6
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
--------------
{ TimeGenerated = 28/11/2023 23:37:22, Site = , Source = Application Error, Message = Nome do aplicativo com falha: Vintagestory.exe, versão: 1.18.15.0, carimbo de data/hora: 0x64e841c5
Nome do módulo com falha: openal32.dll, versão: 1.23.0.0, carimbo de data/hora: 0x63dd31ad
Código de exceção: 0x40000015
Deslocamento da falha: 0x00000000000df046
ID do processo com falha: 0x0x2220
Hora de início do aplicativo com falha: 0x0x1da226ca8bf9ec4
Caminho do aplicativo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Vintagestory.exe
Caminho do módulo com falha: C:\Users\potof\AppData\Roaming\Vintagestory\Lib\openal32.dll
ID do Relatório: a05db24f-baea-4a29-aa3b-02948bb6a1f3
Nome completo do pacote com falha:
ID do aplicativo relativo ao pacote com falha: }
Ototinho
try 0.1.13 with mods.vintagestory.at/show/mod/9304
just waiting patiently for a new update that makes me play with primitive survival 🙂
Tested, confirmed now working with 1.11 :)
Prot
GetCANSeedItemCrop is not used in last version of the mod, can you try 0.1.11 and write me back if there is the same issue?
I'm not sure what you're looking for in the logs, so I've zipped them all up.
https://www.dropbox.com/scl/fi/u8slmlvepsob1nuypxe1s/VintageStoryCanCropsLogs.zip?rlkey=c55efux9dg7mkzoehhu32aqf5&dl=0
There was one under Server-Main.txt and server-event.txt that then had a bit more under it.
(... interesting, there's a bunch referring to the Vintagestory API that refers to C:\Users\Tyron\Documents\...)
18.11.2023 10:47:44 [Warning] Failed resolving crafting recipe ingredient with code cancrops:canseeds-onion in Grid recipe
18.11.2023 10:47:57 [Error] Grid Recipe 'cancrops:canseedsonion': Output Item code cancrops:canseeds-onion cannot be resolved
18.11.2023 10:48:05 [Error] System.NullReferenceException: Object reference not set to an instance of an object.
at cancrops.src.CANBlockEntityFarmland.GetCANSeedItemCrop()
at cancrops.src.CANBlockEntityFarmland.GetDrops(ItemStack[] drops)
at Vintagestory.GameContent.BlockCrop.GetDrops_Patch0(BlockCrop this, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.API.Common.Block.OnBlockBroken(IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryApi\Common\Collectible\Block\Block.cs:line 991
at cancrops.src.harmPatch.Stub_Block_OnBlockBroken_Patch0(Object instance, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at cancrops.src.harmPatch.Prefix_OnBlockBroken(BlockCrop __instance, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.GameContent.BlockCrop.OnBlockBroken_Patch1(BlockCrop this, IWorldAccessor world, BlockPos pos, IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.API.Common.CollectibleObject.OnBlockBrokenWith(IWorldAccessor world, Entity byEntity, ItemSlot itemslot, BlockSelection blockSel, Single dropQuantityMultiplier) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryApi\Common\Collectible\Collectible.cs:line 546
at Vintagestory.Server.ServerSystemBlockSimulation.TryModifyBlockInWorld(ServerPlayer player, Packet_ClientBlockPlaceOrBreak cmd) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 701
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockPlaceOrBreak(Packet_Client packet, ConnectedClient client) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 391
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerMainNetworking.cs:line 108
Very specific note, there is no folder for a user called 'Tyron'.
Prot
Hi, is there any error in the log file on start-up or when you try to break the plant?
Hey,
Thanks for creating the mod - I've run into an issue where I'm unable to harvest normal crops while the mod is active.
Specifically
Create farmland
Planted onions normally
Waited until onions were ready for harvest
On harvesting the animation plays, however no seeds / onions are produced. Exiting and reloading and the crops are still present.
On removal of the mod, I'm able to harvest the crops normally.
Active mods:
ABCSReborn
Anvil Metal Recovery
At Water's edge
Better ruinds
Cairns
Electricity
FIelds of Salt
GeothermalInsanity
Hud Realtime clock
Prospector Info
Tree Tapping
Essentials (tyron)
Survival Mode (code)
Whole Lotta Tree Seeds
the mod already adds farmland block and blockentity, the issue is only that primitive survival overrides behavior of default hoe, so it creates default farmland or some other block and will water only
default farmland blocks.
I'll probably add new hoe item as you said and replace a parent class for can-farmland-blockentity
interesting, maybe you could make a new type of hoe to make CAN farmland from soil or to convert normal farmland into CAN farmland, im not sure witch would be better/easier
Ototinho
I can probably move from vanila hoe to some new item for new farmland creation, so primitive survival or default hoe will create default farmland or furrowedland.
I would also need to make new farmland inherit from vanila BlockEntityFarmland, so primitive survival can water farmlands. If I won't find any other problems then it is feasible
sorry for not responding earlier, i was busy irl. It seems that the updates in the past few days corected my problem so now it`s working fine. Also, about that primitive survival compat, do you think you could do something about it or it needs to be do by SpearAndFang?
yes, primitive survival overrides hoe itemclass, so it creates it's own and replace logic and my harmony patch is ignored.
Primitive Survival: Conflict
Every other mod I tested has no issue. I hope this helps. I suspect the conflict is caused by the irrigation system added by primitive survival. Seeing as they affect farmland.
Newfie
KenigVovan
Can confirm. It is a mod conflict. Just going to narrow down to which one.
I got the modded farmland when using a hoe added by another mod. But, the farmland was at constant 100% hydration but I won't be very useful since I am not familiar with creating mods. All I can imagine is that there is an conflict going on with other mods. I am going to test how it opperates without primitive survival since that mod adds things relating to farming. Perhaps conflicts with larger mods like wildcraft and such. Since they do add things that could get in the way.
No farm land had (CAN) at the end? can you find the blocks in creative? because i cant. all farmland I create is just normal farmland
Newfie
if farmland block doesn't have (CAN) at the end of the block info then you'll need to replace it with newly created farmland.
I fixed 0% moisture for old farmland blocks but I don't know why you get nullptr exception there
My crop land now wont take moisture in also. stuck at 0% and i cant plant cause of it
I just updated it but got another different crash with selection sticks
System.NullReferenceException: Object reference not set to an instance of an object.
at cancrops.src.items.CANItemSelectionSticks.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\items\CANItemSelectionSticks.cs:line 125
at Vintagestory.API.Common.CollectibleObject.OnHeldUseStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, Boolean firstEvent, EnumHandHandling& handling) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1007
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 834
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsNoBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 389
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 92
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 790
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 983
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Newfie
0.1.10 should check for default farmland blocks. Make a new farmlands with hoe, because old one will let you plant seeds but they won't have stats.
Crashes when trying to use the selection sticks on a crop
System.InvalidCastException: Unable to cast object of type 'Vintagestory.GameContent.BlockEntityFarmland' to type 'cancrops.src.blockenities.CANBlockEntityFarmland'.
at cancrops.src.items.CANItemSelectionSticks.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in C:\Users\koeni\source\repos\cancrops_s\cancrops\cancrops\cancrops\src\items\CANItemSelectionSticks.cs:line 129
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseActiveSlotItem(BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType, EnumHandHandling& handling) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 857
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected_Patch1(SystemMouseInWorldInteractions this, Single dt)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 92
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 185
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 790
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 983
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 668
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 643
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 77
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Ototinho
from 0.1.7 I added new farmland blocks in addition to default ones, I don't know any reason why it wouldnt' load at all (as there are no dependencies on any other mod).
Could you sent log (in a discord thread or in pm there) or check log for any errors regarding mod loading?
For some reson the mod isn`t working for me, the plants don`t have stats and i don`t know how to make the selection sticks and i can`t find the recipe or the item anywere, already deactivated all the mods I was using for testing and it just looks like im in vanilla, I don`t know what`s happening. Im playing on 1.18.15
Edit: Just found out that the new version of the mod doesn`t work for me for some reason, but version 0.1.8 works like a charm (but makes the game kanda laggy), when i update the mod it doesn`t work at all and even the farmlands gets that ? bug block like there isn`t any mods
Take your time! Make it the best you can, when you can.
I plan to port AgriCraft, but other mods updates eat too much time I would say
Love the idea of this. Excited to see where it goes!
Mohandar
I'll continue with this one after I finish an update for my another mod
Please, don't give up and keep up this awesome work!
In a realistical game this is so much needed! and also astonishingly interesting!
KenigVovan
KenigVovan
When is the mod being updated as i'm getting frequent crashes and I just got this today.
System.InvalidCastException: Unable to cast object of type 'Vintagestory.GameContent.BlockEntityFarmland' to type 'cancrops.src.CANBlockEntityFarmland'.
at Vintagestory.GameContent.BlockFarmland.OnBlockInteractStart_Patch0(BlockFarmland this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 867
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 571
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 89
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 197
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 789
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 981
at Vintagestory.Client.GuiScreenRunningGame.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 243
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 724
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 627
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 126
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 479
at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 454
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
No other mod does what this does and I love it. Thanks
Dragonsmen
for now I do not alter the growth time or anything in cropProps for plants, but I'm going to add patches for totalGrowthMonths, yes. This patches can be used under the condition that FoG is not
intalled, for example.
Yes, something like agricraft/ic crops
Is this similar to AgriCraft on MC also would it break something like Fields of Gold that alter growth times
I'll be watching this one with great interest, seems like a very cool concept.