Jump to content

Recommended Posts

Posted

 

Hello modders  🙂  This is a call to arms to help revive an amazing mod that seems to have been abandoned in this version.

Viking Portals is great mod to ad Valheim style portals. They have a reasonable cost, with little to no fluff in how they work mechanically. So it's been a great alternative to some of the more expansive teleportation mods, and my group has used it every time we've played for years. Sadly the author hasn't turned up to update it for 1.21, and no one has yet stepped in to make a patch for it. So, I was wondering if any of you intrepid modders might like to take a crack at it? Any help is greatly appreciated, as this mod has been a fan favorite of our group.
Currently, the mod loads, and you can create and place the portals, but it crashes when you click on a portal to edit the name. Editing the name is how you link portals, so this renders the mod completely inoperable. I don't know enough about coding or the VS API to do it myself or I certainly would. I did do a little peaking to see if it was something simple before asking, but if it is, I don't know enough to recognize it. It could be as easy as a version problem, but I suspect it's some API change that rendered a function inoperable or something as the crash is a missing method exception, but this is where my lack of knowledge comes in.

If it's helpful, here's a little of my observations into the code in case it helps to fix the issue.
Right clicking a portal crashes to desktop, producing the following error which refers to the GUI composer, so it seems to be something to do with the popup text entry box to set the portal link name.

Spoiler

Running on 64 bit Windows 10.0.26100.0 with 31861 MB RAM
Game Version: v1.21.1 (Stable)
9/13/2025 7:05:00 AM: Critical error occurred in the following mod: portals@1.0.9
Loaded Mods: aculinaryartillerypatch@1.2.6-pre.4, axleinblocks@1.21.0, buzzybees@1.1.7, darcesdriftersredone@1.2.3, floralzonescaperegion@1.0.23, floralzonescaribbeanregion@1.0.18, floralzonescentralaustralianregion@1.0.15, floralzonescosmopolitanregion@1.0.5, floralzoneseastasiaticregion@1.0.13, floralzonesmediterraneanregion@1.0.14, floralzonesneozeylandicregion@1.0.14, foodcrate@1.1.1, bovinae@0.2.4, caninae@1.0.32, capreolinae@1.2.9, casuariidae@1.1.4, cervinae@0.1.6, chelonioidea@1.0.2, dinornithidae@1.0.17, felinae@0.2.10, iniidae@0.1.3, manidae@1.0.16, meiolaniidae@0.1.6, pantherinae@1.1.27, sirenia@1.0.22, spheniscidae@1.0.11, thylacinidae@0.1.3, viverridae@1.0.4, vombatidae@0.4.2, swfreqsharks@1.2.1, free_stone_drops_when_broken@1.0.1, glowtorns@1.0.1, hangingoillamps@1.0.5, juicyores@1.0.0, lightrifts@1.1.0, longtermfood@0.2.2, millwright@1.2.7, overhaullib@1.7.0, primitivesurvival@3.9.5, prospecttogether@2.1.0, theremnants@1.0.3, specialexpandedbags@1.1.7, usefultraders@2.2.0, game@1.21.1, vsimgui@1.1.12, wildfarmingrevival@1.4.0, alchemy@1.7.14, animalcages@4.0.1, anotherdrifter@1.1.1, apelanterns@1.3.3, apewindows@1.4.0, attributerenderinglibrary@2.1.1, betterchisel@1.0.0-rc.5, betterfirepit@1.1.6, bettertraders@0.1.0, bradycrudebuilding@1.4.3, bushfat@1.0.1, carryon@1.10.7, TrapdoorLadder@1.0.0, combatoverhaul@0.9.3, commonlib@2.6.1, composter@1.2.1, configlib@1.10.1, configurableroomsize@1.1.0, cooperativecombatrework@1.0.0, danatweaks@3.5.2, expandedfoodspatch@1.7.6-pre.1, farmlanddropswithnutrients@1.2.2, farseer@1.3.2, foodshelves@2.3.0, freedomunits@1.1.4, fromgoldencombs@1.9.1, glassroof@1.1.0, gourmand@1.7.2, greenhousebuff@1.2.0, hudclockpatch@1.1.1, itempickuphighlighter@1.2.1, krpgenchantment@1.1.4, levelup@2.0.6, maltiezcrossbows@1.5.2, millwrightvawtaddon@1.0.2, oneroof@1.11.0, opdoorpack@0.0.1, petai@4.0.0, portals@1.0.9, projectiletracker@1.0.5, rivers@4.7.2, scaffolding@1.1.3, slidingdoor@1.0.0, smithingplus@1.7.4, temperatureheighttweak@0.3.0, terraprety@7.0.7, th3dungeon@0.4.4, thecritterpack@1.2.3, vanillamoremolds@1.1.2, vanity@2.4.3, creative@1.21.1, survival@1.21.1, waypointtogethercontiued@4.1.0, webstotwine@1.20.1, xlib@0.9.0-pre.2, 118hair@0.1.4, aged@2.0.0, armory@1.2.0, cats@4.0.0, fueledwearablelights@1.0.1, sleekdoorglass@1.0.0, morefloors@2.1.1, obsidiancraft@1.4.4, playercorpse@1.11.1, th3dungeontopentrance@0.4.1, xskills@0.9.0-pre.2
System.MissingMethodException: Method not found: 'Vintagestory.API.Client.GuiComposer Vintagestory.API.Client.GuiComposerHelpers.AddDialogTitleBar(Vintagestory.API.Client.GuiComposer, System.String, System.Action, Vintagestory.API.Client.CairoFont, Vintagestory.API.Client.ElementBounds)'.
   at portals.GuiDialogGenericPortal..ctor(String DialogTitle, BlockPos blockEntityPos, String tag, ICoreClientAPI capi, CairoFont portalBlockFont)
   at portals.BlockEntityPortal.OnReceivedServerPacket(Int32 packetid, Byte[] data) in /home/switch/vsmod/portals/portals/portals/BlockEntity/BlockEntityPortal.cs:line 344
   at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleBlockEntityMessage(Packet_Server packet) in VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:line 449
   at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 786
   at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 172
   at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 719
   at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 663
   at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 113
   at OpenTK.Windowing.Desktop.GameWindow.Run()
   at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 338
   at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 133
   at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 95

 

Again, any help appreciated. I'd love to see this mod back on it's feet.

At the very least, thank you for taking the time to read my request.

×
×
  • Create New...

Important Information

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