GithubHelp home page GithubHelp logo

apachetech-vintagestory-mods / apachetech.vintagemods.campaigncartographer Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 4.0 5.09 MB

Mod for Vintage Story: Adds multiple Cartography related features to the game, such as custom waypoint icons, GPS, auto waypoint markers, and more.

C# 100.00%
game-mod vintage-story

apachetech.vintagemods.campaigncartographer's People

Contributors

apachetech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apachetech.vintagemods.campaigncartographer's Issues

[BUG] Error loading in Linux

Describe the Bug:
The Microsoft.CSharp.dll and System.Dynamic.dll cause the mod to get an error and fail to load in Linux. I believe these files conflict with the versions shipped with Mono. If they are removed from the mod archive it will load and work correctly.

15:45:18 [Client Error] [campaigncartographer] An exception was thrown when trying to load assembly:
System.BadImageFormatException: Invalid Image
File name: '/home/svanheulen/vintagestory/data/Cache/unpack/ApacheTech.VintageMods.CampaignCartographer_v2.0.0.zip_d6e07d3fe2a1/Microsoft.CSharp.dll'
  at (wrapper managed-to-native) System.Reflection.Assembly.LoadFrom(string,bool,System.Threading.StackCrawlMark&)
  at System.Reflection.Assembly.UnsafeLoadFrom (System.String assemblyFile) [0x00002] in <62b430b945fa49a19a75382ef03e7bed>:0
  at Vintagestory.Common.ModAssemblyLoader.LoadFrom (System.String path) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Common.ModContainer+<>c__DisplayClass33_0.<LoadAssembly>b__0 (System.String path) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].MoveNext () [0x00048] in <12a367fbcf0c479d847b16f5c2ea4c2d>:0
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToList () [0x00030] in <12a367fbcf0c479d847b16f5c2ea4c2d>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <12a367fbcf0c479d847b16f5c2ea4c2d>:0
  at Vintagestory.Common.ModContainer.LoadAssembly (Vintagestory.Common.ModCompilationContext compilationContext, Vintagestory.Common.ModAssemblyLoader loader) [0x00169] in <51d71403970348a48fd088cfc0bd201e>:0

To Reproduce:
Enable the mod and load a world when running the game on Linux

Expected Behaviour:
It should not cause an error

Additional Context
Running Arch Linux, Mono version 6.12.0, Vintage Story version 1.16.1-rc3

Waypoint don't pin on the map when should

Describe the Bug:
Waypoint with Pinned: True setting doesn't pin on the map when used e.g. .wp cu command

To Reproduce:

  1. .wpsettings
  2. Press Edit Pre-Defined Waypoints
  3. Add a waypoint with Pinned: True setting
  4. Close the settings menu
  5. Type a command to add that waypoint, e.g. .wp cu
  6. Waypoint is added, but not pinned on the map

Expected Behaviour:
Waypoint is pinned on the map

[BUG] Leaking Textures in PlayerPins Map Markers.

24.2.2022 20:36:05 [Warning] Texture with texture id 420 is leaking memory, missing call to Dispose. Allocated at    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.LoadTexture(Color colour, Int32 scale)
   at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.AddPlayerToMap(IPlayer player)
   at Vintagestory.API.Client.PlayerEventDelegate.Invoke(IClientPlayer byPlayer)
   at Vintagestory.Client.NoObf.ClientSystemEntities.OnEntitySpawnOrLoaded(Entity entity, Boolean loaded)
   at Vintagestory.Client.NoObf.ClientEventManager.TriggerEntityLoaded(Entity entity)
   at Vintagestory.Client.NoObf.ClientSystemEntities.HandleEntitiesPacket(_vHBGzImmzojsCBb4Qveu6vbHGjC serverpacket)
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   at _shKd59ll3QCLo970uNLb4PQQzpO._rLTCCIQUh1fAy5ylbbNZOwGtuCL(Single )
   at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._W214eNLFnAzGPzBQUUjctRZn5C(Single )
   at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._G5t0g6xoyNnwYQD1Na16N3BI01d(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) 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 _NxLBujraSWHVxPxGtdSuefM8ihcA._trQCfDx6Bhpsp3kfLOJy9Wami1D(_Fcxbj1ZPAR3EYINauNuPOcAF6oib , String[] )
   at _a7XtyCAKDX5vZfnNApsGQEUBZQT._trQCfDx6Bhpsp3kfLOJy9Wami1D(ThreadStart )
   at _NxLBujraSWHVxPxGtdSuefM8ihcA._98A9SKkDc5ieBKeYFRZZzoC11Qr(String[] ).
24.2.2022 20:36:05 [Warning] Texture with texture id 1091 is leaking memory, missing call to Dispose. Allocated at    at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.LoadTexture(Color colour, Int32 scale)
   at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.AddPlayerToMap(IPlayer player)
   at Vintagestory.API.Client.PlayerEventDelegate.Invoke(IClientPlayer byPlayer)
   at Vintagestory.Client.NoObf.ClientSystemEntities.OnEntitySpawnOrLoaded(Entity entity, Boolean loaded)
   at Vintagestory.Client.NoObf.ClientEventManager.TriggerEntityLoaded(Entity entity)
   at Vintagestory.Client.NoObf.ClientSystemEntities.HandleEntitiesPacket(_vHBGzImmzojsCBb4Qveu6vbHGjC serverpacket)
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   at _shKd59ll3QCLo970uNLb4PQQzpO._rLTCCIQUh1fAy5ylbbNZOwGtuCL(Single )
   at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._W214eNLFnAzGPzBQUUjctRZn5C(Single )
   at _tFdr1uT5zfyUkzNSkA3ToX5ljzA._G5t0g6xoyNnwYQD1Na16N3BI01d(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) 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 _NxLBujraSWHVxPxGtdSuefM8ihcA._trQCfDx6Bhpsp3kfLOJy9Wami1D(_Fcxbj1ZPAR3EYINauNuPOcAF6oib , String[] )
   at _a7XtyCAKDX5vZfnNApsGQEUBZQT._trQCfDx6Bhpsp3kfLOJy9Wami1D(ThreadStart )
   at _NxLBujraSWHVxPxGtdSuefM8ihcA._98A9SKkDc5ieBKeYFRZZzoC11Qr(String[] ).

[Closed] GUI Windows cannot be made Modal.

Describe the Bug:
Scrolling "Colour" dropdown list in "Add New Waypoint Type" window scrolls window behind it ("Pre-Defined Waypoints")

To Reproduce:

  1. Open "Pre-Defined Waypoints"
  2. Press "Add new waypoint type"
  3. Press "Colour"
  4. In the dropdown menu, hover mouse out of Add New Waypoint Type" area and scroll it
  5. It scrolls the window behind it

Expected Behaviour:
It scrolls only color dropdown list

Additional Context:
image

he asks to download 1 mod

Describe the Bug:
When entering the single-player game mode, he asks to download 1 mod, if agrees, he crashes the game, if does not agree, he throws it into the server menu...

To Reproduce:
Create or Enter The World

Expected Behaviour:
He asks to download 1 mod, if agrees, he crashes the game, if does not agree, he throws it into the server menu

Additional Context
Some Users\Nexrem is specified in the crash

[BUG] Mono crash when breaking a pit kiln

Describe the Bug:
Very strange issue. I already opened a report on the main VS issue page when I didn't know what was happening. Some logs there.
anegostudios/VintageStory-Issues#1860

