pelican-eggs / eggs

Service eggs for the pterodactyl panel
MIT License
2.81k stars 2.31k forks source link

[Egg Request]: ARK Survival: Ascended #2523

Closed LexiieKF closed 10 months ago

LexiieKF commented 10 months ago

Does this expand an already existing service

Yes

Link to a game or software

https://steamdb.info/app/2399830/

Links for the download

https://store.steampowered.com/app/2399830/ARK_Survival_Ascended/

Links for the install docs

no doc at the moment

Ballaual commented 10 months ago

didnt get it managed so far but the final result should look similar to this

Platform Memory Stats for WindowsServer
Process Physical Memory: 170.14 MB used, 206.84 MB peak
Process Virtual Memory: 161.03 MB used, 172.17 MB peak
Physical Memory: 9508.05 MB used,  23148.24 MB free, 32656.29 MB total
Virtual Memory: 12933.49 MB used,  21770.80 MB free, 34704.29 MB total
ARK Version: 25.15
Primal Game Data Took 0.29 seconds
Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
BattlEye successfully started.
Server: "ARK #394574" has successfully started!
Commandline:  TheIsland_WP?listen -UseBattlEye
Full Startup: 8.41 seconds
Number of cores 14
wp.Runtime.HLOD = "1"
SaltyLTS commented 10 months ago

image oh my god i am such unlucky XD

i don't understand, i have steam guard mail only, when it ask me the code i put the code i just receive from the mail, it's still tell me incorrect lol do i need to add the code in "" when i do set_steam_guard_code ?

Ballaual commented 10 months ago

image oh my god i am such unlucky XD

i don't understand, i have steam guard mail only, when it ask me the code i put the code i just receive from the mail, it's still tell me incorrect lol do i need to add the code in "" when i do set_steam_guard_code ?

Create server fill login/password and leave guard blank Let it finish the install and then enter the code in the variable under startup Go to Settings and hit reinstall Dont use ""

Ballaual commented 10 months ago

Just found this in the Ark Wiki regarding ASA private servers. In case someone might be able to get a dedi running here, he wont be able to start the game at the same moment.. except owning a second copy of the gane.

Or did i understand this wrong?

https://ark.wiki.gg/wiki/Dedicated_server_setup#Survival_Ascended_restrictions

durzo commented 10 months ago

i have a second steam account with a copy of the game purchased just to run on pterodatyl so this is not a problem for me

gOOvER commented 10 months ago

but, it could Run on wine:

...requires Windows (or a Windows-like environment) and does not support Linux natively.

gOOvER commented 10 months ago

Just found this in the Ark Wiki regarding ASA private servers. In case someone might be able to get a dedi running here, he wont be able to start the game at the same moment.. except owning a second copy of the gane.

Or did i understand this wrong?

https://ark.wiki.gg/wiki/Dedicated_server_setup#Survival_Ascended_restrictions

you can only run 1 Server per IP/vm. thats what i understand

MedPlex98 commented 10 months ago

Just found this in the Ark Wiki regarding ASA private servers. In case someone might be able to get a dedi running here, he wont be able to start the game at the same moment.. except owning a second copy of the gane. Or did i understand this wrong? https://ark.wiki.gg/wiki/Dedicated_server_setup#Survival_Ascended_restrictions

you can only run 1 Server per IP/vm. thats what i understand

Via Steam account. They only check the Steam account. What is checked, however, is the IP, the provider and who plays on it. This information probably goes to Nitrado indirectly.

QuintenQVD0 commented 10 months ago

