You are viewing a potentially older version of this package. View all versions.
LynxInc-LynxModFixes-1.12.15 icon

LynxModFixes

Compatibility and bug fixes for other mods (Kvist, Path of Valheiman, ShieldMeBruh, ValheimGliders, BottleShips, XPortalNetworks, SeneaL UI) plus small tweaks, applied at runtime. Each fix skips itself if its target changed.

By LynxInc
Date uploaded 5 hours ago
Version 1.12.15
Download link LynxInc-LynxModFixes-1.12.15.zip
Downloads 9
Dependency string LynxInc-LynxModFixes-1.12.15

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

LynxModFixes

Runtime Harmony fixes for other Valheim mods. No other mod's files are modified. Each fix checks that the code it targets is what it expects; if a mod update changes that code, the fix turns itself off and logs why. Every fix can be switched off in BepInEx/config/lynx.modfixes.cfg.

A fix only does anything when the mods it concerns are installed.

Path of Valheiman

  • Dungeon vegvisirs mark the Halls of Oaths. PoV ignored any boss vegvisir read inside a dungeon, and the Queen's vegvisirs only exist inside infested mines, so the Oath of Mist could never be marked. Toggle: DungeonVegvisirsMarkHalls.
  • Cooked food stacks. Food carries the cook's PoV bonuses from when it was cooked, so the same food split into many stacks as cooks levelled. It now stacks; the stack's nourishment and duration become the count-weighted average. Fresh Kitchen food only merges with non-fresh food from the same cook, and the result keeps Fresh Kitchen. Toggle: MergeCookedFoodStacks.
  • Fermented food keeps its cook. Food from a fermenter (Valheim Cuisine's Food Fermenter) keeps the cook's name and PoV cooking bonuses from the ingredient that went in. PoV only carried credit through fermenters for meads and potions. Toggle: FermentedFoodKeepsCook.
  • Modded belts count as belts. Belts from other mods (e.g. Ymir's Belt) get PoV's belt tag, so they take runes and get food and potion slots like PoV's own belts. Toggle: ModdedBeltsTakeBeltProperties.
  • Rename tamed animals. PoV switched off the vanilla rename entirely. Standing Shift+E renames again; crouching Shift+E is still PoV's pick-up, and Leader's-horn companions keep PoV's own naming. Toggle: RenameTamedAnimals.
  • Treasure maps pin their chest. Reading a treasure map also pins its buried chest on your map, so you don't have to match the scrap by eye. Toggle: TreasureMapPinsChest.
  • Portal crate with station-less portals. Works with mods that remove the portals' build station (e.g. BottleShips): the workbench counts as the portal's station. Toggle: PortalCrateWithStationlessPortals.
  • No punch after placing a crate. Setting up a portal or ship from a PoV crate no longer throws a punch with the same click. Toggle: NoPunchAfterCratePlacement.
  • No blue overlay during Hugin's Flight. Toggle: NoHuginOverlay.
  • Bonus tree points for named characters. BonusTreePoints = Gunnar=15; Astrid=4 gives those characters extra passive-tree points without making them admins (PoV's own Debug points need admin). It is a running total: raise it to grant more. Lowering it takes points back along with the outermost nodes they paid for.
  • Bonus tree points from the server. ServerBonusTreePoints takes the same list but lives in the server's LMF config. Jotunn sends it to every player, and changes reach players straight away: save the server's config file, or as an admin change it in-game with the Configuration Manager. Players just reopen the tree. Each character gets the higher of the server's number and their own BonusTreePoints, so a missing or late server value never takes points away. Needs LMF on the server; without it, only each player's own BonusTreePoints counts, as before.

SeneaL UI + Path of Valheiman

  • Skill board window. SeneaL replaces PoV's equipment window, so PoV's Skills tab (the skill-gem board) never shows. With the inventory open, press K to open PoV's own board in its own window. Drag the title area to move it and the bottom-right corner to resize it; position and size are remembered. Settings: SkillBoardKey, SkillBoardPosition, SkillBoardSize.
  • PoV crafting-panel windows show. PoV's Halls merchant shop, Book of the Halls and Runic Anvil draw inside the vanilla crafting panel, which SeneaL hides. While one is open, SeneaL's crafting view steps aside. Toggle: ShowPovCraftPanelWindows.
  • Belt Lantern cell. PoV's Belt Lantern cell was missing from SeneaL's equipment doll, so a worn lantern could not be taken off. LMF adds the cell after the trinket cells. Toggle: ShowPovBeltLanternCell.
  • Equipment cells check the item. SeneaL let items into PoV cells they don't belong in (e.g. a belt in the Utility cell, where it did nothing). The cell now refuses them. Toggle: PovCellsCheckItems.
  • Locked slots survive a restart. SeneaL saved your locked inventory slots with the character, but while PoV's equipment rows own the inventory it never read them back, so every lock was gone at the next login. Toggle: LockedSlotsSurviveRestart.

Kvist (GreydwarfSorter)

  • Respects ItemDrawers. Kvist only puts an item in a drawer assigned to that exact item (even at 0 count). Unassigned drawers and non-stackable items are skipped. Toggle: RespectItemDrawers.
  • Drawers first. A drawer labelled for an item's category and assigned to that exact item is filled before any other chest of that category. Toggle: DrawersFirst.
  • PoV bonuses stay out of drawers. Meads, food and oils carrying PoV bonuses are never put into drawers, which keep only item type and count. Toggle: KeepPovBonusesOutOfDrawers.
  • PoV item categories. Kvist sorts PoV items into their own categories (Maps, Oath Hall Rooms, Runic Anvil Stock, Runic Chest, Scrolls & Other Runes, Essences & Brands, Skill Gems, Jewels & Sigils); PoV ores go to Ore & Coal, rune chisels to Tools, vault keys to Valuables. Toggle: PathOfValheimanCategories.
  • Fills the Runic Anvil and Runic Chest. Label one for Kvist and his deliveries go into its stock. Toggle: FillRunicAnvilAndChest.
  • Plants with Any Soil. While the player whose game runs Kvist has PoV's Any Soil, Kvist plants outside the usual biome and his plants don't wither. Toggle: PlantAnyBiomeWithAnySoil.
  • Seed reserve covers all animal feed. The reserve only protected planting stock, so Kvist fed animals every last berry. The reserve now applies to everything he feeds, and he uses the most plentiful food first. Toggle: SeedReserveCoversEverything.
  • Fast re-sort check. Every 10 s each Kvist checks the labelled chests for stacks to re-sort, recounting each part-stack's item in every nearby chest of the same label, item by item. On a base with many full chests that froze the game for 300-500 ms each time. Each chest is now counted once per check (this also covers his feeding, smelting and other checks), and the list of nearby chests is built once per chest instead of once per stack, with the same result. Toggle: FastResortCheck.
  • Fast planting spot check. Whenever a farming Kvist picked his next spot to plant, Kvist checked every free soil cell against every plant and crop loaded around the base, building each crop's name as a new string each time. On a big field that froze the game for 250-650 ms about every 12 seconds. Each spot is now checked only against the plants and crops near it, with the same distances, so he picks the same spots. Toggle: FastPlantingSpots.
  • No world-wide scans. Every Kvist searched every object in the loaded world for snow piles every 10 s (and for doors when stuck). On a big base each search took about a quarter of a second, so several Kvists froze the game every few seconds. LMF searches only the game's networked objects instead, shared between all Kvists. Toggle: NoWorldWideScans.
  • Raid logged once. Kvist logged "Raid started" about 50 times a second for a whole raid; now once per raid. Toggle: RaidLoggedOnce.
  • Kilns task respects the coal stock. A hand-picked Kilns task stops at the nest's coal stock, as its description says. Toggle: HandPickedKilnsRespectCoalStock.

ShieldMeBruh

  • Off-hand weapon. Shift + middle-click marks a one-handed weapon as the off-hand item ShieldMeBruh re-equips (for dual-wielding). Toggle: OffhandWeapon.
  • The mark follows the item. ShieldMeBruh remembered a bag slot, so the mark fell off when another mod moved the item (equipment rows, swapping to a tool). The mark now stays on the item; middle-clicking still removes it. Toggle: MarkFollowsItem.
  • Off-hand stays put during throws. Throwing a weapon no longer makes ShieldMeBruh unequip your off-hand mid-throw. Toggle: KeepOffhandDuringThrows.

Other mods

  • Wire's Forge of Goodtential: affixes survive a failed forge. When forging fails (the item keeps or loses quality), the game hands back a fresh copy of the item, and PoV only carries affixes, sockets and brand over when the quality went up, so the item came back bare. LMF remembers the item's saved data before every upgrade and puts back whatever the returned item is missing, without overwriting anything. Toggle: WiresForge > KeepItemDataOnFailure.

  • TrueFlight Crosshair + PoV. The aim marker shows while you hold a weapon PoV lets you throw (Throw the Axe, knife throws), not only mid-throw. Toggle: ShowForPovThrownWeapons.

  • XPortalNetworks + PoV Portal crate. A portal packed into a crate keeps its XPortal name, destination, colour, owner and private setting when set back up, and portals that pointed at it are relinked. Toggle: PortalCrateKeepsNetworkSettings.

  • ItemDrawers. Drawer auto-pickup leaves items placed as build pieces alone (e.g. food set out with Valheim Cuisine's Keg Hammer). Toggle: IgnorePlacedItems.

  • ValheimGliders. The Wolf glider gives Frost: Resistant like the Wolf cape. Change the list in FrostResistantGliders, or empty it to turn this off.

Vanilla

  • No births through walls. A newborn animal (or laid egg) appears a short way from its mother; if a wall, fence or rock is in between, it appears at the mother's spot instead, so offspring stay in their pen. Toggle: NoBirthsThroughWalls.
  • Carts can be dismantled with the hammer, returning their materials (workbench nearby, cart empty). Toggle: CartsRemovableWithHammer.
  • Eggs only need warmth to hatch, not a roof. Toggle: EggsNeedNoRoof.

Console commands

  • lynx_povlevels lists every online player's PoV level and tree points (spent and unspent). Players need LynxModFixes 1.12.0+ to answer.

  • lynx_removepickables <name> [radius] removes pickables near you whose name contains <name> (default radius 20 m, max 100). For clearing things like a field of wild-planted crabs.

  • lynx_removegraves [radius] [all] deletes your companion gravestones near you (default radius 10 m). all includes other players' graves and is limited to server admins or the host.

  • lynx_profile [seconds=60] [ms=100] [TypeName] is a diagnostic for freezes: for the given time it records which game or mod update code ran during frames slower than the threshold, and writes the results to the log. The first use takes a few seconds to set up. Add a type name (lynx_profile 120 100 SorterAI) to also time every method of that type.

Log

On start-up, BepInEx/LogOutput.log has one line per fix: applied, mod not installed, skipped, or NOT applied (reason).

CHANGELOG

1.12.15

  • Wire's Forge of Goodtential: a failed forge (quality kept or lost) no longer wipes a PoV item's affixes, sockets and brand. The game returns a fresh copy of the item, and PoV only copies that data across when the quality went up. LMF now remembers the item's saved data before every upgrade and puts back anything the returned item is missing, without overwriting anything. Toggle: WiresForge > KeepItemDataOnFailure. Logs "WiresForge: kept N saved data entries ..." when it restores something. It can't bring back data already lost.

1.12.14

  • PoV: new ServerBonusTreePoints (same format as BonusTreePoints, e.g. Gunnar=15; Astrid=4). Set it once in the server's LMF config; Jotunn sends it to every player, and changes reach players straight away when the server's config file is saved or an admin changes it in-game with the Configuration Manager. No restarts, no editing friends' files. Each character gets the higher of the server's number and their own BonusTreePoints, so nothing is taken away if the server's list is missing or arrives late. Only raise numbers: lowering one still takes points back.
  • LMF now depends on Jotunn (needed for the server sync). It only takes over the synced setting when the server also runs LMF; on other servers everything works as before.

1.12.13

  • Kvist: no more stutter around big fields. Whenever a farming Kvist picked his next spot to plant, he checked every free soil cell against every plant and crop loaded around the base, and built each crop's name as a new string each time. On a ~2000 m² field that froze the game for 250-650 ms about every 12 s, often with a garbage collection. Each spot is now checked only against the plants and crops near it, with the same distances, so he picks the same spots. Toggle: Kvist > FastPlantingSpots.

1.12.12

  • SeneaL UI: locked inventory slots stay locked after a restart. SeneaL saved them with the character but, while PoV's equipment rows own the inventory, never read them back at login. Toggle: SeneaLUI > LockedSlotsSurviveRestart.

1.12.11

  • Kvist FastResortCheck goes further: the re-sort check also built its list of nearby same-label chests again for every part-stack; now once per chest. The once-per-check chest counts also cover his other checks (feeding, smelting, upkeep and the rest), which recounted chests item by item too.

1.12.10

  • Kvist: the real cause of the base freezes. Every 10 s each Kvist checks all labelled chests for stacks to re-sort, and for every part-stack it recounted that item in every nearby chest of the same label, item by item. On a base with many full chests that took 300-500 ms per check. Each chest is now counted once per check; the result and Kvist's choices are unchanged. Toggle: Kvist > FastResortCheck.

1.12.9

  • lynx_profile takes an optional type name (e.g. lynx_profile 120 100 SorterAI) and then also times every method of that type, to show which part of a slow mod method is slow.

1.12.8

  • Kvist: no more freezes every few seconds around a big base. Each Kvist searched every object in the loaded world for snow piles every 10 s (and for doors when stuck), ~250 ms per search on a large base. LMF now searches only the game's networked objects, shared between all Kvists. Toggle: Kvist > NoWorldWideScans.

1.12.7

  • lynx_profile now also breaks down Valheim's per-object update lists (characters, AI, ships, physics sync…) and times other mods' Harmony patches on update methods under their own names.

1.12.6

  • Kvist: "Raid started" is logged once per raid instead of about 50 times a second for the whole raid (config: Kvist > RaidLoggedOnce).
  • New diagnostic console command lynx_profile [seconds] [ms]: records which game or mod update code runs during frames slower than the threshold and writes it to the log, to track down freezes.

1.12.5

  • Skill board window: drag its title area to move it, drag its bottom-right corner to resize it; position and size are remembered. Wider by default so the hint line is no longer cut off.

1.12.4

  • SeneaL UI + PoV: SeneaL hides PoV's equipment window and with it the Skills tab (the skill-gem board). With the inventory open, press K to open PoV's own skill board in its own window (config: SeneaLUI > SkillBoardKey). First version - feedback welcome.

1.12.3

  • ShieldMeBruh: the off-hand mark now follows the item when another mod moves it to a different bag slot (PoV/SeneaL equipment rows, swapping to a tool). Before, the mark stayed on the old slot and fell off. Middle-clicking still removes it (config: ShieldMeBruh > MarkFollowsItem).

1.12.2

  • ShieldMeBruh + PoV: throwing a weapon no longer makes ShieldMeBruh unequip your off-hand weapon mid-throw (it read the throw as sheathing). That juggling could lose one of two identical axes (config: ShieldMeBruh > KeepOffhandDuringThrows).

1.12.1

  • PoV + Valheim Cuisine: food from a fermenter now keeps the cook's name and PoV cooking bonuses (potency, duration, Fresh Kitchen) from the ingredient that went in. PoV only carried credit through fermenters for meads and potions (config: PathOfValheiman > FermentedFoodKeepsCook).

1.12.0

  • PoV: new BonusTreePoints setting gives extra passive-tree points to named characters (e.g. "Gunnar=15"), without making them admins as PoV's own Debug points require. A running total: raise it to grant more (config: PathOfValheiman > BonusTreePoints).
  • PoV: new console command lynx_povlevels lists every online player's PoV level and tree points (spent / unspent). Players need LMF 1.12.0+ to answer.
  • PoV: tamed animals can be renamed again with the vanilla Shift+E. PoV blocked renaming entirely; crouching Shift+E is still PoV's pick-up, and Leader's-horn companions keep PoV's own naming (config: PathOfValheiman > RenameTamedAnimals).

1.11.0

  • Vanilla: newborn animals are no longer born through walls. Offspring appear a short way in front of the mother; if a wall, fence or rock is in between, they are born at the mother's spot instead, so they stay in their pen (config: Vanilla > NoBirthsThroughWalls).
  • Checked against Path of Valheiman 6.0.12: no changes needed.

1.10.1

  • PoV: the Halls of Oaths pin from a dungeon vegvisir is now actually placed. 1.10.0 let the reading through, but PoV's map pins have the same underground check, so the pin was dropped; that check is now lifted only for vegvisir readings.

1.10.0

  • PoV: boss vegvisirs inside dungeons now mark their biome's Halls of Oaths too. PoV ignored any vegvisir read underground, and the Queen's vegvisirs are only found in infested mines, so the Oath of Mist could never be marked (config: PathOfValheiman > DungeonVegvisirsMarkHalls).

1.9.9

  • TrueFlight Crosshair: its aim marker now shows while you hold a weapon PoV lets you throw (Throw the Axe, knife throws), not only mid-throw. The marker uses the same thrown-spear flight PoV gives the throw (config: TrueFlightCrosshair > ShowForPovThrownWeapons).

1.9.8

  • New console command lynx_removepickables <name> [radius=20]: deletes pickables near you whose name contains <name> (e.g. lynx_removepickables crab 30). Picking only resets a pickable's regrow timer; this removes it for good. Made for Kvist-planted PoV wild crops such as TheFisher crabs.

1.9.7

  • Kvist: the Seed reserve (K window) now covers everything. Animals are only fed what's above it of any food, not just planting stock, and he feeds the food you have most of first instead of going down the animal's diet list. Smelters, ovens, fermenters, drying racks and cooking no longer take planting stock (seeds, barley, flax, onions, berries…) below the reserve; before, only the windmill respected it (config: Kvist > SeedReserveCoversEverything).

1.9.6

  • SeneaL UI: refusing an item on a PoV cell now says "That doesn't go in this cell" instead of the raw text [MSG_CANTDOTHAT].

1.9.5

  • Fix: 1.9.4 crashed the game on load. PoV's belt check (Gear.State.IsBelt) asks the food capacity itself, so the new food-capacity patch called itself forever. The belt patches now guard against re-entry.

1.9.4

  • PoV: the food slots from 1.9.3 now open on modded belts too; PoV's food-cell count asked only its own belts (the potion slots already worked).

1.9.3

  • PoV: belts from other mods worn in the Belt cell (Warfare's Ymir's Belt) get the food and potion slots every PoV belt has: 1-3 of each, rolled once per belt like PoV's own (same toggle as 1.9.2's belt properties).

1.9.2

  • PoV: belts from other mods that PoV wears in its Belt cell (Warfare's Ymir's Belt) can now take belt properties from runes and enchants; before they said "No property fits this item" (config: PathOfValheiman > ModdedBeltsTakeBeltProperties).
  • SeneaL UI + PoV: dropping an item on one of PoV's base equipment cells (Utility cell, belt, quiver…) now asks PoV whether that cell takes it, as SeneaL already did for PoV's extra cells. A Megingjord can no longer be put in the Utility cell, where PoV ignored it (config: SeneaLUI > PovCellsCheckItems).

1.9.1

  • Kvist: Blank Runestones go to the Runic Chest (PoV 6.0.9 gave it a Blank Runestone slot) instead of the Scrolls & Other Runes chest.

1.9.0

  • PoV: the same food cooked with different cooking bonuses now stacks. The stack takes the count-weighted average nourishment and duration; Fresh Kitchen food merges with plain food only when the same cook made both, and the stack keeps Fresh Kitchen (config: PathOfValheiman > MergeCookedFoodStacks).

1.8.9

  • SeneaL UI + PoV: the Belt Lantern cell (Craft mastery: Belt Lantern) is drawn on the equipment doll after the trinket cells, so a worn Dvergr lantern shows and can be taken off. SeneaL UI 1.2.8 never drew it, so the lantern seemed to vanish (config: SeneaLUI > ShowPovBeltLanternCell).

1.8.8

  • Kvist: a drawer labelled for the category and assigned to the exact item is filled first; other chests of the category only when there is none (config: Kvist > DrawersFirst).
  • Kvist: never puts meads/food/oils carrying PoV bonuses into a drawer, which would strip the bonuses (config: Kvist > KeepPovBonusesOutOfDrawers).

1.8.7

  • Kvist + PoV: a Runic Anvil or Runic Chest labelled for Kvist is filled through its PoV stock, not its plain inventory (config: Kvist > FillRunicAnvilAndChest).
  • Kvist PoV categories: "Runic Chest" holds exactly the runes the chest accepts (read from PoV); scrolls and other runes get their own category; vault keys go to Valuables.

1.8.6

  • Kvist PoV categories: glyphs, alloys and azurite/divine azurite dust share one "Runic Anvil Stock" category (everything the anvil stocks), instead of separate Glyphs and Metals entries.

1.8.5

  • Kvist + PoV: PoV items get their own Kvist categories, and PoV ores/alloys join Ore & Coal / Metals & Parts, without editing categories.yaml (config: Kvist > PathOfValheimanCategories).

1.8.4

  • PoV treasure maps: reading one pins its buried chest on your map (config: PathOfValheiman > TreasureMapPinsChest).

1.8.3

  • SeneaL UI + PoV 6.0: the Halls merchant shop, Book of the Halls and Runic Anvil were invisible because SeneaL UI hides the crafting panel they're drawn in. SeneaL now steps aside while one is open (config: SeneaLUI > ShowPovCraftPanelWindows).

1.8.2

  • Fixed: 1.8.1 could freeze the game after loading into a world with drawers nearby. The ItemDrawers placed-item fix now just skips placed pieces inside ItemDrawers' own pickup loop instead of replacing its item list.

1.8.0

  • Eggs only need warmth to hatch, not a roof (config: Vanilla > EggsNeedNoRoof).
  • No more harmless HarmonyX "could not find method ... Decide" warning on PoV 5.3.x.

1.7.1

  • Path of Valheiman 6.0: the portal crate fix for station-less portals (BottleShips) now patches ShipCrate.Decide, where PoV 6.0 moved the dismantle check. Still works with PoV 5.3.x.

1.7.0

  • No punch from the same click after setting up a portal or ship from a PoV crate.

1.6.3

  • XPortal crate fix: stops re-applying once the restored settings hold for 3 s, or as soon as a player opens the portal's name/network dialog, so portals can be renamed again.

1.6.2

  • XPortal crate fix: watches the set-up portal for 30 s, registers it with XPortalNetworks if needed and re-applies name/network whenever they drift.

1.6.1

  • XPortal crate fix: re-applies the saved settings each time XPortalNetworks re-registers the new portal (it does so more than once, with a delay); log lines for packing/unpacking.

1.6.0

  • PoV Portal crate keeps XPortalNetworks settings and relinks portals; packed portals are removed from XPortal's list.

1.5.0

  • PoV Portal crate works alongside BottleShips (station-less portals).

1.4.0

  • Kvist respects PoV's Any Soil: plants outside usual biomes when the player running him has it.

1.3.3

  • Fix: no longer changes other mods' load order (it was pulling Path of Valheiman ahead of SeneaL UI and others, which broke PoV's salvage tab and Alt + right-click salvage). Fixes now apply once every mod has loaded.

1.3.2

  • lynx_removegraves all checks for server admin/host instead of dev commands (vanilla never enables cheat commands for clients on a dedicated server).

1.3.1

  • lynx_removegraves works without dev commands for your own graves; all still needs them.

1.3.0

  • New console command lynx_removegraves [radius] [all] to delete PoV companion gravestones.

1.2.0

  • Carts can be dismantled with the hammer (workbench nearby, cart empty).

1.1.0

  • ValheimGliders: Wolf glider is Frost: Resistant (stops Freezing), like the Wolf cape.

1.0.0

  • First release: Kvist drawer and coal-stock fixes, Hugin's Flight overlay, ShieldMeBruh off-hand weapon.