Running a dedicated server on Ubuntu, with mono 6.12

When loaded with all of the mods server side, breaking an in progress pit kiln causes mono to crash. Removed Campaign Cartographer and kilns no longer crash when broken. Loading just Campaign Cartographer alone in the same world causes no crash.

I still need to find what mod is conflicting specifically.

[FEATURE] Import/export waypoint types

*Summary: When you use only one pack of your own default waypoint types, you forced to constantly manually move them between folders after each new world created.

Is your feature request related to a problem? If not, why is your feature needed?

To replace the manual importing / exporting

Describe the solution you'd like

Add such thing to the same menu where "Import / Export waypoints" located

Describe alternatives you've considered

Global folder for everything that related to waypoint types, a toggle option like "Save all waypoint types only in this folder, without any exceptions"

[BUG] Strange `NullReferenceException` bug with `PositionExtensions.RelativeToSpawn()`.

Describe the Bug:

TL Crash
Running on 64 bit Windows with 16 GB RAM 
Game Version: v1.16.1 (Stable)
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
2022-02-01 22:10:48: Critical error occurred
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
   vid ApacheTech.VintageMods.Core.Extensions.Game.PositionExtensions.RelativeToSpawn(BlockPos pos)
   vid ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.Extensions.BlockEntityStaticTranslocatorExtensions.AddWaypoint(BlockPos sourcePos, BlockPos destPos, String titleTemplate)
   vid ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.Extensions.BlockEntityStaticTranslocatorExtensions.AddWaypointsForEndpoints(BlockEntityStaticTranslocator translocator, String titleTemplate)
   vid ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.TranslocatorWaypoints.DefaultHandler(Int32 groupId, CmdArgs args)
   vid Vintagestory.Client.NoObf.ClientEventManager.TriggerNewModChatLine(Int32 groupid, String message, EnumChatType chattype, String data)
   vid Vintagestory.Client.NoObf.ClientCoreAPI.TriggerChatMessage(String message)
   vid Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   vid _vRo5OUTQG1GrM9nJI04WT53NTfD._up6Bx1j7zVizDBWAE3yF6nNCGNeA(Single )
   vid _aMv7wPQlA8cgDnAEfSbEgoGdVfy._5b9xtkxs5cZMXJBpJdsFujTxqHg(Single )
   vid _aMv7wPQlA8cgDnAEfSbEgoGdVfy._CZCOZeGO1GrDP5k5hCtFGOFJtVO(Single )
   vid Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
   vid System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   vid OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) i C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:rad 476
   vid OpenTK.GameWindow.DispatchRenderFrame() i C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:rad 452
   vid OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) i C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:rad 375
   vid _WBb7CwUzEOAcHICLKAiVW6NVIeN._6uyy3n9Ds2iEHGU5xys7eJtJVNh(_Bv3M5I4kdGBjvWkB5zNcVsHESud , String[] )
   vid _rip5UQmdVBLCq6ZoAXXnaN9jQJc._6uyy3n9Ds2iEHGU5xys7eJtJVNh(ThreadStart )
-------------------------------

To Reproduce:
Steps to reproduce the behaviour:

  1. Fix a TL
  2. Wait for space time warp.
  3. Step on TL

Expected Behaviour:
The game shouldn't crash to desktop, and two waypoints should be added to the map.

Additional Context

Apache — Today at 21:26
Has this happened more than once?

FrostMannen — Today at 21:27
First time. I had just fixed a TL, and stepped on it after it had warped the space/time continuum. Now I can't get online anymore. So will wait till the Storm is over, disable Cartographer and try to get online again

Apache — Today at 21:28
This shouldn't affect your ability to log on at all. 

FrostMannen — Today at 21:28
Strange 😮 I tried 2 times. Will try again now
Ok, without Cartographer it works

Apache — Today at 21:32
Could you clear your logs, and then try with the mod enabled? If it fails, can you send me your client-main.txt, and client-debug.txt files?
My mod doesn't save any information about waypoints, so I can't see what would make it crash like that.

FrostMannen — Today at 21:34
Ok, logging out and try again

FrostMannen — Today at 21:49
Now it works, but it also already made the "automatic" WP for the TL,

Will not run on client when installed on server

Describe the Bug:
Does not load local mod when installed on the server

To Reproduce:
Steps to reproduce the behaviour:
Install on server.
Install locally.
Does not load the mod in the game client when connecting to server

Expected Behaviour:
Should load in the client.

Additional Context
Server is running Windows, client is Linux.

Crash on waypoint create

Describe the Bug:
I am using vintage story 1.18.10, campaign cartographer 3.1.2, and debian 12. Using the chat command ".wp copper" causes the game to crash and give the following log.
After rebooting the game, I can reopen the world and am prompted to update block mapping. This process runs apparently without problem, but the game crashes instantly after several seconds.

To Reproduce:

  • disable all mods except CC
  • generate a new world
  • enter ".wp copper" in the chat

Expected Behaviour:
No crashes, waypoint is created.

Additional Context

WP add crashlog

