pelican-eggs / eggs

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

Cant connect to 7dtd server (v 17.1) #158

Closed JayJay1989 closed 5 years ago

JayJay1989 commented 5 years ago

Panel Version: latest Daemon Version: latest Service: 7 days to die (17.1) Modified: no

Expected Behavior: can connect to server

Actual Behavior: Cannot to server, 'Connection timed out'

server config: ufw disabled & stopped.

Steps to Reproduce:

  1. update egg form your repo
  2. create server
  3. start server
  4. start the game
  5. connect to the server
  6. Connection timed out
parkervcp commented 5 years ago

Can you give me anything like the console output from the panel?

JayJay1989 commented 5 years ago

sure: panel log

it just starts fine, it is in the public game server list, but cannot join it for some reason

on the 16.x branch there was no problems at all

parkervcp commented 5 years ago

I was asking for the log that the panel console outputs. That looks like it missing some things like the telnet coming up and other things. I assume that is the actual server log.

parkervcp commented 5 years ago

Should look more like this - https://gist.github.com/parkervcp/0c1d7be1b867e12b50dee22a8530cad4

parkervcp commented 5 years ago

Did you assign all the port required to run the server (minimum 3)?

JayJay1989 commented 5 years ago

i updated that log btw. i did, but the values are not assigned. as you can read in the updated log. Also the serverconfig.xml get with every reboot corrupted. I get values stacking. thats why i changed the startup script using the copy

parkervcp commented 5 years ago

What I am looking for is this - image

JayJay1989 commented 5 years ago

log panel

parkervcp commented 5 years ago

Did you assign all the ports required

default is 26900-26902 at a minimum.

JayJay1989 commented 5 years ago

there's only one port required. telnet or webpanel is optional

parkervcp commented 5 years ago

The other 2 are game server ports.

parkervcp commented 5 years ago

There are 3 server ports. I call this out in the README.

There is a reason I make README's for the eggs.

parkervcp commented 5 years ago

Their official docs even call out needing extra ports... - https://7daystodie.gamepedia.com/Server#Port_Forwarding

JayJay1989 commented 5 years ago

also after port 26900-26902 assigned, the xml got corrupted with multiple after each reboot see here

parkervcp commented 5 years ago

I am looking into that issue right now. Trying to figure out how to edit the xml properly using the parser. It's not exactly a clean config file.

Open a separate issue for the xml config corruption.

AndyLee1024 commented 5 years ago

Can you fix this bug?

parkervcp commented 5 years ago

@AndyLee1024 Please see the previous message about the xml corruption

AndyLee1024 commented 5 years ago

Hi, developer. Thank you for your contribution. I found that the 7d2d egg has two bugs.

  1. Startup property don't need $, It will cause can't connect to server.
1234
  1. I think deamon's xml find and repleace Feature Incompatible with 7d2d's serverconfig.xml

can you fix it ?

parkervcp commented 5 years ago

The $ is for a veriable and it gets replaced.

parkervcp commented 5 years ago

@AndyLeo1024 I have said to open a new issue if you needed anything.

kamohy commented 3 years ago

i have the same problem. all ports open. i changed the deamon port and give port 8080 on 7days... but the game create own ports an can't call out

2021-10-27T13:09:49 4.392 INF Started thread TelnetClient_127.0.0.1:48926 2021-10-27T13:09:49 4.413 ERR IOException in ReadLine for TelnetClient_127.0.0.1:48924: Unable to write data to the >transport connection: The socket has been shut down. SocketException: The socket has been shut down

finaly: this is the end...

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

kamohy commented 3 years ago

reset to default -> same problem i have no idea...

trenutoo commented 3 years ago

Open a new issue with all the required information instead of commenting on a 3 year old issue