#WindowsGSM Help

1 messages Β· Page 1 of 1 (latest)

trail flax
#

Message here if you need assistance without slowmode. I think threads work without it.

odd cave
#

hello people of the discord

#

i havent tried gsm ive been using the steam tool to no avail

ionic brook
#

i tried to link wgsm discord but no one asking there lol

odd cave
#

ill try gsm and keep you posted

ionic brook
#

make sure you downloaded 1.0.2 im kinda messed up with the old version as im sleepless and presured

odd cave
#

im just getting the same issue 😦

#

not posting on the server list

#

[OnlineProviderSteam] 'Initialize' (up)!
[OnlineProviderSteam] 'JoinOrCreateGame' (up)!
[OnlineProviderSteam] 'SetLobbyData' (up)!
[OnlineProviderSteam] 'JoinLocalPlayers' (up)!
[OnlineProviderSteam] 'ConnectToPeers' (up)!
[OnlineProviderSteam] finished transition from 'Uninitialized' to 'InGame' (current='InGame')!
[Session] 'HostOnline' (up)!
[Session] finished transition from 'Lobby' to 'Host_Online' (current='Host_Online')!
[server] Load deserialization took 2.58 s

#

that with nothing to actually join

amber sand
#

Everythings starts, can join, password set in config, but server always starts without one

#

1.0.2

lucid hazel
ionic brook
#

i cannot confirm if the game really implemented password server if its not working in json file

#

wgsm nothing to do with password thing as its just launching the server for you

lucid hazel
#

Password works on mine when I add to that file, pre-1.0.2 it would overwrite the json config with no password

#

-password param never worked when I tried

ionic brook
#

i removed the config updater function on 1.0.2

pliant glacier
#

when you update the enshrouded.cs file, how exactly can I update my server with it? Closing WindowsGSM and copying the file into the plugins folder?

lucid hazel
#

Trying to run 2 servers, 1st is working fine, 2nd refuses to bind to new ports

1st: -gamePort=15636 -queryPort=15637
2nd: -gamePort=15638 -queryPort=15639

"CreateBoundSocket: ::bind couldn't find an open port between 15637 and 15637"

Same issue when running the exe from command line

amber sand
#

adding it to .json works fine, went that route, thanks!

ionic brook
pliant glacier
#

and then it will automatically update my already running server?

ionic brook
pliant glacier
#

I did changes to the json aswell to set a password. Still I got 16 slots which I dont need, since we are planning to play with 3 or 4 players

#

setting password in the GSM manager does not work for me either

ionic brook
#

i hope they will add overriding also other params like rcon and other config

distant wraith
#

Did anyone figure out the crash on run thing with GSM?

pliant glacier
#

still a 100% better start than D4 πŸ˜„

ionic brook
distant wraith
#

I see, thanks!

sinful heart
#

hi thanks for creating gsm
just one question can you host multiple servers at a time?

ionic brook
#

maybe this is supported cpu or driver that causing the crash coz im using windows server 2019 and my surface pro8 using windows10 all working

ionic brook
soft stratus
#

Setting up the dedi server - I got the json file edited... is the IP address the IP of my dedi server?

ionic brook
soft stratus
lucid hazel
ionic brook
marble granite
#

getting this when trying to start server, it crashes, event viewer shows this

#

Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program enshrouded_server.exe because of this error.

lucid hazel
ionic brook
sinful heart
#

so for me each of the servers are running but not at the same time
[I 00:00:00,016] [app] start creation step Init_Steamworks
[E 00:00:00,068] [steam] Failed to initialize Steamworks system...Generic Error

#

i guess its a steam works problem

ionic brook
#

maybe its not multihome yet

soft stratus
crystal swift
#

wgsm WIndows Game Server Manager, what this thread is about...

soft stratus
#

I've edited the server name, password, checked firewalls... server still not showing up.

ionic brook
ionic brook
#

mostly when the game server is not region lock

crystal swift
#

the default enshrouded_server.exe rules that were already in there weren't enough apparently.

crystal swift
odd cave
#

i still cant get any server to work 😦

#