Running on 64 bit Linux with 15852 MB RAM
Game Version: v1.18.10 (Stable)
9/17/2023 3:53:45PM: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected]
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
at ApacheTech.VintageMods.CampaignCartographer.Services.WaypointTemplates.Extensions.WaypointTemplateExtensions.AddToMap(CoverageWaypointTemplate waypoint, BlockPos position, Boolean force)
at ApacheTech.VintageMods.CampaignCartographer.Features.PredefinedWaypoints.Commands.PredefinedWaypointsChatCommand.CallHandler(IPlayer player, Int32 groupId, CmdArgs args)
at Vintagestory.Common.ChatCommandApi.<>c__DisplayClass26_0.b__0(TextCommandCallingArgs args) in VintagestoryLib\Common\API\Command\ChatCommandApi.cs:line 291
at Vintagestory.Common.ChatCommandImpl.callHandler(TextCommandCallingArgs callargs, Action1 onCommandComplete, Dictionary2 asyncParseResults) in VintagestoryLib\Common\API\Command\ChatCommandImpl.cs:line 285
at Vintagestory.Common.ChatCommandImpl.Execute(TextCommandCallingArgs callargs, Action1 onCommandComplete) in VintagestoryLib\Common\API\Command\ChatCommandImpl.cs:line 221 at Vintagestory.Common.ChatCommandApi.Execute(String commandName, TextCommandCallingArgs args, Action1 onCommandComplete) in VintagestoryLib\Common\API\Command\ChatCommandApi.cs:line 78
at Vintagestory.Common.ChatCommandApi.Execute(String commandName, IClientPlayer player, Int32 groupId, String args, Action`1 onCommandComplete) in VintagestoryLib\Common\API\Command\ChatCommandApi.cs:line 165
at Vintagestory.Client.NoObf.HudDialogChat.HandleClientCommand(String message, Int32 groupid) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 793
at Vintagestory.Client.NoObf.HudDialogChat.HandleClientMessage(Int32 groupid, String message) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 806
at Vintagestory.Client.NoObf.HudDialogChat.OnNewClientToServerChatLine(Int32 groupId, String message, EnumChatType chattype, String data) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 746
at Vintagestory.Client.NoObf.ClientEventManager.TriggerNewClientChatLine(Int32 groupid, String message, EnumChatType chattype, String data) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 335
at Vintagestory.Client.NoObf.HudDialogChat.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 558
at Vintagestory.Client.NoObf.GuiManager.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 360
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1725
at Vintagestory.Client.GuiScreenRunningGame.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 310
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 231
at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 312
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

Block mapping crashlog

Running on 64 bit Linux with 15852 MB RAM
Game Version: v1.18.10 (Stable)
9/17/2023 3:57:06PM: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected]
System.NullReferenceException: Object reference not set to an instance of an object.
at ApacheTech.Common.Extensions.Harmony.HarmonyReflectionExtensions.GetField[T](Object instance, String fieldName)
at ApacheTech.VintageMods.FluentChatCommands.Extensions.ChatCommandsApiExtensions.UnregisterCommand(ICoreClientAPI capi, String commandName)
at ApacheTech.VintageMods.FluentChatCommands.Extensions.ChatCommandsApiExtensions.<>c__DisplayClass6_0.b__0(ICoreClientAPI c)
at ApacheTech.VintageMods.FluentChatCommands.Extensions.SideAgnosticApiExtensions.RunOneOf(ICoreAPI api, Action1 clientAction, Action1 serverAction)
at ApacheTech.VintageMods.FluentChatCommands.Extensions.ChatCommandsApiExtensions.UnregisterCommand(ICoreAPI api, String commandName)
at ApacheTech.VintageMods.FluentChatCommands.FluentChat.UnregisterCommand(String commandName, ICoreAPI api)
at ApacheTech.VintageMods.FluentChatCommands.FluentChat.ClearCommands(ICoreAPI api)
at ApacheTech.VintageMods.CampaignCartographer.Program.Dispose()
at Vintagestory.Client.NoObf.ClientEventAPI.TriggerLeftWorld() in VintagestoryLib\Client\API\ClientEventAPI.cs:line 358
at Vintagestory.Client.NoObf.ClientMain.DestroyGameSession(Boolean gotDisconnected) in VintagestoryLib\Client\ClientMain.cs:line 2542
at Vintagestory.Client.GuiScreenRunningGame.ExitOrRedirect(Boolean isDisconnect, String reason) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 273
at Vintagestory.Client.GuiScreenRunningGame.ReloadWorld(String reason) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 261
at Vintagestory.Client.ScreenManager.b__48_1(KeyCombination viaKeyComb) in VintagestoryLib\Client\ScreenManager.cs:line 289
at Vintagestory.Client.NoObf.GuiDialogConfirmRemapping.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogConfirmRemapping.cs:line 95
at Vintagestory.Client.NoObf.GuiManager.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 324
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 76
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 312
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

[BUG] Massive frame drop/freezes when chopping trees

Describe the Bug:
If I activate this mod I have massive freezes up to several seconds when I chop a tree. The freeze time seems to depend on the tree size. I also had a hard freeze when visit a trader, but this has happened only once so far. If I deactivate this mod everything is fine.

To Reproduce:
Well, use the mod and chop trees.

Expected Behaviour:
no freezes at all?

Additional Context
I'm running the current stable version of Vintage Story 1.16.4 and I downloaded the current version of this mod from https://mods.vintagestory.at/

My PC is a Ryzen 5 3600 with 32GB RAM and a Radeon RX570 gpu. My OS is Kubuntu 21.10 with mesa drivers.

I have no other mods activated.

[BUG] Crash when stepping on Translocator as it powers up

I accidentially stepped on a TL just as it finished powering up. I had manually deleted the waypoint for "broken translocator" before doing that. Crash to desktop. Stacktrace attached.

Running on 64 bit Linux with 15 GB. 
Game Version: v1.16.5 (Stable)
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
8/11/2022 8:21:52 PM: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object
  at ApacheTech.VintageMods.Core.Extensions.Game.PositionExtensions.RelativeToSpawn (Vintagestory.API.MathTools.BlockPos pos) [0x0001b] in <428cb076035d4d9383baaaa5315a215c>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.Extensions.BlockEntityStaticTranslocatorExtensions.AddWaypoint (Vintagestory.API.MathTools.BlockPos sourcePos, Vintagestory.API.MathTools.BlockPos destPos, System.String titleTemplate) [0x00006] in <428cb076035d4d9383baaaa5315a215c>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.Extensions.BlockEntityStaticTranslocatorExtensions.AddWaypointsForEndpoints (Vintagestory.GameContent.BlockEntityStaticTranslocator translocator, System.String titleTemplate) [0x0000e] in <428cb076035d4d9383baaaa5315a215c>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Features.ManualWaypoints.TranslocatorWaypoints.DefaultHandler (System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x00167] in <428cb076035d4d9383baaaa5315a215c>:0 
  at ApacheTech.VintageMods.FluentChatCommands.Client.FluentClientCommand.CallHandler (System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x00102] in <428cb076035d4d9383baaaa5315a215c>:0 
  at Vintagestory.API.Common.ClientChatCommand.CallHandler (Vintagestory.API.Common.IPlayer player, System.Int32 groupId, Vintagestory.API.Common.CmdArgs args) [0x00000] in <0e4a7b5cab644d0da9e4f27ccd6e0015>:0 
  at Vintagestory.Client.NoObf.HudDialogChat.HandleClientCommand (System.Int32 groupid, System.String command, Vintagestory.API.Common.CmdArgs arguments) [0x00036] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.HudDialogChat.HandleClientCommand (System.String message, System.Int32 groupid) [0x0003f] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.HudDialogChat.OnNewClientOnlyChatLine (System.Int32 groupId, System.String message, Vintagestory.API.Common.EnumChatType chattype, System.String data) [0x0001e] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientEventManager.TriggerNewModChatLine (System.Int32 groupid, System.String message, Vintagestory.API.Common.EnumChatType chattype, System.String data) [0x00015] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientMain.SendMessageToClient (System.String message) [0x00000] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientCoreAPI.TriggerChatMessage (System.String message) [0x00000] in <8316c93e98ed421da4237893dc4beacf>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.Patches.BlockEntityStaticTranslocatorPatches+<>c.<Patch_BlockStaticTranslocator_OnEntityCollide_Prefix>b__0_0 () [0x00005] in <428cb076035d4d9383baaaa5315a215c>:0 
  at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks (System.Single deltaTime) [0x0008c] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainGameLoop (System.Single deltaTime) [0x0004e] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _esGsESICkihAc8ShXuIoQwZFwP4._lPY9uZeagiMGC6tvSE11dF7naaz (System.Single ) [0x0004d] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _8UC8FAMhwKY89IbtSRDjsNSApPJ._KbwUAfxjCHyIG0aK445AAA9FHl5 (System.Single ) [0x00079] in <8316c93e98ed421da4237893dc4beacf>:0 
  at _8UC8FAMhwKY89IbtSRDjsNSApPJ._R0wAt2N0TpONMxGD0HJG3bDrRcI (System.Single ) [0x000cc] in <8316c93e98ed421da4237893dc4beacf>:0 
  at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00141] in <8316c93e98ed421da4237893dc4beacf>:0 
  at (wrapper delegate-invoke) System.EventHandler`1[OpenTK.FrameEventArgs].invoke_void_object_TEventArgs(object,OpenTK.FrameEventArgs)
  at OpenTK.GameWindow.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.OnRenderFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.RaiseRenderFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.DispatchRenderFrame () [0x00038] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x00104] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf._vvUTh6X5xLRNnjtX2xSE7z8yMeh (_SUsdg1ytavxaRcNNkhfDrODGhGP , System.String[] ) [0x003dc] in <ba2a76e506144f5084a46453a8f22fe3>:0 
  at _7zNxEbLnuy6Bq08TdMSIu9ZbrKf+_qZniT2fgiisIkqrp5iz6vEDMUVc._ZnDyalsB0FQk8So5sLBjhW87hXD () [0x00000] in <ba2a76e506144f5084a46453a8f22fe3>:0 
  at _yA4PJazdKq1OMm8H6js6v5AhQB._vvUTh6X5xLRNnjtX2xSE7z8yMeh (System.Threading.ThreadStart ) [0x00007] in <8316c93e98ed421da4237893dc4beacf>:0 

