From a post on the Community Forums by a KAOS programmer...
http://community.kaosstudios.com/showthread.php?t=5879
Look below for details but does this mean we would have enough control (i.e. ability to kick) to bring a
TG server online ASAP?
I ask because I LOVE this game but not having a
TG server is really ruining the experience for me. I guess I'm just way too spoiled...
Frontlines: Fuel of War
Remote console
Game version required: v1.01
-----------------------------------------------------
Enabling remote console on a dedicated server
-----------------------------------------------------
Edit this file:
\GCGame\Config\GCEngine.ini
This block of text will configure the properties of the remote console.
By default all options are commented out (lines starting with with' ;' )
If no password is given the remote console will be disabled
Code:
[Engine.RemoteConsole]
; -- Admin username
AdminName=admin
; -- Admin Password (blank for disable remote console)
AdminPassword=123
; -- ListenPort 14507 is default
ListenPort=14507
; -- ListenBindIP 0.0.0.0 is default
ListenBindIP=0.0.0.0
; -- MaxClients that can connect via remote console at the same time
MaxClients=7
Startup the game server as normal and the remote console will now be active.
-----------------------------------------------------
TCP/IP communication with a remote console enabled server
-----------------------------------------------------
Open a TCP/IP streaming socket to the remote console port of the server
All commands sent and received are separated with new line characters '\n'
The server will send back a string (without the quotes):
Code:
"WELCOME! Frontlines: Fuel of War (RCON) VER=1 CHALLENGE=38D384D07C\n"
Note: Challenge string length is not fixed and will vary
To generate a response use the MD5 algorithm to hash an ansi string:
ResponseString = MD5Hash( ChallengeStringFromServer + Password );
The client will send this string to the server to login:
Code:
"RESPONSE UserNameHere ResponseString\n"
If the login was successful the client will receive:
Code:
"Login Success!\n"
If the login failed, the client will be disconnected immediately
Once the client is logged in commands can be sent to be run and responses can come back
-----------------------------------------------------
Example commands
-----------------------------------------------------
> PLAYERLIST
PlayerList:
ID Score Ping PlayerName NetSpeed
// Playername or PlayerID can be used, both are not required
> KICK PlayerName="PlayerNameHere" PlayerID=3
> BAN PlayerName="PlayerNameHere" PlayerID=2
// Ban is by IP only currently and there is no unban except by editing the GCGame.ini file directly
> BanList
// Lists out the IP's currently banned
> PLAYERSAY PlayerName="PlayerNameHere" PlayerID=2 SayText="Example of speaking directly to a specific player"
> SAY Example of speaking directly to a specific player
> CHATLOGGING FALSE
// This will enable/disable logging of all player chat to the connected remote console
> FORCEMAPCHANGE FL-Street
// Immediately force a map change to the map name given
> NEXTMAP
// Immediately force a map change to the next map in the maplist
.. More to come in future patches (we have at least 40 additional commands planned so far)"