i did it for 7 days to die and valheim i dont understand why im having such an issue with this game

#

did the inbound and outbound rules etc. but still nothing. server starts says its running but i cant find it on the list or on the steam server browser

#

been at it since 11 today

#

very frustrating lol

ionic brook
odd cave
#

yeah via ip and port

ionic brook
#

maybe your server is up but you just dont see it on the list

#

if you are 1st time in steam list that a known issue because the game is not being region lock, so the steam servers cant fetch thousand of servers at a time

ionic brook
sterile elbow
#

I keep getting this error in the log file:

[W 00:00:00,413] [resource] Could not load resource cache file 'C:/Users/esserver/Desktop/WindowsGSM/servers/1/serverfiles/enshrouded_server.krc'. error=file not found

#

Wed Jan 24 18:59:49 2024 UTC : Failed to load Steam Service (GLE 126)
Wed Jan 24 18:59:49 2024 UTC : BOpenService failed (GLE 1060)
Wed Jan 24 18:59:49 2024 UTC : ServiceStart: failed to start (GLE 183)

I also get these errors as well. Anyone run into this yet?

ionic brook
sterile elbow
#

Sorry, I am pretty new to WindowsGSM as I normally use LGSM. Would you mind sharing how to do that?

ionic brook
#

if you see Actions > Update >Update Validate

#

start exploring WGSM options πŸ™‚

sterile elbow
#

Got it!

#

Sorry about that.

ionic brook
#

np

sterile elbow
#

It is validating now. Hopefully I can figure it out from here.

#

The weird thing is that I JUST built this VM and used your latest 1.0.2 release of WindowsGSM enshrouded.cs for it, so theoretically it should've grabbed all of the needed files from steamcmd the first time.

ionic brook
#

did you look for that file if exists?

sterile elbow
#

I did. It does not exist in the mentioned folder.

#

All of the other files, the .exe, the .json, a couple of .kfc_data and .kfc_dir all exist, but no .krc file.

#

Maybe it creates that file if/when the server launches successfully, but It looks like it is failing to load Steam Service which might be why it is crashing out.

Wed Jan 24 18:59:49 2024 UTC : Failed to load Steam Service (GLE 126)
Wed Jan 24 18:59:49 2024 UTC : BOpenService failed (GLE 1060)
Wed Jan 24 18:59:49 2024 UTC : ServiceStart: failed to start (GLE 183)

ionic brook
sterile elbow
#

Ah. Don't have the steam launcher on my server.

I did install the 2022 VCRedist.

ionic brook
#

direct x

sterile elbow
#

Installed the Steam client, and still just getting this error every time I try to start the server. I really don't understand why these devs don't add linux support to their game servers.

Wed Jan 24 19:22:52 2024 UTC : Failed to load Steam Service (GLE 126)

ionic brook
#

looks like steam cant get out

#

try to add the exe both wgsm and Enshrouded server to your firewall

sterile elbow
#

the firewall isn't even enabled on this VM

#

I can login to steam just fine on the VM through the steam client?

sterile elbow
#

Which port are you referring to? The port for the enshrouded server? 15636? It's open, but nothing is responding on that port since the server won't start

sterile elbow
#

Yes the server is crashing

#

Immediately

ionic brook
#

can you install it using launcher

#

if its still crashing you are the one of the others that has the same issue

#

i think its a cpu or os issue

sterile elbow
#

Hm. I did use Server 2022. Might rebuild this VM using WIn10 Pro.

ionic brook
#

im using 2019 but not in vm

distant wraith
#

mine crashing no matter what way I try to host it GSM or SteamCMD, on Win10 VM

ionic brook
#

vm like proxmox or other is limiting my internet so i install OS direct on server

sterile elbow
#

I've got like ~20 VMs on my Proxmox node, so that's not really an option for me at this point lol

ionic brook
sterile elbow
#

EVERY other game server works flawlessly through LGSM or on my Win22 VM. Not sure why Enshrouded is a piece of shit :/

ionic brook
#

maybe the build is not for vm lols coz i tried this on my winpro surface 8 while developing the plugin and works fine also on winserver2019 but not vm

