Code Monkey home page Code Monkey logo

valheimplus's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

valheimplus's Issues

Hoe & Advanced Building Mode

The Hoe appears to be stuck in Advanced Building Mode. I'm not entirely sure how this began because I can't remember if I've tried using it since installing this mod. It appears to be in Advanced Building Mode because using the arrow keys slightly moves the target indicator. However, using the hotkey to exit Advanced Building Mode does not solve the issue.

This issue persists across both new and old characters but not across worlds. The item can be handed to friends in multiplayer (who also have the mod) and be used as normal without issue.

We are using version 0.5 of the BepiNex + ValheimPlus package.

Add settings for stamina

The base game sadly has a very slow stamina regen rate and with all the debuffs that make it even slower it can become a quickly become a nightmare. Building and repairing also takes stamina. It'd be nice to be able to choose the speed at which stamina regens and to be able to toggle off stamina usage for building and repairing

[Release Request] Add tar.gz alongside zip files

I've been modifying my Docker image to have the mod installed and it would be nice if there would be no dependency for zip. Most images (and Linux environment) support tar.gz by default, so I would like to ask to include a tar.gz archive for Unix environments in the future!

[Feature Request] Notification on gained XP

Not sure how much there is control to the UI, however making skill grinding more rewarding and active would be a nice add-on.

When player does something to acclaim more xp to a specific skill, the game would prompt it in the bottom-right corner.
Format would be: <Skill_name> (<amount_gained>)

Ex. Cutting wood, it would prompt:
Woodcutting (+5)

*and maybe add to total amount as well after it? ex. Woodcutting (+5) 255/600

I'm no UI specialist, but suggestion to have it as an list.
Every new text would be added to the bottom of the list + lines would fade after x seconds.

Woodcutting (+5)
Woodcutting (+5)
Sword (+2)

Thanks

[Feature Request] Advanced Building/Editing Mode: Worldspace Snapping

With adjustable translation step distances on the way, the Advanced Building/Editing Mode enables an even greater amount of precision when placing objects in the world. However, this is still limited by the precision of the blueprint's initial position. This works well enough for objects that can be attached to snapping points such as walls and floors, but falls short for other objects such as chests and hearths.

If a new hotkey were added which rounded off the blueprint's position to the nearest multiple of the current rotation/translation speed in worldspace coordinates, this would enable players to align such objects more easily, entirely removing the need to fuss with getting the initial position close enough.

This may pose an issue with buildings which are not aligned with the worldspace grid, however. Perhaps it would be beneficial to deduce the offset and rotation of the nearest structure, or of an object under the cursor upon entering Advanced Building/Editing Mode, and transform the coordinates accordingly when rounding.

[Feature Request] Add support for Linux dedicated servers

ValheimPlus seems to work fine on Windows servers but not on unix hence it won't work on servers booted up via docker.

Edit: reading about HarmonyX made me think that this is probably wrong end of the stick to put the feature request in. The dockerfile is probably the place where it might need to happen...

Feature request: Bigger bags

One of the biggest problem with Valheim is the limited amount of items you can fit inside your bag. I guess this one might be a bit difficult to implement since it would require an UI change in-game. Another way to tackle this problem would be to give an option to increase stack sizes of items.

Simple stupid question

Hello again,

Silly question, but how do you update the mod with your latest changes? (The 0.5 file on your download link is different from the one offered for download by GitHub)

Thank you !

Advanced Building/Editing Mode Rotation Speed: Translation Inconsistency

Version: ValheimPlus v0.7C

The rotation speed adjustments appear to affect the translation speeds as well, which is useful but appears to not work consistently in this context. This bug does not appear to affect object rotation. Translating an object in Advanced Building or Editing Mode results in an incorrect offset distance. Moving an object back and forth seems to demonstrate a random offset-error which causes the object to move inconsistently and become misaligned.

There is some modulo-like behavior, which suggests that the internal offset does not match the rendered and final placement offset. This is evidenced by the fact that moving an object back and forth will eventually yield a greater than one-whole-step error; the object will no longer alternate between the initial position and first step, instead alternating between the first and a second step.

