eggs
eggs copied to clipboard
[Egg Request]: STN Survive The Nights
Does this expand an already existing service
No
Link to a game or software
STN (Survive The Nights)
Links for the download
https://store.steampowered.com/app/541300/Survive_the_Nights/
Links for the install docs
Requesting a Game egg For Pterodactyl for LINUX Server
i request this cause mostly only 2 Zombie games Project zomboid and 7D2d due to Dev's issues with updating 7D2D always breaks somthing and getting tiring of its group i wanted to suggest a option or egg Suggestion for STN Survive The Nights
Install Docs: https://survivethenights.fandom.com/wiki/Hosting
Install Docs: https://survivethenights.fandom.com/wiki/Hosting
that dose not help at all
Install Docs: https://survivethenights.fandom.com/wiki/Hosting
that dose not help at all
It does help the person, who's creating the egg for you. So he dont need to search for an installation guide!
Install Docs: https://survivethenights.fandom.com/wiki/Hosting
that dose not help at all
It does help the person, who's creating the egg for you. So he dont need to search for an installation guide!
if anyone can make the EGG
still has a few small errors
still has a few small errors
if it comes out working that would be awesome, this is one of the games i been wanting to host for a long time and hoping this works when egg is made
@MADDMAXKZ on mygameplatform.com the egg is published where you can use the game.
mygameplatform.com
where i do not see it, on mygameplatform.com
@killertobyd are you going to publish the json file so others can use it on there own server
@MADDMAXKZ The Egg is yet to be published. I just discovered a few bugs and it's hard to release something like this before they're fixed. But the server as you can see is in the server list
.
@nightmarepup yes but only when I have fixed it otherwise it makes no sense
@nightmarepup yes but only when I have fixed it otherwise it makes no sense
yeah thats fair just got confused because u said it was already published
@nightmarepup It was published but I found some mistakes and I am fixing them. :)
I'm interested in this egg as well. @killertobyd How's the progress going?
I'm interested in this egg as well. @killertobyd How's the progress going?
I am having a look if I can trow a simple egg together to test and then imporve it
@scootz @MADDMAXKZ @killertobyd
please test:
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-01-29T11:17:51+01:00",
"name": "Survive The Nights",
"author": "[email protected]",
"description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
"features": [
"steam_disk_space"
],
"docker_images": {
"SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian"
},
"file_denylist": [],
"startup": ".\/Server_Linux_x64 -console -batchmode -nographics -no-stereo-rendering",
"config": {
"files": "{\r\n \".\/Config\/ServerConfig.txt\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"serverPort=\": \"serverPort={{server.build.default.port}}\",\r\n \"serverIP=\": \"serverIP=0.0.0.0\",\r\n \"serverName=\": \"serverName={{server.build.env.SERVER_NAME}}\",\r\n \"serverPassword=\": \"serverPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n \"showInPublicLobby=\": \"showInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n \"serverOwner=\": \"serverOwner={{server.build.env.SERVER_OWNER}}\",\r\n \"WorldName=\": \"WorldName={{server.build.env.WORLDNAME}}\",\r\n \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
"logs": "{}",
"stop": "^^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Auto update",
"description": "Auto update the server on startup",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "App id",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "1502300",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1502300",
"field_type": "text"
},
{
"name": "Server name",
"description": "The name of the server",
"env_variable": "SERVER_NAME",
"default_value": "New Private Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:48",
"field_type": "text"
},
{
"name": "Server password",
"description": "",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:32",
"field_type": "text"
},
{
"name": "Public server",
"description": "Show the server in the public lobby",
"env_variable": "SERVER_PUBLIC",
"default_value": "True",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:True,false",
"field_type": "text"
},
{
"name": "Server owner",
"description": "",
"env_variable": "SERVER_OWNER",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:48",
"field_type": "text"
},
{
"name": "World name",
"description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
"env_variable": "WORLDNAME",
"default_value": "DedicatedServer",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "Query port",
"description": "game port +1",
"env_variable": "QUERY_PORT",
"default_value": "25566",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
}
]
}
I did give this a try and it does not work. It repeatedly spews out errors. Gave the egg 10G ram and 100G disk space, more than enough to run the game I think. Managed to capture the output so you can see what happens. Its quite big in size. I tried to break/stop the app before it got so big but this is the smallest I could get it. I'm attaching a link here for you to check on my dropbox. Wasn't sure how else I could share this. Hope it helps.
Something I did notice is there is only one file in ServerConfig directory. Also there is no .stn-server.db file which suggests it needs sqlite. Would adding sqlite to the image some how get this to work right?
Something I did notice is there is only one file in ServerConfig directory. Also there is no .stn-server.db file which suggests it needs sqlite. Would adding sqlite to the image some how get this to work right?
In your crash log it is complaining about missing .json files. For me they are there on fresh install. So can you send me some install logs? Or at least try to reinstall. If you get a error on startup that stas faild tread support that is normal.
Here is the install log
container@pterodactyl~ Server marked as offline...
steamcmd.sh
linux32/steamcmd
linux32/steamerrorreporter
linux32/libstdc++.so.6
linux32/crashhandler.so
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 57385 KB)...
[ 0%] Downloading update (0 of 57385 KB)...
[ 0%] Downloading update (0 of 57385 KB)...
[ 0%] Downloading update (215 of 57385 KB)...
[ 0%] Downloading update (1216 of 57385 KB)...
[ 2%] Downloading update (2134 of 57385 KB)...
[ 3%] Downloading update (3078 of 57385 KB)...
[ 5%] Downloading update (4026 of 57385 KB)...
[ 7%] Downloading update (5069 of 57385 KB)...
[ 8%] Downloading update (6015 of 57385 KB)...
[ 10%] Downloading update (6808 of 57385 KB)...
[ 11%] Downloading update (7567 of 57385 KB)...
[ 13%] Downloading update (8186 of 57385 KB)...
[ 14%] Downloading update (8833 of 57385 KB)...
[ 15%] Downloading update (9452 of 57385 KB)...
[ 16%] Downloading update (10139 of 57385 KB)...
[ 17%] Downloading update (10786 of 57385 KB)...
[ 18%] Downloading update (11405 of 57385 KB)...
[ 19%] Downloading update (12124 of 57385 KB)...
[ 21%] Downloading update (12739 of 57385 KB)...
[ 22%] Downloading update (13389 of 57385 KB)...
[ 23%] Downloading update (14076 of 57385 KB)...
[ 24%] Downloading update (14695 of 57385 KB)...
[ 25%] Downloading update (15342 of 57385 KB)...
[ 26%] Downloading update (15961 of 57385 KB)...
[ 27%] Downloading update (16677 of 57385 KB)...
[ 29%] Downloading update (17295 of 57385 KB)...
[ 30%] Downloading update (17942 of 57385 KB)...
[ 31%] Downloading update (18630 of 57385 KB)...
[ 32%] Downloading update (19251 of 57385 KB)...
[ 33%] Downloading update (19895 of 57385 KB)...
[ 34%] Downloading update (20586 of 57385 KB)...
[ 35%] Downloading update (21233 of 57385 KB)...
[ 37%] Downloading update (21852 of 57385 KB)...
[ 38%] Downloading update (22498 of 57385 KB)...
[ 39%] Downloading update (23186 of 57385 KB)...
[ 40%] Downloading update (23808 of 57385 KB)...
[ 41%] Downloading update (24452 of 57385 KB)...
[ 42%] Downloading update (25142 of 57385 KB)...
[ 43%] Downloading update (25786 of 57385 KB)...
[ 44%] Downloading update (26407 of 57385 KB)...
[ 46%] Downloading update (27098 of 57385 KB)...
[ 47%] Downloading update (27740 of 57385 KB)...
[ 48%] Downloading update (28363 of 57385 KB)...
[ 49%] Downloading update (29073 of 57385 KB)...
[ 50%] Downloading update (29697 of 57385 KB)...
[ 51%] Downloading update (30097 of 57385 KB)...
[ 52%] Downloading update (30506 of 57385 KB)...
[ 53%] Downloading update (31201 of 57385 KB)...
[ 54%] Downloading update (31837 of 57385 KB)...
[ 55%] Downloading update (32467 of 57385 KB)...
[ 56%] Downloading update (33167 of 57385 KB)...
[ 57%] Downloading update (33791 of 57385 KB)...
[ 58%] Downloading update (34429 of 57385 KB)...
[ 59%] Downloading update (35122 of 57385 KB)...
[ 61%] Downloading update (35752 of 57385 KB)...
[ 62%] Downloading update (36388 of 57385 KB)...
[ 63%] Downloading update (37081 of 57385 KB)...
[ 64%] Downloading update (37720 of 57385 KB)...
[ 65%] Downloading update (38347 of 57385 KB)...
[ 66%] Downloading update (39043 of 57385 KB)...
[ 68%] Downloading update (39679 of 57385 KB)...
[ 69%] Downloading update (40010 of 57385 KB)...
[ 69%] Downloading update (40171 of 57385 KB)...
[ 70%] Downloading update (40488 of 57385 KB)...
[ 70%] Downloading update (40804 of 57385 KB)...
[ 71%] Downloading update (41152 of 57385 KB)...
[ 71%] Downloading update (41468 of 57385 KB)...
[ 72%] Downloading update (41784 of 57385 KB)...
[ 72%] Downloading update (42133 of 57385 KB)...
[ 73%] Downloading update (42450 of 57385 KB)...
[ 73%] Downloading update (42766 of 57385 KB)...
[ 74%] Downloading update (43113 of 57385 KB)...
[ 75%] Downloading update (43430 of 57385 KB)...
[ 75%] Downloading update (43746 of 57385 KB)...
[ 76%] Downloading update (44094 of 57385 KB)...
[ 76%] Downloading update (44411 of 57385 KB)...
[ 77%] Downloading update (44727 of 57385 KB)...
[ 77%] Downloading update (45075 of 57385 KB)...
[ 78%] Downloading update (45391 of 57385 KB)...
[ 79%] Downloading update (45707 of 57385 KB)...
[ 79%] Downloading update (46056 of 57385 KB)...
[ 80%] Downloading update (46372 of 57385 KB)...
[ 80%] Downloading update (46689 of 57385 KB)...
[ 81%] Downloading update (47036 of 57385 KB)...
[ 81%] Downloading update (47351 of 57385 KB)...
[ 82%] Downloading update (47668 of 57385 KB)...
[ 83%] Downloading update (48017 of 57385 KB)...
[ 83%] Downloading update (48333 of 57385 KB)...
[ 84%] Downloading update (48649 of 57385 KB)...
[ 84%] Downloading update (48997 of 57385 KB)...
[ 85%] Downloading update (49313 of 57385 KB)...
[ 85%] Downloading update (49630 of 57385 KB)...
[ 86%] Downloading update (49978 of 57385 KB)...
[ 87%] Downloading update (50295 of 57385 KB)...
[ 87%] Downloading update (50611 of 57385 KB)...
[ 88%] Downloading update (50958 of 57385 KB)...
[ 88%] Downloading update (51275 of 57385 KB)...
[ 89%] Downloading update (51591 of 57385 KB)...
[ 89%] Downloading update (51940 of 57385 KB)...
[ 90%] Downloading update (52256 of 57385 KB)...
[ 91%] Downloading update (52573 of 57385 KB)...
[ 91%] Downloading update (52920 of 57385 KB)...
[ 92%] Downloading update (53235 of 57385 KB)...
[ 92%] Downloading update (53310 of 57385 KB)...
[ 92%] Downloading update (53439 of 57385 KB)...
[ 93%] Downloading update (53756 of 57385 KB)...
[ 93%] Downloading update (54072 of 57385 KB)...
[ 94%] Downloading update (54418 of 57385 KB)...
[ 94%] Downloading update (54737 of 57385 KB)...
[ 95%] Downloading update (55051 of 57385 KB)...
[ 95%] Downloading update (55401 of 57385 KB)...
[ 96%] Downloading update (55717 of 57385 KB)...
[ 97%] Downloading update (56034 of 57385 KB)...
[ 97%] Downloading update (56382 of 57385 KB)...
[ 98%] Downloading update (56696 of 57385 KB)...
[ 98%] Downloading update (57015 of 57385 KB)...
[ 99%] Downloading update (57363 of 57385 KB)...
[ 99%] Downloading update (57385 of 57385 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
/tmp/dumps insufficient permissions - delete and recreate
[ 0%] Checking for available updates...
[----] Verifying installation...
[ 0%] Downloading update...
[ 0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1669935972
-- type 'quit' to exit --
Loading Steam API...OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x61) downloading, progress: 0.00 (0 / 1194746487)
Update state (0x61) downloading, progress: 13.43 (160467909 / 1194746487)
Update state (0x61) downloading, progress: 46.42 (554631641 / 1194746487)
Update state (0x61) downloading, progress: 82.59 (986704864 / 1194746487)
Update state (0x81) verifying update, progress: 11.61 (138758638 / 1194746487)
Update state (0x81) verifying update, progress: 92.57 (1105997200 / 1194746487)
Success! App '1502300' fully installed.
'linux32/steamclient.so' -> '../.steam/sdk32/steamclient.so'
'linux64/steamclient.so' -> '../.steam/sdk64/steamclient.so'
-----------------------------------------
Installation completed...
-----------------------------------------
Here is the install log
container@pterodactyl~ Server marked as offline... steamcmd.sh linux32/steamcmd linux32/steamerrorreporter linux32/libstdc++.so.6 linux32/crashhandler.so Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [ 0%] Checking for available update... [----] Downloading update (0 of 57385 KB)... [ 0%] Downloading update (0 of 57385 KB)... [ 0%] Downloading update (0 of 57385 KB)... [ 0%] Downloading update (215 of 57385 KB)... [ 0%] Downloading update (1216 of 57385 KB)... [ 2%] Downloading update (2134 of 57385 KB)... [ 3%] Downloading update (3078 of 57385 KB)... [ 5%] Downloading update (4026 of 57385 KB)... [ 7%] Downloading update (5069 of 57385 KB)... [ 8%] Downloading update (6015 of 57385 KB)... [ 10%] Downloading update (6808 of 57385 KB)... [ 11%] Downloading update (7567 of 57385 KB)... [ 13%] Downloading update (8186 of 57385 KB)... [ 14%] Downloading update (8833 of 57385 KB)... [ 15%] Downloading update (9452 of 57385 KB)... [ 16%] Downloading update (10139 of 57385 KB)... [ 17%] Downloading update (10786 of 57385 KB)... [ 18%] Downloading update (11405 of 57385 KB)... [ 19%] Downloading update (12124 of 57385 KB)... [ 21%] Downloading update (12739 of 57385 KB)... [ 22%] Downloading update (13389 of 57385 KB)... [ 23%] Downloading update (14076 of 57385 KB)... [ 24%] Downloading update (14695 of 57385 KB)... [ 25%] Downloading update (15342 of 57385 KB)... [ 26%] Downloading update (15961 of 57385 KB)... [ 27%] Downloading update (16677 of 57385 KB)... [ 29%] Downloading update (17295 of 57385 KB)... [ 30%] Downloading update (17942 of 57385 KB)... [ 31%] Downloading update (18630 of 57385 KB)... [ 32%] Downloading update (19251 of 57385 KB)... [ 33%] Downloading update (19895 of 57385 KB)... [ 34%] Downloading update (20586 of 57385 KB)... [ 35%] Downloading update (21233 of 57385 KB)... [ 37%] Downloading update (21852 of 57385 KB)... [ 38%] Downloading update (22498 of 57385 KB)... [ 39%] Downloading update (23186 of 57385 KB)... [ 40%] Downloading update (23808 of 57385 KB)... [ 41%] Downloading update (24452 of 57385 KB)... [ 42%] Downloading update (25142 of 57385 KB)... [ 43%] Downloading update (25786 of 57385 KB)... [ 44%] Downloading update (26407 of 57385 KB)... [ 46%] Downloading update (27098 of 57385 KB)... [ 47%] Downloading update (27740 of 57385 KB)... [ 48%] Downloading update (28363 of 57385 KB)... [ 49%] Downloading update (29073 of 57385 KB)... [ 50%] Downloading update (29697 of 57385 KB)... [ 51%] Downloading update (30097 of 57385 KB)... [ 52%] Downloading update (30506 of 57385 KB)... [ 53%] Downloading update (31201 of 57385 KB)... [ 54%] Downloading update (31837 of 57385 KB)... [ 55%] Downloading update (32467 of 57385 KB)... [ 56%] Downloading update (33167 of 57385 KB)... [ 57%] Downloading update (33791 of 57385 KB)... [ 58%] Downloading update (34429 of 57385 KB)... [ 59%] Downloading update (35122 of 57385 KB)... [ 61%] Downloading update (35752 of 57385 KB)... [ 62%] Downloading update (36388 of 57385 KB)... [ 63%] Downloading update (37081 of 57385 KB)... [ 64%] Downloading update (37720 of 57385 KB)... [ 65%] Downloading update (38347 of 57385 KB)... [ 66%] Downloading update (39043 of 57385 KB)... [ 68%] Downloading update (39679 of 57385 KB)... [ 69%] Downloading update (40010 of 57385 KB)... [ 69%] Downloading update (40171 of 57385 KB)... [ 70%] Downloading update (40488 of 57385 KB)... [ 70%] Downloading update (40804 of 57385 KB)... [ 71%] Downloading update (41152 of 57385 KB)... [ 71%] Downloading update (41468 of 57385 KB)... [ 72%] Downloading update (41784 of 57385 KB)... [ 72%] Downloading update (42133 of 57385 KB)... [ 73%] Downloading update (42450 of 57385 KB)... [ 73%] Downloading update (42766 of 57385 KB)... [ 74%] Downloading update (43113 of 57385 KB)... [ 75%] Downloading update (43430 of 57385 KB)... [ 75%] Downloading update (43746 of 57385 KB)... [ 76%] Downloading update (44094 of 57385 KB)... [ 76%] Downloading update (44411 of 57385 KB)... [ 77%] Downloading update (44727 of 57385 KB)... [ 77%] Downloading update (45075 of 57385 KB)... [ 78%] Downloading update (45391 of 57385 KB)... [ 79%] Downloading update (45707 of 57385 KB)... [ 79%] Downloading update (46056 of 57385 KB)... [ 80%] Downloading update (46372 of 57385 KB)... [ 80%] Downloading update (46689 of 57385 KB)... [ 81%] Downloading update (47036 of 57385 KB)... [ 81%] Downloading update (47351 of 57385 KB)... [ 82%] Downloading update (47668 of 57385 KB)... [ 83%] Downloading update (48017 of 57385 KB)... [ 83%] Downloading update (48333 of 57385 KB)... [ 84%] Downloading update (48649 of 57385 KB)... [ 84%] Downloading update (48997 of 57385 KB)... [ 85%] Downloading update (49313 of 57385 KB)... [ 85%] Downloading update (49630 of 57385 KB)... [ 86%] Downloading update (49978 of 57385 KB)... [ 87%] Downloading update (50295 of 57385 KB)... [ 87%] Downloading update (50611 of 57385 KB)... [ 88%] Downloading update (50958 of 57385 KB)... [ 88%] Downloading update (51275 of 57385 KB)... [ 89%] Downloading update (51591 of 57385 KB)... [ 89%] Downloading update (51940 of 57385 KB)... [ 90%] Downloading update (52256 of 57385 KB)... [ 91%] Downloading update (52573 of 57385 KB)... [ 91%] Downloading update (52920 of 57385 KB)... [ 92%] Downloading update (53235 of 57385 KB)... [ 92%] Downloading update (53310 of 57385 KB)... [ 92%] Downloading update (53439 of 57385 KB)... [ 93%] Downloading update (53756 of 57385 KB)... [ 93%] Downloading update (54072 of 57385 KB)... [ 94%] Downloading update (54418 of 57385 KB)... [ 94%] Downloading update (54737 of 57385 KB)... [ 95%] Downloading update (55051 of 57385 KB)... [ 95%] Downloading update (55401 of 57385 KB)... [ 96%] Downloading update (55717 of 57385 KB)... [ 97%] Downloading update (56034 of 57385 KB)... [ 97%] Downloading update (56382 of 57385 KB)... [ 98%] Downloading update (56696 of 57385 KB)... [ 98%] Downloading update (57015 of 57385 KB)... [ 99%] Downloading update (57363 of 57385 KB)... [ 99%] Downloading update (57385 of 57385 KB)... [100%] Download Complete. [----] Applying update... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching... WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt' /tmp/dumps insufficient permissions - delete and recreate [ 0%] Checking for available updates... [----] Verifying installation... [ 0%] Downloading update... [ 0%] Checking for available updates... [----] Download complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Installing update... [----] Cleaning up... [----] Update complete, launching Steamcmd... WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work. Redirecting stderr to '/mnt/server/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation - version 1669935972 -- type 'quit' to exit -- Loading Steam API...OK Connecting anonymously to Steam Public...OK Waiting for client config...OK Waiting for user info...OK Update state (0x3) reconfiguring, progress: 0.00 (0 / 0) Update state (0x61) downloading, progress: 0.00 (0 / 1194746487) Update state (0x61) downloading, progress: 13.43 (160467909 / 1194746487) Update state (0x61) downloading, progress: 46.42 (554631641 / 1194746487) Update state (0x61) downloading, progress: 82.59 (986704864 / 1194746487) Update state (0x81) verifying update, progress: 11.61 (138758638 / 1194746487) Update state (0x81) verifying update, progress: 92.57 (1105997200 / 1194746487) Success! App '1502300' fully installed. 'linux32/steamclient.so' -> '../.steam/sdk32/steamclient.so' 'linux64/steamclient.so' -> '../.steam/sdk64/steamclient.so' ----------------------------------------- Installation completed... -----------------------------------------
Looks fine. What is your kernel version? uname -a
Running Arch Linux
Linux norbert 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux
Running Arch Linux
Linux norbert 6.1.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 24 Jan 2023 21:07:04 +0000 x86_64 GNU/Linux
Arch is not on the supported list, it should work. with an up to date kernel what you seem to have
Would providing an exported tar.gz of the container give more details on why its failing? I could put this in my dropbox. I do have this game running outside of docker and works great so I know the server runs it.
EDIT I've put it in dropbox for you to grab here
Would providing an exported tar.gz of the container give more details on why its failing? I could put this in my dropbox. I do have this game running outside of docker and works great so I know the server runs it.
EDIT I've put it in dropbox for you to grab here
Found it, the file parser is blocking for the game engine from generating its own file in the Config folder. Use for now the temp image as I am waiting for my PR to be approved to the official repo with the needed changes
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-01-30T18:08:24+01:00",
"name": "Survive The Nights",
"author": "[email protected]",
"description": "Survive the Nights is a unique FPS survival game focusing on teamwork, fortification, creativity & strategy. Secure a structure or roam free, the choice is yours. Gameplay focuses on realistic survival, post zombie infestation. Prepare during the day for nightfall. How many nights will you survive?",
"features": [
"steam_disk_space"
],
"docker_images": {
"SteamCMD_Debian": "ghcr.io\/parkervcp\/steamcmd:debian",
"TEMP": "quintenqvd\/pterodactyl_images:temp_steamcmd"
},
"file_denylist": [],
"startup": ".\/Server_Linux_x64 -console -batchmode -nographics",
"config": {
"files": "{\r\n \".\/Config\/ServerConfig.txt\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"serverPort=\": \"serverPort={{server.build.default.port}}\",\r\n \"serverIP=\": \"serverIP=0.0.0.0\",\r\n \"serverName=\": \"serverName={{server.build.env.SERVER_NAME}}\",\r\n \"serverPassword=\": \"serverPassword={{server.build.env.SERVER_PASSWORD}}\",\r\n \"showInPublicLobby=\": \"showInPublicLobby={{server.build.env.SERVER_PUBLIC}}\",\r\n \"serverOwner=\": \"serverOwner={{server.build.env.SERVER_OWNER}}\",\r\n \"WorldName=\": \"WorldName={{server.build.env.WORLDNAME}}\",\r\n \"queryPort=\": \"queryPort={{server.build.env.QUERY_PORT}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"*** Server Connected To STEAM *** \"\r\n}",
"logs": "{}",
"stop": "^^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} $validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/Config\r\ncd \/mnt\/server\/Config\r\n## add below your custom commands if needed\r\ncurl -sSL -o ServerConfig.txt https:\/\/pteropaste.com\/5jic5h\r\ncurl -sSL -o TpPresets.json https:\/\/pteropaste.com\/6z8nur\r\ncurl -sSL -o UserPermissions.json https:\/\/pteropaste.com\/l3gy6z\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Auto update",
"description": "Auto update the server on startup",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean",
"field_type": "text"
},
{
"name": "App id",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "1502300",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1502300",
"field_type": "text"
},
{
"name": "Server name",
"description": "The name of the server",
"env_variable": "SERVER_NAME",
"default_value": "New Private Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:48",
"field_type": "text"
},
{
"name": "Server password",
"description": "",
"env_variable": "SERVER_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:32",
"field_type": "text"
},
{
"name": "Public server",
"description": "Show the server in the public lobby",
"env_variable": "SERVER_PUBLIC",
"default_value": "True",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:True,false",
"field_type": "text"
},
{
"name": "Server owner",
"description": "",
"env_variable": "SERVER_OWNER",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:48",
"field_type": "text"
},
{
"name": "World name",
"description": "The name of the server world.\r\n\r\nDo not change this after the server started!",
"env_variable": "WORLDNAME",
"default_value": "DedicatedServer",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{
"name": "Query port",
"description": "game port +1",
"env_variable": "QUERY_PORT",
"default_value": "25566",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric",
"field_type": "text"
}
]
}
Good news, server does seem to work with the new changes you made to the json. Unfortunately, I have yet to successfully connect to the server with STN. It doesn't show on the server lists nor does it connect directly with ip address. Probably something I'm missing. I've port forwarded 27000 to the server, checked with GRC's port scanner and it is indeed open. I do see port 27000 opened and listening via netstat on the linux server. Not sure what I'm missing.
Looking closer at it, the ServerConfig.txt has default settings. 127.0.0.1, 0 and 0 for serverport and query port. So the substitutions your script does doesn't seem to work.
EDIT I've since edited the substitutions. Just a matter of changing capitalization on some entries. They all work I think with the exception of queryPort. I've not been able to get that to work yet. I can connect directly to the IP and it works. Still doesn't show in the server list yet, maybe thats because the queryPort subst doesn't work yet?
Looking closer at it, the ServerConfig.txt has default settings. 127.0.0.1, 0 and 0 for serverport and query port. So the substitutions your script does doesn't seem to work.
EDIT I've since edited the substitutions. Just a matter of changing capitalization on some entries. They all work I think with the exception of queryPort. I've not been able to get that to work yet. I can connect directly to the IP and it works. Still doesn't show in the server list yet, maybe thats because the queryPort subst doesn't work yet?
The file parser should auto set the game port , and query port and set the ip to 0.0.0.0. As you need to allocated 2 ports
I likly messed up somwhere. I have a look later. As this should all go automatic