It has been a while since Levak released warfacebot, but it can only handle GFACE login (or my.com login after the migration). Here is a method for you to log in to your Warface account associated with Steam.

Disclaimer: use of any third-party software is against the EULA of Warface and my.com. Proceed if you understand and are willing to undertake the risk.

The idea is fairly simple. To successfully log in to Warface game server, you need credentials like your game account number and a token from Warface login server. Traditionally, Warface login server handles login actions by simple email and password, which is implemented in warfacebot shell. However, Steam login is a more complicated matter. First, Steam talks to the game launcher with IPC, which has something to do with the steam_api.dll located in Warface directory. Then the game launcher sends SteamToken which is believed to be generated by Steam client and serves as means of authentication, to Warface login server. After that everything can be handled by warfacebot executable.

Assuming you are working under Linux-like environment and playing the game on a PC; first of all, you need a copy of warfacebot from Github in your Linux machine (or a VM, whatever). You should get yourself familiar with the terms and conditions of using this software, which are described in LICENSE and README.md.

1
2
git clone https://github.com/Levak/warfacebot.git
cd warfacebot

If you don’t have makefile on your Linux system, you need to install make from apt:

1
apt-get install make

You may also need to install gcc compiler and other necessary libraries required by warfacebot:

1
apt-get install gcc libc6-dev libssl-dev libz-dev

And finally:

1
make

Now, go back to your Windows environment.

Open your launcher, select “Open game client folder”, navigate to Warface\GameCenter, close your launcher. There should be a configuration file called “GameCenter.ini”. Open it with your favourate editor and Add these two lines below each square bracket:

1
2
3
4
5
6
[ExtCfg]
DebugMode__=1

...
[Main]
LogHttpTraffic=2

Save and exit. Now reopen your launcher; the launcher should be running in debug mode. Go back to Warface\GameCenter, find and open a log file called “WebServiceTGEMClient.log” and looking for SessionKey closest to the bottom, it should look like a string of hexadecimals. Copy it to clipboard. Now, execute GetToken.py with python3 and pass your SessionKey as an argument like this:

1
python3 GetToken.py na deadbeefdeadbeef12345678

If you want to use warfacebot with your EU server character, switch na to eu.

The script should return a string represents your GameAccount and Token respectively like this:

1
2
GameAccount: 87654321
Token: abcdefabcdef87654321

Now, navigate your Linux shell to directory containing compiled warfacebot executables. To log in with warfacebot using your Steam account, we will not use shell helper provided with the warfacebot. Instead, we will run the command below:

1
./wb -i your_GameAccount -t your_Token -f ./cfg/server/na.cfg

Remember to replace your_GameAccount and your_Token with real GameAccount and Token. Again, replace na to eu if you are using game character from EU server. Warfacebot should soon be initialized. Have fun checking up on your random box RNGs 😉