Mods / Set Homes

Category: #Simplification #Utility
Author: JefferZ
Side: Both
Created: Aug 8th at 9:40 PM
Last modified: Aug 30th at 3:01 AM
Downloads: 523
Follow Unfollow 5

Latest file for v1.19.8:
sethomes_1.0.3.zip 1-click install


 

Español

SET HOMES


 

(El nombre lo dejo en inglis porque mola mas y es la moda xD)

Vamos al lio que no me quiero enrollar mucho.

(Cosa que ya estoy haciendo)

 

¿Para que sirve este mod?

 

La funcion de este mod es el /set home y /home de toda la vida pero utilizando interfaces graficas.

(Mucho más amigables para el usuario, que utilizar toscos comandos mediante el chat)

Si no conoces el /set home y /home , son unos comandos que te permiten guardar unas coordenadas y posteriormente teletransportarte a ellas.

 

Lo que este mod te permitira abrir una interfaz grafica que detectara si tu playerUID tiene algunas coordenadas guardadas bajo el nombre que le hallas asignado, en caso de no tener ninguna te mostrara una interfaz que te permitira crear alguna.

Si ya tienes algunas coordenadas guardadas te mostrara una lista con todas ellas ademas de dos botones por cada "home" guardado.

Un boton para eliminar dichas coordenadas y otro boton para teletransportarte a las mismas.

Ademas dicha interfaz tendra un boton para añadir más "homes"

 

¿Como uso el mod?

 

Pulsa la tecla " i " de tu teclado, la interfaz te guiara con el resto.

 

Capturas de pantalla

Interfaz cuando no tienes "home"

¡¡Importante!!

 

Esto es una version muy temprana del mod, con el tiempo se ira actualizando y mejorando, he tomado la decision de publicarlo antes de terminarlo para construirlo en base a vuestros comentarios e ideas por lo que no os corteis en sugerir mejoras.

(Pronto se publicara una hoja de ruta con las proximas mejoras a implementar)

 


 

English

SET HOMES

Let's get down to business, I don't want to go into too much detail.

