Skip to content

Feature Request: Integrate Web-Based Radar from cs2_webradar #177

@Undertaker-afk

Description

@Undertaker-afk

Overview

This feature request proposes integrating the browser-based radar functionality from clauadv/cs2_webradar into DragonBurn to allow remote radar viewing capabilities.

Motivation

The current radar feature in DragonBurn works well but is limited to the application window. Adding web-based radar functionality would allow:

  • Remote viewing of radar on secondary devices (phones, tablets, second monitors)
  • Sharing radar information with teammates through network configuration
  • More detailed visualization options through the web interface

Technical Implementation

Components to Integrate

  1. WebSocket Server: Add the WebSocket server from cs2_webradar to stream radar data
  2. React Web Application: Incorporate the web-based radar visualization interface
  3. Data Bridge: Create a bridge to feed DragonBurn's kernel-mode data to the WebSocket server

Proposed Integration Approach

1. Memory Data Extraction

Since DragonBurn already has kernel-mode memory access, we should:

  • Use DragonBurn's existing memory reading for player positions, map information
  • Format the data similar to what cs2_webradar's usermode component sends

2. WebSocket Implementation

Add a WebSocket server component to DragonBurn that:

// Example implementation based on cs2_webradar's approach
void StartWebSocketServer() {
    // Initialize WebSocket server on port 22006
    // Listen on path "/cs2_webradar"
    // Forward memory data from DragonBurn's memory reader
}

3. Web App Integration

  • Include the React application from cs2_webradar in the DragonBurn distribution
  • Adapt the connection settings to work with DragonBurn's WebSocket
  • Add configuration options for local/remote usage

4. Network Configuration

Add user settings for:

  • Enabling/disabling the web radar
  • Port configuration
  • LAN/WAN access controls
  • Optional authentication for security

Benefits

  • Enhanced team coordination with shared radar
  • Flexible viewing options
  • Leverages existing open-source code (cs2_webradar is GPL-3.0 licensed)

Notes

  • The cs2_webradar repository already has most of the necessary code
  • Since DragonBurn already has kernel-mode access, we don't need cs2_webradar's usermode memory reading
  • This integration should maintain DragonBurn's existing security and detection avoidance features

References

  • clauadv/cs2_webradar
  • GPL-3.0 license requires us to maintain the same license for derived components

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-priorityNo specific priority assigned.suggestionIdeas for improvements or new features.suspended-statusWork has been suspended or put on hold.

    Projects

    Status

    Suspended

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions