Jump to content

[Support] ich777 - Gameserver Dockers


Recommended Posts

7 hours ago, Kazak-PG said:

Arma 3

Please try to create a variable in the template with the following contents and see if it fixes the issue:

image.png.6163bb79174e3cc3af7cc74d069a0365.png

 

 

On what Unraid version are you, if you are not on 6.10.3 I would recommend that you upgrade first and then try it again.

Link to comment
19 hours ago, ich777 said:

Modding is always up to the user, I also don't play ARK so I really can't help with this.

 

Have you seen the second recommended post on top of this thread from @Cyd which has made a excellent write up on how to create a cluster?

 

I did it now!

Thank you very much for you´r help and thanks to @Cyd for that post!

  • Like 1
Link to comment
3 hours ago, ich777 said:

Please try to create a variable in the template with the following contents and see if it fixes the issue:

image.png.6163bb79174e3cc3af7cc74d069a0365.png

 

 

On what Unraid version are you, if you are not on 6.10.3 I would recommend that you upgrade first and then try it again.

Ok will give that a go, im on that version as well :)

 

===============
 2:20:04 modsReadOnly = true
 2:20:04 safeModsActivated = false
 2:20:04 customMods = false
 2:20:04 hash = '60553D404402468A1D2B383E1CDDE67BBD3FA0E9'
 2:20:04 hashShort = 'c8ea65ac'
 2:20:04                                               name |               modDir |    default |   official |               origin |                                     hash | hashShort | fullPath
 2:20:04 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2:20:04                                  Arma 3 Art of War |                  aow |       true |       true |             GAME DIR | 149e4c4c41345f559ba55c9bdf193cacb53bc859 |  f5dda9af | /serverdata/serverfiles/aow
 2:20:04                          Arma 3 Contact (Platform) |                enoch |       true |       true |             GAME DIR | b4acf58bbcc74306cf3e16d18dd9d1104ec18e31 |  98b4320d | /serverdata/serverfiles/enoch
 2:20:04                                       Arma 3 Tanks |                 tank |       true |       true |             GAME DIR | b0e1db8e52f6d8fd49b0d26dd66928f09ba0b94e |  a003f7c0 | /serverdata/serverfiles/tank
 2:20:04                                     Arma 3 Tac-Ops |               tacops |       true |       true |             GAME DIR | ea3cdf2272cdac419425e594f1a08780df19ae55 |   1fb7009 | /serverdata/serverfiles/tacops
 2:20:04                                 Arma 3 Laws of War |               orange |       true |       true |             GAME DIR | 8ef9975ebc6f24e5194944d3ba0b0fd773f5d03f |  9ec21f31 | /serverdata/serverfiles/orange
 2:20:04                                      Arma 3 Malden |                 argo |       true |       true |             GAME DIR | 4099df70f3b7a41354fa7b1c08a312b6501cd9a4 |  56e7d619 | /serverdata/serverfiles/argo
 2:20:04                                        Arma 3 Jets |                 jets |       true |       true |             GAME DIR | 8d72a046ce82fb8211a2a6b8cbe143222f1a79c0 |  923f8a63 | /serverdata/serverfiles/jets
 2:20:04                                        Arma 3 Apex |            expansion |       true |       true |             GAME DIR | d5db51dc74c18501267ac28ea9150b7781bd2a7c |  ca0d2721 | /serverdata/serverfiles/expansion
 2:20:04                                    Arma 3 Marksmen |                 mark |       true |       true |             GAME DIR | c550a36b7cae4d8c2c91e26b66ef7083dffc5f3b |  20c71afc | /serverdata/serverfiles/mark
 2:20:04                                 Arma 3 Helicopters |                 heli |       true |       true |             GAME DIR | 4fb168d3dadb3aedc6754a182ca89de2d37b3b3b |  7bb134af | /serverdata/serverfiles/heli
 2:20:04                                       Arma 3 Karts |                 kart |       true |       true |             GAME DIR | df3db4c8eb8d771c8bc5f6da2658e27db116c27b |  3ae8d985 | /serverdata/serverfiles/kart
 2:20:04                                        Arma 3 Zeus |              curator |       true |       true |             GAME DIR | a763c29776a6f98aeecd3d3b4f7c277c4d13ae5d |  f3dc8b55 | /serverdata/serverfiles/curator
 2:20:04                                             Arma 3 |                   A3 |       true |       true |    NOT FOUND (Empty) |                                          |           | 
 2:20:04 ==========================================================================================================================================================================================================
 2:20:04 InitSound ...
 2:20:04 InitSound - complete
 2:20:04 Dedicated host created.
 2:20:04 PhysX3 SDK Init started ...
 2:20:04 PhysX3 SDK Init ended.
 2:20:07 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.\na3_characters_f
 2:20:07 Loading movesType CfgGesturesMale
 2:20:07 MovesType CfgGesturesMale load time 54.0 ms
 2:20:07 Loading movesType CfgMovesMaleSdr
 2:20:11 Warning: looped for animation: a3\anims_f_epa\data\anim\sdr\cts\hubcleaned\briefing\hubbriefing_loop.rtm differs (looped now 0)! MoveName: hubbriefing_ext
 2:20:13 Warning: looped for animation: a3\anims_f_epa\data\anim\sdr\cts\hubcleaned\spectator\hubspectator_stand.rtm differs (looped now 1)! MoveName: hubspectator_stand_contact
 2:20:13 MovesType CfgMovesMaleSdr load time 5827.0 ms
 2:20:13 BattlEye server updated to version: 217
 2:20:13 BattlEye Server: Initialized (v1.217)
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
Setting breakpad minidump AppID = 107410
 2:20:13 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303
 2:20:13 Game Port: 2302, Steam Query Port: 2303