Au cas où l’un d’entre vous voudrait l’essayer avec ma première création de cet œuf. Comme je ne possède pas le jeu et que je ne l’achèterai pas, je ne suis pas en mesure de le tester moi-même. Pour que cela fonctionne, vous devez posséder une copie du jeu. Pour vous connecter, vous devez utiliser SteamGuard Mail (le mobile n’est pas pris en charge comme je le sais). Installez d’abord le serveur et attendez le courrier avec votre code. Ensuite, placez-le dans la variable SteamGuard et réinstallez à nouveau le serveur. Comme je ne connais pas les sorties console du jeu, il n’y a actuellement aucune valeur dans la configuration de démarrage, ce qui signifie que le serveur ne sera pas affiché comme démarré jusqu’à présent. Dès que je reçois des commentaires de quelqu’un qui a testé cet œuf, je peux commencer à le mettre à jour et à l’affiner. Si des erreurs se produisent, un journal d’erreurs serait bien. https://github.com/Ballaual/eggs/tree/feat-arksa-egg/game_eggs/steamcmd_servers/ark_survival_ascended

image

If you are the one that put all this french text here please don't this is english only!

gOOvER commented 10 months ago

please test this egg:

egg-ark--survival-ascended.json

i rewrote it back to wine. You missed windows_install btw And it would be nice to have a screen of the folder, which contains the files

Ballaual commented 10 months ago

please test this egg:

egg-ark--survival-ascended.json

i rewrote it back to wine. You missed windows_install btw And it would be nice to have a screen of the folder, which contains the files


Executing w_do_call dotnet7
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet7 
Executing cd /home/container/.cache/winetricks/dotnet7
Executing wine dotnet-runtime-7.0.5-win-x86.exe /quiet
------------------------------------------------------
warning: Note: command wine dotnet-runtime-7.0.5-win-x86.exe /quiet returned status 243. Aborting.
------------------------------------------------------
:/home/container$ wine ./ShooterGame/Binaries/Win64/ArkAscendedServer.exe ${SERVER_MAP}?listen?SessionName="${SESSION_NAME}"?ServerPassword=${SERVER_PASSWORD} -UseBattlEye -log
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 53
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.```
gOOvER commented 10 months ago

staging?

i dont use staging ghcr.io/parkervcp/yolks:wine_latest

gOOvER commented 10 months ago

please test this egg: egg-ark--survival-ascended.json i rewrote it back to wine. You missed windows_install btw And it would be nice to have a screen of the folder, which contains the files

Executing w_do_call dotnet7
od: wine: No such file or directory
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_dotnet7 
Executing cd /home/container/.cache/winetricks/dotnet7
Executing wine dotnet-runtime-7.0.5-win-x86.exe /quiet
------------------------------------------------------
warning: Note: command wine dotnet-runtime-7.0.5-win-x86.exe /quiet returned status 243. Aborting.
------------------------------------------------------
:/home/container$ wine ./ShooterGame/Binaries/Win64/ArkAscendedServer.exe ${SERVER_MAP}?listen?SessionName="${SESSION_NAME}"?ServerPassword=${SERVER_PASSWORD} -UseBattlEye -log
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 53
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.```

remove dotnet7 from winetricks

gOOvER commented 10 months ago

and delete .wine .cache folders and do a reinstall

QuintenQVD0 commented 10 months ago

dotnet 7 is in winetricks but they need to first release a new version for it to work

Ballaual commented 10 months ago

changed back to wine_latest removed dotnet7 from winetricks _run deleted .wine / .cache reinstall is running, driving home now, updated follows

screenshots of home and exe folder attached home-container exe-folder

Ballaual commented 10 months ago

@gOOvER its still crashing right after the execution line after the changes

gOOvER commented 10 months ago

@gOOvER its still crashing right after the execution line after the changes

then i think, the server needs an other startupcmd

Ballaual commented 10 months ago

i already tried just the ArkAscendendSeever.exe without and manual the Mapparam but same issue

IxPrumxI commented 10 months ago

Well I just did this. not in a container yet. image Turns out there are steam drm so you need to have steam open and logged in. I used Steamless and uploaded the file to the server. So we need to update the install script to use steamless cli and remove the drm then start the server using the unpacked version.

gOOvER commented 10 months ago

