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 76-90 of 122 comments
DarkDraco Jul 30, 2017 @ 9:57am 
when i try to login it tells me invaild password with the code of 5..well i clearly know my password cus im logged in.
Samurai_Amatsu Jul 30, 2017 @ 10:15am 
Originally posted by DarkDracoo:
when i try to login it tells me invaild password with the code of 5..well i clearly know my password cus im logged in.
And you have used all caps? Try doing one with 5 letters and a num. Make sure it is in the startup bat and in the ini.
Last edited by Samurai_Amatsu; Jul 30, 2017 @ 10:15am
DagriN Jul 30, 2017 @ 11:01am 
I had the same issue with my server not updating. I ended up deleting the server folders and redownloading. It works now. It would not update past 100.4140 even though the SteamCMD CLI stated that the app update was successful. I did note that the file structure was slightly different than is was prior to me deleting everything. If you do choose this path, be sure to save a copy of the "Saved" folder under the Binaries/Win64/DNL folder so that you do not lose any progress on your server.
melwalters87 Jul 30, 2017 @ 11:51am 
Got server up and running, super easy with this post. The only issue I'm having is FPS. I'm hosting it on my pc, and only getting 1 sometimes 2 FPS. While my husband is able to play fine. Is there a way to fix this? Not having a lot of experience hosting servers, I'm not sure how to go about it. Any tips/help would be appreciated. :)
Samurai_Amatsu Jul 30, 2017 @ 12:24pm 
Originally posted by melwalters87:
Got server up and running, super easy with this post. The only issue I'm having is FPS. I'm hosting it on my pc, and only getting 1 sometimes 2 FPS. While my husband is able to play fine. Is there a way to fix this? Not having a lot of experience hosting servers, I'm not sure how to go about it. Any tips/help would be appreciated. :)
Computer specs always have a play on this. As long as you have at least 16 gbs of ram to host and play you should be good and always the video card. NVIDIA cards work the best considering that is who is on front page of game.
Nepocrates Jul 30, 2017 @ 12:25pm 
Ill try this later thanks
Nvm
Last edited by •̪̀●MyLittlePwny•; Jul 30, 2017 @ 3:28pm
Samurai_Amatsu Jul 30, 2017 @ 2:41pm 
First thing i see is the query port and reg port cant be the same. And also make sure you have the server pass and admin pass both in command line and ini. And some of these changes are not implemented yet like they are in ark.
Originally posted by Amatsu_Mikaboshi:
First thing i see is the query port and reg port cant be the same. And also make sure you have the server pass and admin pass both in command line and ini. And some of these changes are not implemented yet like they are in ark.

What do you mean ? Those were the default numbers in the file which I didn't touch :/

I got it working correctly though, server name does not work with | in the line
Modified stats need to go inside game.ini

I'm curious on your port comment though, everything is working for me with

RCONPort=29501
Port=29500
QueryPort=29500

as settings
Last edited by •̪̀●MyLittlePwny•; Jul 30, 2017 @ 6:18pm
Sirbum69 Jul 30, 2017 @ 4:41pm 
Anyone know what would cause me to not be able to log in using the admin password? i start the server, and it starts fine, but when i enter the game i have to use the server password or it comes back timed out. But with the server password i am just a normal player not an admin.

What am i missing here?
Samurai_Amatsu Jul 30, 2017 @ 5:45pm 
Originally posted by •̪̀●MyLittlePwny•:
Originally posted by Amatsu_Mikaboshi:
First thing i see is the query port and reg port cant be the same. And also make sure you have the server pass and admin pass both in command line and ini. And some of these changes are not implemented yet like they are in ark.

What do you mean ? Those were the default numbers in the file which I didn't touch :/

I got it working correctly though, server name does work with | in the line
Modified stats need to go inside game.ini

I'm curious on your port comment though, everything is working for me with

RCONPort=29501
Port=29500
QueryPort=29500

as settings
Typically the Port is something like 7777 or 7778 then the QueryPort is 27015 or 27016 or whatever you set it to in Router.

Originally posted by Sirbum69:
Anyone know what would cause me to not be able to log in using the admin password? i start the server, and it starts fine, but when i enter the game i have to use the server password or it comes back timed out. But with the server password i am just a normal player not an admin.

What am i missing here?
ServerPassword is to get into server so Random people cant get in AdminPassword is for using cheats. The game uses most of the same commands as ARK seen here https://ark.gamepedia.com/Console_Commands Alot of the server setup info can be retrieved from this site also
Warchild Jul 30, 2017 @ 5:46pm 
Originally posted by niccoli00:
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.
10 days is a long time to not provide something pretty 'mission critical'
Samurai_Amatsu Jul 30, 2017 @ 5:47pm 
Originally posted by Warchild:
Originally posted by niccoli00:
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.
10 days is a long time to not provide something pretty 'mission critical'
Second that!
Winter Jul 30, 2017 @ 7:39pm 
Check out krakenservers.com complete dark and light servers on a KVM dedicated machine with unlimited slots for only $20. You can even install a teamspeak or a webserver on the machine!
Ahegao Eggo Aug 2, 2017 @ 2:35pm 
So, how do you use the admin password? Normally just trying to use a command would trigger the request for it, or a login.
< >
Showing 76-90 of 122 comments
Per page: 1530 50