Hello, this is yet another counter-strike trainer written in Rust and a wee bit of react. A lot of inspiration was taken from cs2_webradar so please check out their repository! Mainly, I also use WebSockets here to push player information to the front end.
As always, this is for pure educational purposes and should not be used in competitive settings. This program does not attempt to bypass any detection mechanisms (such as VAC / FACEIT / ect.), so it is very easily detected.
The pre-requisites to running this program is to first have the following installed on your computer:
Backend:
(CSRadar)$ cargo buildFrontend:
(CSRadar)$ cd frontend
(CSRadar/frontend)$ npm install -g
(CSRadar/frontend)$ npm run buildBackend:
(CSRadar)$ cargo run 2>$nullFrontend:
(CSRadar)$ cd frontend
(CSRadar/frontend)$ serve -s build- Now browse
http://localhost:3000for the radar UI. - For debugging purposes, the websocket is on
ws://localhost:3030/ws
Backend:
cargo runFrontend:
npm startOffsets are pulled from CS2-OFFSETS. To pull the latest offsets, run:
(CSRadar)$ ./bin/update_offsets.ps1