pelican-eggs / eggs

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

[Egg Request]: DayZ Stable #2749

Open rowbawts opened 5 months ago

rowbawts commented 5 months ago

Does this expand an already existing service

Yes

Link to a game or software

https://dayz.com/

Links for the download

https://steamdb.info/depot/223352/

Links for the install docs

https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/dayz-experimental

The experimental version already has an egg since the stable client didn't have a native Linux build. Starting today the stable server client has just been released and I linked the Steam Repo as reference along with the current experimental egg which should be compatible with this new stable build.

parkervcp commented 5 months ago

@lilkingjr1 I believe this calls in your wheelhouse.

lilkingjr1 commented 5 months ago

Wow, never thought they'd ever do it... I'll try to look into it within the next week, but I'm busy until Thursday.

QuintenQVD0 commented 5 months ago

Frow what I see with litte to no modificationd can thr experimental egg je changed to this

lilkingjr1 commented 5 months ago

Frow what I see with litte to no modificationd can thr experimental egg je changed to this

I have to check mods.

GameAreaCZ commented 5 months ago

+1 for egg request please. I've tried change the app_id, it downloads the serverDZ.cfg file is empty so I manually create it. The server is working, is joinable, but the mods are not working. I exported it to the modlist.html and in the lancuher is like this:

obrazek In windows the -mod parameter looked like this I think -mod @MOD;@MOD;@MOD or somehow like that.

And I see no folder in root folder (maybe that is OK, on Windows I had mods inside the server root folder), but no key file was copied to the keys folder.

Maybe it is not needed anymore then @MODID in the -mod startup command? This is from community bistudio wiki? obrazek

https://community.bistudio.com/wiki/DayZ:Hosting_a_Linux_Server

parkervcp commented 5 months ago

I currently doubt any mods will work with the linux server at this time.

GameAreaCZ commented 5 months ago

Why not? When I did it like on Windows, it looks like everything is loaded and working.

Copied the @CF to the root, copied the key to the keys folder and start the server with -mod=@CF;

obrazek

Just the logic from entrypoint.sh is broken atm I think.

GameAreaCZ commented 5 months ago

It really looks that the mods are working just fine. obrazek

Trying ingame and I have server panel mod, party mod, all chat mod etc.. etc.. all seems to be working. Only the strongest beautiful stuff in the atuomation in the entrypoint.sh need rework. And my knowledge is not good enough for that.

But the egg can startup server (after the app_id change) just fine. And the variable for Additional Mods works for me when I have it here like @CF etc.. not even all lower, but I deleted all spaces and replace it via dash (even the mod folders).

TL;DR: Egg for server startup works just fine. Everything about mod instalation, copying the keys, automatic updates etc.. does not work it seems (need entrypoint.sh rewrite).

Kowantify commented 4 months ago

+1

TePMuHaToP commented 4 months ago

+1 waiting

acedeu commented 4 months ago

+1 waiting

parkervcp commented 4 months ago

The more I look at dayz I fail to find a way to install the linux server beyond the the depot which is not a valid appid that can install the linux server files.

lilkingjr1 commented 4 months ago

The more I look at dayz I fail to find a way to install the linux server beyond the the depot which is not a valid appid that can install the linux server files.

I haven't had a chance to look yet, but how is it not a valid AppID? I thought someone already mentioned they just changed the AppID of the existing Egg and got it working (sans mods)?

GameAreaCZ commented 4 months ago

Ye I changed the app_id and I had it working just fine. Only the mod logic to download/copy etc.. was not working at all. So I needed to copy from windows server the mods and manually put them to the variable. But the server started and ran just fine.

Rephot commented 4 months ago

The depot in the original post is not the correct appid. I have also got it working with a couple tweaks (steam guard and mods dont work by default)

The appid is 223350

I also needed to change the startup command to manually include the mods as the variables weren't populating properly

More info: https://community.bistudio.com/wiki/DayZ:Hosting_a_Linux_Server

CrnaStrela94 commented 4 months ago

hmm i got it to work on dayz launcher but not on dayzsalauncer anyone got it to work with sa launcher

