Tiny csgo server for logging on to steam game servers and establish connection with GC, being displayed on the game server browser, not for real server purpose. It's a fake server.
build.bat
.build.bat
to compile the project.tiny-csgo-server.exe
.tiny-csgo-server.exe
with necessary commandline.build.sh
.build.sh
to compile the project.tiny-csgo-server
.tiny-csgo-server
with necessary commandline.-port
Game server listening port.-version
Version of current csgo, you can find this value in steam.inf
with key name "PatchVersion".-gslt
Game server logon token. If you don't set this, game server will logon to anonymous account and will not be displayed in the internet server browser.-rdip
Redirect IP Address (e.g. 127.0.0.1:27015). If this is set, server will redirect all connection request to the target address. If this is not set, server will reject all connection request.-vac
With this option to enable vac, without to disable.-mirror
With this option to enable the displaying of the target redirect server's information and players. The server name, map, max players, player list etc, are going to be the same with the redirect server. The duplicated information is updated every 10 seconds.You have to disable vac, which means without option -vac
to fake online players. But you can change the information variable SERVER_VAC_STATES = 1
to fake a vac enabled status in the browser.
Assuming the GSLT is 5AB2234D9C490DCG406AET0763DE5813
, game server port is 27015
, server version is 1.38.5.5
.
Windows:
tiny-csgo-server.exe -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813
Linux:
./tiny-csgo-server -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813
127.0.0.1:27016
Windows:
tiny-csgo-server.exe -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813 -rdip 127.0.0.1:27016
Linux:
./tiny-csgo-server -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813 -rdip 127.0.0.1:27016
127.0.0.1:27016
Windows:
tiny-csgo-server.exe -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813 -rdip 127.0.0.1:27016 -mirror
Linux:
./tiny-csgo-server -port 27015 -version 1.38.5.5 -gslt 5AB2234D9C490DCG406AET0763DE5813 -rdip 127.0.0.1:27016 -mirror
In src/common/info_const.hpp
, you can change the following constances to change the information. In the future, all these information will be configurable through a cfg file. Note that incorrect value of some variables may keep your fake server from being displayed in the browser. Or you can just use -mirror option to copy the redirect target server's information, when -mirror is enabled, information below is overridden.
//Server information
_DECL_CONST SERVER_NAME = "Tiny csgo server";
_DECL_CONST SERVER_MAP = "de_tinycsgomap";
_DECL_CONST SERVER_GAME_FOLDER = "csgo";
_DECL_CONST SERVER_DESCRIPTION = "Counter-Strike: Global Offensive";
_DECL_CONST SERVER_APPID = 730;
_DECL_CONST SERVER_NUM_CLIENTS = 10;
_DECL_CONST SERVER_MAX_CLIENTS = 12;
_DECL_CONST SERVER_NUM_FAKE_CLIENTS = 0;
_DECL_CONST SERVER_TYPE = 'd';
_DECL_CONST SERVER_OS = 'w';
_DECL_CONST SERVER_PASSWD_NEEDED = 0;
_DECL_CONST SERVER_VAC_STATES = 1;
_DECL_CONST SERVER_TAG = "pure, vac, tiny-csgo-server";
_DECL_CONST SERVER_DCFRIENDSREQD = 0;
_DECL_CONST SERVER_VALVE_OFFICIAL = 0;
_DECL_CONST SERVER_REGION = SERVER_REGION_ASIA;
#Valve_Reject_Connect_From_Lobby
error.For solution to redirecting not working please refer to this issue.
You can manually control the player count outside of the Internet tab of the browser, where player has to be authenticated by the server then the count number will change. This can help to authenticate players.