Jump to content

[Support] ich777 - Gameserver Dockers


Recommended Posts

18 hours ago, Zamki said:

image.thumb.png.9a1f27eb8d501aead188ffc24ceef879.png

No issues over here:
grafik.thumb.png.81953267daaef5405f3a9ed023943942.png

 

I just saw that you are using a 3rd Gen Intel Core CPU, it could be the case that this CPU is too old to run and missing instructions that the game can run properly but I'm not to sure about that.

Link to comment
1 hour ago, ich777 said:

No issues over here:
grafik.thumb.png.81953267daaef5405f3a9ed023943942.png

 

I just saw that you are using a 3rd Gen Intel Core CPU, it could be the case that this CPU is too old to run and missing instructions that the game can run properly but I'm not to sure about that.

Can u send me the Params that u are using to start the Server ?
The thing is that i can run ur Palworld server fine, i had no problems with that.

image.png.b8cda297883372fd677a761fcb2844c0.pngimage.png.4089a3311c69e571db196bcd1cd16e88.png

Link to comment
5 minutes ago, Zamki said:

Can u send me the Params that u are using to start the Server ?

The default ones, I didn't change a single line in the default template.

 

grafik.png.d194d459cd8faf4c54273f919df3c161.png

Please remove your Steam credentials! The Steam credentials are only needed if they are marked as required with the red asterisk and not hidden away under the Show more settings...!

 

5 minutes ago, Zamki said:

The thing is that i can run ur Palworld server fine, i had no problems with that.

Please don't say that you entered Steam credentials for Palworld... Again, they are only needed if they are marked with the red asterisk and not hidden away.

 

EDIT:

grafik.png.fdfdc2dc9db20b988a0b0b1f74d3daba.png

Link to comment
19 minutes ago, ich777 said:

The default ones, I didn't change a single line in the default template.

 

grafik.png.d194d459cd8faf4c54273f919df3c161.png

Please remove your Steam credentials! The Steam credentials are only needed if they are marked as required with the red asterisk and not hidden away under the Show more settings...!

 

Please don't say that you entered Steam credentials for Palworld... Again, they are only needed if they are marked with the red asterisk and not hidden away.

 

EDIT:

grafik.png.fdfdc2dc9db20b988a0b0b1f74d3daba.png

i Just entered them a few seconds before making the picture

image.thumb.png.8f8c1b16b6abc5db11c80b510777a490.png

Edited by Zamki
Link to comment
On 4/27/2022 at 5:20 PM, ich777 said:

I have to report that I had to deprecate the container for AssettoCorsa Competizione because I can't get it to run anymore.

 

It kind of works but crashes after a few minutes:

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.939746
Track monza was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.909884
Significant change detected, updating lobby (1|1)
Resetting weekend to friday night
Reset time to friday night: 0 -> 0
0100:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00000000019AF760 1 C) semi-stub
0100:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00000000019AF760 1 C) semi-stub
0100:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00000000019AF760 1 C) semi-stub
Reset time to first session: 0 -> 61200
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.927759
==ERR: Couldn't setup UDP broadcasting socket (SO_BROADCAST failed)
==ERR: Couldn't setup UDP broadcasting socket (SO_REUSEADDR failed)
Listening to TCP 9232 | UDP 9231
Trying to connect to lobby (0 times, interval 10000 s)
Session changed: Practice -> Practice 0
Detected sessionPhase <waiting for drivers> -> <waiting for drivers> (Practice)
TCP connect returns: -1
==ERR: RegisterToLobby TCP connection failed, couldn't connect to the lobby server
Trying to connect to lobby (1 times, interval 13000 s)
Server was running late for 1 step(s), not enough CPU power
TCP connect returns: 0
RegisterToLobby succeeded
==ERR: This server is only supported on Windows operating systems. Running WINE may work dependent on your settings, but there are differences that affect the user's experience negatively.
Sent lobby registration request for monza

 

Please read the second last line... I think they broke something in a recent update so that it won't work anymore on Linux through WINE.

Hi. I was wondering if this is still the case. There seems to be no alternative to hosting an ACC server in Docker as far as i know which is a real shame.

Link to comment
28 minutes ago, DomDom3333 said:

I was wondering if this is still the case.

No, the server is running fine when I tested it the last time, sure this message is still there but it is running, that's why it's again available in the CA App.

 

You just have to make sure that you've forwarded all ports before running the container because otherwise the dedicated server will restart after a bit if the ports aren't forwarded properly.

Link to comment
42 minutes ago, ich777 said:

No, the server is running fine when I tested it the last time, sure this message is still there but it is running, that's why it's again available in the CA App.

 

You just have to make sure that you've forwarded all ports before running the container because otherwise the dedicated server will restart after a bit if the ports aren't forwarded properly.