[BUG] Broken TL -> Broken Campaign Cartographer in v.1.18.5

Describe the Bug:

Walking on a broken TL in v1.18.5 crashes the game.
Seems some API stuff has changed.

To Reproduce:
Step on a broken TL triggering "AddBrokenTranslocatorWaypoint"

Expected Behaviour:
Broken TL added to map, Game not crashing.

Additional Context

Game Version: v1.18.5 (Stable)
5/20/2023 1:33:46 PM: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Involved Harmony IDs: ApacheTech.VintageMods.CampaignCartographer, Version=3.1.1.0, Culture=neutral, PublicKeyToken=null
System.MissingFieldException: Field not found: Vintagestory.API.Common.Entities.SyncedEntityPos Vintagestory.API.Common.Entities.Entity.Pos Due to: Could not find field in class
  at ApacheTech.VintageMods.CampaignCartographer.Domain.Extensions.BlockEntityStaticTranslocatorExtensions.AddBrokenTranslocatorWaypoint (Vintagestory.GameContent.BlockStaticTranslocator block, Vintagestory.API.MathTools.BlockPos blockPos) [0x0007a] in <421053c2577a464d8dba3d4e24b8006a>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Domain.Extensions.BlockEntityStaticTranslocatorExtensions.ProcessWaypoints (Vintagestory.GameContent.BlockStaticTranslocator block, Vintagestory.API.MathTools.BlockPos blockPos) [0x00035] in <421053c2577a464d8dba3d4e24b8006a>:0 
  at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.Patches.AutoWaypointsPatches.Patch_BlockStaticTranslocator_OnEntityCollide_Postfix (Vintagestory.GameContent.BlockStaticTranslocator __instance, Vintagestory.API.Client.ICoreClientAPI ___api, Vintagestory.API.Common.Entities.Entity entity, Vintagestory.API.MathTools.BlockPos pos) [0x0006a] in <421053c2577a464d8dba3d4e24b8006a>:0 
  at (wrapper dynamic-method) Vintagestory.GameContent.BlockStaticTranslocator.Vintagestory.GameContent.BlockStaticTranslocator.OnEntityCollide_Patch1(Vintagestory.GameContent.BlockStaticTranslocator,Vintagestory.API.Common.IWorldAccessor,Vintagestory.API.Common.Entities.Entity,Vintagestory.API.MathTools.BlockPos,Vintagestory.API.MathTools.BlockFacing,Vintagestory.API.MathTools.Vec3d,bool)
  at Vintagestory.API.MathTools.CollisionTester.ApplyTerrainCollision (Vintagestory.API.Common.Entities.Entity entity, Vintagestory.API.Common.Entities.EntityPos entitypos, System.Single dtFac, Vintagestory.API.MathTools.Vec3d& outposition, System.Single stepHeight, System.Single YExtra) [0x000f8] in <151670ea5af9488c97adc6d4637134de>:0 
  at Vintagestory.GameContent.EntityBehaviorControlledPhysics.DisplaceWithBlockCollision (Vintagestory.API.Common.Entities.EntityPos pos, Vintagestory.API.Common.EntityControls controls, System.Single dt) [0x004dd] in <69de5a339ebb4c3fa1adee48b5e2f77c>:0 
  at Vintagestory.GameContent.EntityBehaviorControlledPhysics.TickEntityPhysics (Vintagestory.API.Common.Entities.EntityPos pos, Vintagestory.API.Common.EntityControls controls, System.Single dt) [0x0038d] in <69de5a339ebb4c3fa1adee48b5e2f77c>:0 
  at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.TickEntityPhysicsPre (Vintagestory.API.Common.Entities.Entity entity, System.Single dt) [0x002ca] in <69de5a339ebb4c3fa1adee48b5e2f77c>:0 
  at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.onPhysicsTick (System.Single deltaTime) [0x000ca] in <69de5a339ebb4c3fa1adee48b5e2f77c>:0 
  at Vintagestory.GameContent.EntityBehaviorPlayerPhysics.OnRenderFrame (System.Single deltaTime, Vintagestory.API.Client.EnumRenderStage stage) [0x0000e] in <69de5a339ebb4c3fa1adee48b5e2f77c>:0 
  at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage (Vintagestory.API.Client.EnumRenderStage stage, System.Single dt) [0x00021] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage (Vintagestory.API.Client.EnumRenderStage stage, System.Single dt) [0x00028] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop (System.Single dt) [0x000e1] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.NoObf.ClientMain.MainGameLoop (System.Single deltaTime) [0x00047] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary (System.Single dt) [0x0004d] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.ScreenManager.Render (System.Single dt) [0x00079] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.ScreenManager.OnNewFrame (System.Single dt) [0x000cc] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00141] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 
  at (wrapper delegate-invoke) System.EventHandler`1[OpenTK.FrameEventArgs].invoke_void_object_TEventArgs(object,OpenTK.FrameEventArgs)
  at OpenTK.GameWindow.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.OnRenderFrameInternal (OpenTK.FrameEventArgs e) [0x00010] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.RaiseRenderFrame (System.Double elapsed, System.Double& timestamp) [0x0000c] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.DispatchRenderFrame () [0x00038] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x00104] in <a4886e33f9fc416195d24950e7205b94>:0 
  at OpenTK.GameWindow.Run () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0 
  at Vintagestory.Client.ClientProgram.Start (Vintagestory.Client.ClientProgramArgs args, System.String[] rawArgs) [0x00421] in <7d5fb1e20c2d4f78b3ed4d46805c0e78>:0 
  at Vintagestory.Client.ClientProgram+<>c__DisplayClass16_0.<.ctor>b__0 () [0x00000] in <7d5fb1e20c2d4f78b3ed4d46805c0e78>:0 
  at Vintagestory.ClientNative.CrashReporter.Start (System.Threading.ThreadStart start) [0x00007] in <1f3460e41e8b4f5c9909b9730ecb932a>:0 

Crash on trying to break a block while in settings menu

Describe the Bug:
Game crashes on trying to break the block in creative mod while settings menu (.wpSettings) is opened.

To Reproduce:

  1. Load single player world
  2. Get creative gamemode
  3. Make sure you aiming at some block
  4. Run .wpSettings command
  5. While window is opened, hover a mouse out of window area
  6. Press Alt and Left-click at the same time, thus, breaking the block
  7. Game crashes

Expected Behaviour:
It locks controls

Additional Context

Running on 64 bit Windows with 16 GB RAM 
Version: v1.16.0 (Stable)01/12/2022 22:10:27: Critical error occurred
System.Exception: Call to RegisterCallback while game is paused
   at Vintagestory.Client.NoObf.ClientMain.RegisterCallback(Action`1 OnTimePassed, Int32 millisecondDelay)
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
   at _lb8GGBWOchQLOU3RFFw58Ijkh1D._uA6fxRiik2om8WbTxul2Dtkekip(Single )
   at _vFhcDU5n6Z0hUte90jdaxlrDjR5._HuDdfzha8ZKZvU2y0RbH58r7VzR(Single )
   at _vFhcDU5n6Z0hUte90jdaxlrDjR5._XZOFA2JA54yZjH15yys9W7vL9hj(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) 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 _FKpOpQGqqf3cJWdQyWh1ysxsDBb._pYad7oBcQ5qtzQkYGDu4NFHQxhK(_5x3PJgrln4IBXPDNSNN0fecxKFb , String[] )
   at _sejP0Tcz8wTg70ptIdRr3CwQmrE._pYad7oBcQ5qtzQkYGDu4NFHQxhK(ThreadStart )

