Sign in to follow this  
Followers 0
Spectral

Setting Up Your Community Server

Requirements:

Visual C++ Redistributable for Visual Studio 2015 vc_redist.x64.exe

https://www.microsoft.com/en-us/download/details.aspx?id=48145

 

DirectX End-User Runtimes (June 2010)

https://www.microsoft.com/en-us/download/details.aspx?id=8109

 

 

To create your own set of admins on your server you will need to edit

Squad/Config/UserGameUserSettings.ini

Find or add

https://steamid.co/ to find steam64ID ]

[ServerAdmins]Admin=Steam64ID:LevelAdmin=Steam64ID:LevelAdmin=Steam64ID:Level
Public            = 0 // everyone has thisStart Vote        = 1 // not implementedChange Map        = 2 // change or set next mapPause             = 4 // pause serverCheat             = 8 // any cheat commands such as slomoPassword          = 16 // set server password or remove passwordBalance           = 32 // not implementedChat              = 64 // Use adminbroadcastMute              = 128 // not implementedKick              = 256 // self explanatoryBan               = 512 // self explanatoryConfig            = 1024 // can edit config settings like max player countsAdmin Immune      = 2048 // cannot be kicked / bannedManage Server     = 4096 // manage server or shutdown serverCamera Man        = 8192 // use cameramanAdd User          = 16384 // Add admins (not working)Feature Test      = 32768 // Any feature testing we addRcon              = 65536 // Not implementedDemo Recording    = 131072 // not implementedReserve Spot      = 262144 // Join full servers & bypass server password

What ever access you want your admins to have, you will add up the values. Full access will be 524287. If you want admins to only Change MapKick, Ban then their level would be 512 + 256 + 2 = 770

[ServerAdmins]Admin=76561198014162597:524287+Admin=76561198014162597:770+Admin=76561198014162597:137071

Upon adding new admins you will need to restart your server or change maps. Also if all your admins are not loading try and remove the +'s. Unreal seems to have a difference in if +'s are needed based on which file things are being added in.

(Note: Admin is not the players name, it is a variable, it should always say 'Admin')

 

Settings:

Squad/Config/UserGameUserSettings.ini

You can add / edit the following

[SquadOnlineSessionSettings]ServerName="Local Server"MaxNumPlayers=20NumReservedSlots=0ShouldAdvertise=trueNumPlayersDiffForTeamChanges=4AllowTeamChanges=truePreventTeamChangeIfUnbalanced=trueEnforceTeamBalance=trueRejoinSquadDelayAfterKick=180AllowCommunityAdminAccess=true

Set map rotation (IE: Insurgency Only). You can get a list of all maps from DefaultGame.ini

[SquadGameInstance]MapRotation="Logar Dawn Insurgency"MapRotation="Logar Night Insurgency"MapRotation="Kohat Insurgency"

Ports to Open:

 

Port = Game port = UDP  (Default 7787 UDP)

May even need to do Port + 1 as well in firewall.

 

QueryPort = Steam query port = UDP (Default 27165 UDP)

QueryPort+1 = Second Steam query port = UDP and TCP (Default 27166 UDP and TCP)

 

 

Command Line:

MultiHome = The IP Address you want to bind the server too.

Port = Game port

QueryPort = Steam query port

RANDOM = Randomize map rotation (ALWAYS, FIRST, NONE)

FIXEDMAXPLAYERS = Player count cannot go higher than this

FIXEDTICKRATE = MAX server tickrate

 

Create a .bat file with the following. This bat file will be used to launch the game server. You will not see a window, but can confirm it is running by watching the process and logs

start SquadServer.exe "MULTIHOME=1.2.3.4 Port=7787 QueryPort=27165 FIXEDMAXPLAYERS=50 FIXEDTICKRATE=15 RANDOM=ALWAYS -log"

APPID:

403240

 

 

FIREWALL:

Allowing both of the SquadServer.exe files through the firewall will save you headaches.
Default locations:
Steam\steamapps\common\Squad Dedicated Server\Squad\SquadServer.exe
Steam\steamapps\common\Squad Dedicated Server\Squad\Binaries\Win64\SquadServer.exe

Share this post


Link to post
Share on other sites

Allowing both of the SquadServer.exe files through the firewall will save you headaches.

 

Steam\steamapps\common\Squad Dedicated Server\Squad\SquadServer.exe

Steam\steamapps\common\Squad Dedicated Server\Squad\Binaries\Win64\SquadServer.exe

Share this post


Link to post
Share on other sites

PPWd7L1.png

 

Trying to find the solution to this error.  

Note that the server process WILL successfully run even when this error message pops up.

BUT, if you run the process twice weird things can happen, so check your process manager to make sure two instances are not running.

Share this post


Link to post
Share on other sites
Steam->Games->Activate a Product on Steam.

Enter your License key

 

Steam->Library->Tools

type Squad in the Search Box

Download the "Squad Dedicated Server"

 

Download Prereqs

Allow both SquadServer.exe through firewalls

Open Ports

Create .bat file

Share this post


Link to post
Share on other sites
If you have just installed c++ redist on your server

You need to ensure that their environmental variables have updated under system properties in windows.

You can manually updated these, however, one could simply reboot to resolve this.

 

(Hat tip to Inch )

Share this post


Link to post
Share on other sites

Problem:

xcQTWLD.png

The procedure entry point ThreadSetBackgroundPriority could not be located in the dynamic link library C:\Steam\steamclient.dll.

Cause:

the steam client is installed

the server is trying to use the wrong dll's

the executable is looking for the steam dll files on the steam folder
 
Solution:
completely removed steam and use steamcmd

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0