Bentorium Posted November 8, 2021 Report Share Posted November 8, 2021 (edited) Hello After 1.15.8 and 1.15.9 when trying to make salad game crashed after putting pickled onions/carrots or something in to mixing bowl. Tho not quite sure it is directly cause of this mod, but mixing bowl is part of the mod. Anyone else had problem like that. Should try to reinstall whole game yet. Running on 64 bit Windows with 32 GB RAM Version: v1.15.9 (Stable)8.11.2021 7.22.14: Critical error occurred System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext() at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientMain.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(Object sender, MouseButtonEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg) at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _M48MnHH5BAvHUzcYoEuchRW0acb._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(_UGHNIsOGTJBe1BTRXYmLwHTbmS , String[] ) at _xNqQDGqRsRSMIeuzt2MHKQHDzSd._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(ThreadStart ) ------------------------------- Edit: full reinstall did not helped. Edit 2. Tried to make new world and only Expanded foods 1.4.4, steps to crash 1. start new game, 2. set creative, 3. spawn following items: mixing bowl table, pickled onions/carrots/turnips, cooked dumplings, 4. set to survival. 5. Put mixing bowl table on ground added pickled and when added cooked dumpling game crashed. Running on 64 bit Windows with 32 GB RAM Version: v1.15.9 (Stable)8.11.2021 8.08.31: Critical error occurred System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext() at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientMain.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(Object sender, MouseButtonEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg) at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _M48MnHH5BAvHUzcYoEuchRW0acb._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(_UGHNIsOGTJBe1BTRXYmLwHTbmS , String[] ) at _xNqQDGqRsRSMIeuzt2MHKQHDzSd._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(ThreadStart ) ------------------------------- Edited November 8, 2021 by Bentorium Link to comment Share on other sites More sharing options...
l33tmaan Posted November 8, 2021 Author Report Share Posted November 8, 2021 That's a totally new error message... I wonder if it's because of something that was updated in 1.15.8? Link to comment Share on other sites More sharing options...
Conquest of Blocks Posted November 10, 2021 Report Share Posted November 10, 2021 Spoiler 10.11.2021 10:57:38 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornpasta-cooked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syrups in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syrups in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syrups in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syrupcharred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syrupcharred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syrupcharred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-partbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-partbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-partbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-tender in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-tender in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-tender in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-charred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-charred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-charred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syrups in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syrupcharred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-partbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-tender in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-charred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-partbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-cooked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-charred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syrup in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syrupcharred in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/pastacold.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-bellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:choppedvegetable-pickledbellpepper in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syrups in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syrups in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syrups in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-syrupcharred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-syrupcharred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-syrupcharred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-partbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-partbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-partbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-tender in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-tender in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-tender in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-bushmeat-charred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-poultry-charred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedmeatnugget-redmeat-charred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syrups in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-syrupcharred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-partbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-tender in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedfishnugget-charred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-partbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-cooked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-charred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syruppartbaked in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syrup in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornbreadedball-syrupcharred in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/salad.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/yogurtmeal.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acornportion in mixing recipe expandedfoods:recipes/mixing/yogurtmeal.json 10.11.2021 10:57:39 [Event] 3 mixing recipes loaded 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acorndumpling-raw in kneading recipe expandedfoods:recipes/kneading/primitivesurvival/fishdumpling.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acorndumpling-raw in kneading recipe expandedfoods:recipes/kneading/primitivesurvival/fishdumpling.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acorndumpling-raw in kneading recipe expandedfoods:recipes/kneading/wildfarming/fishdumplingherb.json 10.11.2021 10:57:39 [Warning] Failed resolving a blocks itemdrop or smeltedstack with code expandedfoods:acorndumpling-raw in kneading recipe expandedfoods:recipes/kneading/wildfarming/fishdumplingherb.json Link to comment Share on other sites More sharing options...
Buggi Posted November 10, 2021 Report Share Posted November 10, 2021 This happens when you have code like this: List<Something> mylist = new List<Something>(); // add stuff to list foreach (Something item in myList) { // do some work myList.Add(new Something()); } To avoid this, either don't modify the list (or any Enumerable object for that matter) in the foreach statement, or write it like this: List<Something> myList = new List<Something>(); // do work for (int x = 0; x < myList.Length; x++) { Something item = myList[x]; // do work } This applies to all generic collections that are Enumerable. i.e. Anything that uses <T> as a type. 1 Link to comment Share on other sites More sharing options...
Peter Sanderson Posted November 10, 2021 Report Share Posted November 10, 2021 Will sunflower be able to be used in the screw press for making sunflower oil? Link to comment Share on other sites More sharing options...
l33tmaan Posted November 10, 2021 Author Report Share Posted November 10, 2021 10 minutes ago, Peter Sanderson said: Will sunflower be able to be used in the screw press for making sunflower oil? Yes, it's on the list. Link to comment Share on other sites More sharing options...
l33tmaan Posted November 10, 2021 Author Report Share Posted November 10, 2021 2 hours ago, Buggi said: This happens when you have code like this: List<Something> mylist = new List<Something>(); // add stuff to list foreach (Something item in myList) { // do some work myList.Add(new Something()); } To avoid this, either don't modify the list (or any Enumerable object for that matter) in the foreach statement, or write it like this: List<Something> myList = new List<Something>(); // do work for (int x = 0; x < myList.Length; x++) { Something item = myList[x]; // do work } This applies to all generic collections that are Enumerable. i.e. Anything that uses <T> as a type. Where is this code located, exactly? Link to comment Share on other sites More sharing options...
Buggi Posted November 11, 2021 Report Share Posted November 11, 2021 I don't know your source code as I didn't code the mod. But the error posted at the top of this page is caused by what I describe. Link to comment Share on other sites More sharing options...
Yvette Forty Posted November 12, 2021 Report Share Posted November 12, 2021 How do you add the dumplings to a pot meal? I've made chicken dumplings, but can't add to the pot. Do you need to back them first then add? This is not very clear to me. What is the ratio and what can you put with it? So far I love the mod, it just slows me down though as I'm always looking stuff up. Link to comment Share on other sites More sharing options...
l33tmaan Posted November 12, 2021 Author Report Share Posted November 12, 2021 42 minutes ago, Yvette Forty said: How do you add the dumplings to a pot meal? I've made chicken dumplings, but can't add to the pot. Do you need to back them first then add? This is not very clear to me. What is the ratio and what can you put with it? So far I love the mod, it just slows me down though as I'm always looking stuff up. You can add dumplings to almost any meal. Take a screenshot of your cooking pot and what you're trying to make. Link to comment Share on other sites More sharing options...
Yvette Forty Posted November 13, 2021 Report Share Posted November 13, 2021 I'm on VS 1.15.7 and mod 1.4.4, I'm getting a crash when the screw press releases after working on red currants (33). I just did (64) black currants in the screw press with no issue. Running on 64 bit Windows with 16 GB RAM Version: v1.15.7 (Stable)11/13/2021 1:57:40 AM: Critical error occurred System.NullReferenceException: Object reference not set to an instance of an object. at ExpandedFoods.BlockScrewPress.GetPlacedBlockInfo(IWorldAccessor world, BlockPos pos, IPlayer forPlayer) at Vintagestory.Client.NoObf.HudElementBlockAndEntityInfo.ComposeBlockInfoHud() at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) at _gt983m53spH3zIRFvTrVgBj5MUb._m2KVBUzhniiatiiNT9yOoXoOOvL(Single ) at _2hFm1B1DwOk1Z7yF6DtBdLeBFKaA._5soGXezAcR5oyhhq2pmELCuEn2M(Single ) at _2hFm1B1DwOk1Z7yF6DtBdLeBFKaA._ZzmaNk5IGbtvQ61ssCzCszyBw2n(Single ) at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) at OpenTK.GameWindow.DispatchRenderFrame() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _LiN8p156auXcqjjOW5aVAZ0QkUc._fwMbTl3XHB2eqbxoLfc3FpMIE00(_CFodeVozKjT5VhVV66Wv4Bd7r3c , String[] ) at _qBF2AKwdIhCkNZsjxBA24g20vlH._fwMbTl3XHB2eqbxoLfc3FpMIE00(ThreadStart ) ------------------------------- Event Log entries containing Vintagestory.exe, the latest 3 ================================== { TimeGenerated = 11/4/2021 3:05:21 AM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1397969068706127840, type 5 Event Name: RADAR_PRE_LEAK_64 Response: Not available Cab Id: 0 Problem signature: P1: Vintagestory.exe P2: 1.15.7.0 P3: 10.0.19043.2.0.0 P4: P5: P6: P7: P8: P9: P10: Attached files: \\?\C:\Users\ylfgr\AppData\Local\Temp\RDRB6C6.tmp\empty.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB6D7.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB6D8.tmp.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB6F2.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERB712.tmp.txt These files may be available here: Analysis symbol: Rechecking for solution: 0 Report Id: 9f1f5b82-6ce6-43af-8ea9-600ba1403d88 Report Status: 268435456 Hashed bucket: a9e621fc64de545c1366957613365fe0 Cab Guid: 0 } -------------- { TimeGenerated = 4/2/2021 7:47:51 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1564561481470198046, type 5 Event Name: RADAR_PRE_LEAK_64 Response: Not available Cab Id: 0 Problem signature: P1: Vintagestory.exe P2: 1.14.8.0 P3: 10.0.19041.2.0.0 P4: P5: P6: P7: P8: P9: P10: Attached files: \\?\C:\Users\ylfgr\AppData\Local\Temp\RDRA796.tmp\empty.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA797.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA7A7.tmp.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA7BC.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA7EC.tmp.txt These files may be available here: Analysis symbol: Rechecking for solution: 0 Report Id: b4c40aec-24f5-44cc-ad29-84ee3364cfa3 Report Status: 268435456 Hashed bucket: 2422f0d2706eedebe5b67060c44a411e Cab Guid: 0 } -------------- { TimeGenerated = 2/2/2021 7:45:47 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1941784971470830743, type 5 Event Name: RADAR_PRE_LEAK_64 Response: Not available Cab Id: 0 Problem signature: P1: Vintagestory.exe P2: 1.14.7.0 P3: 10.0.19041.2.0.0 P4: P5: P6: P7: P8: P9: P10: Attached files: \\?\C:\Users\ylfgr\AppData\Local\Temp\RDR8323.tmp\empty.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8324.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8335.tmp.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER834F.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER8370.tmp.txt These files may be available here: Analysis symbol: Rechecking for solution: 0 Report Id: bd91105d-a7e7-4b18-b897-c3242e64e875 Report Status: 268435456 Hashed bucket: 4ff6173b155534146af29b24beb5fc97 Cab Guid: 0 } 1 Link to comment Share on other sites More sharing options...
Deceti Posted November 13, 2021 Report Share Posted November 13, 2021 (edited) Something I noticed tonight.... existing clay ovens placed before the recent game update (1.15.9) would not allow fuel to be added nor could I light one with fuel in it already UNTIL I broke it down and replaced it. Tested it in a new world; results were vanilla = works as normal Added EF 1.4.4 as the only mod = could not interact with existing oven. Just something I thought worth mentioning in case others had the same issue. No crashes or anything, just unusable ovens until being replaced. Edited November 13, 2021 by Jeffrey Ramage Link to comment Share on other sites More sharing options...
l33tmaan Posted November 13, 2021 Author Report Share Posted November 13, 2021 6 hours ago, Yvette Forty said: I'm on VS 1.15.7 and mod 1.4.4, I'm getting a crash when the screw press releases after working on red currants (33). I just did (64) black currants in the screw press with no issue. How interesting. I can't replicate this in 1.15.5. 33 red currants get pressed with 1 leftover, no problem. Hrm. 6 hours ago, Deceti said: Something I noticed tonight.... existing clay ovens placed before the recent game update (1.15.9) would not allow fuel to be added nor could I light one with fuel in it already UNTIL I broke it down and replaced it. Tested it in a new world; results were vanilla = works as normal Added EF 1.4.4 as the only mod = could not interact with existing oven. Just something I thought worth mentioning in case others had the same issue. No crashes or anything, just unusable ovens until being replaced. This might happen because we had to replace the oven's class with the ExpandedOven class. When you place an oven in vanilla, it has the ClayOven class, but already placed blocks won't have their classes updated once you install mods, which is why you need to replace it. Uh, I think. Link to comment Share on other sites More sharing options...
Conquest of Blocks Posted November 13, 2021 Report Share Posted November 13, 2021 (edited) Spoiler Running on 64 bit Windows with 16 GB RAM Version: v1.15.9 (Stable)2021-11-13 10:20:16 AM: Critical error occurred System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Cannot get item of id 197, item list count is only until 0! at Vintagestory.Client.NoObf.ClientMain.GetItem(Int32 itemId) at Vintagestory.API.Common.ItemStack..ctor(BinaryReader reader, IWorldAccessor resolver) at Vintagestory.API.Common.CraftingRecipeIngredient.FromBytes(BinaryReader reader, IWorldAccessor resolver) at ExpandedFoods.DoughIngredient.FromBytes(BinaryReader reader, IWorldAccessor resolver) at ExpandedFoods.DoughRecipe.FromBytes(BinaryReader reader, IWorldAccessor resolver) at ExpandedFoods.RecipeUploadSystem.OnServerMessage(RecipeUpload networkMessage) at Vintagestory.Client.NoObf.NetworkChannel.<>c__DisplayClass12_0`1.<SetMessageHandler>b__0(_g6jghSbbc0Ye7ecLsuECZfEs89j p) at Vintagestory.Client.NoObf.NetworkAPI.HandleCustomPacket(_oIqeYhLbfggCGH4NJ27Vq8B0RmGA packet) at Vintagestory.Client.NoObf.NetworkAPI.HandleChannelsPacket(_oIqeYhLbfggCGH4NJ27Vq8B0RmGA packet) at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) at _pGnDS8PRrVztoyRAoNqXbYkko9B._TshCCJvNc6laaisiRTK6RNaXWQ1A(Single ) at _o0lbNJXQO06me4d8j661Kh7y0zO._HmSBpw6fP4XFLEcv29tc0ifOKYvb(Single ) at _o0lbNJXQO06me4d8j661Kh7y0zO._3U99eoPu0PaDLPVrL8tfzH5UDEJ(Single ) at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) at OpenTK.GameWindow.DispatchRenderFrame() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _M48MnHH5BAvHUzcYoEuchRW0acb._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(_UGHNIsOGTJBe1BTRXYmLwHTbmS , String[] ) at _xNqQDGqRsRSMIeuzt2MHKQHDzSd._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(ThreadStart ) ------------------------------- on connection attempt EDIT: oh, i guess i posted this before. sorry. report came by an player Edited November 13, 2021 by CoB_Kai 1 Link to comment Share on other sites More sharing options...
shosleepy Posted November 14, 2021 Report Share Posted November 14, 2021 Please fix meat hook drying/curing time. My meats rotting right off the hooks! Nobody wants to put an old rotten sausage in their mouths! I am running VS version 1.15.5 and mod version 1.4.4. Link to comment Share on other sites More sharing options...
l33tmaan Posted November 14, 2021 Author Report Share Posted November 14, 2021 1 hour ago, shosleepy said: Please fix meat hook drying/curing time. My meats rotting right off the hooks! Nobody wants to put an old rotten sausage in their mouths! I am running VS version 1.15.5 and mod version 1.4.4. I already fixed it. Take a pic of your meat rack so I can see what the perish multiplier is. Link to comment Share on other sites More sharing options...
Cyasi Posted November 14, 2021 Report Share Posted November 14, 2021 (edited) Hello! Would it be possible to support birch flour and pine flour from Ancient Tools to use with water in the mixing bowl? ^^ ------------------ And one more thing: When i try to add spelt flour, thyme, saffron and water and the outcoming dough with dried currant in the mixing bowl, the game crashes. Running on 64 bit Windows with 32 GB RAM Version: v1.15.9 (Stable)14.11.2021 10:03:15: Critical error occurred System.InvalidOperationException: Die Sammlung wurde geändert. Der Enumerationsvorgang kann möglicherweise nicht ausgeführt werden. bei System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) bei System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext() bei Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) bei Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) bei Vintagestory.Client.NoObf.ClientMain.OnMouseUp(MouseEvent args) bei Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(Object sender, MouseButtonEventArgs e) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) bei OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg) bei OpenTK.Platform.Windows.WinGLNative.ProcessEvents() bei OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) bei _M48MnHH5BAvHUzcYoEuchRW0acb._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(_UGHNIsOGTJBe1BTRXYmLwHTbmS , String[] ) bei _xNqQDGqRsRSMIeuzt2MHKQHDzSd._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(ThreadStart ) ------------------------------- Edited November 14, 2021 by Cyasi Link to comment Share on other sites More sharing options...
l33tmaan Posted November 14, 2021 Author Report Share Posted November 14, 2021 6 hours ago, Cyasi said: Hello! Would it be possible to support birch flour and pine flour from Ancient Tools to use with water in the mixing bowl? ^^ Probably... everybody wants to add new food types that are barely different from the existing ones. 1 1 Link to comment Share on other sites More sharing options...
l33tmaan Posted November 16, 2021 Author Report Share Posted November 16, 2021 Have a progress update. 2 Link to comment Share on other sites More sharing options...
Hells Razer Posted November 17, 2021 Report Share Posted November 17, 2021 (edited) Had the crash Bentorium reported at the top of the page happen to me while adding water to the mixing bowl to make dough. Details: it happened when quickly clicking multiple times with the bucket. It did NOT happen after I reloaded and clicked with the water bucket in a more controlled way, until I started rapidly clicking with it for the second batch. Also just to be thorough tried it with the industrial one, same result. Also here is the crash log: Spoiler Running on 64 bit Windows with 8 GB RAM Version: v1.15.9 (Stable)11/17/2021 4:16:43 PM: Critical error occurred System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext() at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientMain.OnMouseUp(MouseEvent args) at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(Object sender, MouseButtonEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg) at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) at _M48MnHH5BAvHUzcYoEuchRW0acb._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(_UGHNIsOGTJBe1BTRXYmLwHTbmS , String[] ) at _xNqQDGqRsRSMIeuzt2MHKQHDzSd._e0atQ8VmmvgBK7zb3Yh4iDqOiHY(ThreadStart ) ------------------------------- Event Log entries containing Vintagestory.exe, the latest 3 ================================== { TimeGenerated = 11/16/2021 6:08:41 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1428985262677186499, type 4 Event Name: APPCRASH Response: Δεν υπάρχει Cab Id: 0 Problem signature: P1: Vintagestory.exe P2: 1.15.9.0 P3: 6187ffbc P4: KERNELBASE.dll P5: 10.0.19041.1348 P6: 76fcd692 P7: c0020001 P8: 0000000000034f69 P9: P10: Attached files: \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAB66.tmp.WERInternalMetadata.xml These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_ea3294bdc0f016ce2b86687213df1df64b65949_e052d6cd_78375dd4-69c3-4723-991b-28878c5e8b7e Analysis symbol: Rechecking for solution: 0 Report Id: e84c8873-f857-415c-8eb7-73cb6c47f9bc Report Status: 268566528 Hashed bucket: 05d53be9d22862dc53d4c6867b2457c3 Cab Guid: 0 } -------------- { TimeGenerated = 11/16/2021 6:08:38 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: Vintagestory.exe P2: 1.15.9.0 P3: 6187ffbc P4: KERNELBASE.dll P5: 10.0.19041.1348 P6: 76fcd692 P7: c0020001 P8: 0000000000034f69 P9: P10: Attached files: These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_Vintagestory.exe_ea3294bdc0f016ce2b86687213df1df64b65949_e052d6cd_78375dd4-69c3-4723-991b-28878c5e8b7e Analysis symbol: Rechecking for solution: 0 Report Id: e84c8873-f857-415c-8eb7-73cb6c47f9bc Report Status: 131076 Hashed bucket: Cab Guid: 0 } -------------- { TimeGenerated = 11/16/2021 6:08:37 PM, Site = , Source = Application Hang, Message = The program Vintagestory.exe version 1.15.9.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. Process ID: cdc Start Time: 01d7dadda28e04c5 Termination Time: 93 Application Path: F:\Program Files\Vintagestory\Vintagestory.exe Report Id: fd09e5fc-9778-4333-9452-58e0d7b32f65 Faulting package full name: Faulting package-relative application ID: Hang type: Unknown } Edited November 17, 2021 by Hells Razer 1 Link to comment Share on other sites More sharing options...
bazilshep Posted November 19, 2021 Report Share Posted November 19, 2021 (edited) On 11/10/2021 at 5:26 PM, l33tmaan said: Where is this code located, exactly? I dug into this a bit, decompiling the mod with ilspy. I hope you don't mind. I think it is in: ExpandedFoods.GuiDialogBlockEntityMixingBowl.SetupDialog() I think the offending line is: base.ClearComposers(); This modifies the dictionary GuiDialog.dialogComposers This dictionary is being enumerated by GuiDialog.OnMouseUp when SetupDialog() is called, so when SetupDialog() returns eventually the loop in GuiDialog.OnMouseUp continues to the next iteration throwing "System.InvalidOperationException: Collection was modified; enumeration operation may not execute." I think just removing the one offending line should fix the issue. I think the ClearComposers() is redundant, since you are assigning to base.SingleComposer below it. I hope this helps... EDIT:: Nevermind, I think the actual fix is to do a change as in the vintage story source code for 1.15.9. See: https://github.com/anegostudios/vssurvivalmod/blob/8eaabeccbc5e04a1e380af3550ba06d3d6eb6d8f/Gui/GuiDialogBlockEntityQuern.cs#L33 Edited November 19, 2021 by bazilshep 1 Link to comment Share on other sites More sharing options...
l33tmaan Posted November 19, 2021 Author Report Share Posted November 19, 2021 Oh... you didn't have to decompile it, everything's up on Github already. Thanks, though! I think it should be fixed in the next update. Link to comment Share on other sites More sharing options...
bazilshep Posted November 19, 2021 Report Share Posted November 19, 2021 Oops, not sure I missed the giant github link on the first page. I made the change, built and tested and it looks like its working now. 1 Link to comment Share on other sites More sharing options...
l33tmaan Posted November 19, 2021 Author Report Share Posted November 19, 2021 Wow, just one line, huh? Not bad at all. Which file is that code in, specifically? I checked my classes and I couldn't find it anywhere. Link to comment Share on other sites More sharing options...
bazilshep Posted November 19, 2021 Report Share Posted November 19, 2021 Created a PR with the change. See: https://github.com/l33tmaan/vs-expandedfoods/pull/6 1 Link to comment Share on other sites More sharing options...
Recommended Posts