Crash Report

Just installed the mod. It is an existing world.

This happened when trying to pick berries with that feature enabled to auto waypoint berries.

Running on 64 bit Windows with 65484 MB RAM
Game Version: v1.18.15 (Stable)
04-Dec-23 01:02:24: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected]
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
at ApacheTech.VintageMods.CampaignCartographer.Services.WaypointTemplates.Extensions.WaypointTemplateExtensions.AddToMap(CoverageWaypointTemplate waypoint, BlockPos position, Boolean force)
at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.AddWaypointFor(Block block, String syntax)
at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleBerries(Block block)
at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleInteraction(Block block)
at Vintagestory.API.Common.Block.OnBlockInteractStart_Patch1(Block this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.GameContent.BlockBerryBush.OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel) in VSSurvivalMod\Block\BlockBerryBush.cs:line 53
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 888
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 = 03-Dec-23 23:25:42, Site = , Source = Windows Error Reporting, Message = Fault bucket 2007150627803250050, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.18.15.0
P3: 64e841c5
P4: openal32.dll
P5: 1.23.0.0
P6: 63dd31ad
P7: 40000015
P8: 00000000000df046
P9:
P10:

Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1261.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1689.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER16C8.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER16C6.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1706.tmp.txt

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_3278c09e339ad58fdb4a48929ddf95e5f2060ca_ee8069fc_75fa4272-5a23-48a1-bd84-b429f4a69f0c

Analysis symbol:
Rechecking for solution: 0
Report Id: 9499e819-596b-4d44-94a9-6d74c84cff10
Report Status: 268566528
Hashed bucket: 38dd2bbe130a69d3fbdad4dc94ea3d82
Cab Guid: 0 }

{ TimeGenerated = 03-Dec-23 23:25:40, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.18.15.0, time stamp: 0x64e841c5
Faulting module name: openal32.dll, version: 1.23.0.0, time stamp: 0x63dd31ad
Exception code: 0x40000015
Fault offset: 0x00000000000df046
Faulting process id: 0x8b7c
Faulting application start time: 0x01da266f119710ae
Faulting application path: D:\Games\Vintagestory\Vintagestory.exe
Faulting module path: D:\Games\Vintagestory\Lib\openal32.dll
Report Id: 9499e819-596b-4d44-94a9-6d74c84cff10
Faulting package full name:
Faulting package-relative application ID: }

{ TimeGenerated = 03-Dec-23 23:01:46, Site = , Source = Windows Error Reporting, Message = Fault bucket 1377594439300157858, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.18.15.0
P3: 64e841c5
P4: coreclr.dll
P5: 7.0.1023.36312
P6: 64b06d6c
P7: c0000005
P8: 00000000001c98a6
P9:
P10:

Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2DF3.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER318E.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER31BE.tmp.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER31BC.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER31FB.tmp.txt

These files may be available here:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_e79e3971d3dc9c44f0fc338fc32e6ee079105ae_ee8069fc_a98d2a1a-17f5-4c99-8af0-c01d621bb10d

Analysis symbol:
Rechecking for solution: 0
Report Id: 36593d98-e51b-4701-8f0d-f774d151b6ec
Report Status: 268435456
Hashed bucket: 84e15e300826aa29031e32d7ff0a11a2
Cab Guid: 0 }

[BUG] Auto Waypoints stopped working in 1.17.9 Stable

Describe the Bug:
When touching items (surface deposits, berry bushes, traders) the game no longer adds automatic waypoints. Friends have tried to install mod new, but same issues happen. Manual Waypoint system and Settings menu still seem to work.

To Reproduce:
Steps to reproduce the behaviour:
Start or join a game.
Make sure automatic waypoints are enabled in the .wpauto dialogue
Do something that would create a waypoint

Expected Behaviour:
A waypoint is created

Additional Context
Was working in 1.17.8, no longer working in 1.17.9

[BUG] Crash on trying to create a waypoint in 1.18

Describe the Bug:
Crash on trying to create a waypoint using .wp command in 1.18.0-pre.1

To Reproduce:

  1. Type .wp copper in the chat
  2. It crashes

Additional Context