Well I just did this. not in a container yet. image Turns out there are steam drm so you need to have steam open and logged in. I used Steamless and uploaded the file to the server. So we need to update the install script to use steamless cli and remove the drm then start the server using the unpacked version.

I bet it will never updated to steamless, when it removes DRM.

Steamworks Digital Rights Management wraps your game's compiled executable and checks to make sure that it is running under an authenticated instance of Steam.'

Sry sounds for me, thats against TOS.

ANNND: To compile, you should only need to load the sln file and compile as-is. you must compile it.

Noone could btw use the egg commercial, with this Licence from Steamless:

Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International

gOOvER commented 10 months ago

i already tried just the ArkAscendendSeever.exe without and manual the Mapparam but same issue

i would wait, until they release install guides for the server. I think, in 1 or 2 months

LexiieKF commented 10 months ago

image

https://ark.wiki.gg/wiki/Dedicated_server_setup

parkervcp commented 10 months ago

wine64 at a minimum then.

LexiieKF commented 10 months ago

image

LexiieKF commented 10 months ago

image

Flux001337 commented 10 months ago

image

:)

Source pls?

LexiieKF commented 10 months ago

image

:)

Source pls?

Official discord server ARK

image

Flux001337 commented 10 months ago

image

:) Source pls?

Official discord server ARK

image

Thx :D

Mythotical commented 10 months ago

I'm working on updating the egg file and testing it after the DRM has been disabled and Anon Depot being made available.

SaltyLTS commented 10 months ago

I'm working on updating the egg file and testing it after the DRM has been disabled and Anon Depot being made available.

Keep us updated :)

Mythotical commented 10 months ago

So I have discovered the file is flawed in trying to use Wine. I'm testing this on Ubuntu 20.04 running the latest version of Pterodactyl and Wings. The system isn't installing the latest version of wine properly so I'm going to try using proton.

Mythotical commented 10 months ago

I'm done testing for the night I guess. I have exceeded the rate limit connecting to Steam API. As soon as it resets I'll test my proton install and see if that works.

Log1x commented 10 months ago

-oldconsole fixes console logging. I'm also having no issues logging in anonymously now.

Screenshot

I can't seem to get past crashing after 30 or so seconds with libgcc_s.so.1 must be installed for pthread_cancel to work though.

I've tried quite a few Wine implementations taken from various existing eggs on here but nothing seems to hit it. I've tried every libgcc-related package possible as well as i386. 😩 Outside of that, as far as I can tell, it is running up until then.

I have to take a break but here's the egg if anyone wants to see if they can make some progress. I was desperately attempting the buster-slim container in my last attempt but it didn't make a difference.

gOOvER commented 10 months ago

fine, but you dont need wine64. wine as start is enough, because its allready defined in WINE_ARCH.

I played also with -oldconsole :) but you was faster :D

gOOvER commented 10 months ago

So I have discovered the file is flawed in trying to use Wine. I'm testing this on Ubuntu 20.04 running the latest version of Pterodactyl and Wings. The system isn't installing the latest version of wine properly so I'm going to try using proton.

i bet, your kernel is to old on 20.04. Proton will also not run on an old kernel ;)

Log1x commented 10 months ago

fine, but you dont need wine64.

Edited my Gist. I was sanity checking at one point and forgot to swap it back. Heading to sleep for a few, I will keep messing with it when I get up assuming no one else figures it out.

I played also with -oldconsole :) but you was faster :D

Yeah it was a little painful to find but I should've started searching for console a lot sooner after dumping strings. 😞

LexiieKF commented 10 months ago

-oldconsole fixes console logging. I'm also having no issues logging in anonymously now.

Screenshot

I can't seem to get past crashing after 30 or so seconds with libgcc_s.so.1 must be installed for pthread_cancel to work though.

I've tried quite a few Wine implementations taken from various existing eggs on here but nothing seems to hit it. I've tried every libgcc-related package possible as well as i386. 😩 Outside of that, as far as I can tell, it is running up until then.

