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.batto compile the project. - Move every file in bin/windows next to
tiny-csgo-client.exe. - Run
tiny-csgo-client.exewith necessary commandline.
- Configure path of hl2sdk-csgo and Asio in
build.sh. - Run
build.shto 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-clientwith necessary commandline.
-ipGame server IP-portGame server port.-pwGame server password.-nameNickname of your client.-cportClient port you want to use.-ticketUse custom ticket to connect to server.-tsConnect 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.