That's great news. I've forwarded the ports and I don't see any errors or strange notifications in the log but the server just never shows up. When I leave the log open, it eventually just closes (unlike other containers) and when I reopen it, nothing has changed. Here is a block out of the logs. Other than those MaxCarSlots config being off i dont see anything wrong and it ALWAYS gets stuck there

 

---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Checking if 'accServer.exe' is present---
---'accServer.exe' found, continuing...---
---Prepare Server---
---Checking if config files are present---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---WINE properly set up---
---Server ready---
---Start Server---
Server starting with version 255
Starting server Doms Server
FileToStruct cfg/eventRules.json
maxConnections 30 is smaller than maxCarSlots 99, reducing car slots to 30
Translated realtime interval hzToMiliseconds(18)=54

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.901446
Track nurburgring was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.925428
Significant change detected, updating lobby (1|1)
maxConnections 30 is smaller than maxCarSlots 99, reducing car slots to 30
Resetting weekend to friday night
Reset time to friday night: 0 -> 0

 

Edited by DomDom3333
Added Logs
Link to comment
41 minutes ago, DomDom3333 said:

When I leave the log open, it eventually just closes (unlike other containers) and when I reopen it, nothing has changed.

This is actually a indication that it restarts, are you sure that all ports with the correct protocol are forwarded?

 

I can try the container myself tomorrow if you want me to.

Link to comment
9 hours ago, ich777 said:

It would be really beneficial to know what you've did and how you've set everything up? Do you have screenshots and snippets from your config?

 

For example on my server I have a CS:Source server on port 27030 and a CS2 server on port 27029 Wreckfest is running on the default ports 27015 and 27016 (all ports listed are UDP).

Please see attached for my docker setup template, ingame server brower (when i attempt to connect to the server) and a screenshot of my ports.

 

Once again i have l4d2 running just fine on the default 27015. But attempting to get cs2 to work on anything other than 27015 does not work. I get an error message saying cannot connect to server

Screenshot 2024-03-07 093106.png

Screenshot 2024-03-07 0927084.png

Screenshot 2024-03-07 0929444.png

server.cfg

Link to comment
2 minutes ago, Mrtj18 said:

But attempting to get cs2 to work on anything other than 27015 does not work. I get an error message saying cannot connect to server

You changed the port in the template but you changed it no where in the server config, so to speak that can't work...

 

Please append that to the GAME_PARAMS:

-port 27016

Source: https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers

 

You always have to tell the dedicated server too on which port it is running because like you've done it now it simply can't work because you've forwarded the port 27016 (from inside the container, where the dedicated server is still running on 27015) so to speak the forwarding in the Docker fails... and yes, I know this is a bit complicated but otherwise it won't work.

 

Always make sure to first change the ports in the container config, then delete the old ports from the template and then create new ones with the ports that you've set in the config for the dedicated server.

 

Hope that helps, makes sense and explains it a bit more.

  • Thanks 1
Link to comment
19 minutes ago, ich777 said:

This is actually a indication that it restarts, are you sure that all ports with the correct protocol are forwarded?

 

I can try the container myself tomorrow if you want me to.

So ive just did a clean reinstall of the server (including removing the appdata folder) and reset my portforwarding rules accordingly. Still gets stuck on the "Reset tiume to friday night: 0 -> 0
image.thumb.png.795e07a69abde122ee2a8b3f3bb249a5.png
image.thumb.png.3cb3a81b6b8732b17c142bab8aaa8cb0.png

Edited by DomDom3333
Added further info
Link to comment
16 minutes ago, ich777 said:

You changed the port in the template but you changed it no where in the server config, so to speak that can't work...

 

Please append that to the GAME_PARAMS:

-port 27016

Source: https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers

 

You always have to tell the dedicated server too on which port it is running because like you've done it now it simply can't work because you've forwarded the port 27016 (from inside the container, where the dedicated server is still running on 27015) so to speak the forwarding in the Docker fails... and yes, I know this is a bit complicated but otherwise it won't work.

 

Always make sure to first change the ports in the container config, then delete the old ports from the template and then create new ones with the ports that you've set in the config for the dedicated server.

 

Hope that helps, makes sense and explains it a bit more.

Wow that did the trick never added the port number on the GAME_PARAMS.... Thank you!!

  • Like 1
Link to comment

Hi ich777. Do you have any tips for what the easiest way would be to install libicu / icu-libs / libicu-dev for the CS2 image?

 

I'm trying to get CounterStrikeSharp (https://docs.cssharp.dev/docs/guides/getting-started.html) to work on my server so I can add a plugin to my server. My server crashes on startup with the following message:

Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu (or icu-libs) using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.

 

So I want to add the package as it says in the troubleshooting info in the CounterStrikeSharp docs, but I don't fully know how I would go about doing it.