Arma 3 Console version 2.08.149102 x86 : port 2302
 2:20:13 Host identity created.
 2:20:13 Connected to Steam server

This is the response now, theres no crashing of the logs so i can finally read it, is it okay in that table of hashs that Arma 3 cannot be found?

Link to comment
1 hour ago, Kazak-PG said:

This is the response now, theres no crashing of the logs so i can finally read it, is it okay in that table of hashs that Arma 3 cannot be found?

This is pretty normal from what I know and you should now be able to connect.

Link to comment
Just now, ich777 said:

This is pretty normal from what I know and you should now be able to connect.

Much love! That all works now :) Is there any statements about what requirements it takes for a arma 3 server to run? Its mainly just guna be me and 4 friends, but i just was wondering what reqs this game would have for hosting a server

I have a  i5 10600k and 32GB of ram

Link to comment
17 hours ago, ich777 said:

Then RCON must be enabled differently, but don't quote me on that.

 

I'm really not into RUST or any other game currently and as always modding is always up to the user, I only provide the base functionality from the container.

I'm also pretty confident that I've answered a question about RUST and RCON a few times but I have to search for that, also keep in mind that RUST doesn't use the default RCON protocol they use something that is called WebRCON or something similar.

I got everything working.

 

Game Parameters - +server.maxplayers 10 +rcon.web 1 +rcon.port 28016 +rcon.password ******

 

I added the following to /mnt/user/appdata/rust/server/my_server_identity/cfg/serverauto.cfg

 

server.eac "0"
server.secure "False"
server.encryption "0"

 

I access RCON through http://rcon.io/console.

 

You might want to update the container with some details about rcon? You need +rcon.web, +rcon.port and +rcon.password to get it working.

 

I can join from the console (F1) from the main menu with client.connect 192.168.0.65:28015 or mydomain.xyz:28015 (with port forwarding set up). It also shows up on BattleMetrics but since no EAC i don't think it will stay up there for long.

 

Hope this helps anyone else trying to achieve the same thing (self hosting a Rust game server, and playing from Linux with proton) in the future.

 

See also - https://www.protondb.com/app/252490

  • Thanks 1
Link to comment
4 minutes ago, Kazak-PG said:

Is there any attempts been made to install mods on the container that you know of? Just trying to look for some guides, and can see some for other images/containers but nothing concrete for this one

I've only created the Exile mod Arma3 container, but it should be possible.

This container is just like you run it on bare metal, nothing different.

Link to comment
1 minute ago, ich777 said:

I've only created the Exile mod Arma3 container, but it should be possible.

This container is just like you run it on bare metal, nothing different.

Oh okay, ill do it like normal then, thank you :) I did see a conversation you had with someone a while back called john about this, so ive dropped them a message just to confirm the steps, hopefully they get back to me

Link to comment
50 minutes ago, Kazak-PG said:

Oh okay, ill do it like normal then, thank you :) I did see a conversation you had with someone a while back called john about this, so ive dropped them a message just to confirm the steps, hopefully they get back to me

