valheimPlus / ValheimPlus

A HarmonyX Mod aimed at improving the gameplay and quality of life of the game Valheim.

Home Page:http://valheim.plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Valheim plus not starting on valheim 0.214.300

ext4e opened this issue · comments

commented
  • Windows 10 & 11
  • Valheim Patch 0.214.300
  • Valheim plus 0.9.9.11

Since the new update came out this night we can't start the mod on default_old version.
With before mistland version or none the game crash when starting.

commented

The crash however looks more to do with BepIndex than ValheimPlus though.

From what I remember it requires a Getpixel value between 0 and 6

You need to update your V+ to at least .12 or .13 if Grantapher put out a new version for the community fix. Also, bepinex is required to be updated to 5.4.2101 now. This should fix your issues.

commented

Hi,
Sorry I just tryed to update Valheim + but it appear that I alreadry have the last version.

I can start the game on old_stable version with bepinex but V+ doesn't show once game launched.

Here is the log :

https://pastebin.com/smtmbC8f

Thanks for your help

In your log, there's no V+ dll file being loaded. You have 1 plugin being loaded and it's not V+. That's why it's not launching.

Same issue as ext4e
Latest V+ breaks the game.
Latest BepInEx breaks V+ but restores game.

Same issue as ext4e Latest V+ breaks the game. Latest BepInEx breaks V+ but restores game.

Make sure you're using the community fix version 9.9.13.

Short and skinny update:

Valheim version 214.30x requires:
Bepinex version 5.4.2101
V+ community fix version 9.9.13

Update your guy's files and try again and let me know.

Make sure you're using the community fix version 9.9.13.

where can I find the V+ community fix version at?

Thanks and confirmed this worked for me on the windows client standalone as well as with the dedicated server.

I have issue making it work.
I'm a gamepass player (game version is 0.214.305 displayed as 0.214.300)
Bepix 5.4.21.0
V+ 0.9.9.13

V+ is crashing :

[Info   :Valheim Plus] Configuration file loaded succesfully.
[Error  : Unity Log] TypeLoadException: Could not load type Steamworks.SteamGameServer, assembly_steamworks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null)
Stack trace:
System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.RuntimeType.GetCustomAttributes (System.Boolean inherit) (at <695d1cc93cca45069c528c15c9fdd749>:0)
HarmonyLib.HarmonyMethodExtensions.GetFromType (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type, System.Boolean allowUnannotatedType) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.CreateClassProcessor (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
ValheimPlus.ValheimPlusPlugin.Awake () (at <c57ae90247c4442f8e530d257f7432e4>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.UI.Image:OnCanvasHierarchyChanged()

i would reinstall bepinex 5.4.2101 or it could be an issue with steam because of the steamworks part of the error but it's hard saying. try bepinex and let us know if it persists.

I have issue making it work. I'm a gamepass player (game version is 0.214.305 displayed as 0.214.300) Bepix 5.4.21.0 V+ 0.9.9.13

V+ is crashing :

[Info   :Valheim Plus] Configuration file loaded succesfully.
[Error  : Unity Log] TypeLoadException: Could not load type Steamworks.SteamGameServer, assembly_steamworks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null while decoding custom attribute: (null)
Stack trace:

You definitely need BepInEx 5.4.2101 for Valheim 0.214.300

Yeah, that third decimal place does make a difference...

I have re-installed the BepInEx 5.4.2101 and tried the BepInEx 5.4.2102.
V+ doesn't work with neither.

V+ : 0.9.9.13 (grantapher fix)
Valheim : 0.214.305 (displayed as 0.214.300)
BepInEx : 5.4.2101 or 5.4.2102 (displayed in console as 5.4.21.0)

I have re-installed the BepInEx 5.4.2101 and tried the BepInEx 5.4.2102. V+ doesn't work with neither.

V+ : 0.9.9.13 (grantapher fix) Valheim : 0.214.305 (displayed as 0.214.300) BepInEx : 5.4.2101 or 5.4.2102 (displayed in console as 5.4.21.0)

What's the log say?

Here is my BepInEx log
LogOutput - REDACTED.log

Here is my BepInEx log LogOutput - REDACTED.log

Try updating your plugin Quick Stack - Store - Sort - Trash - Restock 1.3.8. According to its changelog, it has been recompiled in version 1.3.9 for the latest BepInEx version. This could be the culprit (Version 1.3.10 is out already).

I tried it

Loading [Quick Stack - Store - Sort - Trash - Restock 1.3.10]

No difference. (But thx for the update notice, i would have missed it !)

Your game isn't loading V+. Are you on Steam or Gamepass?

image

It may be unclear, as i hijacked this topic.
I'm a gamepass player, indeed, v+ is crashing at start

@DrLecteur can you make a new issue? Yours looks specific to "V+ not working with Xbox Gamepass Valheim".

And seems to be due to

/// <summary>
/// Alters max player count
/// </summary>
[HarmonyPatch(typeof(SteamGameServer), "SetMaxPlayerCount")]
public static class ChangeSteamServerVariables
{
private static void Prefix(ref int cPlayersMax)
{
if (Configuration.Current.Server.IsEnabled)
{
int maxPlayers = Configuration.Current.Server.maxPlayers;
if (maxPlayers >= 1)
{
cPlayersMax = maxPlayers;
}
}
}
}

I imagine the steam assembly simply doesn't exist on the game pass version.

That would be correct.
They would have to patch that and check for the backend before attempting to access steam information. In short, patch that method only when the backend is steam. Don't patch it if it's not.

Will continue on about xbox game pass version in #806.

i would reinstall bepinex 5.4.2101 or it could be an issue with steam because of the steamworks part of the error but it's hard saying. try bepinex and let us know if it persists.

Where do you get the new version for BepInEx? I run the steam verison. I updated V+ but can't find the BepInEx v 5.4.2101. I have 5.4.21.0 which is what is on their GitHub.

i would reinstall bepinex 5.4.2101 or it could be an issue with steam because of the steamworks part of the error but it's hard saying. try bepinex and let us know if it persists.

Where do you get the new version for BepInEx? I run the steam verison. I updated V+ but can't find the BepInEx v 5.4.2101. I have 5.4.21.0 which is what is on their GitHub.

You can get it from the pack that I help maintain. https://valheim.thunderstore.io/package/denikson/BepInExPack_Valheim/

I've installed  denikson-BepInExPack_Valheim-5.4.2105 and V+ : 0.9.9.13
It load till the character choice, that is naked, and when I try to choose a world the game crash