Tiny csgo client for connecting dedicated server, this is a very incomplete and experimental project. But it can esatblish connections to server and stay alive as a real player in server. You have to use at least c++20 to run the code.
- hl2sdk-csgo <-- Make sure to use this instead of the latest.
- Asio
- CMake
- Configure path of hl2sdk-csgo and Asio in
build.bat
. - Run
build.bat
to compile the project. - Move every file in bin/windows next to
tiny-csgo-client.exe
. - Run
tiny-csgo-client.exe
with necessary commandline.
- Configure path of hl2sdk-csgo and Asio in
build.sh
. - Run
build.sh
to compile the project. - Move every file in bin/linux next to
tiny-csgo-client
. - Set the directory constains your executable to LD_LIBRARY_PATH.
- Run
tiny-csgo-client
with necessary commandline.
-ip
Game server IP-port
Game server port.-pw
Game server password.-name
Nickname of your client.-cport
Client port you want to use.-ticket
Use custom ticket to connect to server.-ts
Connect to tiny-csgo-server and authenticate your ticket.
The easiest way of doing this is to use the limited version here. See the documentation in that branch.
Thanks to Leystryku, his project has made a great example.