Link to comment
7 hours ago, qweek said:

Do you have any tips for what the easiest way would be to install libicu / icu-libs / libicu-dev for the CS2 image?

The package is now part of the container, please update the container itself and see if it is working.

Link to comment
18 hours ago, ich777 said:

I'll look into that tomorrow.

So i left the server run overnight and today it was avaliable to join. No additional error messages which were out of the ordinary. So i guess it just takes multiple hours to get past that line?

While the server was idling it was repeatetly writing "Server was running late for 1 step(s), not enough CPU power", which doesnt make sense since it is running on an AMD 3900X with 48GB of ram and no other MAJOR applications to compete with.

Upon restarting the server to apply changes, it sticks on the "Reset time to friday night: 0 -> 0" line

Attatched another server log as far as it let me go back after i restarted it
 

Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
New connection received 172
1 client(s) online
TCPQueue now: 208
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
Removing dead connection 0  (last lastUdpPaketReceived 31134627)
==ERR: Uninitialized Connection 0 timed out (31134627 - 31132626 = 2000)
Alive connections: 0
0 client(s) online
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
Server was running late for 1 step(s), not enough CPU power
New connection received 172
1 client(s) online
TCPQueue now: 434
New TCP incoming pakSizeMax, 0 => 432
Located entryListId -1 for connection 1 S76561198077727714
New connection request: id 1 Dominik Essenhofer S76561198077727714 on car model 25
Creating new car connection: carId 1001, carModel 25, raceNumber #87
Special Rules for carid 1001: 
        max_total_driving_time is -1 (from -1), pitCount 0
startingTime is not set?
Starting stint for car 1001 driver 0 at 66757015.548500
Updated lobby with 1 drivers
Assigning gridNumber 1 to new carId 1001
Sent handshake response for car 1001 connection 1 with 1228 bytes
1 Driver(s) detected, starting session
SessionManager::randomizeGreenFlagTriggers: s:0.991555 e:0.999999 r:0.993187
Detected sessionPhase <waiting for drivers> -> <pre session> (Practice)
Sent session update to lobby
Updated leaderboard for 1 clients (Practice-<pre session> 20 min)
Detected sessionPhase <session> -> <session> (Practice)
Sent session update to lobby
Tcp message count (1 clients): 
Udp message count (1 clients): 23=1, 
Associated: connId 1, now 66765907
Reset time offset for connection 1, new offset 66765902, diff 8887
Receives driver stint reset for car 1001
Ending stint: new total time for car 1001 driver 0 is 9094.951500
List of Stints for car 1001 driver 0
Stint 1 car 1001 driver 0 started 66757015.548500 ended 66766110.500000
Receives driver stint reset for car 1001
startingTime is not set?
Updated 0 clients with new carSystem for car 1001 (67108864l)
Updated 0 clients with new carSystem for car 1001 (67108880l)
Updated 0 clients with new carSystem for car 1001 (67108864l)
Updated 0 clients with new carSystem for car 1001 (67108880l)
Receives driver stint reset for car 1001
startingTime is not set?
Starting stint for car 1001 driver 0 at 66793633.500000
Updated 0 clients w---Checking if UID: 99 matches user---
usermod: no changes
---Checking if GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---No optional script found, continuing---
---Starting...---
---Checking if 'accServer.exe' is present---
---'accServer.exe' found, continuing...---
---Prepare Server---
---Checking if config files are present---
---Checking if WINE workdirectory is present---
---WINE workdirectory found---
---Checking if WINE is properly installed---
---WINE properly set up---
---Server ready---
---Start Server---
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
009c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
009c:err:systray:initialize_systray Could not create tray window
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E970 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E740 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000007E6A0 1 C) semi-stub
Server starting with version 255
Starting server ACC Docker Server
FileToStruct cfg/eventRules.json
Translated realtime interval hzToMiliseconds(18)=54

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.915965
Track monza was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.945944
Significant change detected, updating lobby (1|1)
Resetting weekend to friday night
Reset time to friday night: 0 -> 0
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub
0120:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000002F3F760 1 C) semi-stub

 

Link to comment
1 hour ago, DomDom3333 said:

While the server was idling it was repeatetly writing "Server was running late for 1 step(s), not enough CPU power", which doesnt make sense since it is running on an AMD 3900X with 48GB of ram and no other MAJOR applications to compete with.

Please keep in mind that it is also possible this is caused because of WINE or because it was idle, did you experience any issues at that time <- this container is running with WINE and such messages are expected.

 

1 hour ago, DomDom3333 said:

Upon restarting the server to apply changes, it sticks on the "Reset time to friday night: 0 -> 0" line

That's the line where it tries to connect, you can always set registertolobby in your configuration.json to 0 so that it is not visible to circumvent that but maybe the connection from their servers is also flaky, I really can't tell...

 

