Jump to content

MAC High Sierra Dedicated server issue


kj2011

Recommended Posts

I'm trying to run a dedicated server off of my Mac Mini. I had it configured before upgrading to High Sierra, but now it fails to start.

 

Hopefully i'm on the right track. I had to re-install telnet, as a first step, but the telnet connection is getting refused and 7dtd shuts down.

 

*****************************CONFIG

#! /usr/bin/env bash

 

"/Users/user/Library/Application Support/Steam/steamapps/common/7 Days To Die/7DaysToDie.app/Contents/MacOS/7DaysToDie" -quit -batchmode -nographics -port=25000 -maxplayers=8 -gamemode=0 -world="Random Gen" -name="test game" -DropOnDeath=1 -AirDropMarker=true -dedicated

 

# wait until game started

sleep 20

 

# connect to the service interface. use 'shutdown' to stop the server

echo "Type shutdown to stop the server."

telnet localhost 25003

*****************************CONFIG

*****************************ERROR

user-Mini:Applications user$ ./launch_7daystodie

Mono path[0] = '/Users/user/Library/Application Support/Steam/steamapps/common/7 Days To Die/7DaysToDie.app/Contents/Resources/Data/Managed'

Mono config path = '/Users/user/Library/Application Support/Steam/steamapps/common/7 Days To Die/7DaysToDie.app/Contents/Data/Managed/etc'

Type shutdown to stop the server.

Trying ::1...

telnet: connect to address ::1: Connection refused

Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host

*****************************ERROR

Link to comment
Share on other sites

Are you trying to connect your telnet to your game port? You have 25003 as your telnet? The default I think is 8080 and 8081 for the control panel port. Can you post your serverconfig.xml via pastebin, removing any passwords of course.

 

Note: I'm not a MAC user, just thinking of standard issues for dedi servers. Also I have a 7D owners/admin discord where someone may have experience with MAC's if you want to join: https://discord.gg/chZ8qyJ

Link to comment
Share on other sites

Thank you very much for replying.

 

The typical port for telnet is port 80. I believe 7dtd dedicated server uses a non-standard port in order to control the server since there is no GUI. The port 25003 is the default according to the OSX config guide on the wiki. I pretty much followed the directions on the wiki with little to no modifications (https://7daystodie.gamepedia.com/OSX_Server).

 

Does the OSX dedicated server use the serverconfig.xml or does it use the hardcoded arguments in the "launch_7daytodie" file?

 

I'm pulling my hair out after that OSX update to High Sierra, I can't be the only one encountering this issue, can I?

 

The requested file URL.

https://pastebin.com/MjWiFcHR

Link to comment
Share on other sites

Thank you very much for replying.

 

The typical port for telnet is port 80. I believe 7dtd dedicated server uses a non-standard port in order to control the server since there is no GUI. The port 25003 is the default according to the OSX config guide on the wiki. I pretty much followed the directions on the wiki with little to no modifications (https://7daystodie.gamepedia.com/OSX_Server).

 

Does the OSX dedicated server use the serverconfig.xml or does it use the hardcoded arguments in the "launch_7daytodie" file?

 

I'm pulling my hair out after that OSX update to High Sierra, I can't be the only one encountering this issue, can I?

 

The requested file URL.

https://pastebin.com/MjWiFcHR

 

Standard telnet port is 23, 80 is http. Why the script is directing you to 25003 is weird. To shut the game down via telnet you'd log into 8081 based on the default serverconfig.xml. The batch should only start the server, should have nothing to do with telnet.

 

Found a post about setting a mac server, see if this will fix your issues:

 

https://7daystodie.com/forums/showthread.php?28777-Setting-up-a-Mac-Server

 

Again, feel free to join my discord, specifically for owners/admins to get help/ideas/talk about servery and non servery stuffs.

Link to comment
Share on other sites

I was thinking the same, the 7dtd should still run without telnet.

 

I tried what was proposed in the link you provided, but got the same results.

 

I also went through the serverconfig.xml and tried all the different ports listed (8080, 8081, 23) to the same result.

 

I also tried commenting out the telnet command and watched the process in Activity Monitor. I see it starting, but than turns to Not Responding, than closes.

 

Where i'm at doesn't have the best bandwidth to VoIP, but I really do appreciate the offer to join you in chat.

Link to comment
Share on other sites

Discord just isn't for VOIP it is text too, but we can chat real time vs post.

 

You did see that the OP for that post removed all the junk out of it and pointed the start to the serverconfig.xml file? That should work. Also it takes a good 5 minutes or so the first time you initialize a server. Are you looking for a server just for you and a few friends?

Link to comment
Share on other sites

That is correct. I have a mac mini I want to use as a dedicated server for a few buds to jump on. Due to limited internet connectivity, LAN play is damn near the only way we can play.

 

I did try that method. I took out all of the other commands, and pointed the -configfile command to the serverconfig.xml but get the same outcome.

 

While watching Activity Monitor (like resource monitor for windows, except for mac os) I notice 7DTD starts up but goes into not responding than closes out.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...