Tower Unite

Tower Unite

73 évaluations
Lobby Dedicated Server Setup
Par Sam et 1 collaborateur(s)
DEPRECATED: http://forums.pixeltailgames.com/t/announcing-community-condos/19891

Guide to creating a dedicated Lobby server for Tower Unite.
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Server Setup
Note: For the official SteamCMD guide, see the Valve Developer wiki entry.

  1. Download SteamCMD and extract it.
    Windows: https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
    Linux: http://media.steampowered.com/installer/steamcmd_linux.tar.gz
    Linux dependencies
  2. Start steamcmd
    Windows: steamcmd
    Linux: ./steamcmd.sh
  3. Run the following commands
    login anonymous force_install_dir ./towerunite/ app_update 439660 validate
  4. Close SteamCMD
  5. You'll find a folder called "towerunite" in the same folder that has steamCMD in it.
  6. Linux: Copy linux64/steamclient.so into towerunite/Tower/Binaries/Linux
  7. Forward the following ports:
    27015-27050 TCP/UDP 7777-7778 UDP 3478 UDP 4379-4380 UDP
  8. Run the server executable
    Windows: TowerServer.exe -log
    Linux: ./Tower/Binaries/Linux/TowerServer-Linux-Shipping -log

When the game updates, run the following command in SteamCMD to get the latest version of the dedicated server.
app_update 439660 validate
Configuration
Server title and max player count may be configured inside of the TowerServer.ini file. The location of this file changes depending on which platform you're hosting on. You may need to start your server at least once for the file to appear.

Platform
Path
Linux
Tower/Saved/Config/LinuxServer/TowerServer.ini
Windows
Tower/Saved/Config/WindowsServer/TowerServer.ini

Inside of the file, add the following section and configure it to your liking:

[/script/towernetworking.dedicatedserveroptions] ServerTitle=Tower Unite Lobby MaxPlayers=32
Advanced Configuration
The following parameters can be passed into the server executable on startup.

Overriding game server port
-Port=7778

Overriding Steam master server port
-QueryPort=27016

Binding to a specific server IP address
-MULTIHOME=public-ip-here
e.g. -MULTIHOME=8.8.8.8

Running the server on the same machine as the game client
-nosteamclient

Custom TowerServer.ini file, useful for multiple servers on one machine
-TowerServerINI=CustomTowerServer.ini

Depending on which platform you're using, the file will be loaded from a specific directory.

Platform
Path
Linux
Tower/Binaries/Linux/CustomTowerServer.ini
Windows
Tower/Binaries/Win64/CustomTowerServer.ini

The same command-line flag also applies for other config files, e.g.
-TowerBansINI=CustomTowerBans.ini
Steam Game Server Account (RECOMMENDED)
Creating a Steam game server account for your server allows it to reuse the same Steam ID for clients to reconnect to. In the future, Tower Unite will also use this for favorite servers and more.

To register a game server account, complete the form in the following link with 394690 as the App ID: https://steamcommunity.com/dev/managegameservers

Once you have a registered account, place the Login Token into your TowerServer.ini file
[/script/towernetworking.dedicatedserveroptions] SteamLoginToken=0123456789ABCDEF0123456789ABCDEF
Notes
Errors regarding the Steam gameserver API likely mean that something isn't set up properly with your firewall / NAT.
51 commentaires
dieingslowly 15 mai 2024 à 20h24 
is there a you tube vid or something im still having Trouble setting this up
Zyntaks 15 oct. 2021 à 9h41 
Re: Spike Rose
Can be fixed by copying the model dll from regular TU. However the dedicated server still doesn't seem to work, probably because it's been deprecated.
Spike Rose 5 sept. 2021 à 1h07 
Doesn't work. "The code execution cannot proceed because model.dll was not found. Reinstallin the program may fix this problem."
Reinstalling the program does not fix this problem. Where's the .dll?
badman 27 juin 2019 à 11h21 
I am thinking the server package is not properly updated. The ini does not autopopulate, and after I finally did get everything up and running, the reason I cannot connect is because the server's map is wrong. All currently running servers are listed as Map "ThePlaza2018" and mine is just "ThePlaza"
Shows up on Steam Servers, does not show up in-game. Cannot connect to it, either. "Missed the window"
XarocTV 7 mai 2019 à 9h39 
Just trying to install a server via my windows root.

The server starts so far.
On Steam in the server / favorites it is also displayed as online.

But can not join there.
Not even if the game has already started.

Ingame, the server is not displayed.
kaneit 29 avr. 2019 à 0h43 
I've opened ports
15000 (UDP & TCP)
4379-4380 (UDP & TCP)
3478 (UDP & TCP)
7777-7778 (UDP & TCP)
27015-27050 (UDP & TCP)

i've got my login token.
TowerServer.ini does not exist at all. i had to manually create mine after the first launch.
i've got no errors. i cannot connect to my server through the game. my lobby isn't visible in TowerUnites lobby browser. however my lobby is visible by the steam servers. however it will not let me connect. when i close the game and click connect, it connects me and then gives me the error "Tried to join session that no longer exists, you missed your window"

i've followed all instructions. and they do not work for me.
SoundWave 24 mars 2019 à 18h47 
i dont find TowerServer.ini on my windows root need help to join my server
Zach 10 mars 2019 à 10h44 
Okay I think I got it to work. I still get the errors but it seemed some poor players were able to join shortly before being booted when I shut the server down because it was just a test. No clue if passwords are implemented yet which is kinda a killer. Make a shortcut and add -log to the target field. That'll let you know if anything is actually happening.
Zach 7 mars 2019 à 17h16 
Not working for me. Complaining about being unable to access entry points from a .DLL I know I have and on top of that I have no TowerServer.ini
Lordgizmo 7 févr. 2019 à 6h19 
i dont find TowerServer.ini on my windows root need help to join my server