pelican-eggs / eggs

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

[Egg Request]: 7 Days to Die with Undead Legacy Support #1804

Open szentigrad3 opened 2 years ago

szentigrad3 commented 2 years ago

Does this expand an already existing service

No

Link to a game or software

https://store.steampowered.com/app/251570/7_Days_to_Die/

Links for the download

https://ul.subquake.com/download

Links for the install docs

https://ul.subquake.com/dedicated-servers

szentigrad3 commented 2 years ago

this is as far as i got, any help would be appreciated egg-7-days-to-die-undead-legacy.json.txt

ottyn commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of.

@parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

Fuggschen commented 1 year ago

Could you share the serverstartup.sh? We already have a standard 7dtd Server and are using the bepinex startup script but we lose the telnet functionality.

Also would love to see a generalized 7dtd BepInEx egg instead of one egg for every modpack

EDIT: Ok looked at this myself and great solution! But you should check if the serverconfig.xml is already there and don't overwrite it at reinstall.

parkervcp commented 1 year ago

I won't accept anything that has a shell script as part of the start command. Those are editable and not to be trusted.

iLLNESS commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of.

@parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

Just an FYI, it might be a good idea to have Alloc's Server Fixes checked for updates on restart, otherwise they will never be updated without wiping/reinstalling. Putting it on the startup script ensures it will be up to date after a restart.

Stuff this in your installation code (the sed command just strips the Windows CRLF line endings that pastebin adds, it shouldn't be needed if you host elsewhere) https://pastebin.com/raw/4R5xWHnC: ##download alloc service fixes update script\r\ncurl -Lo /mnt/server/updatefixes.sh https://pastebin.com/raw/4R5xWHnC\r\nsed -i 's\/\\r$//' /mnt/server/updatefixes.sh\r\nchmod +x /mnt/server/updatefixes.sh\r\nchmod 755 /mnt/server/updatefixes.sh\r\n\r\n

Call the new script from your startup before 7dtd is launched: .\/updatefixes.sh; .\/7DaysToDieServer.x86_64 etc etc etc

Server fixes will be checked for update when you restart the server. The script is just modified from the existing update code included with the bootstrapper for Alloc's fixes.

Here is a working egg for the standard 7dtd egg with Allocs included:

egg-7-days-to-die_with_Allocs_server_fixes.txt

forbiddenwon commented 1 year ago

when using this egg, i run into a constant error of: my latest batch of errors is: :/home/container$ ./run_bepinex_server.sh /home/container/7DaysToDieServer.x86_64 ./run_bepinex_server.sh: line 96: file: command not found Cannot identify executable type (got )! Please create an issue at https://github.com/BepInEx/BepInEx/issues. container@pterodactyl~ Server marked as offline... [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ---------- [Pterodactyl Daemon]: Exit code: 1 [Pterodactyl Daemon]: Out of memory: false [Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.

from what ive found, looks like the 'file' app needs to be included in the image... im rather new to this stuff, so im going to try and attempt, but didnt know if anyone could lend a hand?

forbiddenwon commented 1 year ago

ok, i was able to get into the image while it was running, says file is installed

root@ptero:~# docker exec -it 51be550a-b281-4a53-b6fb-b76776e5dfab bash I have no name!@51be550a-b281-4a53-b6fb-b76776e5dfab:~$ apt info file Package: file Version: 1:5.39-3

TuXEKRO commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of.

@parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

I have tested this egg and it installs correctly. But when the server starts and a player joins, the console spams "ERR There are no graphs in the scene" constantly, and the zombies do not move position, but they can still hit and do damage in both directions .

It doesn't happen without the mod, so I don't know if something needs to be adjusted on the dedicated server to make it work correctly.

Fuggschen commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of. @parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

I have tested this egg and it installs correctly. But when the server starts and a player joins, the console spams "ERR There are no graphs in the scene" constantly, and the zombies do not move position, but they can still hit and do damage in both directions .

It doesn't happen without the mod, so I don't know if something needs to be adjusted on the dedicated server to make it work correctly.

Are you still on A20.7 b1? 7 Days had an update recently to A21 and the modpack is not compatible

gOOvER commented 1 year ago

The egg dont support Modpacks. So not an egg issue

gOOvER commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of. @parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

I have tested this egg and it installs correctly. But when the server starts and a player joins, the console spams "ERR There are no graphs in the scene" constantly, and the zombies do not move position, but they can still hit and do damage in both directions .

It doesn't happen without the mod, so I don't know if something needs to be adjusted on the dedicated server to make it work correctly.

We dont sopport mods; ask the Mod author for support

TuXEKRO commented 1 year ago

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of. @parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

I have tested this egg and it installs correctly. But when the server starts and a player joins, the console spams "ERR There are no graphs in the scene" constantly, and the zombies do not move position, but they can still hit and do damage in both directions . It doesn't happen without the mod, so I don't know if something needs to be adjusted on the dedicated server to make it work correctly.

Are you still on A20.7 b1? 7 Days had an update recently to A21 and the modpack is not compatible

I have installed version A20.7 and I was able to confirm it with the version command

Game version: Alpha 20.7 (b1), Compatibility Version: Alpha 20.7, Undead Legacy Version: 2.6.17

I'm trying to start it on a local server, that is, with the game open and it works correctly.

Does anyone have any other suggestions?

egg-7dtd-undead-legacy.json.txt Here is what I have been using and sharing to people that have asked about it. Not sure how clean it is, but it seems to work and haven't had anyone that's had issues that I'm aware of. @parkervcp Please feel free to clean this up and host it in your repository if you want to provide it to others or use it as a base to get a better version working. Should be able to change it up for both Undead Legacy and Ravenhearst overhauls for 7 Days to Die since they both use BepInEx to load.

I have tested this egg and it installs correctly. But when the server starts and a player joins, the console spams "ERR There are no graphs in the scene" constantly, and the zombies do not move position, but they can still hit and do damage in both directions . It doesn't happen without the mod, so I don't know if something needs to be adjusted on the dedicated server to make it work correctly.

We dont sopport mods; ask the Mod author for support

I think the author of the mod has done it on purpose because the installation information is very brief, and he constantly invites you to pay for hosting with a referral link. If we can at least get this egg working properly we will help a lot of people

Fuggschen commented 1 year ago

If we can at least get this egg working properly we will help a lot of people

We have two old servers that are running fine but fresh installed throws errors on boot:

2023-07-26T20:57:05 3.461 ERR Error loading types from assembly 'AllocsCommands, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (/home/container/Mods/Allocs_CommandExtensions/AllocsCommands.dll) 2023-07-26T20:57:05 3.462 EXC Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. 2023-07-26T20:57:05 3.462 ERR Error loading types from assembly '7dtd-server-fixes, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (/home/container/Mods/Allocs_CommonFunc/7dtd-server-fixes.dll) 2023-07-26T20:57:05 3.462 EXC Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. 2023-07-26T20:57:05 3.462 ERR Error loading types from assembly 'AllocsWeb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (/home/container/Mods/Allocs_WebAndMapRendering/AllocsWeb.dll) 2023-07-26T20:57:05 3.463 EXC Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

I think that the download links for those fixes needs to be changed. We are running Version 22_24_39 of the fixes (direct link here: https://illy.bz/fi/7dtd/server_fixes_v22_24_39.tar.gz) Just change it in the install script and try with a new server just to be sure @TuXEKRO

EDIT: Tested it and downgrading fixes this

InteralexDev commented 1 year ago

Personally i just tryed the egg-7-days-to-die-undead-legacy.json.txt egg and the installation seems fine but impossible to connect to the server from the game