Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Valheim Plus mod may be broken for awhile #598

Open
syntaxintact opened this issue Mar 23, 2023 · 5 comments
Open

Official Valheim Plus mod may be broken for awhile #598

syntaxintact opened this issue Mar 23, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@syntaxintact
Copy link

From reading the valheim plus discord it appears that the official Valheim+ mod may be broken for some time due to irl circumstances for the owning dev. This fork is being tossed around as an alternative in the discord, and has already pushed out a fix for the most recent patch issues. Might be worth looking into switching from the official mod to this fork, at least until they sort out their issues.

https://github.com/Grantapher/ValheimPlus/releases/tag/0.9.9.12

@lloesche
Copy link
Owner

lloesche commented Mar 23, 2023

Hey @syntaxintact thank you for the heads up. I created the PR linked above which allows to switch to any other V+ fork on Github. I'm still keeping the original V+ repo as the default, until a new "default" is established or hopefully the original author resumes working on it.

How it works, you can now specify an env var VALHEIM_PLUS_REPO which defaults to valheimPlus/ValheimPlus.
If you set it to VALHEIM_PLUS_REPO=Grantapher/ValheimPlus it'll fetch releases from that repo.

Hope this helps.

@lloesche lloesche added the enhancement New feature or request label Mar 23, 2023
@syntaxintact
Copy link
Author

@lloesche That sounds like a fantastic approach. Thanks for the quick response!

@Firestar99
Copy link

Firestar99 commented Mar 28, 2023

Using the different valheim plus repo as you suggested sadly did not work for me. I also tried to clear the mapped out /opt/valheim directory without success.
But as my main use-case for the mod is not to have a server password, luckily I can easily live without it for the moment.

docker creation arguments (with stop and rm before that ofc):

docker run -d \
        -p 2456-2457:2456-2457/udp \
        --name valheim \
        --restart=unless-stopped \
        --log-opt max-size=1G \
        --stop-timeout 120 \
        -v /data/valheim/config:/config \
        -v /data/valheim/data:/opt/valheim \
        -v /etc/localtime:/etc/localtime:ro \
        -v /etc/timezone:/etc/timezone:ro \
        -e SERVER_PUBLIC=false \
        -e VALHEIM_PLUS=true \
        -e VALHEIM_PLUS_REPO=Grantapher/ValheimPlus \
        -e SERVER_PASS="" \
        lloesche/valheim-server:latest

Error sample:

Mar 28 21:33:36 supervisord: valheim-server Caught fatal signal - signo:11 code:1 errno:0 addr:0x3fb
Mar 28 21:33:36 supervisord: valheim-server Obtained 3 stack frames.
Mar 28 21:33:36 supervisord: valheim-server #0  0x007f8911579140 in funlockfile
Mar 28 21:33:36 supervisord: valheim-server #1  0x007f89126642c3 in Texture2D_CUSTOM_GetPixelImpl_Injected(ScriptingBackendNativeObjectPtrOpaque*, int, int, int, int, ColorRGBAf&)
Mar 28 21:33:36 supervisord: valheim-server #2  0x0000004199c815 in (wrapper managed-to-native) UnityEngine.Texture2D:GetPixelImpl_Injected (UnityEngine.Texture2D,int,int,int,UnityEngine.Color&)
Mar 28 21:33:36 supervisord: valheim-server /usr/local/bin/valheim-server: line 123:   242 Segmentation fault      (core dumped) LD_PRELOAD=$SERVER_LD_PRELOAD "$valheim_server" -nographics -batchmode -name "$SERVER_NAME" -port "$SERVER_PORT" -world "$WORLD_NAME" -public "$SERVER_PUBLIC" "${password_args[@]}" $SERVER_ARGS > >(filter) 2>&1
Mar 28 21:33:36 supervisord: valheim-server DEBUG - [237] - Valheim server with PID 242 stopped
2023-03-28 21:33:36,976 INFO reaped unknown pid 243 (exit status 0)
Mar 28 21:33:36 supervisord: valheim-server INFO - Releasing PID file /var/run/valheim/valheim-server.pid
Mar 28 21:33:36 supervisord: valheim-server INFO - Shutdown complete

@syntaxintact
Copy link
Author

Worked great on mine.
Did you delete the existing containers and images and rebuild from scratch?

Also need to install the grantapher version on your local client (you may have done that already)

@draconb
Copy link

draconb commented Mar 29, 2023

FYI until it goes "live" (its pre-release) you'll need to manually use the tag as well:

VALHEIM_PLUS_REPO=Grantapher/ValheimPlus

VALHEIM_PLUS_RELEASE=tags/0.9.9.13

https://github.com/Grantapher/ValheimPlus/releases/tag/0.9.9.13

You'll need to update your local game install of ValheimPlus.dll as well

Valheim\BepInEx\plugins copy the ValheimPlus.dll from that github link into your local folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants