Jump to content

ZigTheHedge

Recommended Posts

Memory leak bug report

hey @ZigTheHedge while i search for an handling error i found out, that your Mod causes the same memory-leak.
that means, that after ending a game session, the main menu is lagging, cause garbage collector trys to do some cleanups of the memory. this was caused by holding a game-instance by ICore(Client/Server)Api references inside the mod, may be a static instance of one class in your mod or a static reference of the api.

hope you can do something with that information :)

Greetings.

Edited by Rhonen
  • Thanks 1
Link to comment
Share on other sites

  • ZigTheHedge changed the title to Trade-o-mat [v1.4.4B]

1.4.4-B:

- Fixed ability to trade items with temperature (wow, that was hard to catch)

- Fixed memory leak (thanks, @Rhonen)

- Added three coin variants: Copper, Silver, Gold. Coins are smelted from corresponding metals using clay mold (4 coins per 100 units of metal). They also reverse-smeltable. Coins can also be placed on solid ground.

2021-01-09_15-04-24.thumb.png.799bb2b753296a1482b700771ae390db.png

Edited by ZigTheHedge
  • Like 1
Link to comment
Share on other sites

  • ZigTheHedge changed the title to Trade-o-mat [v1.4.7B]

Crashed on shift+right click on the Trade-o-stall. We are running Carry Capacity if that matters.
 

Crashlog:

Spoiler



Running on 64 bit Windows with 32 GB RAM 
Version: v1.14.6-rc.1 (Unstable)1/16/2021 10:29:32 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
   at Vintagestory.API.Client.GuiElementDynamicTextHelper.GetDynamicText(GuiComposer composer, String key)
   at tradeomat.src.TradeomatBlock.BETradeBlock.OnReceivedServerPacket(Int32 packetid, Byte[] data)
   at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleBlockEntityMessage(_hJXkOv6VzVSb0ABUci4TpovnEXB packet)
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   at _ynVaYlwjG1plFcllN3RN1PA1NXgA._sfOwZ2RtW7K2poPDRwFeY0WPF0d(Single )
   at _fzQ3b7qaorX7CzI4cd5tyoIYQKc._CoiccM7rGb08atDxqOUGHqFvYrE(Single )
   at _fzQ3b7qaorX7CzI4cd5tyoIYQKc._HhjImK0LGBXoUwehKzFMnL5t6zh(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 _VyKFcUkfu3qblpXIOzaOKif33Izb._2kJqTFjDg5UbytVXSDIX5uwOswB(_91iJX0Fn2P0DTjnaYOodloOm7Lx , String[] )
   at _q9O3okUqEHhfTDFwXyhzv5PyDjJ._2kJqTFjDg5UbytVXSDIX5uwOswB(ThreadStart )
-------------------------------

Event Log, last 3 entries
==================================
{ TimeGenerated = 1/16/2021 10:29:32 PM, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0020001, exception address 00007FFC18AD3B29
Stack:
 }
{ TimeGenerated = 11/19/2020 3:24:32 PM, Site = , Source = .NET Runtime, Message = Application: Vintagestory.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0020001, exception address 00007FFF1DA13B29
Stack:
   at System.Environment._Exit(Int32)
   at System.Environment._Exit(Int32)
   at System.Environment.Exit(Int32)
   at _tbDNSZpN0b4WGkPbXXfou7PhsQl._4FaQHZNbeHKn9WINUsvqvFV8i9T()
   at Vintagestory.API.Client.GuiElementTextButton.OnMouseUpOnElement(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent)
   at Vintagestory.API.Client.GuiElement.OnMouseUp(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent)
   at Vintagestory.API.Client.GuiElementTextButton.OnMouseUp(Vintagestory.API.Client.ICoreClientAPI, Vintagestory.API.Client.MouseEvent)
   at Vintagestory.API.Client.GuiComposer.OnMouseUp(Vintagestory.API.Client.MouseEvent)
   at _VisI2OeWzgjAMuHLDUPaKaN5Lds._6J0Ioc1Jsh7Nj2siLiS88rTI5Ze(Vintagestory.API.Client.MouseEvent)
   at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(System.Object, OpenTK.Input.MouseButtonEventArgs)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at System.EventHandler`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Invoke(System.Object, System.__Canon)
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr, OpenTK.Platform.Windows.WindowMessage, IntPtr, IntPtr)
   at OpenTK.Platform.Windows.Functions.DispatchMessage(OpenTK.Platform.Windows.MSG ByRef)
   at OpenTK.Platform.Windows.Functions.DispatchMessage(OpenTK.Platform.Windows.MSG ByRef)
   at OpenTK.Platform.Windows.WinGLNative.ProcessEvents()
   at OpenTK.GameWindow.Run(Double, Double)
   at _lYLQLGyldvbDG9rPQyiRVeIqQVp._EEzpApWBQHtHR4iMJabXK2wDvlA(_ex0VSgRAdtsvhANmJHZHaf9ATWt, System.String[])
   at _IcGByoJhapvESnm6vaOawAHbkeU._EEzpApWBQHtHR4iMJabXK2wDvlA(System.Threading.ThreadStart)
   at _lYLQLGyldvbDG9rPQyiRVeIqQVp._k39DsboSFqAvcX2gaWs5Tk5Zl6Q(System.String[])
 }

 

Link to comment
Share on other sites

  • ZigTheHedge changed the title to Trade-o-mat [v1.4.8B]
  • ZigTheHedge changed the title to Trade-o-mat [v1.4.9B]

image.thumb.png.866cb2309e54ae2efbfcd36c9c65e548.png

The showcasing for accessories, like those, is off when put down. You can't even see the silver bracelet in this case.

For the stall variant, it is even worse, going from so tiny it is barely seeable, to not showing altogether.

I know it probably something hard to fix, but I just wanted it to me known ^^'''

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.