eggs icon indicating copy to clipboard operation
eggs copied to clipboard

Adding `Sunkenland`

Open engels74 opened this issue 1 year ago • 7 comments

Description

This PR adds a working egg for the game "Sunkenland". This solves https://github.com/parkervcp/eggs/issues/2720.

Notes regarding the server software

Their server software is very new. Released with the v0.2.0 update. It's still a bit weird to work with.

  • The Server Software can't generate a map on its own (yet?). Therefore a basic map created with the game itself, using the latest version as of this commit (v0.2.0), is included in the egg. The egg is configured to download the map, and put it into the /home/container/.wine/c_drive AppData folder.

  • There's no strict "server name" variable. It's tied to the World/Map Name. The install script is modified to rename the folder to whatever the users sets as SERVER_NAME.

  • The variable -makeSessionInvisible is bugged. No matter if you set it to true or false it'll set it to "true", making the game not show up in the Server List

  • The game has no default port(s) according to docs, but uses -port for Game Port and -publicport for Steam Query Port as far as I can tell. No documentation on it specifically, but it works and the server is connectable with those two commands.

Testing the egg

The egg in this PR is configured to use parkervcp's repository to download the world files required to launch the server. Therefore, the egg in this pull request will not function until it is merged.

If you wish to test the egg, you can use the one from my personal repository. https://github.com/engels74/pterodactyl-eggs/blob/test-Sunkenland/game_eggs/steamcmd_servers/sunkenland/egg-sunkenland.json

Checklist for all submissions

  • [X] Have you followed the guidelines in our Contributing document?
  • [X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • [X] Have you tested and reviewed your changes with confidence that everything works?
  • [X] Did you branch your changes and PR from that branch and not from your master branch?

New egg Submissions

  1. [X] Does your submission pass tests (server is connectable)?
  2. [ ] Does your egg use a custom docker image?
    • [ ] Have you tried to use a generic image?
    • [ ] Did you PR the necessary changes to make it work?
  3. [X] Have you added the egg to the main README.md and any other README files in subdirectories of the egg (e.g /game_eggs) according to the alphabetical order?
  4. [X] Have you added a unique README.md for the egg you are adding according to the alphabetical order?
  5. [X] You verify that the start command applied does not use a shell script
  6. [X] The egg was exported from the panel

engels74 avatar Feb 02 '24 20:02 engels74

Resolved all the issues 👍 Also on the test branch

engels74 avatar Feb 02 '24 21:02 engels74

@QuintenQVD0 - Since you're the guy reviewing this 👍

  • I updated the World-file for the newest update as per this comment. The developers are saying that maps generated from v0.2.x should work in future versions as well.
  • I learned that you can use an "empty" world file, and the server software will "populate" the file after it has saved. I'm figuring this will work better for the egg, as the World should now be as random as possible for the user.

There's currently no option to choose when it saves, or how often.

engels74 avatar Feb 22 '24 22:02 engels74

I'm trying to test this out and get the following error. container@pterodactyl~ Error Event [35c22b75-9387-452a-be99-1f74a94468eb]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: No such image: ghcr.io/parkervcp/yolks:wine_latest

Liemander avatar Apr 03 '24 00:04 Liemander

I'm trying to test this out and get the following error. container@pterodactyl~ Error Event [35c22b75-9387-452a-be99-1f74a94468eb]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: No such image: ghcr.io/parkervcp/yolks:wine_latest

9/10 you are on arm64 what does not run wine.

QuintenQVD0 avatar Apr 03 '24 07:04 QuintenQVD0

I'm trying to test this out and get the following error. container@pterodactyl~ Error Event [35c22b75-9387-452a-be99-1f74a94468eb]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: No such image: ghcr.io/parkervcp/yolks:wine_latest

9/10 you are on arm64 what does not run wine.

This is on my server that is on a 9900k.

Liemander avatar Apr 03 '24 11:04 Liemander

I'm trying to test this out and get the following error. container@pterodactyl~ Error Event [35c22b75-9387-452a-be99-1f74a94468eb]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: No such image: ghcr.io/parkervcp/yolks:wine_latest

9/10 you are on arm64 what does not run wine.

This is on my server that is on a 9900k.

then you have dns or docker issues as that image does exits.

QuintenQVD0 avatar Apr 03 '24 12:04 QuintenQVD0

I'm trying to test this out and get the following error. container@pterodactyl~ Error Event [35c22b75-9387-452a-be99-1f74a94468eb]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: No such image: ghcr.io/parkervcp/yolks:wine_latest

9/10 you are on arm64 what does not run wine.

This is on my server that is on a 9900k.

then you have dns or docker issues as that image does exits.

I'm guessing its my dns. I'll dig down that rabbit hole. Thanks for the direction.

Liemander avatar Apr 03 '24 13:04 Liemander