RinseV / valheim-skipsleep

Valheim Skip Sleep mod
GNU General Public License v3.0
3 stars 1 forks source link

Running SkipSleep on a system with more than 1 valheim_server process does not work. #1

Closed SirFrostingham closed 3 years ago

SirFrostingham commented 3 years ago

One a single system, I may be running 3 servers at once, not just 1.

This mod does not work on Server B, due to this message on Server B's start up.

[Warning: BepInEx] Skipping [ModSkipSleepValheim 1.0.2] because of process filters (valheim.exe, valheim_server.exe)

Server A works with SkipSleep, Server B does not. Server A's Valheim process is "valheim_server.exe", Server B's process is "valheim_server3.exe".

Thanks for the great mod!

SirFrostingham commented 3 years ago

Here is the bug: https://github.com/RinseV/valheim-skipsleep/blob/master/SkipSleep.cs

If you remove lines 12 and 13, the mod will work with any server process.

SirFrostingham commented 3 years ago

Hi again. I issued a pull request to resolve this issue. I hope you can get to it. Thanks!

https://github.com/RinseV/valheim-skipsleep/pull/2

RinseV commented 3 years ago

Fixed as of 1.0.5, thanks again!