Can you point me to the post?

Link to comment
6 minutes ago, ich777 said:

Ah, thank you...

Simply do it with this script, this should work fine:

 

One question with that script, do i only change the workshop id and leave everything else as the same? Like  ${USERNAME} ${PASSWRD}, im assuming it grabs these values from the values already described in the username bits on the config

Link to comment
10 minutes ago, Kazak-PG said:

You my sir, are an absolute legend, been loving the docker containers youve put together so far, and the response time is mad, thank you!

Really much appreciated! :)

The fast response times are most certainly because we are in a similar timezone... :D

 

6 minutes ago, Kazak-PG said:

Like  ${USERNAME} ${PASSWRD}, im assuming it grabs these values from the values already described in the username bits on the config

Exactly.

 

You only have to fill in your workshop IDs in the script...

I think I've missed that this script will only work after the game files where pulled successfully, so to speak after the first full startup from the dedicated server.

 

Link to comment
Just now, ich777 said:

Really much appreciated! :)

The fast response times are most certainly because we are in a similar timezone... :D

 

Exactly.

 

You only have to fill in your workshop IDs in the script...

 

Do you have any donation (buy me a coffee) type things? Genuinely really impressed

Link to comment
13 minutes ago, ich777 said:

Sure thing, in the first post from this thread or in the CA App on any container from me that is installed on your server.

Ill make sure to visit that shortly
I did come across an error in the logs from the script being added
 

Arma 3 Console version 2.08.149102 x86 : port 2302
 7:04:42 Host identity created.
---Ensuring UID: 99 matches user---
usermod: no changes
---Ensuring GID: 100 matches user---
usermod: no changes
---Setting umask to 000---
---Checking for optional scripts---
---Found optional script, executing---
---Optional Script has thrown an Error---
---Taking ownership of data...---
---Starting...---
---Update SteamCMD---
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1654574676
#!/bin/bash
su $USER
${STEAMCMD_DIR}/steamcmd +login ${USERNAME} ${PASSWRD} +@nCSClientRateLimitKbps 50000 +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +workshop_download_item 1832638103 validate +quit

Is this script wrong in some way? 

Link to comment
2 minutes ago, Kazak-PG said:

Is this script wrong in some way? 

Try to remove this:

+@nCSClientRateLimitKbps 50000

 

 

You can also try manually what it says, to do that do the following:

  1. Open up a terminal from the container
  2. Enter:
    su $USER
  3. Copy paste the last line from the script in the terminal
Link to comment
3 minutes ago, ich777 said:

Try to remove this:

+@nCSClientRateLimitKbps 50000

 

 

You can also try manually what it says, to do that do the following:

  1. Open up a terminal from the container
  2. Enter:
    su $USER
  3. Copy paste the last line from the script in the terminal

# su $USER
steam@29e84f06b83a:/$ ${STEAMCMD_DIR}/steamcmd +login ${USERNAME} ${PASSWRD} +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +workshop_download_item 1832638103 validate +quit
bash: /serverdata/steamcmd/steamcmd: No such file or directory

Is the output from doing it in console manually

Link to comment
2 minutes ago, Kazak-PG said:

Is the output from doing it in console manually

Oh, .sh is missing, so it would be:

${STEAMCMD_DIR}/steamcmd.sh +login ${USERNAME} ${PASSWRD} +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +workshop_download_item 1832638103 validate +quit

 

I forgot that this changed over the years...

Link to comment
Just now, ich777 said:

Oh, .sh is missing, so it would be:

5 minutes ago, ich777 said:

Oh, .sh is missing, so it would be:

${STEAMCMD_DIR}/steamcmd.sh +login ${USERNAME} ${PASSWRD} +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +workshop_download_item 1832638103 validate +quit

 

I forgot that this changed over the years...

 

I forgot that this changed over the years...

Okay so i tried that and i got an error saying the force install cannot be done before login

# su $USER
steam@29e84f06b83a:/$ ${STEAMCMD_DIR}/steamcmd.sh +login ${USERNAME} ${PASSWRD} +force_install_dir ${SERVER_DIR} +app_update ${GAME_ID} +workshop_download_item 1832638103 validate +quit
Redirecting stderr to '/serverdata/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1654574676
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'plutonic_gaming' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
Success! App '233780' already up to date.
ERROR! Failed to start downloading item 0.steam@29e84f06b83a:/$ 

We're making progress :D 

 

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...