Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Egg Request]: DayZ Stable #20

Closed
Brophy opened this issue May 16, 2024 · 19 comments · Fixed by #30
Closed

[Egg Request]: DayZ Stable #20

Brophy opened this issue May 16, 2024 · 19 comments · Fixed by #30

Comments

@Brophy
Copy link

Brophy commented May 16, 2024

Does this expand an already existing service

Yes

Link to a game or software

https://dayz.com/

Links for the download

https://steamdb.info/app/223350/info/

Links for the install docs

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

As per the now archived repo: pelican-eggs/eggs#2749

@Brophy
Copy link
Author

Brophy commented May 17, 2024

I have modified the experimental egg to use the stable ID, I've added a variable for you to add your query port (to make it discoverable, just make sure you also assign the additional port during setup) and I've adjusted the installer script to add the steamQueryPort variable to the serverDZ.cfg after it's creation, as its not there by default.

I've not had time to experiment with mods, but I thought I would put here what I've played around with so far, so people can expand upon it.

It seems to work ok:
image

Egg:
egg-dayz-stable.json

@redthirten
Copy link
Contributor

Now that I'm done with my college semester, I'll hopefully have time to work officially on this soon™.

@killerwerdna
Copy link

im currently building a server on linux pterodactyl but keep getting stuck
image
at this

@Brophy
Copy link
Author

Brophy commented May 22, 2024

@killerwerdna are you using an account that requires 2FA? That's normally why it gets stuck there.

Again, the egg I uploaded wasn't for deployment, it was for people to expand upon or use as a reference for the differences between experimental and stable.

@killerwerdna
Copy link

@Brophy its a brand new account with no 2FA

@killerwerdna
Copy link

image
ye getting this now password is 100% correct

@Brophy
Copy link
Author

Brophy commented May 22, 2024

@killerwerdna are you using my egg? It looks like you've modified the [Advanced] DayZ SA Dedicated Server App ID to 221100 when you require 223350 (default value) for the stable server files.

@killerwerdna
Copy link

this has changed on its own somehow we have had this issue a fair bit

@killerwerdna
Copy link

image
nvm made it this far so far

@killerwerdna
Copy link

@Brophy is there a way to install mods without having the acc own the game?

@CrnaStrela94
Copy link

@killerwerdna i don't think so tho mods goes under update every time server starts and it will check true workshop and for that u need account that have the game

@Brophy
Copy link
Author

Brophy commented May 22, 2024

Hey @killerwerdna , just jumping in to say @CrnaStrela94 is right. You need to use an account that owns the game to apply mods.

As I mentioned before, I haven't tested the egg with mods myself.

The egg I uploaded wasn't intended for deployment. It's meant as a starting point for those creating the official egg, to highlight the differences between the experimental and stable versions.

Because of this, there won't be any support or updates for it. Hope this clears things up!

@DemOnJR
Copy link

DemOnJR commented May 28, 2024

Someone managed to create an DayZ Stable Build egg?

@Z3r0s
Copy link

Z3r0s commented May 29, 2024

Someone managed to create an DayZ Stable Build egg?

We made a semi-stable one but mods are botched rn.

@redthirten
Copy link
Contributor

Just an update, I’ve finally gotten around to working on this. Just slowed down a bit trying to verify mods are working (stupid Steam Guard), but it’s mostly going well. Sorry for the wait.

@DemOnJR
Copy link

DemOnJR commented May 30, 2024

Just an update, I’ve finally gotten around to working on this. Just slowed down a bit trying to verify mods are working (stupid Steam Guard), but it’s mostly going well. Sorry for the wait.

I saw that also the Steam Guard is blocking the console and the installation of the server or the updating process of the mods

@HOZAMA
Copy link

HOZAMA commented May 31, 2024

@lilkingjr1 Good afternoon! Are there any approximate release dates for the egg for the stable version of DayZ?

I'm looking forward to the release of this.

And thank you in advance for your work!

@DemOnJR
Copy link

DemOnJR commented Jun 4, 2024

Nothing new? i can also help with tests and maybe solving some bugs...
Edit:
Also i'm one of the first persons testing the linux version:
image

@redthirten
Copy link
Contributor

redthirten commented Jun 6, 2024

Thank you everyone for your patience! As you can see above, I have finally submitted a PR to update the Egg to support the native Linux dedicated server on the Stable branch. Please check it out, test it, and leave any remarks on the PR (not here).

Looking at the changes in the PR, I know it seems like not much was changed, especially given the time it took me to complete it. Please understand many rabbit holes were chased during development (especially with the Egg's accompanying Docker image), which took up a lot of my time. These include:

  • Checking if SteamCMD fixed its crashing bug when logging in with real Steam accounts, and removing the numactl workaround for this.
  • Attempting to completely rewrite the image entrypoint to dynamically compile and use a SteamCMD script to update the server and mods in one run instead of multiple SteamCMD calls. This was done in effort to possibly make updating with Steam Guard on possible/easier. However, this was taking too much time to perfect and would require me to completely rewrite or throw out my SteamCMD error handling system, which I find more valuable keeping at the moment.
  • Attempting to symlink mod folders instead of moving them from ./Steam/steamapps/workshop. This also would have caused a lot of the code to be rewritten to fix something small that isn't really an issue, so I ultimately decided to shelve that for now. The panel's file viewer also doesn't follow symlinks unfortunately, potentially causing confusion.
  • Battling with the accuracy of the BIKI (yet again...) regarding launch parameters. It states quotations should be used around certain flags (which makes sense given that mod lists are ; separated), but this is not true in practice (even though it is true with Arma 3, making things more confusing for me). Gratz to @Moondarker for helping me test this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants