Jump to content

zabbalitto

Pathfinder
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

1 Neutral

About zabbalitto

  • Rank
    Pathfinder

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. you could try to make your redis server lookup your localhost address. But Redis mentions that this is dangerous as Redis then will listen to just every IP address. Just open the redis config file with a text editor and search for 127.0.0.1 and uncomment that one line. I am actually still having issues with my router and the port forwarding, so it's hard for me at the moment to help you with anything I am still in contact with some other guys that also are working on setting up their dedicated servers. Will get back to it once I resolved my issues.
  2. Hi all, I've been in this forum for just a few hours. I'm not a pro when it comes to setting up servers or ark servers in general. But I managed to get pretty far in setting up my servers. They start without any errors. The only problem I have is with my NAT, but that's due to the fact that my router suxx. So here we go, the guide: Contents: 1. download gameserver with steamCMD 2. download the Atlas world editor from github 3. create a *.json file with the world editor 4. export the *.json files 5. Redis 6. preparing your batch files 7. error handling (unfinished) 8. port forwarding (NAT setup) 9. controll / start everything 1. Download game server with SteamCMD so first of all, get yourself steamCMD from here: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip if the above link does not work, please go to the official valve page to download it from there: https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD unzip the downloaded file to your favorable place (I did put mine to c:\steamCMD to make things easier for myself. Be aware that you need some space for the dedicated server to download. I believe the Atlas server software is around 18GB at the moment.) start steamcmd.exe as administrator (it also should work without starting it as an admin, but to be on the safe side...) type (without quotes) "login anonymous" --> this will log you in now you have 2 options: Option 1: download the dedicated software to a specific folder: type following command and hit enter: force_install_dir "yourHDD:\yourPreferredFolder\" +app_update 1006030 validate Please replace yourHDD with the drive you want to install it to. Please replace "yourPreferredFolder" with your desired folder name (probably something like AtlasDedicatedServer). It is possible that the command validate is not working, in this case, just leave it away. This should no start the download of the desired server files into your specified folder. Option 2 (recommended): download the dedicated server software to your steamCMD folder and let steamCMD handle everything for you type following command and hit enter: app_update 1006030 validate in case the command validate is causing issues, just leave it away after it has dowwnloaded and verified/installed the dedicated server continue with step 2. download the Atlas editor from github 2. download the Atlas world editor from github go to https://github.com/GrapeshotGames/ServerGridEditor you will find a button "Clone or download". Click on it and select "Download ZIP" Once downloaded, unzip it to your desired place 3. create a *.json file with the world editor Prepping the map: go into the unziped folder Drive:\...\ServerGridEditor-master\ and open "ServerGridEditor.exe" as an admin (just in case... obviously this is always on your own risk. Things work fine for me without having it to start as an admin) click on "Load Project" either you are already in the proper folder "Projects" or you will have to navigate to x:\FolderWhereYouPlacedTheServerGridEditor\Projects and select "ServerGridSmall.json" This ill give you a small map with a 2x2 grid. go to Project --> Edit Change the field "Atlas ID" to a unique number (lol... that's the description, but yeah... how to know it is unique??? ¯\_(ツ)_/¯ ) (Change the field "Friendly Name" to your server name I guess ¯\_(ツ)_/¯) click on save tick the checkbox at the bottom of the window in the main editor screen, that is labeled with:"Show Ship Paths" use the mousewheel to zoom out of the map. At some point, you should see some "circles" with red and blue dots. These things are apparently ship paths (probably NPC ship paths). You need to delete them. To do so, move your mouse over one of the black dots (the mouse cursor will change to a hand symbol) and press "shift + delete". At some point I would like to add more info here about how to change the map, adding and removing islands, but for now I am too lazy Prepping the Server related info for the map: "ctrl + left mouse" on the top left grid to open up the "Edit Server" window for your first (in this case also home server) server Change "IP" to your external IP address (can be looked up at www.whatismyip.com for example...) Change Port: 57550 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) Change Game Port: 5750 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) click on "Save" "ctrl + left mouse" on the top right grid to open up the "Edit Server" window for your second server Change "IP" to your external IP address (can be looked up at www.whatismyip.com for example...) Change Port: 57551 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) Change Game Port: 5751 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) click on "Save" "ctrl + left mouse" on the bottom left grid to open up the "Edit Server" window for your third server Change "IP" to your external IP address (can be looked up at www.whatismyip.com for example...) Change Port: 57552 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) Change Game Port: 5752 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) click on "Save" "ctrl + left mouse" on the bottom right grid to open up the "Edit Server" window for your fourth server Change "IP" to your external IP address (can be looked up at www.whatismyip.com for example...) Change Port: 57553 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) Change Game Port: 5753 (this will be one of the ports that you need to forward on your router. So obviously you can change it to what ever you want if you know what you do) click on "Save" You now have configured the ports for your servers and you also already have set the external IP address of your hosts, so that people can connect to your server. The grid will be managed by your Redis server. A note to the above. I am not 100% sure about the difference between "Port" and "Gane Port" and it might be that this is causing the issues for me. At the moment I believe that both need to be able to talk to the internet, thus both need to be forwarded in the NAT settings. So this part of the tutorial might change if I am more clear about the meaning of these two parameters. 4. export the *.json files Go to Export --> Map Image this will export the map image. Put it into your ServerGridEditor-master\Projects folder. Name it ServerGrid.jpg Go to Export --> Local Export Put it into your ServerGridEditor-master\Projects folder You now should have 3 files ServerGrid.jpg ServerGrid.json ServerGrid.ServerOnly.json Copy these files into your dedicated server Drive:\...\ATLAS Dedicated Server\ShooterGame (for me this looks like following: C:\steamCMD\steamapps\common\ATLAS Dedicated Server\ShooterGame\) 5. Redis Go to Drive:\...\ATLAS Dedicated Server\AtlasTools\RedisDatabase (obviously, if you chose another path for your dedicated server, change the path accordingly) start the "redis-server_start.bat" and boom, it should just run like that. BTW. if it shouldn't run, try starting it as admin Note: I changed the redis.conf file (just open it with a text editor to edit) and changed the password, as I think it's a bit risky to leave the standard password, since this whole thing will be exposed to the public web. If you do change the password, make sure to also change it in the world editor before you create the map. In the world editor go to Project --> Edit and you will find a section called "New Database Settings" and 5 rows "DB Entry 1 - 5" and a field called Password. Change it there accordingly and export the map. I also did set the network settings to "bind 127.0.0.1" for testing reasons. I am not giving more context to this at the moment as I think only experienced people should screw with this and it should not be needed to get your server up and running. 6. preparing your batch files Go to your Atlas dedicated server folder Drive:\...\ATLAS Dedicated Server\ShooterGame\Binaries\Win64 (or in my case to C:\steamCMD\steamapps\common\ATLAS Dedicated Server\ShooterGame\Binaries\Win64 Create 4 *.bat files and name them something like Grid1.bat, Grid2.bat, Grid3.bat, Grid4.bat (or whatever you prefer) Edit the Grid1.bat file (with a text editor...) put following command in there: ShooterGameServer.exe Ocean?ServerX=0?ServerY=0?AltSaveDirectoryName=B1?MaxPlayers=100?ReservedPlayerSlots=30?QueryPort=57550?Port=5750?SeamlessIP=1.2.3.4 -log -server -NoBattlEye Edit the Grid2.bat file ShooterGameServer.exe Ocean?ServerX=1?ServerY=0?AltSaveDirectoryName=B1?MaxPlayers=100?ReservedPlayerSlots=30?QueryPort=57551?Port=5751?SeamlessIP=185.82.207.104 -log -server -NoBattlEye Edit the Grid3.bat file ShooterGameServer.exe Ocean?ServerX=0?ServerY=1?AltSaveDirectoryName=B1?MaxPlayers=100?ReservedPlayerSlots=30?QueryPort=57552?Port=5752?SeamlessIP=185.82.207.104 -log -server -NoBattlEye Edit the Grid4.bat file ShooterGameServer.exe Ocean?ServerX=1?ServerY=1?AltSaveDirectoryName=B1?MaxPlayers=100?ReservedPlayerSlots=30?QueryPort=57554?Port=5754?SeamlessIP=185.82.207.104 -log -server -NoBattlEye AFAIK the parameter MaxPlayers=100? is for max allowed players on a server and ReservedPlayerSlots=30? is the soft cap for the servers. So it should show probably that 30 people could join, where as MaxPlayers then is the hard hard cap. boom, ready to go, almost... the NAT settings are still waiting and maybe some issues to resolve. 7. error handling (unfinished) To be honest, you should already have overcome all the so far reported issues on this board. The ones I am aware of are: ship path error: that was due to the fact that there was a ship path outside of the server grid. By deleting them as described in the step "3. create a *.json file with the world editor" this should not happen anymore Sometimes people forget to start the redis server before running the batch files. This obivously also causes errors If ports are not configured correctly, this can also cause issues. Double and tripple check if the ports and public IP set in the "ServerGrid.json" file are set correctly (there is 4 sections, one for each server and it's ports and the public IP address) if your redis does not start properly, maybe try the new redis distribution (use google to find the link) and just start that instead. There is also a docoumentation on the official download page. ah whatever... here it is: https://redis.io/ https://redis.io/documentation (to be continued...) 8. port forwarding (NAT setup) Port forwarding... the good old NAT settings hitting you with nearly every online game. So there is in general enoug docoumentation around the web on how to do this with your specific router. Just google it again if required. Otherwise you basically need to open the above under point 6 mentioned ports to be forwarded to your server. I will try to guide you through this, but only in a very general way. You still will have to get your password for the admin login and understand where to change the NAT settings on your router. press "windows key" + r type cmd and press enter type ipconfig copy your standard gateway IP address (something like 192.168.1.1 or 192.168.0.1 or 10.0.0.1 or whatever) open a browser and paste the IP address there. This will bring you the admin console of your router. Navigate to your NAT settings (also called Port forwarding, usually under advanced settings) Setup following ports to be forwarded to your server UPD & TCP 57550 UPD & TCP 5750 UPD & TCP 57551 UPD & TCP 5751 UPD & TCP 57552 UPD & TCP 5752 UPD & TCP 57553 UPD & TCP 5753 9. Control / start everything In Theory, everything should be set now to start your server grid... Exciting It's very simple: Start your redis server (if you followed this guide without any break, it already should be up and running) double click your Grid1.bat to start your first server wait for it until it is fully started, then continue with the others (Grid2.bat...) in the same way. I might add some pictures, but I think it all should be quite easy to understand without. Notes / upcoming Please add comments and let me know if something is wrong, so I can keep it up to date. In case there is feedback, I will look into this thread on a regular base during the next days to make it possible for everyone to start their dedicated server grids. At some point it might be nice to also dig into wan clusters (I just came up with this term...) and how to get bigger grids working together with your friends. I think that this would be cool. I would also like to add a guide on how to change server grids. At the moment, if you join the official servers, you see there is a huge map, but not all grids are up and running. So I can imagine that it is as simple as just creating a huge map and all according batch files, but only run the ones you want and in case you want to move to another grid, just start up the required server. It might also be a clever idea to actually run this whole thing on seperate VM's. One for each server, so that it might be possible to allocate cores and ram better. But I am no expert in this at all. Since AMD has put out their 8 cores, things changed a bit in the server area, so this might be something that people are interested in because of that. Also obviously there is a few people on this board with xeon cpu's and they probably know a lot about how to set this up the best way? How ever if possible, I will dig deeper into the whole topic, except the devs finally will provide a proper guide about it. (looking at you devs... wtf? Just 15 more minutes invested into your documentation would have helped tons of people a lot)
×
×
  • Create New...