I have to take a break but here's the egg if anyone wants to see if they can make some progress. I was desperately attempting the buster-slim container in my last attempt but it didn't make a difference.

i have error 500 when i want import your egg

image

gOOvER commented 10 months ago

i have error 500 when i want import your egg

image

Not an egg issue. download the egg correct

MedPlex98 commented 10 months ago

i have error 500 when i want import your egg image

Not an egg issue. download the egg correct

Don't tell it's not an Egg Issue, but if it is.... When importing from the Egg, it fails. Simply replace the email in the Egg.

[2023-10-28 10:47:25] production.ERROR: Could not save Pterodactyl\Models\Egg[]: failed to validate data: {"author":["The author must be a valid email address."]} {"userId":2,"exception":"[object] (Pterodactyl\Exceptions\Model\DataValidationException(code: 0): Could not save Pterodactyl\Models\Egg[]: failed to validate data: {\"author\":[\"The author must be a valid email address.\"]} at /var/www/vhosts/xxx/app/Models/Model.php:53) [stacktrace]

Here the fixed version with my Mail as example: https://mpx.wtf/ixinagoxup.json

gOOvER commented 10 months ago

i have error 500 when i want import your egg image

Not an egg issue. download the egg correct

Don't tell it's not an Egg Issue, but if it is.... When importing from the Egg, it fails. Simply replace the email in the Egg.

[2023-10-28 10:47:25] production.ERROR: Could not save Pterodactyl\Models\Egg[]: failed to validate data: {"author":["The author must be a valid email address."]} {"userId":2,"exception":"[object] (Pterodactyl\Exceptions\Model\DataValidationException(code: 0): Could not save Pterodactyl\Models\Egg[]: failed to validate data: {"author":["The author must be a valid email address."]} at /var/www/vhosts/xxx/app/Models/Model.php:53) [stacktrace]

Here the fixed version with my Mail as example: https://mpx.wtf/ixinagoxup.json

yes, you download the egg in a wrong way. Thats the problem. Its not an issue with the egg and offtopic here

MedPlex98 commented 10 months ago

I have installed the Egg and a server so far.

The server starts, goes up to about 9 GB RAM load and then drops to 6 GB and crashes immediately.

Log: https://mpx.wtf/ayuqokefoj.md

QuintenQVD0 commented 10 months ago

I have installed the Egg and a server so far.

The server starts, goes up to about 9 GB RAM load and then drops to 6 GB and crashes immediately.

Log: https://mpx.wtf/ayuqokefoj.md

try to run it with proton, I saw some messages in the discord that it there does not crash.

also: Code 3. The system cannot find the path specified. Indicates that the specified path can not be found.

MedPlex98 commented 10 months ago

Unfortunately, that's where my knowledge ends. How exactly should I load the server with Proton?

QuintenQVD0 commented 10 months ago

Unfortunately, that's where my knowledge ends. How exactly should I load the server with Proton?

set the image to ghcr.io/parkervcp/steamcmd:proton and in the startup replace wine with proton run

MedPlex98 commented 10 months ago

set the image to ghcr.io/parkervcp/steamcmd:proton and in the startup replace wine with proton run

I have done this, but now it is stuck in this state.

f29d1c08556aeb33b4ed4fac4d640cd3

gOOvER commented 10 months ago

do not use proton. Proton will NOT work. Use Wine

QuintenQVD0 commented 10 months ago

set the image to ghcr.io/parkervcp/steamcmd:proton and in the startup replace wine with proton run

I have done this, but now it is stuck in this state.

f29d1c08556aeb33b4ed4fac4d640cd3

yea then it will not work, my guess isssue on there side

MedPlex98 commented 10 months ago

I tested a little further and extended the start command.

The server still crashes, but the game log says the following:

[2023.10.28-10.18.18:256][  0]Log file open, 10/28/23 12:18:18
[2023.10.28-10.18.18:257][  0]LogMemory: Platform Memory Stats for WindowsServer
[2023.10.28-10.18.18:257][  0]LogMemory: Process Physical Memory: 333.71 MB used, 335.72 MB peak
[2023.10.28-10.18.18:257][  0]LogMemory: Process Virtual Memory: 310.38 MB used, 310.38 MB peak
[2023.10.28-10.18.18:257][  0]LogMemory: Physical Memory: 55795.85 MB used,  8512.04 MB free, 64307.89 MB total
[2023.10.28-10.18.18:257][  0]LogMemory: Virtual Memory: 75351.52 MB used,  21691.37 MB free, 97042.89 MB total
[2023.10.28-10.18.18:808][  0]ARK Version: 25.18
[2023.10.28-10.18.19:432][  0]Primal Game Data Took 0.44 seconds
[2023.10.28-10.18.19:795][  0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
[2023.10.28-10.18.19:799][  0]BattlEye successfully started.
[2023.10.28-10.18.19:814][  0]Server: "MaxTest" has successfully started!
[2023.10.28-10.18.36:522][  0]Commandline:  TheIsland_WP?SessionName=MaxTest?ServerPassword=h4g783fhg9?ServerAdminPassword=hf43z786?Port=25095?QueryPort=25097?listen -log -oldconsole
[2023.10.28-10.18.36:522][  0]Full Startup: 18.84 seconds
[2023.10.28-10.18.36:522][  0]Number of cores 8
[2023.10.28-10.18.41:030][  1]wp.Runtime.HLOD = "1"
[2023.10.28-10.18.43:203][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

and crashed

rafaello104 commented 10 months ago

I tested a little further and extended the start command.

The server still crashes, but the game log says the following:

[2023.10.28-10.18.18:256][  0]Log file open, 10/28/23 12:18:18
[2023.10.28-10.18.18:257][  0]LogMemory: Platform Memory Stats for WindowsServer
[2023.10.28-10.18.18:257][  0]LogMemory: Process Physical Memory: 333.71 MB used, 335.72 MB peak
[2023.10.28-10.18.18:257][  0]LogMemory: Process Virtual Memory: 310.38 MB used, 310.38 MB peak
[2023.10.28-10.18.18:257][  0]LogMemory: Physical Memory: 55795.85 MB used,  8512.04 MB free, 64307.89 MB total
[2023.10.28-10.18.18:257][  0]LogMemory: Virtual Memory: 75351.52 MB used,  21691.37 MB free, 97042.89 MB total
[2023.10.28-10.18.18:808][  0]ARK Version: 25.18
[2023.10.28-10.18.19:432][  0]Primal Game Data Took 0.44 seconds
[2023.10.28-10.18.19:795][  0]Server Initializing with BattlEye Anti-Cheat Protection. If you do not wish to use BattlEye, please launch with -NoBattlEye
[2023.10.28-10.18.19:799][  0]BattlEye successfully started.
[2023.10.28-10.18.19:814][  0]Server: "MaxTest" has successfully started!
[2023.10.28-10.18.36:522][  0]Commandline:  TheIsland_WP?SessionName=MaxTest?ServerPassword=h4g783fhg9?ServerAdminPassword=hf43z786?Port=25095?QueryPort=25097?listen -log -oldconsole
[2023.10.28-10.18.36:522][  0]Full Startup: 18.84 seconds
[2023.10.28-10.18.36:522][  0]Number of cores 8
[2023.10.28-10.18.41:030][  1]wp.Runtime.HLOD = "1"
[2023.10.28-10.18.43:203][  1]Allocator Stats for binned2 are not in this build set BINNED2_ALLOCATOR_STATS 1 in MallocBinned2.cpp

and crashed

It looks like that simply means you didn't allocate enough memory, this error has been produced on several other eggs already as well (see: https://github.com/parkervcp/eggs/issues/1416#issuecomment-979489442 )