Dark and Light

Dark and Light

View Stats:
Alpha Jul 20, 2017 @ 11:19pm
Dedicated Server Setup Complete Guide
Going to bed after this post I'll be back on around 6am CST for questions.

1. Download steamcmd and install to your selected Directory.

2.login into steamcmd using anonymously.

2. enter into steamcmd: app_update 630230 validate It will then download the server files onto your Server.

3. Make sure you also have the steam desktop app open on your Server. You MUST make sure that your steam account is showing online. (Blue Outline around your avatar.) Not sure if this is still required!

4. Go to Your steamcmd install directory after the download is complete, then go to steamapps\common\Dark and Light\DNL\Binaries\Win64 You should see several .exe files including DNLServer.exe and an .ini file there.

5. Now open a text file in notepad put this information in the text document,replacing the directory with your own and setting your desired server name, password, and admin password.

start "" /NORMAL "E:\Steam CMD\SteamCMD\steamapps\common\Dark and Light\DNL\Binaries\Win64\DNLServer.exe" "/Game/DNL/Maps/CapeOfSacredPath/DNL_ALL?QueryPort=27015?SessionName=CHANGEME?MaxPlayers=127?listen?ServerPassword=CHANGEME?ServerAdminPassword=CHANGEME?DifficultyOffset=1.000000?NewMaxStructuresInRange=6000.000000?GlobalVoiceChat=false?ProximityChat=false?NoTributeDownloads=false?AllowThirdPersonPlayer=false?AlwaysNotifyPlayerLeft=false?DontAlwaysNotifyPlayerJoined=false?ServerHardcore=false?ServerPVE=false?ServerCrosshair=true?ServerForceNoHUD=false?ShowMapPlayerLocation=false?EnablePvPGamma=false?DisableStructureDecayPvE=false?AllowFlyerCarryPvE=false" -nosteamclient -game -server -log

6. Next you need to save that document as a .bat file. First go to save as, and change the Name to Start.bat taking care to change file type to all types instead of .txt. This Start.bat file needs to be in the same directory as your DNLServer.exe.

7. Make sure that you forward ports 27015-27016 as well as 7777-7778 both udp/tcp on both sets. Also make sure your firewall is off or not blocking those ports or DNLServer.exe.

8. Double Click the Start.bat it will open a log of server statuses when it states full setup complete and the number of cores avaliable your server is running. *IMPORTANT* Steap 3 MUST be done or your server will not show up in the in game server list. *IMPORTANT* Do not download the game to your server using the steam desktop app.


Bonus info: All ark admin commands work for Dark and Light except the giveitemnum command because we don't have item IDs yet.
Bonus Bonus info: You can find and customzie other server settings and in game rates by going to your servers dnl directory /Dark and Light/DNL/Saved/Config/CleanSourceConfigs and also in the WindowsServer folder in that same directory. You want to access and edit the GameUserSettings.ini in both folders.

EDIT: Make sure your session name has now spaces and also that your server password is caps. Also make sure passwords are longer than 4 letters.

Last edited by Alpha; Aug 5, 2017 @ 10:55am
< >
Showing 1-15 of 122 comments
Alpha Jul 20, 2017 @ 11:40pm 
Also because sharing is caring if you want to spawn base resources into your server this is the way I figured out how to do it until we get item IDs
If you go here \Dark and Light\DNL\Content\Mods\DarkAndLight\PrimalEarth\CoreBlueprints\items\Resources. Thats all the base resources with their blue print name. Quick example how to use the command.

admincheat GiveItem “Blueprint‘/Game/PrimalEarth/CoreBlueprints/Items/Resources/DAL_PrimalItemResource_Bone.DAL_PrimalItemResource_Bone'" 1 1 false

thats an example of how to spawn one Bone in gaming using that command.
Essentially you're taking the bluprint name minues the .uasset at the end and putting it twice with a . in the middle. BLUPRINT.BLUEPRINT.
Rhylos Jul 20, 2017 @ 11:49pm 
any way to get the dedicated server to run on a seperate linux box?
ArchieVision Jul 21, 2017 @ 6:52am 
I have followed these steps almost exactly. The server starts up great, but will not show up under Lan, or unofficial. I have forwarded the ports, and turned off the firewall. Also, I am sigbed into Steam.