This example was performed with a rotation speed of 71.
test

Feature Request. Extended Plot/Build Area

I'm not sure if you're already working on this or not, but I think it would be really cool if you found a way to either increase or remove the building limit around stonemasons/workbenches to allow us to build without having to constantly place workbenches/stonemasons around. Not a big deal just a small thought.

[feature] modification of m_dataPerSec in Server section

We just had a discussion in lloesche/valheim-server-docker#58 about the inclusion of m_dataPerSec in the Server section of V+.
Right now we're running recompiled assembly_valheim.dll to increase outbound send rate to e.g. 500kb/s (default is ~64kb/s). Would be neat if V+ just had config file support for it.

On busy servers with the necessary bandwidth it makes a huge difference. We have 8-10 people playing simultaneously with lots of wolfs running around. Before the patch wolfs would mostly just teleport esp. during attack waves. Now everything is buttery smooth.

Potential known issue with maximum players modification of the server.

I am at this point in time not able to test the 10 players cap properly since I do not have 10 people to help me with that.

My current expectation is that the client actually prevents you from joining servers with more than 10 people max since it does not actually load the maximum amount of players from the server but just uses a hardcoded value. In case that is the case, I will have to make some small adjustments but it should be fixed fairly easy.

doorstep_libs problem

Hi,

i'm a noob in Linux/coding and my english is not good. :S

Operating system: Ubuntu 20.04.2 LTS
I installed libc6-dev

When i run run_bepinex.sh i got an error message: "./run_bepinex.sh: 100: export: server/doorstop_libs:: bad variable name"

I copy the files from the UnixServer.zip in the Valheim dedicated server folder

The installation path is: /home/lifted/Steam/steamapps/common/Valheim dedicated server

I installed the server files with SteamCMD. The SteamCMD folder is on the desktop.

the executed code:

lifted@LinuxServer: ~/Steam/steamapps/common/Valheim dedicated server$: sudo chmod u+x run_bepinex.sh
[sudo] Passwort für lifted:
lifted@LinuxServer: ~/Steam/steamapps/common/Valheim dedicated server$: ./run_bepinex.sh
./run_bepinex.sh: 100: export: server/doorstop_libs:: bad variable name

What did i wrong/where is the problem?

source7590

[feature] Inventory logic & sorting

It seems to me that if I open a chest, or a tombstone, and "take all" items - they're not stacked with what I already have. This sucks, as I'll have to do inventory management afterwards in order to optimize it.

Things I think could be beneficial to have:

  • Like above, when "taking all", find existing stacks and fill those first
  • Add a button, or hotkey, that sorts the inventory I already have. Maybe don't sort the first row (the toolbar)
  • A "put all", that moves my inventory to the chest I'm looking at.. It should either a) fill existing stacks only or b) fill existing stacks + make new stacks of existing items

Example for the "put all"

I have a chest with 1 stack of wood in it. The put all could be used to maximize this stack from my inventory, or to entirely fill the chest with just wood (making new stacks). If the chest had more items (wood & core wood), both those items could be moved when filling the chest.

Sidenote: Larger chests / more slots :O

Advanced Building/Editing Mode Rotation Speed: Notification Delay Causes Confusion

Version: ValheimPlus v0.8

When adjusting the rotation speed, the message that appears to show its new value takes quite a long time to fade and be replaced by the next queued message. Especially when fine-tuning, this can cause confusion as to what the current value actually is if the user has not correctly memorized and counted their keypresses.

I believe a clearer implementation would involve instantly quelling the current message and replacing it with a new notification that shows the updated value in real time.

The type of notification in question:
image

Shared Map

What happens when I'm offline and a friend discovers another part of the map? Can't I see it? Is it not possible to make the map completely shared and, for example, the markers on it to?

Thanks, amazing job!

baseItemWeightReduction has no affect