(Which I'm already doing.)

 

¿What is this mod for?

The function of this mod is the same as /set home and /home as always but using graphical interfaces.

(Much more user-friendly than using clunky commands via chat)

If you don't know /set home and /home , they are commands that allow you to save some coordinates and later teleport to them.

 

What this mod will allow you to do is open a graphical interface that will detect if your playerUID has any coordinates saved under the name you have assigned to it, if it does not have any it will show you an interface that will allow you to create some.

If you already have some coordinates saved it will show you a list with all of them as well as two buttons for each "home" saved.

A button to delete said coordinates and another button to teleport to them.

In addition, said interface will have a button to add more "homes"

 

¿How do I use the mod?

Press the " i " key on your keyboard, the interface will guide you through the rest.

 

Screenshots

¡¡Important!!

This is a very early version of the mod, over time it will be updated and improved, I have made the decision to publish it before finishing it to build it based on your feedback and ideas so do not hesitate to suggest improvements.

(A roadmap with the next improvements to be implemented will be published soon)

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.3 265 Aug 30th at 3:01 AM Show sethomes_1.0.3.zip Install now
v1.0.2 101 Aug 21st at 8:30 PM Show sethomes_1.0.2.zip Install now
v1.0.1 102 Aug 19th at 2:12 PM Show sethomes_1.0.1.zip Install now
v1.0.0 55 Aug 19th at 1:10 PM Show sethomes_1.0.0.zip Install now

4 Comments (oldest first | newest first)

💬 JefferZAuthor, Aug 30th at 2:57 AM

Shinohoyo

Thank you very much for your contribution. I will now upload a new version with the error that occurs when creating two "homes" with the same name fixed. Please, I would like to know if this new version solves your problem.

Regards and again, thank you very much for your contribution.

💬 Shinohoyo, Aug 22nd at 11:17 PM

Got a crash that seems a little random when creating a home, not sure whats causing it. but while trying to replicate the crash in different ways to try to figure out the cause found another crash when you use the same name for two homes.

8/22/2024 5:54:39 PM: Critical error occurred in the following mod: sethomes@1.0.2
Loaded Mods: aculinaryartillery@1.1.5, advancedsmithing@1.3.0, arrowheadsrecovery@1.0.1, axleinblocks@1.19.8-rc.1, beekeeper@1.0.1, blacksmithname@1.1.7, climabletrapdoors@0.0.1, crudearrowupgrade@1.0.0, decor@1.1.4, domesticanimaltrader@1.0.1, driedfirefuels@1.1.1, HangingOilLamps@1.0.1, hideandfabric@1.3.0, lumbersling@1.2.2, millwright@1.1.6, molds@0.0.7, moreicons_cs@1.1.0, MoreTorchHolders@1.0.0, MoveLikeKaji@0.0.5, primitivesurvival@3.6.4, proximityprospectingpick@1.0.1, sortablestorage@2.2.6, spyglass@0.5.1, tprunes@1.1.0, translocatorengineeringredux@1.5.1, Vanilla_PlusWorldGen@1.3.5, viesblocks@2.4.10, vintageengineering@0.2.1, game@1.19.8, wallpaperblocks@2.0.0, accessibilitytweaks@3.7.1, alchemy@1.6.34, animalcages@3.0.2, animationmanagerlib@0.8.8, beehivekiln@1.6.1, betterhewnfencegates@1.0.0, blocksoverlay@3.2.4, helblockpick@2.4.0, bunnyserverutilities@2.0.0, butterflycases@1.0.1, cancrops@0.1.27, carryon@1.7.4, commonlib@2.5.0-rc.2, compostgrass@1.2.2, danatweaks@3.1.0, easyprospect@1.0.0, expandedfoods@1.6.9, extrainfo@1.8.1, farmlanddropssoil@1.4.0, fendragonbcs@0.0.8, foodshelves@1.1.3, hangingbaskets@1.1.0, hudclock@3.4.0, knapster@2.11.1, krpgenchantment@0.3.8, krpgwands@0.2.1, lavoisier@1.3.0, nbcartographer@2.0.10, offhanddebuffpatch@1.0.1, simplewinddirectionpelagus@1.0.0, petai@2.2.6, prospecttogether@1.3.0, RareDenseOres@0.2.6, rustboundmagic@1.9.74, sailboat@1.3.1, scarecrow@1.5.0, sethomes@1.0.2, spawnhighlight@1.2.0, tentbag@2.1.1, versionchecker@1.0.0, creative@1.19.8, vsimgui@1.1.5, vsquest@1.2.0, survival@1.19.8, weatherthestorm@1.0.0, wgmt@1.0.1, alchemistry@1.0.2, metalrecovery@0.1.19-pre.1, bullseye-continued@2.5.8, cats@2.0.3, configlib@1.3.13, em@2.7.0, extraoverlays@1.4.0, feverstonewilds@1.5.0-rc.2, fsmlib@0.4.5, plankable-nmnd@0.1.2, pomnotes@0.7.1, vanity@2.2.0, wolftaming@2.1.3, xinvtweaks@1.6.6, maltiezcrossbows@0.3.11, maltiezfirearms@0.5.4, tailorsdelight@1.5.10
System.NullReferenceException: Object reference not set to an instance of an object.
at setHomes.Client.Guis.GuiCreateHomeInput.btnSaveHomeClicked() in H:\Programacion\Proyectos\Vintage Story Mods\Vintage-Story-Modding\ModsOficiales\setHomes\setHomes\Client\Guis\GuiCreateHomeInput.cs:line 43
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 321
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 310
at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 449
at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 584
at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 412
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 1919
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 431
at Vintagestory.Client.NoObf.ClientMain.OnMouseUpRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1934
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 208
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Game Version: v1.19.8 (Stable)
8/22/2024 6:06:48 PM: Critical error occurred in the following mod: sethomes@1.0.2
Loaded Mods: aculinaryartillery@1.1.5, advancedsmithing@1.3.0, arrowheadsrecovery@1.0.1, axleinblocks@1.19.8-rc.1, beekeeper@1.0.1, blacksmithname@1.1.7, climabletrapdoors@0.0.1, crudearrowupgrade@1.0.0, decor@1.1.4, domesticanimaltrader@1.0.1, driedfirefuels@1.1.1, HangingOilLamps@1.0.1, hideandfabric@1.3.0, lumbersling@1.2.2, millwright@1.1.6, molds@0.0.7, moreicons_cs@1.1.0, MoreTorchHolders@1.0.0, MoveLikeKaji@0.0.5, primitivesurvival@3.6.4, proximityprospectingpick@1.0.1, sortablestorage@2.2.6, spyglass@0.5.1, tprunes@1.1.0, translocatorengineeringredux@1.5.1, Vanilla_PlusWorldGen@1.3.5, viesblocks@2.4.10, vintageengineering@0.2.1, game@1.19.8, wallpaperblocks@2.0.0, accessibilitytweaks@3.7.1, alchemy@1.6.34, animalcages@3.0.2, animationmanagerlib@0.8.8, beehivekiln@1.6.1, betterhewnfencegates@1.0.0, blocksoverlay@3.2.4, helblockpick@2.4.0, bunnyserverutilities@2.0.0, butterflycases@1.0.1, cancrops@0.1.27, carryon@1.7.4, commonlib@2.5.0-rc.2, compostgrass@1.2.2, danatweaks@3.1.0, easyprospect@1.0.0, expandedfoods@1.6.9, extrainfo@1.8.1, farmlanddropssoil@1.4.0, fendragonbcs@0.0.8, foodshelves@1.1.3, hangingbaskets@1.1.0, hudclock@3.4.0, knapster@2.11.1, krpgenchantment@0.3.8, krpgwands@0.2.1, lavoisier@1.3.0, nbcartographer@2.0.10, offhanddebuffpatch@1.0.1, simplewinddirectionpelagus@1.0.0, petai@2.2.6, prospecttogether@1.3.0, RareDenseOres@0.2.6, rustboundmagic@1.9.74, sailboat@1.3.1, scarecrow@1.5.0, sethomes@1.0.2, spawnhighlight@1.2.0, tentbag@2.1.1, versionchecker@1.0.0, creative@1.19.8, vsimgui@1.1.5, vsquest@1.2.0, survival@1.19.8, weatherthestorm@1.0.0, wgmt@1.0.1, alchemistry@1.0.2, metalrecovery@0.1.19-pre.1, bullseye-continued@2.5.8, cats@2.0.3, configlib@1.3.13, em@2.7.0, extraoverlays@1.4.0, feverstonewilds@1.5.0-rc.2, fsmlib@0.4.5, plankable-nmnd@0.1.2, pomnotes@0.7.1, vanity@2.2.0, wolftaming@2.1.3, xinvtweaks@1.6.6, maltiezcrossbows@0.3.11, maltiezfirearms@0.5.4, tailorsdelight@1.5.10
System.NullReferenceException: Object reference not set to an instance of an object.
at setHomes.Client.Guis.GuiCreateHomeInput.btnSaveHomeClicked() in H:\Programacion\Proyectos\Vintage Story Mods\Vintage-Story-Modding\ModsOficiales\setHomes\setHomes\Client\Guis\GuiCreateHomeInput.cs:line 43
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 317
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 310
at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 449
at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 584
at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 415
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 1919
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 431
at Vintagestory.Client.HotkeyManager.OnMouseButton(ClientMain game, EnumMouseButton button, Int32 modifiers, Boolean buttonDown) in VintagestoryLib\Client\HotkeyManager.cs:line 576
at Vintagestory.Client.NoObf.ClientMain.OnMouseUpRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1949
at Vintagestory.Client.GuiScreenRunningGame.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 349
at Vintagestory.Client.ScreenManager.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 890
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 211
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseUp(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Game Version: v1.19.8 (Stable)
8/22/2024 6:09:15 PM: Critical error occurred in the following mod: sethomes@1.0.2
Loaded Mods: aculinaryartillery@1.1.5, advancedsmithing@1.3.0, arrowheadsrecovery@1.0.1, axleinblocks@1.19.8-rc.1, beekeeper@1.0.1, blacksmithname@1.1.7, climabletrapdoors@0.0.1, crudearrowupgrade@1.0.0, decor@1.1.4, domesticanimaltrader@1.0.1, driedfirefuels@1.1.1, HangingOilLamps@1.0.1, hideandfabric@1.3.0, lumbersling@1.2.2, millwright@1.1.6, molds@0.0.7, moreicons_cs@1.1.0, MoreTorchHolders@1.0.0, MoveLikeKaji@0.0.5, primitivesurvival@3.6.4, proximityprospectingpick@1.0.1, sortablestorage@2.2.6, spyglass@0.5.1, tprunes@1.1.0, translocatorengineeringredux@1.5.1, Vanilla_PlusWorldGen@1.3.5, viesblocks@2.4.10, vintageengineering@0.2.1, game@1.19.8, wallpaperblocks@2.0.0, accessibilitytweaks@3.7.1, alchemy@1.6.34, animalcages@3.0.2, animationmanagerlib@0.8.8, beehivekiln@1.6.1, betterhewnfencegates@1.0.0, blocksoverlay@3.2.4, helblockpick@2.4.0, bunnyserverutilities@2.0.0, butterflycases@1.0.1, cancrops@0.1.27, carryon@1.7.4, commonlib@2.5.0-rc.2, compostgrass@1.2.2, danatweaks@3.1.0, easyprospect@1.0.0, expandedfoods@1.6.9, extrainfo@1.8.1, farmlanddropssoil@1.4.0, fendragonbcs@0.0.8, foodshelves@1.1.3, hangingbaskets@1.1.0, hudclock@3.4.0, knapster@2.11.1, krpgenchantment@0.3.8, krpgwands@0.2.1, lavoisier@1.3.0, nbcartographer@2.0.10, offhanddebuffpatch@1.0.1, simplewinddirectionpelagus@1.0.0, petai@2.2.6, prospecttogether@1.3.0, RareDenseOres@0.2.6, rustboundmagic@1.9.74, sailboat@1.3.1, scarecrow@1.5.0, sethomes@1.0.2, spawnhighlight@1.2.0, tentbag@2.1.1, versionchecker@1.0.0, creative@1.19.8, vsimgui@1.1.5, vsquest@1.2.0, survival@1.19.8, weatherthestorm@1.0.0, wgmt@1.0.1, alchemistry@1.0.2, metalrecovery@0.1.19-pre.1, bullseye-continued@2.5.8, cats@2.0.3, configlib@1.3.13, em@2.7.0, extraoverlays@1.4.0, feverstonewilds@1.5.0-rc.2, fsmlib@0.4.5, plankable-nmnd@0.1.2, pomnotes@0.7.1, vanity@2.2.0, wolftaming@2.1.3, xinvtweaks@1.6.6, maltiezcrossbows@0.3.11, maltiezfirearms@0.5.4, tailorsdelight@1.5.10
System.ArgumentException: An item with the same key has already been added. Key: Home
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at setHomes.Client.Guis.GuiCreateHomeInput.btnSaveHomeClicked() in H:\Programacion\Proyectos\Vintage Story Mods\Vintage-Story-Modding\ModsOficiales\setHomes\setHomes\Client\Guis\GuiCreateHomeInput.cs:line 43
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUpOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 317
at Vintagestory.API.Client.GuiElementTextButton.OnMouseUp(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Controls\GuiElementTextButton.cs:line 310
at Vintagestory.API.Client.GuiComposer.OnMouseUp(MouseEvent mouse) in VintagestoryApi\Client\UI\GuiComposer.cs:line 449
at Vintagestory.API.Client.GuiDialog.OnMouseUp(MouseEvent args) in VintagestoryApi\Client\UI\Dialog\GuiDialog.cs:line 584
at Vintagestory.Client.NoObf.GuiManager.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 415
at Vintagestory.Client.NoObf.ClientMain.UpdateMouseButtonState(EnumMouseButton button, Boolean down) in VintagestoryLib\Client\ClientMain.cs:line 1919
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack, Boolean keyup) in VintagestoryLib\Client\HotkeyManager.cs:line 431
at Vintagestory.Client.HotkeyManager.OnMouseButton(ClientMain game, EnumMouseButton button, Int32 modifiers, Boolean buttonDown) in VintagestoryLib\Client\HotkeyManager.cs:line 576
at Vintagestory.Client.NoObf.ClientMain.OnMouseUpRaw(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1949
at Vintagestory.Client.GuiScreenRunningGame.OnMouseUp(MouseEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 349
at Vintagestory.Client.ScreenManager.OnMouseUp(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 890
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonUp(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 211
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseUp(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, 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 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

💬 JefferZAuthor, Aug 21st at 8:32 PM

Kolljak

My apologies, sir, you are absolutely right, I will add them right now.

💬 Kolljak, Aug 20th at 3:42 AM

screenshot of graphic interface? like what does the mod look like?

(edit comment delete)