ValheimPlus icon indicating copy to clipboard operation
ValheimPlus copied to clipboard

[BUG] Valheim plus not starting on valheim 0.214.300

Open ext4e opened this issue 1 year ago • 27 comments

  • 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.

ext4e avatar Mar 29 '23 08:03 ext4e

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

Hakker avatar Mar 29 '23 11:03 Hakker

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.

SSimp258 avatar Mar 29 '23 14:03 SSimp258

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

ext4e avatar Mar 29 '23 14:03 ext4e

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.

SSimp258 avatar Mar 29 '23 15:03 SSimp258

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

valdt avatar Mar 29 '23 17:03 valdt

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.

SSimp258 avatar Mar 29 '23 20:03 SSimp258

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

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

Gadgetwhir avatar Mar 30 '23 01:03 Gadgetwhir

https://github.com/Grantapher/ValheimPlus/releases/latest

Grantapher avatar Mar 30 '23 02:03 Grantapher

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

Gadgetwhir avatar Mar 30 '23 02:03 Gadgetwhir

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()

DrLecteur avatar Mar 30 '23 17:03 DrLecteur

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.

SSimp258 avatar Mar 30 '23 17:03 SSimp258

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...

KayHude avatar Mar 31 '23 07:03 KayHude

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)

DrLecteur avatar Mar 31 '23 17:03 DrLecteur

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?

SSimp258 avatar Mar 31 '23 18:03 SSimp258

Here is my BepInEx log LogOutput - REDACTED.log

DrLecteur avatar Mar 31 '23 18:03 DrLecteur

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).

JF10R avatar Mar 31 '23 18:03 JF10R

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 !)

DrLecteur avatar Mar 31 '23 18:03 DrLecteur

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

image

SSimp258 avatar Mar 31 '23 18:03 SSimp258

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

DrLecteur avatar Mar 31 '23 18:03 DrLecteur

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

Grantapher avatar Mar 31 '23 19:03 Grantapher

And seems to be due to

https://github.com/valheimPlus/ValheimPlus/blob/799a52a225487cc52e01a3cd77b37aa0e50be048/ValheimPlus/GameClasses/SteamGameServer.cs#L7-L24

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

Grantapher avatar Mar 31 '23 19:03 Grantapher

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.

AzumattDev avatar Mar 31 '23 21:03 AzumattDev

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

Grantapher avatar Apr 01 '23 05:04 Grantapher

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.

Lexigal1984 avatar Apr 01 '23 18:04 Lexigal1984

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/

AzumattDev avatar Apr 02 '23 12:04 AzumattDev

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

paohira avatar Apr 12 '23 23:04 paohira

CaptainWorf,

You don’t need the V+ 9.9.11 file at all. You can delete it. Also post your logoutput.log file so someone can look through it. I don’t have access to a computer for a couple more days so I won’t be able to until I get back to my apartment.

Get Outlook for iOShttps://aka.ms/o0ukef


From: CaptainWorf @.> Sent: Friday, May 5, 2023 5:19:31 AM To: valheimPlus/ValheimPlus @.> Cc: SSimp258 @.>; Comment @.> Subject: Re: [valheimPlus/ValheimPlus] [BUG] Valheim plus not starting on valheim 0.214.300 (Issue #803)

Same here! denikson-BepInExPack_Valheim-5.4.2105, V+ : 0.9.9.11 and V+Fix 0.9.9.15 the game loads but the char is invisible and there is no V+ logo.

— Reply to this email directly, view it on GitHubhttps://github.com/valheimPlus/ValheimPlus/issues/803#issuecomment-1535973067, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW7F2C7FL7FX6QJGS224YGDXETA2HANCNFSM6AAAAAAWLTGXB4. You are receiving this because you commented.Message ID: @.***>

SSimp258 avatar May 05 '23 14:05 SSimp258