Can't seem to get an Alpha 20 dedicated server from steam CMD

Sharkbait

Refugee
Introduction.
I have for the past few hours been trying to setup my own personal 7DTD Alpha 20 server. I have started server before so I have gone the usual routes which has worked in the past, but now I seem to struggle with a few weird issues.
Steam CMD is acting weird.

The main problem has been persistent ever since I started using CMD. however, another problem has emerged which at first seemed like a new thing but talking to other people this probably shouldn't be happening.

When I login (via anonymous login,) and use the command "force_install_dir <destination>" It says that I need to perform this command before logging in. I dunno why and I try. even tho it seems to accept it, ofc the main issue is that it never installs anything on the given direction.

The common problem I've been unable to figure out despite searching for it, is that my server is NEVER placed where I tell it to install it. Dunno if anyone has any idea why this is and what I can do to fix that but if possible I would be really happy if someone could shine some light to this issue.

Why I bring this up is because this seem to mess with my server files where I can't move them without the server complaining about the "No server config file loaded ("-configfile=somefile.xml" not given or could not be loaded)". I have seen someone mentioning a solution with the serverconfig.XML or the bat file but it was to me very vauge since I'm no expert at this and so far my decypher of their explaination has yeilded no results.




Installing via CMD downloads a mix of Alpha 19 and 20?
so downloading a dedicated server at the wrong place for the tenth time I decided to keep it there and try setting a server up. and for once it worked. spent 114m creating a RWG world and since I got my ports ready from before I thought this would be a walk in the park... seems like it wasn't as no server popped up in the game, neither in public nor in lan. using my ip directly didn't do anything either and I took a look at the logs where it states it's a Alpha 19 server.
Whats weird is that I do find the options for the feral sense in the serverconfig.xml (I checked with my old A19 server and that was not a thing in those files), leaving me to think that something must have gotten very wrong somewhere. anyone know what could be wrong


How I installed my server via SteamCMD:
Starts CMD - force_install_dir D:\Gaming Servers\7 Days to Die\A20exp *enter* - login anonymous *enter* - app_update 294420 -beta latest_experimental -validate *enter*

Steam downloads the server (in "D:\Gaming\" cause it won't go where I want it).


I have been searching for these topics but been unable to find a good fit that describes my issue so far so I decided to post here and ask for some help.

 
Since it stops at a space maybe steam does not like spaces in paths (in linux on the command line spaces in paths need to be escaped or the whole path quoted). Granted you are using windows, but it is worth a try: Use " " around the path and see if it works. Or try a path without spaces.

Also you might look into Steam\logs\content_log.txt , it is a log of your steam download session with more details. Also search for errors like "Failed to create ...". It will show up if the path you gave steam could not be used.

 
Since it stops at a space maybe steam does not like spaces in paths (in linux on the command line spaces in paths need to be escaped or the whole path quoted). Granted you are using windows, but it is worth a try: Use " " around the path and see if it works. Or try a path without spaces.

Also you might look into Steam\logs\content_log.txt , it is a log of your steam download session with more details. Also search for errors like "Failed to create ...". It will show up if the path you gave steam could not be used.
I did that and it turns out that was the case. not mentioned or shown in videos and some forums so got me confused. but I managed to get that part working.

The other matter is still confusing as heck as I I can't get it to work at all my serverconfig.xml isn't moved. non touched xml doesn't work and adjusted xml doesn't work.

 
If in doubt start afresh.

1) Download the game to a directory you made sure is empty. Use the line "app_update 294420 -beta latest_experimental validate" twice

2) Go to that directory, edit serverconfig.xml. Make sure the feral sense line is there

3) Start the game with the script in that directory. Make immediately sure there is now one file output_log__<date> in 7DaysToDieServer_Data\ and date and time are the current date and time. And that file should be growing for a few minutes.

4) Try to connect, use 127.0.0.1 as ip address for this first attempt.

5) If it still doesn't work, post serverconfig.xml and the output_log to this forum, use pastebin for the output_log

 
Steam CMD is acting weird.
Steam recently changed the order of the command so this is now the correct syntax.

steamcmd +force_install_dir "D:\7DTD a20 server" +login anonymous +app_update 294420 -validate -beta latest_experimental +quit

The directory and login are reversed.

When I login (via anonymous login,) and use the command "force_install_dir <destination>" It says that I need to perform this command before logging in. I dunno why and I try. even tho it seems to accept it, ofc the main issue is that it never installs anything on the given direction.
Seems that's what this message is trying to say.

 
I'm having the same problems. I restructured my batch file per Beelzybub's point about SteamCMD, but that did not seem to resolve the server console crashing very shortly after startup. After checking my output file per Meganoth's recommendation, I found the same issue mentioned here:



And I was able to resolve the problem the exact same way. Installing the most recent MS C++ redistributable package is what got the job done.

 
Back
Top