I don't know why others complain about errors or not working for 1.6 because this mod is great and works without any problems even if it's last updated after first half of v1.6 update (below build numbers 9) since I'm using it on v1.6.15 (above 9) with over hundreds mods with no issues whatsoever, so thanks for the mod and for anyone having issues with this mod, you can try the "light" version of this mod called "Simple Teleport To NPCs" (Nexus id:31344), not as good as this one but also works.
As for why I came, I'd like to ask two feature requests for the future. First is, if you please make ESC key not quit mod altogether but simply erase the name of the NPC from search box and a second press on ESC on empty search box should quit the mod in-game. This is because I occasionally use your mod to learn locations of several NPCs at once and every ESC makes it harder to navigate your mod. Second is, if you have the time and willingness, can you please change (or make secondary interface) your UI switch from "List View" (using Windows Explorer terminology) to "Thumbnails" view (NPC portraits shown both in vertical and horizontal as a table) so that more NPCs can be accessed at once instead of needing to use scroll at all. Locations can be shown as tooltip on NPC thumbs mouse over. Asking this because I have several big expansions installed causing over hundred NPCs and current interface becomes clunky unless there's a way to see more NPCs at once in 1 screen.
So thanks for the mod and thanks for your time. Hoping to see more of work in the future.
Go to your mods folder to find config.json for this mod and open it with Notepad (game should be closed). If you check first setting that says "banNPCListString", you'll see all banned characters separated with "|" character. So delete both accidental banned name and its | at its end (like deleting "Marlon|") from config.json then close it and start your game.
[22:00:06 ERRO Teleportar Localização do NPC] Algo deu errado ao abrir o menu npc: System.TypeLoadException: Não foi possível carregar o tipo 'StardewValley.Locations.BuildableGameLocation' do assembly 'Stardew Valley, Versão=1.6.8.24119, Cultura=neutro, PublicKeyToken=null'. em TeleportNPCLocation.ModEntry.GetAllStaticLocations() em TeleportNPCLocation.ModEntry.GetVillagers() em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/ModEntry.cs:linha 202 em TeleportNPCLocation.ModEntry.<showNPCMenu>b__15_0() em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/ModEntry.cs:linha 239 em TeleportNPCLocation.framework.CommonHelper.InterceptErrors(IMonitor monitor, String verbo, String detailedVerb, Ação ação, Ação`1 onError) em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/CommonHelper.cs:linha 72
[Teleport NPC Location] Something went wrong drawing the npc list menu:System.NullReferenceException: Object reference not set to an instance of an object. at Portraiture.ScaledTexture2D.FromTexture(Texture2D orgTexture, Texture2D scaledTexture, Single scale, Nullable`1 forcedSourceRectangle) in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\ScaledTexture2D.cs:line 67 at Portraiture.PortraitFix.Postfix(NPC __instance, Texture2D& __result, Boolean& __state) in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\PortraitsFix.cs:line 44 at StardewValley.NPC.get_Portrait_PatchedBy<Platonymous.Portraiture>(NPC this) at TeleportNPCLocation.framework.NPCMenuItem.Draw(SpriteBatch contentBatch, Vector2 position, Single width, SpriteFont font, Boolean check) in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/NPCMenuItem.cs:line 74 at TeleportNPCLocation.framework.NPCMenu.<>c__DisplayClass45_0.<draw>b__0() in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/NPCMenu.cs:line 453 at TeleportNPCLocation.framework.CommonHelper.InterceptErrors(IMonitor monitor, String verb, String detailedVerb, Action action, Action`1 onError) in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/CommonHelper.cs:line 72
76 comments
As for why I came, I'd like to ask two feature requests for the future. First is, if you please make ESC key not quit mod altogether but simply erase the name of the NPC from search box and a second press on ESC on empty search box should quit the mod in-game. This is because I occasionally use your mod to learn locations of several NPCs at once and every ESC makes it harder to navigate your mod. Second is, if you have the time and willingness, can you please change (or make secondary interface) your UI switch from "List View" (using Windows Explorer terminology) to "Thumbnails" view (NPC portraits shown both in vertical and horizontal as a table) so that more NPCs can be accessed at once instead of needing to use scroll at all. Locations can be shown as tooltip on NPC thumbs mouse over. Asking this because I have several big expansions installed causing over hundred NPCs and current interface becomes clunky unless there's a way to see more NPCs at once in 1 screen.
So thanks for the mod and thanks for your time. Hoping to see more of work in the future.
System.TypeLoadException: Não foi possível carregar o tipo 'StardewValley.Locations.BuildableGameLocation' do assembly 'Stardew Valley, Versão=1.6.8.24119, Cultura=neutro, PublicKeyToken=null'.
em TeleportNPCLocation.ModEntry.GetAllStaticLocations()
em TeleportNPCLocation.ModEntry.GetVillagers() em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/ModEntry.cs:linha 202
em TeleportNPCLocation.ModEntry.<showNPCMenu>b__15_0() em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/ModEntry.cs:linha 239
em TeleportNPCLocation.framework.CommonHelper.InterceptErrors(IMonitor monitor, String verbo, String detailedVerb, Ação ação, Ação`1 onError) em /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/CommonHelper.cs:linha 72
[Teleport NPC Location] Something went wrong drawing the npc list menu:System.NullReferenceException: Object reference not set to an instance of an object. at Portraiture.ScaledTexture2D.FromTexture(Texture2D orgTexture, Texture2D scaledTexture, Single scale, Nullable`1 forcedSourceRectangle) in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\ScaledTexture2D.cs:line 67 at Portraiture.PortraitFix.Postfix(NPC __instance, Texture2D& __result, Boolean& __state) in C:\Users\deh\Dropbox\001_Modding\Modding\Stardew-Valley\Stardew-Valley-Mods\Portraiture\PortraitsFix.cs:line 44 at StardewValley.NPC.get_Portrait_PatchedBy<Platonymous.Portraiture>(NPC this) at TeleportNPCLocation.framework.NPCMenuItem.Draw(SpriteBatch contentBatch, Vector2 position, Single width, SpriteFont font, Boolean check) in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/NPCMenuItem.cs:line 74 at TeleportNPCLocation.framework.NPCMenu.<>c__DisplayClass45_0.<draw>b__0() in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/NPCMenu.cs:line 453 at TeleportNPCLocation.framework.CommonHelper.InterceptErrors(IMonitor monitor, String verb, String detailedVerb, Action action, Action`1 onError) in /Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/CommonHelper.cs:line 72
[Teleport NPC Location] 绘制 npc 列表菜单时出错:
System.ObjectDisposedException: 无法访问已释放的对象。
对象名称:'无法绘制纹理 'Portraits/SecondLittleNPC格森4253891331828138193' because it is disposed.'。
在 Microsoft D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\SpriteBatch.cs:第 176 行,
Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw_PatchedBy<aurpine。ClearGlasses__KCC。SnS__NCarigon.PassableCrops__Platonymous.Portraiture__Platonymous.ScaleUp__spacechase0.ContentPatcherAnimations__spacechase0。SpaceCore>(SpriteBatch this, Texture2D texture, Vector2 position, Nullable'1 sourceRectangle, Color color, Single rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, Single layerDepth) 在 Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw_PatchedBy<KCC.
SnS__Platonymous.肖像画__柏拉图之名.ScaleUp__spacechase0。ContentPatcherAnimations__spacechase0。SpaceCore>(SpriteBatch this, Texture2D texture, Vector2 position, Nullable'1 sourceRectangle, Color color, Single rotation, Vector2 origin, Single scale, SpriteEffects effects, Single layerDepth)
at StardewValley.Menus.ClickableTextureComponent.draw(SpriteBatch b, Color c, Single layerDepth, Int32 frameOffset, Int32 xOffset, Int32 yOffset)
在 StardewValley.Menus.ClickableTextureComponent.draw_PatchedBy<GaussFire。ConvenientInventory>(ClickableTextureComponent this, SpriteBatch b)
在 TeleportNPCLocation.framework.NPCMenuItem.Draw(SpriteBatch contentBatch, Vector2 position, Single width, SpriteFont font, Boolean check) 在 /Users/ccr/Documents/Work/TeleportNPCLocation/teleportNPCLocation/framework/NPCMenuItem.cs:第 76 行
TeleportNPCLocation.framework.NPCMenu.<>c__DisplayClass45_0.<draw>b__0()/Users/ccr/Documents/Work/TeleportNPCLocation/TeleportNPCLocation/framework/NPCMenu.cs:/
Users/ccr/Documents/Work/TeleportNPCLocation/framework/CommonHelper.cs:第 72 行
这个人是我的儿子,我还注意到,有时他和我女儿会穿过我房间的错误区域(我无法通过正常方法到达)或穿过墙壁。我不确定这是否有助于解决问题,所以我选择告诉你。
这个 Mod 真的很棒!每次我觉得懒得送东西时,我都会选择用它来传送到 NPC 附近,这样可以节省很多时间