so i manage to fix it and working without problems when you run install just change to stable version and then let the server run it course then shutdown server it wont download all mod properly so import them from your game files when that is done i found out that u need cf to be in @cf and @vppadmin should be a string name bouth in startup command and in files the other mod you should run normal like it shows in linux sever setup @324343434 / and in startup line you should add all mods manualy dont use ptero mod line and first boot with mods i run bouth server repear and mod repear function on and for the salauncher just in servercfg add steamquery and the port

Wannab007 commented 4 months ago

any progress on this? I tried to do what GameAreaCZ did with changing the app id, the server starts fine but I was never able to connect so I am guessing there are other steps more than just changing the app id, for one I had to use a dummy account to download the app id for linux stable branch or I would get an error.

Rephot commented 4 months ago

any progress on this? I tried to do what GameAreaCZ did with changing the app id, the server starts fine but I was never able to connect so I am guessing there are other steps more than just changing the app id, for one I had to use a dummy account to download the app id for linux stable branch or I would get an error.

The serverDZ.cfg file does not populate by default. copy the "Main Parameters" from here: https://community.bistudio.com/wiki/DayZ:Server_Configuration

The egg variables should then be able to modify it as needed automatically

Wannab007 commented 4 months ago

everything in the serverDZ.cfg was populated and had the corrects setting imported from the variables/config pterodactyl page. still cannot log in even with direct connection.

Rephot commented 4 months ago

everything in the serverDZ.cfg was populated and had the corrects setting imported from the variables/config pterodactyl page. still cannot log in even with direct connection.

Weird, not sure why, i just deleted all the files and reinstalled and its working fine, I've given the server 2 ports, changed query port in serverDZ.cfg and port forwarded

So not too sure in your case, sorry

Kowantify commented 4 months ago

I couldn't connect after hours of troubleshooting, found out it was the serverDZ.cfg as well, which needed the query port changed to the ports assigned to the server / opened. Mods work as well it seems, just need an account that owns DayZ itself otherwise it will NOT work I have a full working egg, stable DayZ, all I did was modify the Steam Game ID to the stable from experimental and it is working as expected (other than changing the serverDZ.cfg)

Revolution792 commented 4 months ago

hello, when downloading mods there is an error "No such file or directory" Some mods download normally, and some write this error and create an empty folder with the mod in the server folder I tried to enable "[REPAIR] MAKE MOD FILES LOWERCASE", but it doesn't help.

Снимок экрана 2024-03-23 163710 Снимок экрана 2024-03-23 163504 Снимок экрана 2024-03-23 163453

gOOvER commented 4 months ago

hello, when downloading mods there is an error "No such file or directory" Some mods download normally, and some write this error and create an empty folder with the mod in the server folder I tried to enable "[REPAIR] MAKE MOD FILES LOWERCASE", but it doesn't help.

Снимок экрана 2024-03-23 163710 Снимок экрана 2024-03-23 163504 Снимок экрана 2024-03-23 163453

mods are not really supported for now. You have to wait, till someone fix it

RustyKit-JohnW commented 2 months ago

Any updates on this?

Wannab007 commented 2 months ago

Any updates on this?

I haven't tested anything for a little over a month, using the experimental egg and changing the appid to the stable version I was able to get vanilla working and log in, did have some issues with the server config file and having to use a steam log in but the server does work. However there are many mods that do not work, expansion mod being one of them, I do not know the current status of mod compatibility from the last month since I have tested everything. I will report back if I do any more testing.

RustyKit-JohnW commented 2 months ago

Any updates on this?

I think i got something working, i got my modslist file then used chatgpt to give me all the Steam workshop id's from it in the format of @id;@id;@id and its downloading right now, ill let you know how it goes

sampsi commented 2 months ago

stablle egg?

Murdock412k commented 2 months ago

I was also able to get this working with mods and connect on Stable. In the "experimental" egg, I changed the appID like another user mentioned to 223350, then added steamQueryPort = 27016; in my "ServerDZ.cfg" file, I did have to manually change the name in that file as well as the settings but I used the "AdditionalMods" field to @modID; my mods and didn't have an issue downloading.

I can see my server online after port forwarding and ensuring the query port is listed. I'm using all of the default ports because for some reason my server wouldn't show otherwise (may be network thingy on my end).