1 hour ago, DomDom3333 said:

Attatched another server log as far as it let me go back after i restarted it

So it seems to work but sometimes, so I don't think that the container itself is the issue here because I've tried it today and also had no luck but I really can't tell why.

 

I'll deprecate the container if you report it as broken.

  • Like 1
Link to comment
14 minutes ago, ich777 said:

Please keep in mind that it is also possible this is caused because of WINE or because it was idle, did you experience any issues at that time <- this container is running with WINE and such messages are expected.

 

That's the line where it tries to connect, you can always set registertolobby in your configuration.json to 0 so that it is not visible to circumvent that but maybe the connection from their servers is also flaky, I really can't tell...

 

So it seems to work but sometimes, so I don't think that the container itself is the issue here because I've tried it today and also had no luck but I really can't tell why.

 

I'll deprecate the container if you report it as broken.

I dont think its stuck on the lobby registration. When i set the "registerToLobby" config to 0, it STILL gets stuck there. I dont think this is networking related.... It seems to fail to initialize the first session (bases on what a normal local server writes into the console compared to this). Given my LIMITED knowledge on the matter, i would guess its a Wine compatibility issue of some sort?

Here is what a working server on my windows machine writes.

Server starting with version 255
Starting server Doms Server
FileToStruct cfg/eventRules.json
maxCarSlots 50 exceeds the pit count for nurburgring. Setting car slots to 50
Translated realtime interval hzToMiliseconds(18)=54

SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.929515
Track nurburgring was set and updated
Event changed
Reading custom event rules
FileToStruct cfg/eventRules.json
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.891939
Significant change detected, updating lobby (1|1)
maxCarSlots 50 exceeds the pit count for nurburgring. Setting car slots to 50
Resetting weekend to friday night
Reset time to friday night: 0 -> 0
Reset time to first session: 0 -> 43200
SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.918487
Listening to TCP 9601 | UDP 9600
Trying to connect to lobby (0 times, interval 10000 s)
Session changed: Practice -> Practice 0
Detected sessionPhase <waiting for drivers> -> <waiting for drivers> (Practice)
TCP connect returns: -1
==ERR: RegisterToLobby TCP connection failed, couldn't connect to the lobby server
Trying to connect to lobby (1 times, interval 13000 s)
TCP connect returns: 0
RegisterToLobby succeeded
Lobby accepted connection
Lobby accepted connection
Sent lobby registration request for nurburgring
TCPQueue now: 4
New TCP incoming pakSizeMax, 0 => 2
Updated lobby with 0 drivers


As yous see, it tries to reset the session before it connects to the lobby system. It gets stuck there tho.

Also thank you for your fast help and effort. It is really appreciated.

Edited by DomDom3333
Added Thanks
Link to comment
12 minutes ago, DomDom3333 said:
TCP connect returns: -1

You see there that it times out and this is exactly where it hangs (the few lines before will be displayed after it overcome this hurdle).

 

13 minutes ago, DomDom3333 said:
TCP connect returns: 0

After that it was able to connect.

 

13 minutes ago, DomDom3333 said:

As yous see, it tries to reset the session before it connects to the lobby system. It gets stuck there tho.

I have tried it multiple times and only once it was able to connect to their servers or better speaking there server to my server.

Link to comment
6 hours ago, ich777 said:

You see there that it times out and this is exactly where it hangs (the few lines before will be displayed after it overcome this hurdle).

 

After that it was able to connect.

 

I have tried it multiple times and only once it was able to connect to their servers or better speaking there server to my server.

I see. An I guess there's nothing we can really do about it?

Link to comment
1 minute ago, DomDom3333 said:

I see. An I guess there's nothing we can really do about it?

I'm not sure, maybe it's also because it's running though WINE... I really can't tell.

 

If you report it as not functional I'll deprecate the template.

Link to comment

hello, this might be too much to ask but could you add the lib-icu package to the cs2 server? because everytime the docker container updates i have to manually re-install it otherwise the server crashes... this happens due to metamod, thank you!

 

Link to comment
3 minutes ago, Ollum said:

hello, this might be too much to ask but could you add the lib-icu package to the cs2 server? because everytime the docker container updates i have to manually re-install it otherwise the server crashes... this happens due to metamod, thank you!

 

I think you completely missed that and the following post:

 

The package is already part of the container.

Link to comment

Hello! Was reading through the recent posts a bit, but couldn't find anything about this.

So I came back from holiday, and saw there was an update for Palworld. Could not connect to the server anymore, I assumed because it also needed to be updated. So I restarted the Docker, and logged in... And the world was reset. Still had my levels, my character, but the world is gone.

I have backups enabled, but the latest backup world is also empty. Is this a common issue?

 

Thanks in advance!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...