BATTALION: Legacy

BATTALION: Legacy

Not enough ratings
Server Setup Guide
By Incus
This is a guide to setup a dedicated server on a windows PC/Server

Takes 10min to setup as of this time.

Perfect for setting up a quick game for friends on your own machine.
   
Award
Favorite
Favorited
Unfavorite
Download Require Files
To download the required files. Please use this link
https://storage.googleapis.com/battalion_public/BattalionWindowsServer_10747.zip

This is the offical link from here.
wiki.battaliongame.com

Extract this file to any location.
Editing Run.bat
Right click and edit Run.bat with notepad

At the top you will find SET EXTERNAL_IP




Change this to your IP
https://www.iplocation.net/find-ip-address

NOTE:-Some people do not have a static IP address on there home PC. So each day you will have to change this. To the new one. You can find it each day from the website above.
Editing DefaultGame.ini
Right click and edit DefaultGame.ini

Server Name and Password

CTRL + F [/script/shootergame.battaliongamemode]

Under this heading will be basic settings for the server. The two important ones are:
ServerName=****
Password=****

Change these to what you wish.

Note- If you wish to have no password. Leave it blank.

Gamemode and Map Rotation

Note-Before you do this save and backup the DefaultGame.ini
As you will be deleting things from this config file. So if you wish to re-add a map or gamemode. You will need re introduce what you delete.

CTRL + F RandomMapRotationEnabled=True
Under this you will find a list of:
+ModeRotation=
+MapRotation=


Delete the + gamemodes and maps you do not want.

Example:













Editing Gamemodes
To select what gamemode you want to run.
CTRL + F
[/script/shootergame.bombgamemode]
[/script/shootergame.domgamemode]
[/script/shootergame.ctfgamemode]
[/script/shootergame.tdmgamemode]


Under each is a list of what can be edited. Each is self explanatory.
In [/script/shootergame.bombgamemode]
There is a cmdline called:
Deckname=UnrankedBOMBDeck0
Removing Unranked will give you comp ruleset deck.
Deckname=BOMBDeck0

Starting and Finding your Server
Starting
To start your server double click the Run.bat

You will get two error messages:










Just ignore these messages.

This will open an UnReal console:







When eac_server.dll [x64] :: hModule: 00007FFEA73E0000 dwReason: 1 lpvReserved: 0 appears in the console. Your server is up and running.

Finding

Now that your server is up and running. You are going to want to find it easily. As there is not search function on the online lobby.

When the game is running open console.
This is normally the tilde key. ` To the left of 1
Copy and paste:
connect 0.0.0.0:7777 password ****

Changing 0.0.0.0 to your IP
Changing PASSWORD to your password (Leave blank for no password)
Add Admins and Console Commands
Adding an Admin

First you will need to aquire your x64 steamID

Please go to https://steamid.io/

There are two way to do this:
Sign in through steam on the website.

Or go to your profile in steam. Right click and Copy Page URL
Then paste that ink into the input... section on.

Once ou have found it. The steamID you require is:


Open up DefaultGame.ini

CTRL + F +AdminSteamIDs=

Enter after the steamID in quotes:




You can enter multible with a space between quote marks

Server Admin Commands

To enter and admin command. You must open console in game a type one of the following bellow.

All start with the prefix of "Server."
EXAMPLE: server.restart

Config.<CONFIG_NAME> <VALUE> - Change server config values
Restart - Restart the server
Shutdown - Shutdown the server
EndRound - Force end the round
Pause - Pause the game - use again to unpause
WinRound - Force win the round
LoseRound - Force lose the round
LoadNextGame - Load the next map/mode in the rotation
ChangeMap <MAP> <MODE> - Change to a map + mode
Announce <MESSAGE> - Announce a message to everyone in the server
Invulnerable - Toggle to make yourself invulnerable
GiveWeapon <WEAPON NAME> - Give a specified weapon to yourself
GiveGrenade <NUM> - Give a grenade to yourself
GiveSmokeGrenade <NUM> - Give a smoke grenade to yourself
GiveAmmo <NUM> - Give ammo to yourself
DisconnectAll - Disconnect everyone from the server
AddBot <NUM> - Add a bot to the server
KillBots - Kill all bots
KickPlayerByName <NAME> - Kick player by name
KickPlayerBySteamID <ID> - Kick a player by their steam id
ListPartyMembers - List all party members
ChangeToTeam <0 or 1> - Change yourself to team
State <STATE_NAME> - Change the game state to (WaitingToStart, CountdownToStart, SetupRound, PostRound, PostMatch)

Note:- At the moment you can not BAN anyone from your server. Kick is the only resource available.
Some config Presets
Skrim Config

https://pastebin.com/UdqWCiKj

This is a base Skrim Config with all the maps enabled.
Please remove the ones you do not want.
6 Comments
normal budi 16 Jul, 2019 @ 2:36am 
Using Windows to set up a Server. Sorry for :steamsalty::steamsalty:
raiN 31 May, 2019 @ 5:49am 
Port 7777 TCP or UDP? Also there is a quesry port 7780, what is the purpose?
我的床又大又耐震 30 Jun, 2018 @ 9:55am 
I need help
Can you help me
I don't know what to do with this.
I downloaded
SteamCMD GUI
https://steamdb.info/app/489940/
Code display error
QAQ
I only use SteamCMD GUI
rUL3z™ 13 Feb, 2018 @ 5:48am 
Incus, why can not I download the BattalionWindowsServer_10747.zip file?
AccessDenied and information:
"Anonymous caller does not have storage.objects.get access to battalion_public/BattalionWindowsServer_10747.zip"
I need permission from Google, I don't understand :(
Karhal 5 Feb, 2018 @ 9:33am 
Hi. When i start server. Erros will show up but no console. And when i try to start game it crases with Fatal Error error. Any ideas?
weaksauce13 2 Feb, 2018 @ 5:40pm 
my friend followed this guide and we ended up going 12-12 in wartide on Coastal during the test.

so it worked. easy server.

+1