7 Days to Die

7 Days to Die

View Stats:
whitefoux Sep 24, 2014 @ 6:54pm
Problems starting a dedicated
I know this has probably been asked a million times, and likely the wrong place to ask, to which I apologize, so here is my problem/question.

Whenever I run the the startdedicated.bat nothing really happens except CMD popping up and it keeps saying that "if exist "Tools/bin/putty.exe" (
"Tools/bin/putty.exe" -telnet localhost 8081
) else (
telnet localhost 8081
)" is an unrecognized command, not sure if that is suppsed to happen, but it does keep happening.

When I run it in administrator mode, it keeps saying it can not find 7DaysToDie... tried adding a .exe at end still same problem have tried other methods such as creating my own .bat file through other suggested set ups and so on, and no dice.

Generally I do not have these kind of problems running servers from other games, and this server is only for me and a friend of mine... so if anyone has any workarounds or suggestions it would be much appreciated.
< >
Showing 1-7 of 7 comments
Fuzzy Sep 25, 2014 @ 3:19pm 
Shrug, honestly don't know what the problem is.

I modified my start.bat right away tho. Being an old DOS user, I didn't like how it wasn't changing to the 7 days folder first (probably not even necessary).

Here's a copy of mine:
c:
cd "\Program Files (x86)\Steam\SteamApps\common\7 Days to Die Dedicated Server"

start 7daystodie -quit -batchmode -nographics -configfile=config.xml -dedicated

REM wait until game started
timeout 10

REM connect to the service interface. use 'shutdown' to stop the server
if exist "putty.exe" (
"putty.exe" -telnet localhost 8081
) else (
telnet localhost 8081
)

pause

The 'unrecognized command' might be referring to not finding either putty or the Windows telnet client.

I just downloaded and installed Putty (http://www.putty.org/), then moved "Putty.exe" to the ".\SteamApps\common\7 Days to Die Dedicated Server" folder.

As you can see in my .bat, I removed the "Tools/bin/" part so it would look in the base folder for putty.exe. I also changed the name of the config.xml file, so take note of that if you try copy/pasting it.

Good luck!
whitefoux Sep 26, 2014 @ 11:27am 
Ok, it worked for.. .one time... I got it working enough to where we could connect and everything, I save everything turn off my computer, go to sleep. Wake up this morning, it works, but only for aobut 2-10 seconds. I can see the process executing in my task manager, but it only last a few seconds. I renamed the old server stuff, and recreated the the basic files from the original download, and still it just boots and shut down and I have tried everything i could think off to no avail.
Fuzzy Sep 26, 2014 @ 7:48pm 
You can try checking the output_log.txt file in the 7DaysToDie_Data subfolder.

It might have some useful info on why it's not loading or shutting down early.

If you want to copy it to pastebin, I'll take a quick look.

The mods here are also far more experienced and great at this, hopefully they'll see it and give you some ideas.

Make sure you remove any passwords or private info from the file before posting it to pastebin!
whitefoux Sep 27, 2014 @ 12:17pm 
It seems to me that I can run it for a while then oncei turn off my comp and come back the next day it has a new problem waiting for me.
Yesterday I got the server running, me an my buddy connected fine, and played till day 6. We shut down the server, he went to bed i kept playing, except I loaded up my Single player. Nothin horrid there, played for about an hour then went to bed myself. Got up went to work came home, started server, server loaded my SP game. Thought maybe it was just loading my last save, idk tried a few things could not get server to load the original file.

Ended up renaming old server file to the name of the save it was loading (hunky dorey). Now however my server is stuck at -1 player max count. I have tried EVERYTHING to get this to go back to being 4 players, i deleted saves, changed config files, reset config files, Completely uninstalled 7d2d and delted the local saves,(no cloud saves or anything), even downloaded a server manager, to no avail.

What the server manager told me was interesting though, the manager recognized in the server config file that it was indeed set to max 4 players, but the server in the cmd page was saying 1. While in game, in the server properties it was saying -1 playing and -1 max players. I changed IP's as well and still not working... and I am quite afraid to ask for help under support because of all the bad experiences i have had with 'support' esspecially in a game that is in alpha ha
Last edited by whitefoux; Sep 27, 2014 @ 12:18pm
Fuzzy Sep 27, 2014 @ 12:43pm 
Sadly, I have no other ideas besides what I already suggested. That output file, and maybe others (the mods would know), might give us clues about why it's not working.

I wouldn't worry about asking for help here. The mods here are knowledgeable and friendly. I've seen them go well out of their way to help others get the game running. :)
Jᴧgᴧ (Banned) Sep 27, 2014 @ 1:51pm 
Whitefoux,

Did you at any time try the "setgamepref <preference> <value>" console command? I play little enough MP, but it strikes me as a setting that might be saved in the game data (and bugged), and somehow immune to the config file changes.

Totally guessing here - I can't get into the game to test myself.
whitefoux Sep 27, 2014 @ 3:14pm 
No but i'll give it a shot. I ended up renting a server, problems seem to dissipate when i took the server out of my hands, i was even able to import the saved file into the server and it still worked.

Jᴧgᴧ I will give it a shot, and let you know the results
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Sep 24, 2014 @ 6:54pm
Posts: 7