sterile elbow
#

That seems unlikely given that all of these game hosting sites are definitely not running every server on bare metal

crystal swift
#

Did you try the Linux Help or Docker Help threads? Since you seem to want to run it in Linux?

distant wraith
ionic brook
sterile elbow
#

I can give that a shot.

ionic brook
#

i looked on google regarding the error and it never fixed lol

sterile elbow
#

Yup...

#

I'm going to try the Docker route, as I would honestly prefer that.

ionic brook
#

i can sleep now πŸ˜„

languid meteor
#

[01/24/2024-19:36:23][#1] Server: Updated ()
[01/24/2024-19:42:10][#1] Action: Start
[01/24/2024-19:42:11][#1] Server: Started
[01/24/2024-19:42:12][#1] Server: Crashed
[01/24/2024-19:42:21][#1] Action: Start
[01/24/2024-19:42:22][#1] Server: Started
[01/24/2024-19:42:23][#1] Server: Crashed

Everything seems to be working fine. It even seemed to run before I updated, but didn't show up in the server browser.

I changed the IP to match my AWS static IP and now it won't run. What am I missing here?

random inlet
#

I'm having exactly this issue as well

ionic brook
sterile elbow
languid meteor
#

Wed Jan 24 19:46:02 2024 UTC : Failed to load Steam Service (GLE 126)
Wed Jan 24 19:46:02 2024 UTC : BOpenService failed (GLE 1060)
Wed Jan 24 19:46:02 2024 UTC : ServiceStart: failed to start (GLE 183)

You are indeed correct

languid meteor
quiet aspen
#

put in the local ip, not the public ip

sterile elbow
ionic brook
#

coz mine for example im using 192.168.x.x

sterile elbow
#

It defaulted to my local IP, and then I tried public. neither worked.

#

Yup, mine defaulted to the IP for my VM, 192.168.10.21

languid meteor
#

I'm back to my local ipv4 address and it's behaving the same way, same error

alpine jacinth
#

i got the same "file not found" failure

#

Failed to load Steam Service... do i really need to have steam installed, even if i use steamcmd?

ionic brook
#

i found some article about 183 error they just reimage the vm but thats alot of work :/

quiet aspen
#

yes your LocalIp, the enshrouded server will resolve the public Ip during it's initialization. I found that if I had left the 0.0.0.0 in there it would start, but it wouldn't show up in the game browser.

I changed it to the public IP, and it would immediately crash on start up.

Changed it to the local IP (192.168..) and it finally worked and showed up on the browser

alpine jacinth
#

I have it on my local IP, but it crashed right from the start

quiet aspen
#

you shouldn't need to blast your vm's.. I have mine running on a vm no issue. I'm using VMWare and I just made sure it was in bridge mode and then setup the port forwarding to the vm's ip

quiet aspen
#

windows 10 lol

#

what's your log show?

ionic brook
#

so its confirmed that can be use in VM maybe theres something wrong with networking that steam cant go out like you said you setup a bridge mode

quiet aspen
#

it's not letting me paste screenshots in here

ionic brook
#

me too

quiet aspen
#

I also made sure that the windows firewall was setup for inbound and outbound on the default game ports 15636 and 15637

#

and of course setting up the port forwarding on the routing as well. I sent you some screen shots of my config

#

hope it helps

alpine jacinth
#

how can i join through the ip in enshrouded?

#

its okay that it wont show in the browser, but i cant see a direct ip option

ionic brook
#

adding GSLT
https://steamcommunity.com/dev/managegameservers

Why do I need a Steam Game Server Login Token? What does it do?
Steam Game Server Login Token help your players find your server, should the IP address of your server be changed. It also verifies game ownership (as a verified purchase on Steam is required to generate a GSLT) and prevents fake servers flooding the server list.
quiet aspen
#

in steam, click View - Gamer Servers -> Click Favorites you'll see a + sign at the bottom click that and you can try to put in the ip and port there

#

and use the 15637 port as that's the query port

alpine jacinth
#

gle 126 error again

languid meteor
#

It says my server is started now, but the gamer servers for my ip:port do not show a game

random inlet
#

okay, it instantly crashes on a vm

#

runs fine on dedicated pc

quiet aspen
#

if it's instantly crashing then the IP address you have in the json file isn't right

#

i'm running VMWare with Windows 10, network set in bridge mode

alpine jacinth
#

i tried local, public and 0.0.0.0 with 0.0.0.0 it started ones and now...nothing

quiet aspen
#

you typed in public?

alpine jacinth
#

running proxmox and using iptable rules to NAT

quiet aspen
#

nevermind i'm dumb

alpine jacinth
#

worked with every other gameserver like icarus...

quiet aspen
#

yeah all i know is that if you use 0.0.0.0 it won't show up on the browser.
if you use public it instantly crashes

#

once I set it to the 192.168.. it was good to go

crystal swift
#

I put in my local ip. ya, 0.0.0.0 doesn't show up on the browser

quiet aspen
#

I also made sure the windows firewall had the ports open as well

alpine jacinth
#

15636-15637 right?

autumn obsidian
#

Anyone using A hyperV server and getting it to work?

solid vine
crystal swift
alpine jacinth
#

i dont get it

crystal swift
#

make sure you update your server files, there was an update about ~30 min ago

sterile elbow
#

Do those server files possibly fix the BS with a WIndows VM?

sterile elbow
#

Wed Jan 24 21:23:42 2024 UTC : Failed to load Steam Service (GLE 126) I also still get this on my Win10 machine while the server is functioning. So I don't think either of those are actually problematic.

#

So, back down the rabbit hole of trying to figure out why it won't run in a Win10 proxmox VM

mild gyro
sterile elbow
mild gyro
sterile elbow
#

Yup. Just fixed mine as well.

#

Anyone know the best way to make WindowsGSM start with Windows? Set it up as a scheduled task on boot or something?

mild gyro
distant wraith
#

Can confirm that setting CPU type to "host" made everything so much better πŸ™‚ Thanks for the tip @sterile elbow

sterile elbow
weary ether
#

Is there any kind of checklist or procedure posted anywhere. I'm sure I'm not the only person here with a personal home server having issue with the server not showing up on the Server list.

sterile elbow
#

If it isn’t showing up in the server list but it’s successfully running then it’s most likely network related

weary ether
#

I have opened up the 15636, and 15637 ports on both protocols on the server firewall and the router.

#

Is there something else I am missing?

eager crag
weary ether
#

It is prefered to run the enshrouded_server.exe as admin or not?

weary ether
ionic brook
royal delta
#

any idea what shoud the CPU setting be in linux KVM virtual environment? I get the famous GLE 126 error also. I now have processor type as host-passthrough and it gives me the error. I was wondering what the processor actually should be to make the gameserver work..

royal delta
# ionic brook host

Tried that also but didn't seem to have any effect. KVM has optios to choose host-passthrough or host-model

sinful heart
sinful heart
royal delta
sinful heart
#

you use standard enshrouded ports?

royal delta
#

yes

sinful heart
#

:/

#

with you running other games it shouldn't be a networking issue

royal delta
#

yes, and I have made port forwarding the same way as in other games

sinful heart
#

you used the ohmcodes cs to create the server with gsm?

royal delta
#

yep, but actually tried it with straight steamcmd download also with same error. So I think it's not WindowsGSM related

sinful heart
#

i just wanted to state manually i wasn't able to make the server appear for me πŸ˜„
i mean the config is 5 lines long still refused to show up

royal delta
#

I think the problem is with my core server cpu model or something. I could emulate it to something else if I knew what models I could try...

honest granite
#

So i've been running steamcmd server since yesterday but I want to use WindowsGSM because it seems nice. I have taken a backup of the savegames folder from Enshrouded. Do I need to worry about anything pressing "install" in windowsgsm? Can I import the savegames folder? Will anything break my normal steamcmd now?

#

Many questions πŸ˜„

honest granite
#

Nevermind I solved it x)

ionic brook
ionic brook
royal delta
trail flax
#

WGSM users, you can implement this by opening
C:\WGSM\plugins\Enshrouded.cs\Enshrouded.cs

Edit the value for line 36 to point to your sde.exe (use forward slashes not backslashes)
public override string StartPath => "C:/sde/sde.exe"; // Game server start path

Then add this line to your Edit config button in the server menu
-cpx -- C:/WGSM/servers/3/serverfiles/enshrouded_server.exe -log

via @solid vine

#

We have found an issue with Windows Server and Xeon processors, with a temporary work around until the server patch lands. You essentially emulate AVX with Windows SDE.

kindred gulch
#

Hello there πŸ™‚
I am using WindowsGSM on my Windows Server 2022 root server with AMD Ryzen 9 7950X3D CPU. The server starts fine and i can see it in the browser list - but i get this famous error 4 and can't connect to it. "Session failed for peer #0 with error 4." Since i only found this error in the Linux talk here, i thought i'll post it here.

prisma stone
#

do the Update on Start and Backup on Start config options work with Restart Crontab? My reason for asking is because I dont see a version check in the logs after the scheduled cron restart similar to how I do when manually starting the server

jolly latch
#

I managed to make a server but other people can't find it until I connect to it. Is there anything I could do so that I don't have to be connected to for them to find it?

prisma stone
stiff totem
#

trying to host a secondary server, downloaded server files etc. setup server and new ports... however the second server crashes immediatly upon starting it. thouhgts?

keen atlas
stiff totem
#

Naw used a second VM

#

I have two server blades.

#

Using separate. Seems to me that WindowsGSM.Enshrouded.CS file from OHMCodes is hardcoded for 15636/7

#

So you have to launch via STEAM command

stiff totem
#

Any reason as to why when using WindowsGSM the ports say they changed when I change them. However, They are still when server is turned on opening ports under the default ones?

Here is a link to the image using pastebin
https://pasteboard.co/GpMiR91JR2FT.jpg

frosty lintel
stiff totem
#

I turned off all firewall/defender etc.

#

I have nothing running, Infact on that same blade I run 5 Ark survival Servers

#

The Game server defaulted to 15636 which makes ZERO sense.

frosty lintel
stiff totem
#

hmm ok

#

@frosty lintel I think this is the issue.

[2024-01-29 17:40:25] Client version: no bootstrapper found
[2024-01-29 17:40:25] Load failed: C:\WindowsGSM\servers\1\serverfiles\steamapps\libraryfolders.vdf.
[2024-01-29 17:40:25] Load failed: C:\WindowsGSM\servers\1\serverfiles\config\libraryfolders.vdf.
[2024-01-29 17:40:25] Steam library folders configuration will be reset.
[2024-01-29 17:40:25] No install folder configuration files found.```
#

Maybe not, those files don't exist on my other server.

frosty lintel
stiff totem
#

which makes zero sense because it has full rights to that folder it installed itself in that folder.

#

also to that.. if I run the .exe in the folder that removes windows GSM, it should take the default

#

It's still 15636

frosty lintel
stiff totem
#

Middle one highlighted in purple

frosty lintel
#

yeah I dont know why it would ignore that

stiff totem
#

Thus my confusion

#

@trail flax Any thoughts here?

kindred gulch
frosty lintel
kindred gulch
frosty lintel
# kindred gulch Yeah, you are correct. I could join now with firewall deactivated.

Bro every time the server shows these six lines when I try to join

[online] Session accepted with peer ( id MYSTEAMID REDACTED ).
[online] Added Peer #0.
02b8:err:ole:com_get_class_object apartment not initialised
STEAMPS3 - AsyncTCPSocket created
[online] Session failed for peer #0 with error 4.
STEAMPS3 - AsncTCPSocket destroyed
[online] Removed Peer #0.
kindred gulch
frosty lintel
#

when I run the server on the same Windows machine as I play on, even with only ports 15636 and 15637 open to incoming UDP and TCP traffic (and as far as I can tell no outbound rules), I am able to join easily. When I run on Linux with Wine, I am only able to join when I turn my firewall off

kindred gulch
#

This are the opened ports atm when i am connected with the server...15637 UDP, 55482 UDP, 55553 UDP, 55567 TCP..

#

When i am looking on my gaming pc i see ports from 61578 UDP to 61605 UDP

frosty lintel
#

I am seeing these with netstat, as I am currently trying 49990 and 49991 as my two ports. This is on Linux with the firewall down (so the game successfully connected)

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:35027         0.0.0.0:*               LISTEN      12399/wineserver
tcp        0      0 192.168.1.69:43623      162.254.199.163:27024   ESTABLISHED 12397/enshroudedser
tcp        0      0 127.0.0.1:34705         127.0.0.1:39708         ESTABLISHED 12399/wineserver
tcp        0      0 192.168.1.69:55920      128.140.56.8:443        ESTABLISHED 12397/enshroudedser
tcp        0      0 127.0.0.1:35785         127.0.0.1:41912         ESTABLISHED 12399/wineserver
tcp        0      0 192.168.1.69:45469      23.54.187.178:443       ESTABLISHED 12397/enshroudedser
tcp        0      0 127.0.0.1:41912         127.0.0.1:35785         ESTABLISHED 12397/enshroudedser
tcp        0      0 127.0.0.1:39708         127.0.0.1:34705         ESTABLISHED 12397/enshroudedser
udp        0      0 0.0.0.0:32846           0.0.0.0:*                           12397/enshroudedser
udp        0      0 0.0.0.0:49991           0.0.0.0:*                           12397/enshroudedser
udp    23936      0 0.0.0.0:56337           0.0.0.0:*                           12397/enshroudedser
udp        0      0 0.0.0.0:57231           0.0.0.0:*                           12397/enshroudedser
kindred gulch
frosty lintel
#

ok, so do I need to just let 49152-65535 have no rules? that seems odd given no other game servers need that

kindred gulch
frosty lintel
stiff totem
#

Still have not been able to figure this out @trail flax Any reason as to why when using WindowsGSM the ports say they changed when I change them. However, They are still when server is turned on opening ports under the default ones?

Here is a link to the image using pastebin
https://pasteboard.co/GpMiR91JR2FT.jpg

keen atlas
#

My setting in WindowGSM.cfg is 12 players max .

stiff totem
#

No because it would have changed it to 15638/9

keen atlas
#

But the server still let 16 people in πŸ˜‚

stiff totem
#

It's in the pastebin picture

#

I also modified the windowsgsm file too

#

Something leads me to believe either A permissions prohibited something and defaulted. Or B. Ports are hard coded.

keen atlas
#

Hmm ... it's fun. No matter I edited both config files. The server still shows 16 player slots πŸ€”

#

(after restart)

dawn saffron
#

Bumping on in here, I am a pterodactyl user I know wrong thread 😐 but I've been searching this discord for people who have been successful with using non-standard ports, because I doubt everyone is given a dedicated ip with their host? πŸ˜…

keen atlas
#

Hmm I just edited WindowsGSM.config ,changed the port to 16888 & 16889 。 it's works

#

Remember to set new port forwarding on your router too.

royal delta
#

WindowsGSM settings override those in config file

keen atlas
#

Hmm , but the servermaxplayer setting seems not work for me. No matter how many I set ,it still let 16 players in.

royal delta
#

hmm

keen atlas
#

oh ... the 16889 port works for like 10mins. Then global list check failed again πŸ˜‚

royal delta
#

lol

brave cradle
stiff totem
#

I've modified my windows GSM file and included it in the picture that does not solve my problem

kindred gulch
#

@ionic brook I did not find an solution for the problem here, so if you already wrote it anywhere, i'm sorry. Is there a way to create a second enshrouded server? If i try it in WGSM, it installs the server and updates and everything, but if i try to start it, it's telling me:

[steam] Failed to initialize Steamworks system...Generic Error
[steam] Message from Steam: InitGameServer failed
[app] Failed to create Steamworks.
[app] start destruction step Init
[enshrouded] Close Log file
CreateBoundSocket: ::bind couldn't find an open port between 15637 and 15637
src\tier0\threadtools.cpp (3690) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread'
src\tier0\threadtools.cpp (3690) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread'
src\tier0\threadtools.cpp (3690) : Assertion Failed: Illegal termination of worker thread 'Thread(0x00007FFAE1D87DA0/0x000'
src\tier0\threadtools.cpp (3690) : Assertion Failed: Illegal termination of worker thread 'Thread(0x00007FFAE1D87DA0/0x000'

The first server got the 15636 and 15637, so i set the second to 15638 and 15639. But it's always showing, that 15637 cannot be binded, which is right, there is already the first server running.
Even if i take higher ports, it shows this message.
Version of Enshrouded_cs is the last release. v1.0.2.

Any help? (running on bare metal with Server 2022 Standard on AMD Ryzen 9 7950X3D.

stiff totem
quiet aspen
#

have you all manually updated the enshrouded_server.json file?

#

I don't think the enshrouded_dedicated.exe has command line params and it defaults to using the json file. if you set the params in GSM, it's not making it to the json file. Try updating the json file for now with the ports you need for the second server

kindred gulch
quiet aspen
#

I'm in the process of updating the enshrouded.cs on my end to write back to the json file. so while I have two running, I haven't tried to connect to the second one yet

#

but what I've done so far has saved back to the json file. WGSM doesn't give you the option for using Custom Params on the default UI, so things like the savedirectory and logdirectory and password, you would have to put in with the Server Start Param.

At least I haven't found documentation on it yet.

kindred gulch
#

Yeah, documentation would be nice πŸ˜›

quiet aspen
#

and I'm also seeing where, with the documentation they do provide on plugin development. People have been mixing up the examples between those that use the SteamCMDAgent and those that don't

#

Kind of odd to me that the SteamCMDAgent is a class that we inherit instead of an abstract class, but ohwell. work with what I got πŸ™‚

stiff totem
quiet aspen
stiff totem
#

This is my second server, on a separate Server blade, I tried changing the ports. It just doesn't seem to want to.

quiet aspen
#

the json file isn't updated you would need to update that manually

stiff totem
#

Well I tried running just the enshrouded.exe

#

but that didn't work either.

quiet aspen
#

the key thing is to update the json file.

stiff totem
#

Yep..

#

Look at the picture

#

I've done that

quiet aspen
#

ah gotcha, i'm sorry, read it, just didn't click it

#

gimme a sec and I'll see what mine is doing

stiff totem
#

I was using OHMcodes .cs file I even updated that too

#

Also modified the WindowsGSM.CFG file too.

#

These are the files I modified.

  • C:\WindowsGSM\servers\1\serverfiles\Enshrouded_server.json
  • C:\WindowsGSM\servers\1\configs\WindowsGSM.cfg

Command line when executing says -gamePort=15638 -queryPort=15639

quiet aspen
#

so this is fun.... you are probably on to something. I don't think the enshrouded server exe is honoring the port?
grrr... can't post pictures in here

#

if you look at the windows resrouce monitor and click on the network tab and look at the listening ports

#

I see on UDP 15637 for the localip... but for the other one it put it on 59910

stiff totem
#

Yea I had to use PasteBin to post pictures. It's free no account needed.

#

But yes, to answer your question, I feel the Enshrouded_Server.exe is ignoring everything and running what ever ports it wants. In this case the default ports.

quiet aspen
#

yeah, that other upd port is part of the 15637

#

it looks like when I start another one it decides a different port to fire up.

stiff totem
#

Yea it's showing 15637

quiet aspen
#

after further review on my end, it doesn't look like it's actually firing up any listening ports for the second server.

Guess it wants you to dedicate a local IP to the default ports

stiff totem
#

in resource monitor

quiet aspen
#

for your primary server, right?

stiff totem
#

This is the only server I have on this machine

#

My other one which uses ports 15636/7 is on my other server blade.

#

but that's a good thought, I am going to install another server on this machine and see what happens

quiet aspen
#

can you update the port forwarding so if someone comes in on the port you wanted it too, it forwards to 15636 and 7?

stiff totem
#

I tried. It wouldn't post to Steam for some stupid ass reason because of that

#

I tried saying port 15638 Forwarded to 15836

quiet aspen
#

and you did the game server UI in steam to connect to it? (sorry if dumb questions)

stiff totem
#

I could connect and can connect to it no problem

#

infact I can get friends in it. If I "Invite" them

#

but it wont show.

#

hmm

quiet aspen
#

and that makes sense because the same server is going to report the wrong port, it doesn't know you mapped it

stiff totem
#

I do use DUC, I could just use that distinct address

#

Never had so many issues with a server

quiet aspen
#

Early Access for the win πŸ™‚

stiff totem
#

I host 5 Ark Servers on a cluster and have been for 8 years.

#

So I am not new to this. I do know what I am doing πŸ˜›

#

But I think I am going to write up a bug that it's ignoring the ports.

#

Actually I think this has to do with OHMCodes .cs

#

lol second server only caused more issues as it assigned it 15639 ports for both query and game and refuses to boot

quiet aspen
#

I'd give you mine, but I'm still working out some kinks.

#

I got rid of the piece where he was building the params

#

so it just uses the json file

#

did a bunch of other stuff as well

stiff totem
#

Yea, This seems to be garb, I might have to build my own

#

second server booted, but went straight to 15637 ports

quiet aspen
#

lol

stiff totem
#

So it's not the .cs plugin, It's 100% Enshrouded's EXE.

quiet aspen
#

yeah and after this patch that just went out, I can't connect to my server anymore, I can get it up on the Steam Game Servers UI but it doesn't go right in when I connect from there and when I go to the browser my servers not there lol weeee

stiff totem
#

ugh

#

I submitted a ticket for the bug

glass grotto
#

There’s been a game update. How do I apply the update with WindowsGSM? Do I just check the option for Update on Start and it works?

sterile elbow
#

Well I tried that and mine busted the hell out of my server

keen atlas
ionic brook
#

whatever happens dont blame the plugin nor wgsm lol its just using SteamCMD if you manage to work it on steamcmd then yea fork it and write it your fixes πŸ™‚

white acorn
#

Got the same problem with the wrong ports.

drifting sparrow
#

trying to run two instances

#

ports check out fine

#

it's just that the other wont run and crash

#

[I 00:00:00,022] [app] start creation step Init
[I 00:00:00,022] [app] start creation step Init_Steamworks
[E 00:00:00,110] [steam] Failed to initialize Steamworks system...Generic Error
[E 00:00:00,110] [steam] Message from Steam: InitGameServer failed
[E 00:00:00,111] [app] Failed to create Steamworks.
[I 00:00:00,116] [app] start destruction step Init
[I 00:00:00,122] [enshrouded] Close Log file

#

seems server 1 is using the same ports for steam?

keen atlas
#

Try to start server2 again.

#

It is weird but works for me πŸ€·β€β™‚οΈ

white acorn
#

you can use --config to load a different config, seems to need an absolute path

#

then you don't need to copy the whole game 2 times

drifting sparrow
#

in the server param @white acorn ?

white acorn
#

more like enshrouded_server.exe --config e:\enshrouded2\enshrouded_server2.json

drifting sparrow
#

where do you put that :/

white acorn
#

start.bat? depends where and what you do... but yes params

#

if you want to launch 2 instances from the same directory...

drifting sparrow
#

no, gsm installs two different, but some reason you cant run both

white acorn
#

i dont have gsm

drifting sparrow
#

it didnt work for me because I have a space in my folder name I think

white acorn
#

yeah, remove the space

#

or use "

drifting sparrow
white acorn
#

--config "some path to somewhere"

#

if it copies everything, you won't need that

drifting sparrow
#

didnt work

#

could you kindly give me a copy of what your bat file looks like in a private message @white acorn if you have one

#

been a while for me

dawn briar
#

I am updating the game version and it is sitting on Verifying Installation. But on the left side it says Updated

#

Is it actually updated?

dawn briar
#

It appears when I add the password line the json file the server crashes

hollow rune
#

Has there been some updates or what could have happend as server suddenly crashes. I have it dedicated in my own computer. We just played it few days ago