More info: I run 2 other Ark servers on this machine as well. I have double checked to make sure that the ports are not crossed. Also, The Ark servers are running perfectly.

Any ideas?

my bat file:
start "" /NORMAL "C:\Dark and Light server Files\server\DNL\Binaries\Win64\DNLServer.exe" "/Game/DNL/Maps/CapeOfSacredPath/DNL_ALL?ServerPort=7782?QueryPort=27022?SessionName=Crystalized Agro?MaxPlayers=70?listen" -nosteamclient -game -server -log
Last edited by ArchieVision; Jul 21, 2017 @ 6:54am
EverLost Jul 21, 2017 @ 7:14am 
Originally posted by ustolemygmrtag:

my bat file:
start "" /NORMAL "C:\Dark and Light server Files\server\DNL\Binaries\Win64\DNLServer.exe" "/Game/DNL/Maps/CapeOfSacredPath/DNL_ALL?ServerPort=7782?QueryPort=27022?SessionName=Crystalized Agro?MaxPlayers=70?listen" -nosteamclient -game -server -log

Try without a space in your session name

Edit. And try port vs serverport
Last edited by EverLost; Jul 21, 2017 @ 7:17am
ArchieVision Jul 21, 2017 @ 7:16am 
thanks
Valkariel Jul 21, 2017 @ 7:28am 
I got the server to launch, and shows up in the server browser in game... but I try to connect and it tells me invalid password, even if I copy/paste the exact password I put in the command line. Any ideas?
ArchieVision Jul 21, 2017 @ 7:35am 
OK, changed the name to Crystalized_Agro_PvE_Boosted_5x and still nothing. Getting very frustraited. Been at this for 4 hours now.

Edit: what do you mean by port vs server port? change it to Port?

Edit #2: I did change it to Port and now the server is showing up in the Server Browser, and I am connecting right now. I hope I can log all the way in. That would be great!!!!

Last edited by ArchieVision; Jul 21, 2017 @ 7:45am
Sausedge Jul 21, 2017 @ 7:46am 
Originally posted by The Wolffe Baron:
I got the server to launch, and shows up in the server browser in game... but I try to connect and it tells me invalid password, even if I copy/paste the exact password I put in the command line. Any ideas?

how long is the password? i had a problem with my password beeing too short with 4 characters.
Galaxywalkers Jul 21, 2017 @ 8:17am 
Interesting.... Well have to try later. Ty..
ArchieVision Jul 21, 2017 @ 8:18am 
7 characters. And I put it in the GameUserSetting.ini, not the CommandLine.

EverLost Jul 21, 2017 @ 8:49am 
Originally posted by ustolemygmrtag:
7 characters. And I put it in the GameUserSetting.ini, not the CommandLine.

It worked? I haven't messed with the GUS yet. But it looked a lot like Ark
sebo Jul 21, 2017 @ 8:54am 
you really need to be signed into Steam client even with separate dedicated server files? trying to save half a gig of wasted memory/resources by not having the steam client running too..
what is the point of using Steeamcmd then since Steam client already has all the files?
Last edited by sebo; Jul 21, 2017 @ 8:56am
Niccoli00 Jul 21, 2017 @ 9:08am 
Hey ustolemygmrtag, I had the same issue. I assume this is a server you are hosting on the same machine as you are playing the game, but this might work either way.

Open up the steam app, select View >> Servers. Select the Favorites tab. Right click anywhere in their, put in your IP address and port. The server should show up.

(If it didn't show up, one additional step I did do but wasn't sure it did anything was to add 'multihome=192.168.11.13' (use your IP of course))

Once it's in your favorites list, launch the game, change the drop down to favorites, select your server and connect. I wasn't able to immediately but after a few attempts (or an amount of time) I started to get the password prompt and I could get in. No issues since I got past that hurdle.
ArchieVision Jul 21, 2017 @ 9:12am 
Thanks, but I got it going, and I am playing on it now. I have favorited it also.

Niccoli00 Jul 21, 2017 @ 9:14am 
Sebo, these are all hacks to get around the lack of a good dedicated server option. Essentially these setups are using the 'host server locally' option and so to get the download you need to log into steam. Once they have the dedicated servers out, it will be a lot better. For now, we do what we can with what we have.
< >
Showing 1-15 of 122 comments
Per page: 1530 50