Mods / Custom Player Pins

Category: #QoL
Author: Doombox
Side: Client
Created: Jun 25th 2021 at 8:48 AM
Last modified: Jun 25th 2021 at 8:50 AM
Downloads: 610
Follow Unfollow 7

Latest file for v1.14.10:
CustomPlayerPins.dll 1-click install


Custom Player Pins

A relatively simple code-only client-side mod that allows you to change the color and size of your own pin as well as other players'.

Access the menu with Shift+M by default.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.0 610 Jun 25th 2021 at 8:50 AM Show CustomPlayerPins.dll Install now

3 Comments (oldest first | newest first)

💬 DoctorDDub, May 20th 2022 at 12:51 AM

I'd love to use this mod, however whenever I launch the menu with Shift+M, my game crashes. I'm using quite a few other mods so I thought it might be a conflict, but then I tried loading into a singleplayer world with this mod only (in addition to the standard Survival, Creative, and Essentials) and still experienced a crash. I have both my crash logs saved if that'd be helpful. Anyone else experiencing this?

💬 Aledark, Jul 24th 2021 at 11:56 PM

Found this in the texture debug in developer mode for your mod:

24.7.2021 14:47:33 [Warning] Texture with texture id 638 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at CustomPlayerPins.MapPinPatch.Prefix(PlayerMapLayer __instance)
at Vintagestory.GameContent.PlayerMapLayer.OnMapOpenedClient_Patch2(PlayerMapLayer this)
at Vintagestory.GameContent.WorldMapManager.ToggleMap(EnumDialogType asType)
at Vintagestory.GameContent.WorldMapManager.OnLvlFinalize()
at Vintagestory.API.Common.Action.Invoke()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleLevelFinalize(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(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 _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).

24.7.2021 14:47:33 [Warning] Texture with texture id 637 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at CustomPlayerPins.MapPinPatch.Prefix(PlayerMapLayer __instance)
at Vintagestory.GameContent.PlayerMapLayer.OnMapOpenedClient_Patch2(PlayerMapLayer this)
at Vintagestory.GameContent.WorldMapManager.ToggleMap(EnumDialogType asType)
at Vintagestory.GameContent.WorldMapManager.OnLvlFinalize()
at Vintagestory.API.Common.Action.Invoke()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleLevelFinalize(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(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 _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).

💬 Aledark, Jul 9th 2021 at 5:48 PM

Could you put diff hotkey than shift M. Automap mod already uses that hotkey. Just wondering if its possible, thanks or is there an entry in interface settings to change it?

(edit comment delete)