baseItemWeightReduction=0.8
;(float), removes from value (original - (original * baseItemWeightReduction).
; 1 is 100% weight reduction of every item, 0.5 is 50%.

This doesn't seem to have any effect.

source location of run_bepinex.sh

I'm looking for the sources of run_bepinex.sh from UnixServer.zip release bundle. I can't seem to find it in this repo.
I'd like to submit a PR that makes the hard coded line

"${PWD}/${executable_name}" -name "servername" -password "serverpassword" -nographics -batchmode -port 2456 -world "world"

use dynamic arguments.

Items Weight

Hello,

Thanks for your fabulous mod.

I noticed that the weight of the objects was not reduced, changing the parameters (0.5, 0.8), with the lines set to "TRUE".

[This is my parameters]

[Items]
enabled=true
; enable/disable Building changes

noTeleportPrevention=true
; default is false (boolean)

baseItemWeightReduction=0.7
;(float), removes from value (original - (original * baseItemWeightReduction).
; 1 is 100% weight reduction of every item, 0.5 is 50%.

Thank you, and bring you back the problems if I come across to help you!

Feature Request- Pvp Mode

Hello, I have two questions. Is there a way to force everyone to have PVP on all the time? Do these mods allow a stable server with 50 players?

I want to set up a server with 50 max for my group but I have not heard of anyone actually seeing that work yet

Disable damage to buildings.

In version 0.6, damage to buildings was disabled.
In version 0.8, it seems that building damage is enabled.
Is it possible to add a parameter to disable it?

Add development setup to the readme

I think it will allow more programmers to contribute and expend the mod if you add some sort of instructions to the readme on how to setup a development env

Dedi server crashes

I can get it working just fine on client-side solo/non-dedi server, but when I drop it in the dedi server files, server crashes right at launch.

Unhandled Exception:
System.MissingMethodException: void System.IO.File.WriteAllText(string,string)

Increase Ward protection

Hey,

Awesome work!

We need wards to work correctly for a decent public experience... I mean, protect from players destroying everything, not only locking doors/chests.

I've been reading code using dnSpy, seems its under Privatearea class

[feature] Do not replace config on updates / place config elsewhere

Would it be possible to avoid replacing the config with a new one on updates?

I'm thinking it should be possible to:

  • Not ship the config, but create it on first run
    • Ship a valheim_plus.cfg.example, that users can copy if they want to change the config before they start the game
    • On updates w/ new config options that aren't defined in the file - you could rewrite it with the config that is set, and the new values (with defaults)
  • Like above, but place the config outside the game folder - like with the save games at %HOMEPATH%\AppData\LocalLow\IronGate\Valheim

Unity Log errors with Valheim+

Getting errors in log:


[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ValheimPlus.ValheimMultipliersPlugin+ModifyPlacingRestrictionOfGhost.Prefix (Player& __instance, System.Int32& ___m_placementStatus, UnityEngine.GameObject& ___m_placementGhost, UnityEngine.GameObject& ___m_placementMarkerInstance, System.Int32& ___m_placeRotation) (at <b4defa7c27074b7b9df63cfc4d21a06e>:0)
(wrapper dynamic-method) Player.DMD<Player::UpdatePlacementGhost>(Player,bool)
Player.LateUpdate () (at <f24ccd8702d04f38afc5201e71155009>:0)

Bug with farming&advanced building

When advanced building mode is enabled in the config, I cannot plant any seeds. I can build just fine with it, just not farming. It 'drops' the 'ghost' at your feet, as if you were still deciding where to place the seed, but you cannot mouse-click to actually place it, nor can you even move the 'ghost' around, though arrow keys does work for moving.

0.8 Linux Server not loading BepInEx

I installed a fresh copy of the valheim dedicated server via steamCMD, then applied the files from the 0.8 UnixServer.zip release.

When running ./run_bepinx.sh I get this console output immediately and then the server proceeds to start normally.

Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AccessibilityModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AndroidJNIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AnimationModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AssetBundleModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.AudioModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClothModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClusterInputModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ClusterRendererModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.CoreModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.CrashReportingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.DSPGraphModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.DirectorModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.GameCenterModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.GridModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.HotReloadModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.IMGUIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ImageConversionModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.InputModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.InputLegacyModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.JSONSerializeModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.LocalizationModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ParticleSystemModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.PerformanceReportingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.PhysicsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.Physics2DModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ProfilerModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.ScreenCaptureModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SharedInternalsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SpriteMaskModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SpriteShapeModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.StreamingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SubstanceModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.SubsystemsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TLSModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TerrainModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TerrainPhysicsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TextCoreModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TextRenderingModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.TilemapModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UIModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UIElementsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UNETModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UmbraModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityAnalyticsModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityConnectModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityTestProtocolModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestAssetBundleModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestAudioModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestTextureModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UnityWebRequestWWWModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VFXModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VRModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VehiclesModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.VideoModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.WindModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.XRModule.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_steamworks.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_lux.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_valheim.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_guiutils.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/UnityEngine.UI.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_sunshafts.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_googleanalytics.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_postprocessing.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_simplemeshcombine.dll.so
Fallback handler could not load library /home/gamesuser/serverfiles/valheim_server_Data/Mono/��♥☺pU/mono/aot-cache/amd64/assembly_utils.dll.so

Note: the characters between Mono/ and /mono/aot-cache change every startup.

When connecting with a client that has mod version 0.8 and the same config installed (as verified in the startup screen of the game), I get this message when trying to connect (on the server log):

02/19/2021 18:10:40: Got session request from 76561198011578452

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:44: Got handshake from client 76561198011578452

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:47: VERSION check their:[email protected]@E9BFFE8258E79DAA3B251E217620484F  mine:0.145.6

(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

02/19/2021 18:10:47: Peer 76561198011578452 has incompatible version, mine:0.145.6 remote [email protected]@E9BFFE8258E79DAA3B251E217620484F

This results in a "Incompatible Version" error when trying to join the server.

How I setup the server (ubuntu 20.04 LTS):

  • Install SteamCMD
  • Use steamcmd to install the dedicated server to /home/gamesusers/serverfiles/ (i.e. valheim_server.x86_64 is in that folder)
  • Download the 0.8 UNIX_server.zip onto my PC, extract it, modify config values to match what I had in 0.6)
  • rsync that folder up to the server so that /home/gamesusers/serverfiles/BepInEx and so on exist
  • chowned all files and folders in /home/gamesusers/serverfiles/ to gamesuser:gamesuser
  • run /home/gamesusers/serverfiles/run_bepinx.sh

BepInEx console?

can we work on not opening console every time we run the game? kinda annoying ngl

image_2021-02-18_112031

Linux gsm

When the game server is installed using Linux gsm it passes arguments to a defined executable, so it would be useful for run_bepinex.sh to correctly intercept them.

Hope this can be implemented for the next linux server release, or it helps anyone searching for guidance for v+ with linuxgsm.

Remove/modify the code which takes an argument to be executable name:
## Special case: if there is an arg, use that as executable path ...

Add this switch:

do
	case $arg in
	-name)
	argName=$2
	shift 2
	;;
	-password)
	argPassword=$2
	shift 2
	;;
	-port)
	argPort=$2
	shift 2
	;;
	-world)
	argWorld=$2
	shift 2
	;;
	-public)
	argPublic=$2
	shift 2
	;;
	esac
done

Replacing the following line allows us to start the server with the expected arguments passed by gsm:
"${PWD}/${executable_name}" -name "servername" -password "serverpassword" -nographics -batchmode -port 2456 -world "world"

Change to:
"${PWD}/${executable_name}" -name "${argName}" -password "${argPassword}" -port "${argPort}" -world "${argWorld}" -public "${argPublic}"

Update gsm config file located at:
~/lgsm/config-lgsm/vhserver/vhserver.cfg

Add
executable="./run_bepinex.sh"

Now ./vhserver start works as expected

Connect to the console if needed with:
tmux a -t vhserver

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.