Skip to content

A simple CS2 radar built with websockets in rust

Notifications You must be signed in to change notification settings

omar2535/CSRadar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omar's CSRadar

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.

Preview

Radar

Installation

The pre-requisites to running this program is to first have the following installed on your computer:

Backend:

(CSRadar)$ cargo build

Frontend:

(CSRadar)$ cd frontend
(CSRadar/frontend)$ npm install -g
(CSRadar/frontend)$ npm run build

Usage

Backend:

(CSRadar)$ cargo run 2>$null

Frontend:

(CSRadar)$ cd frontend
(CSRadar/frontend)$ serve -s build
  • Now browse http://localhost:3000 for the radar UI.
  • For debugging purposes, the websocket is on ws://localhost:3030/ws

Development

Backend:

cargo run

Frontend:

npm start

To update offsets

Offsets are pulled from CS2-OFFSETS. To pull the latest offsets, run:

(CSRadar)$ ./bin/update_offsets.ps1

About

A simple CS2 radar built with websockets in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published