Running on 64 bit Windows with 16 GB RAM 
Game Version: v1.18.0-pre.1 (Unstable)
2023-02-24 15:55:08: Critical error occurred
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
   at ApacheTech.VintageMods.CampaignCartographer.Services.WaypointTemplates.Extensions.WaypointTemplateExtensions.AddToMap(CoverageWaypointTemplate waypoint, BlockPos position, Boolean force)
   at Vintagestory.Common.ChatCommandApi.<>c__DisplayClass25_0.<RegisterCommand>b__0(TextCommandCallingArgs args) in VintagestoryLib\Common\API\Command\ChatCommandApi.cs:line 269
   at Vintagestory.Common.ChatCommandImpl.callHandler(TextCommandCallingArgs callargs, Action`1 onCommandComplete, Dictionary`2 asyncParseResults) in VintagestoryLib\Common\API\Command\ChatCommandImpl.cs:line 282
   at Vintagestory.Client.NoObf.HudDialogChat.HandleClientCommand(String message, Int32 groupid) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 783
   at Vintagestory.Client.NoObf.HudDialogChat.OnNewClientToServerChatLine(Int32 groupId, String message, EnumChatType chattype, String data) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 735
   at Vintagestory.Client.NoObf.ClientEventManager.TriggerNewClientChatLine(Int32 groupid, String message, EnumChatType chattype, String data) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 337
   at Vintagestory.Client.NoObf.HudDialogChat.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\Systems\Gui\Huds\HudDialogChat.cs:line 550
   at Vintagestory.Client.NoObf.GuiManager.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 361
   at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 2175
   at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(Object sender, KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 250
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at OpenTK.Platform.NativeWindowBase.OnKeyDown(Key key, Boolean repeat) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\NativeWindowBase.cs:line 130
   at OpenTK.Platform.Windows.WinGLNative.HandleKeyboard(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 646
   at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 828
   at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
   at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1551
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 369
   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

[BUG] Cairo.Surface is leaking

Describe the Bug:
I get this messages like these on stdout (not saved in logs) when using the mod:

Cairo.Surface is leaking, programmer is missing a call to Dispose
Set env var CAIRO_DEBUG_DISPOSE to track allocation traces
Cairo.Context is leaking, programmer is missing a call to Dispose
Set env var CAIRO_DEBUG_DISPOSE to track allocation traces

Setting the env var gives additional info, here's and example:

Allocated from:
  at System.Environment.get_StackTrace () [0x00000] in <62b430b945fa49a19a75382ef03e7bed>:0
  at Cairo.CairoDebug.OnAllocated (System.IntPtr obj) [0x00000] in <9157d36272c14477a7c3607dfa4c8e07>:0
  at Cairo.Surface..ctor (System.IntPtr handle, System.Boolean owner) [0x00000] in <9157d36272c14477a7c3607dfa4c8e07>:0
  at Cairo.ImageSurface..ctor (Cairo.Format format, System.Int32 width, System.Int32 height) [0x00000] in <9157d36272c14477a7c3607dfa4c8e07>:0
  at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.GetTexture (System.Drawing.Color colour, System.Int32 scale) [0x00000] in <1cf8aeabdbaa4c7a98354f53b977190f>:0
  at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.LoadTexture (System.Drawing.Color colour, System.Int32 scale) [0x00000] in <1cf8aeabdbaa4c7a98354f53b977190f>:0
  at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerMapLayerPatches.Patch_PlayerMapLayer_OnMapOpenedClient_Prefix () [0x00000] in <1cf8aeabdbaa4c7a98354f53b977190f>:0
  at Vintagestory.GameContent.PlayerMapLayer.Vintagestory.GameContent.PlayerMapLayer.OnMapOpenedClient_Patch1 (Vintagestory.GameContent.PlayerMapLayer ) [0x00000] in <04d3c746e06f4d8e990e2386d88dd15a>:0
  at Vintagestory.GameContent.WorldMapManager.ToggleMap (Vintagestory.API.Client.EnumDialogType asType) [0x00000] in <04d3c746e06f4d8e990e2386d88dd15a>:0
  at Vintagestory.GameContent.WorldMapManager.OnLvlFinalize () [0x00000] in <04d3c746e06f4d8e990e2386d88dd15a>:0
  at Vintagestory.Client.NoObf.ClientEventAPI.TriggerLevelFinalize () [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleLevelFinalize (_7A4hVCSSRR17yznWdHRoGbqQELi packet) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Client.NoObf.ProcessPacketTask.ProcessPacket (_7A4hVCSSRR17yznWdHRoGbqQELi packet) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Client.NoObf.ProcessPacketTask.Run () [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks (System.Single deltaTime) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at _ERuaOm7y6SVjkUDtKCsFEftwhXv._agvCwqz5CnRzQD89niNFAJ17lmC (System.Single ) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at _GOrIbcQzY3GhtLg2IA4LWkKoHMd._6FLwi5lpfFy558i6jfegfqSXFtF (System.Single ) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at _GOrIbcQzY3GhtLg2IA4LWkKoHMd._j4GEgZGY3yLCneAqtSumJ1KWJte (System.Single ) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame (System.Object sender, OpenTK.FrameEventArgs e) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at OpenTK.GameWindow.OnRenderFrame (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at OpenTK.GameWindow.OnRenderFrameInternal (OpenTK.FrameEventArgs e) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at OpenTK.GameWindow.RaiseRenderFrame (System.Double elapsed, System.Double& timestamp) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at OpenTK.GameWindow.DispatchRenderFrame () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at OpenTK.GameWindow.Run (System.Double updates_per_second, System.Double frames_per_second) [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at OpenTK.GameWindow.Run () [0x00000] in <a4886e33f9fc416195d24950e7205b94>:0
  at _8BjY9BN21hsFddzkQZc9tbMlpVN._HviuT5VYYDU9qGlJh1elYTk082b (_hxNGdplJeipiq0HEVeGbZvJX0CDA , System.String[] ) [0x00000] in <96286b84ba2d4782b6afc0c2655174ca>:0
  at _8BjY9BN21hsFddzkQZc9tbMlpVN+_38offv2pF9cfj1fbOSl2ItB1qKH._zhsGAZwAJLBr2PlaMDu1BzlfJH9 () [0x00000] in <96286b84ba2d4782b6afc0c2655174ca>:0
  at _TktYYz6xXh4DsPktoVWPRMJ9BdG._HviuT5VYYDU9qGlJh1elYTk082b (System.Threading.ThreadStart ) [0x00000] in <51d71403970348a48fd088cfc0bd201e>:0
  at _8BjY9BN21hsFddzkQZc9tbMlpVN..ctor (System.String[] ) [0x00000] in <96286b84ba2d4782b6afc0c2655174ca>:0
  at _8BjY9BN21hsFddzkQZc9tbMlpVN._p3mA0cKFK6BljifVezCewkFIJrsb (System.String[] ) [0x00000] in <96286b84ba2d4782b6afc0c2655174ca>:0

[BUG] auto waypoints stopped working with 1.16.4 stable

Describe the Bug:
When a game is started or joined, the .wpauto dialogue is blank the first time. Even when setting things, such as surface deposits, no new waypoint is added when something is picked up. This worked fine with the game version 1.16.3

To Reproduce:

  1. Start or join a game.
  2. Make sure automatic waypoints are enabled in the .wpauto dialogue
  3. Do something that would create a waypoint

Expected Behaviour:
A waypoint is created.

Additional Context
Only happened after upgrading from 1.16.3 to 1.16.4

[BUG] Crash on attempting to harvest resin

Describe the Bug:
Loaded Mods:
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected] (this is my simple waypoint import/export mod, and should not interfere with the auto waypoint feature),
[email protected]

When harvesting a sap tree that contained an auto waypoint from a previous version of the mod, the game crashed, showing the stack trace below. I am guessing one of my installed mods is an incompatibility and will try to isolate the offending mod, but I figured I'd make a bug report so you are aware

To Reproduce:
Steps to reproduce the behaviour:

  • Use the mod list in my game, with auto waypoints on, try to do an action that creates an auto waypoint (in my case, harvesting resin). It might need to be in an area where a waypoint from a previous version was already created

Expected Behaviour:
I expected the game to not crash when harvesting the resin

Additional Context

Game Version: v1.17.2 (Stable)
9/8/2022 8:46:46 PM: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Involved Harmony IDs: ApacheTech.VintageMods.CampaignCartographer, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
System.TypeInitializationException: The type initializer for 'Gantry.Services.FileSystem.Features.SettingsConsumer`1' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(MethodBase method)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetIdentifiable(MethodBase method)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
   at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
   at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
   at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at HarmonyLib.PatchProcessor.Patch()
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableObject`1..ctor(T instance)
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1..ctor(T instance, String featureName, FileScope scope)
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1.Bind(T instance, String featureName, FileScope scope)
   at Gantry.Services.FileSystem.Configuration.JsonSettingsFile.Feature[T](String featureName)
   at Gantry.Services.FileSystem.Features.SettingsConsumer`1..cctor()
   --- End of inner exception stack trace ---
   at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleResin(Block block)
   at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleInteraction(Block block)
   at Vintagestory.API.Common.Block.OnBlockInteractStart_Patch4(Block 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 890
   at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 536
   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 199
   at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1176
   at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1364
   at Vintagestory.Client.GuiScreenRunningGame.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 204
   at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 711
   at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 615
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 132
   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
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(MethodBase method)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetIdentifiable(MethodBase method)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
   at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
   at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
   at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
   at HarmonyLib.PatchProcessor.Patch()
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableObject`1..ctor(T instance)
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1..ctor(T instance, String featureName, FileScope scope)
   at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1.Bind(T instance, String featureName, FileScope scope)
   at Gantry.Services.FileSystem.Configuration.JsonSettingsFile.Feature[T](String featureName)
   at Gantry.Services.FileSystem.Features.SettingsConsumer`1..cctor()
System.InvalidProgramException: Common Language Runtime detected an invalid program.
   at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)

Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 9/4/2022 12:24:50 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 2006920362229108847, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.17.2.0
P3: 10.0.19044.2.0.0
P4: 
P5: 
P6: 
P7: 
P8: 
P9: 
P10: 

Attached files:
\\?\C:\Users\event\AppData\Local\Temp\RDR7E81.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E82.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E93.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7EA0.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7ED0.tmp.txt

These files may be available here:


Analysis symbol: 
Rechecking for solution: 0
Report Id: dc9b5b02-a95a-4138-96b9-7b1ed11346ea
Report Status: 268435456
Hashed bucket: da2be6635593937aebda036fb32a106f
Cab Guid: 0 }
--------------
{ TimeGenerated = 8/4/2022 11:33:01 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 2177858694758095880, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0

Problem signature:
P1: Vintagestory.exe
P2: 1.17.0.0
P3: 10.0.19044.2.0.0
P4: 
P5: 
P6: 
P7: 
P8: 
P9: 
P10: 

Attached files:
\\?\C:\Users\event\AppData\Local\Temp\RDR4417.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4418.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4419.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4412.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4432.tmp.txt

These files may be available here:


Analysis symbol: 
Rechecking for solution: 0
Report Id: 672d846b-a7d1-4393-8b5e-b7f8ee3b7633
Report Status: 268435456
Hashed bucket: cd7dc5185a521ef09e394ef1b00d5c08
Cab Guid: 0 }```

Mod not starting on server

Describe the Bug:
mod not starting on mp server

To Reproduce:
install mod to mods folder on 1.16.1 mp server and start server

Expected Behaviour:
mod loads and work

Additional Context
logs

[Error] [campaigncartographer] An exception was thrown when trying to start the mod:
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
   в System.Object.GetType()
   в ApacheTech.Common.DependencyInjection.ServiceCollection.RegisterSingleton[TService](TService instance)
   в ApacheTech.VintageMods.Core.Hosting.DependencyInjection.Registration.ServerApiRegistrar.RegisterServerApiEndpoints(IServiceCollection container)
   в ApacheTech.Common.DependencyInjection.Extensions.HostExtensions.Configure(IServiceCollection services, Action`1 serviceRegistrationFactory)
   в ApacheTech.VintageMods.Core.Hosting.ModHost.BuildServerHost(ICoreServerAPI sapi)
   в ApacheTech.VintageMods.Core.Hosting.ModHost.StartPre(ICoreAPI api)
   в Vintagestory.Common.ModLoader.TryStartSystem(Mod mod, ModSystem system, ICoreAPI api, ModEventPhase phase)```

[FEATURE] save global coordinate offset in export

All exported way-points are saved in global coordinates. Without knowledge of the server-settings for world-size there seems to be no way to convert them into the local coordinates a typical user would be accustomed to.

Saving the offset from global to spawn-relative coordinates in the exported JSON would make life easier for external tools importing the data. (I am writing a pathfinder and the global / local conversion annoys me)

[BUG] Crash on world gen start (seems linked to mod combination)

Describe the Bug:
This issue seems correlated with having both Campaign Cartographer (2.1.1) and Ancient Tools (1.4.0) enabled, however the only exception I see is CC so I am posting it here.

I generate a new world and as it is about to start the game it says 8.3.2022 10:13:09 [Notification] Server stop requested, begin shutdown sequence. Stop reason: Exception thrown by server during startup or process however, I don't find any exceptions in the server logs, but rather one in the client log which references CC (see below)

After this the game is left unable to read the save file until restarted (long wait to see world list, shows as corrupted, but will load after a restart). I suspect an unclosed file handle?

To Reproduce:
I'm using single player, 1.16.4 (stable) on Win 10. This happened multiple times when I generated a new world (settings). Happened with both 2.1.0 (yesterday) and 2.1.1 (today)

Though my number of tests was limited, this happened 4/4 times with my full mod list (see below). It happened 1/1 with just Alchemy, CC and Ancient Tools. It happened 2/2 with just CC and Ancient Tools. It did not happen 1/1 with just CC as my only mod. It did not happen 1/1 with my full mod list except Ancient Tools.

The same exception is thrown by CC if I attempt to load one of the failing worlds after I turn off Ancient Tools.

Expected Behaviour:
I expect the game to start after world generation.

Additional Context
8.3.2022 10:13:09 [Fatal] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'Vintagestory.Server.ServerCoreAPI' to type 'Vintagestory.API.Client.ICoreClientAPI'. at ApacheTech.VintageMods.CampaignCartographer.Features.PlayerPins.Patches.PlayerPinsPatches.Patch_PlayerMapLayer_Constructor_Postfix(ICoreAPI api, IWorldMapManager mapsink) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at Vintagestory.GameContent.WorldMapManager.OnLoaded() at Vintagestory.Server.ServerEventAPI.OnServerStage(EnumServerRunPhase runPhase) at Vintagestory.Server.ServerMain.EnterRunPhase(EnumServerRunPhase runPhase) at Vintagestory.Server.ServerMain.Launch() at _TRhArnJABwZoV9Vt7Ld2l65Xzgg._55FJfeMcDB5NT6lsb5fDE3bzUPI()

My mod list (ignore the Linux format, I am running the game on Windows 10, just used WSL to copy paste directory content):

-rwxrwxrwx 1 nova nova 899K Mar  7 16:03 AncientTools_V1.4.0.zip
-rwxrwxrwx 1 nova nova 496K Mar  8 10:08 ApacheTech.VintageMods.CampaignCartographer_v2.1.1.zip
-rwxrwxrwx 1 nova nova  33K Mar  7 16:20 CarryCapacity-VS1.16.0-v0.6.5.zip
-rwxrwxrwx 1 nova nova 1.8M Mar  8 00:27 CreaturesandCritters1.1.8.zip
-rwxrwxrwx 1 nova nova 128K Mar  7 16:13 FromGoldenCombs-v1.3.6-rc.5.zip
-rwxrwxrwx 1 nova nova 999K Mar  7 16:09 PackAnimals1.0.0.zip
-rwxrwxrwx 1 nova nova 145K Mar  7 16:48 VSHUD.dll
-rwxrwxrwx 1 nova nova 528K Mar  7 16:18 ViesCraftMachines-VS1.16.4-v1.9.0.zip
-rwxrwxrwx 1 nova nova 1.5M Mar  7 16:00 alchemy-1.6.0.zip
-rwxrwxrwx 1 nova nova 657K Mar  7 16:36 cats_v1.3.4_petai_v1.3.+.zip
-rwxrwxrwx 1 nova nova 150K Mar  7 16:33 hudclock-2.7.0.zip
-rwxrwxrwx 1 nova nova 1.1M Mar  7 16:08 petai_v1.3.6.zip
-rwxrwxrwx 1 nova nova 383K Mar  7 16:06 wildcraft-v1.2.1.zip

Edit: Fixed name of Ancient Tools (initially had typed Primitive Tools)

[Open For Discussion] "Inactive" players cannot be found on map.

did .cm plr Pallafintius (name of a player) like 2 mins after he logged in, i crashed
6 mins after his log in actually
last part of my client-main

Running on 64 bit Windows with 16 GB RAM
Game Version: v1.16.1-rc.2 (Unstable)
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
2022-01-19 00:49:44: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ApacheTech.VintageMods.CampaignCartographer.Features.CentreMap.CentreMapClient.OnPlayerOption(String subCommandName, Int32 groupId, CmdArgs args)
at Vintagestory.Client.NoObf.HudDialogChat.OnNewClientToServerChatLine(Int32 groupId, String message, EnumChatType chattype, String data)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerNewClientChatLine(Int32 groupid, String message, EnumChatType chattype, String data)
at Vintagestory.Client.NoObf.HudDialogChat.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.GuiManager.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(Object sender, KeyboardKeyEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.NativeWindowBase.OnKeyDown(Key key, Boolean repeat) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\NativeWindowBase.cs:line 129
at OpenTK.Platform.Windows.WinGLNative.HandleKeyboard(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 639
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 828
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1554
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 368
at _onk6uFpqwcbPW6YzuZhhUdPywZf._VX8KgZtGV3ZCueYlgfrjdPvyuhh(_eyDkp85wcsatK4hyRtVBSqG8y9l , String[] )
at _RE6vupBBnuxpHTQrO531ET777xk._VX8KgZtGV3ZCueYlgfrjdPvyuhh(ThreadStart )

Event Log entries containing Vintagestory.exe, the latest 3

{ TimeGenerated = 2022-01-18 20:09:26, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.16.1.0, time stamp: 0x61e3e36b
Faulting module name: nvoglv64.dll, version: 30.0.14.9649, time stamp: 0x617068e7
Exception code: 0xc0000409
Fault offset: 0x00000000012820e5
Faulting process ID: 0x21ec
Faulting application start time: 0x01d80cce3b655cdb
Faulting application path: C:\VSTEST\Vintagestory.exe
Faulting module path: C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_44dc4eefedc0d082\nvoglv64.dll
Report ID: a347b8cf-efcb-434c-9921-7c46f5c916eb
Faulting package full name:
Faulting package-relative application ID: }

{ TimeGenerated = 2022-01-16 18:10:30, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.16.0.0, time stamp: 0x61dc5145
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1466, time stamp: 0xe01c7650
Exception code: 0xc000041d
Fault offset: 0x0000000000034f69
Faulting process ID: 0x498
Faulting application start time: 0x01d80b2e3506e888
Faulting application path: C:\VSTEST\Vintagestory.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: eb3a79e9-1ee9-4117-8648-cc615456cb74
Faulting package full name:
Faulting package-relative application ID: }

{ TimeGenerated = 2022-01-16 18:10:28, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.16.0.0, time stamp: 0x61dc5145
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1466, time stamp: 0xe01c7650
Exception code: 0xc0020001
Fault offset: 0x0000000000034f69
Faulting process ID: 0x498
Faulting application start time: 0x01d80b2e3506e888
Faulting application path: C:\VSTEST\Vintagestory.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: 81c650cb-e0d7-46a3-a7af-5fbb6522fc2d
Faulting package full name:
Faulting package-relative application ID: }

**part of the relevant client-main
19.1.2022 00:15:04 [Error] System.ArgumentOutOfRangeException: The given value was not found within the collection.
Parameter name: assetCode
Actual value was smallberrybush-blueberry-empty.
19.1.2022 00:16:25 [Error] System.ArgumentOutOfRangeException: The given value was not found within the collection.
Parameter name: assetCode
Actual value was smallberrybush-blueberry-empty.
19.1.2022 00:16:26 [Error] System.ArgumentOutOfRangeException: The given value was not found within the collection.
Parameter name: assetCode
Actual value was smallberrybush-blueberry-empty.
19.1.2022 00:20:04 [Error] System.ArgumentOutOfRangeException: The given value was not found within the collection.
Parameter name: assetCode
Actual value was bigberrybush-redcurrant-empty.
19.1.2022 00:22:04 [Error] System.ArgumentOutOfRangeException: The given value was not found within the collection.
Parameter name: assetCode
Actual value was bigberrybush-blackcurrant-flowering.
19.1.2022 00:42:57 [Warning] OpenAL Error during construction before of sound game:sounds/creature/drifter-idle1.ogg: InvalidValue
19.1.2022 00:49:44 [Fatal] Game Version: v1.16.1-rc.2 (Unstable)
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
2022-01-19 00:49:44: Critical error occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at ApacheTech.VintageMods.CampaignCartographer.Features.CentreMap.CentreMapClient.OnPlayerOption(String subCommandName, Int32 groupId, CmdArgs args)
at Vintagestory.Client.NoObf.HudDialogChat.OnNewClientToServerChatLine(Int32 groupId, String message, EnumChatType chattype, String data)
at Vintagestory.Client.NoObf.ClientEventManager.TriggerNewClientChatLine(Int32 groupid, String message, EnumChatType chattype, String data)
at Vintagestory.Client.NoObf.HudDialogChat.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.GuiManager.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args)
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(Object sender, KeyboardKeyEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e) at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.NativeWindowBase.OnKeyDown(Key key, Boolean repeat) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\NativeWindowBase.cs:line 129
at OpenTK.Platform.Windows.WinGLNative.HandleKeyboard(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 639
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 828
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1554
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 368
at _onk6uFpqwcbPW6YzuZhhUdPywZf._VX8KgZtGV3ZCueYlgfrjdPvyuhh(_eyDkp85wcsatK4hyRtVBSqG8y9l , String[] )
at _RE6vupBBnuxpHTQrO531ET777xk._VX8KgZtGV3ZCueYlgfrjdPvyuhh(ThreadStart )

Crash written to file at "C:\Users\admin\AppData\Roaming\VintagestoryData\Logs\client-crash.txt"

19.1.2022 00:49:44 [Notification] Exiting game now. Server running=False. Exit reason: Game crashed

[BUG] Mod not working on entering non initial world

Describe the Bug:
If you start the client, enter a world, leave that world and then enter a world again, the mod wont work.

To Reproduce:

  1. Start game
  2. Enter singleplayer world (any)
  3. Leave world
  4. Enter singleplayer world (any)

Expected Behaviour:
The mod should actually work on non initial worlds ;)

Additional Context
I poked around a tiny bit. Game log gives

[Error] [campaigncartographer] An exception was thrown when trying to start the mod:
System.NullReferenceException: Object reference not set to an instance of an object.
   at ApacheTech.Common.DependencyInjection.Abstractions.ServiceDescriptor..ctor(Type serviceType, Object implementation, ServiceLifetime lifetime)
   at Gantry.Core.DependencyInjection.Extensions.HostExtensions.AddModSystems(IServiceCollection services)
   at Gantry.Core.DependencyInjection.ModHost.BuildClientHost(ICoreClientAPI capi)
   at Gantry.Core.DependencyInjection.ModHost.StartPreUniversal(ICoreAPI api)
   at Gantry.Core.ModSystems.Generic.ModSystemBase.StartPre(ICoreAPI api)

as the first exception, then several other errors for the mod.

Debugger suggests something amiss in the game mod systems records. ApacheTech.VintageMods.CampaignCartographer.Services.ModMenu.ModMenu seems to have gone missing here.
image
Predictably, ServiceDescriptor constructor then barfs and things start to tumble from there.

This may be a cause for #32. Everything works fine if you just launch a world, then quit the client. Things dont work if you leave the world, but dont close the client.

Change name of `Syntax` to `Keyword` or `Tag`.

To make it more intuitive to use, the phrase Syntax should be replaced with either Keyword or Tag.

Overview:

Initially, syntax was just an internal variable, taking the phraseology of the chat command system. However, now we have a GUI, it needs to be a lot more obvious what these jargon words actually mean.

Outcome

I'm leaning towards Keyword over Tag, because usually, tags are ancillary to the entry, and are usually multiple. A single Keyword to identify the entry works better than a single Tag to identify the entry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.