Compare commits

...

2 Commits

Author SHA1 Message Date
61ea504f28 Show if scopped 2025-03-10 14:31:24 -04:00
bd8de00f10 Edit links in readme 2025-03-10 13:38:42 -04:00
2 changed files with 8 additions and 11 deletions

@ -13,7 +13,7 @@ Before you begin, install the necessary memflow plugins using memflowup from the
The needed Plugins are `memflow-qemu` and `memflow-win32` The needed Plugins are `memflow-qemu` and `memflow-win32`
Clone the repo on your vm host: Clone the repo on your vm host:
`git clone https://github.com/superyu1337/radarflow2.git` `git clone https://git.deadzone.lol/Wizzard/radarflow2-kvm.git`
Run radarflow: Run radarflow:
`cargo run --release` `cargo run --release`
@ -38,7 +38,7 @@ Check the dlopen documentation for all possible import paths.
``` ```
Clone the repo on your attacking pc: Clone the repo on your attacking pc:
`git clone https://github.com/superyu1337/radarflow2.git` `git clone https://git.deadzone.lol/Wizzard/radarflow2-kvm.git`
Run radarflow: Run radarflow:
`cargo run --release -- --connector pcileech` `cargo run --release -- --connector pcileech`

@ -77,6 +77,7 @@ const weaponIdMap = {
49: "C4", 49: "C4",
0: "KNIFE" 0: "KNIFE"
}; };
// networking // networking
websocket = null websocket = null
if (location.protocol == 'https:') { if (location.protocol == 'https:') {
@ -184,7 +185,7 @@ function drawPlayerBomb(pos, playerType) {
ctx.fillText("[C4]", pos.x, textY); ctx.fillText("[C4]", pos.x, textY);
} }
function drawPlayerName(pos, playerName, playerType, hasAwp, hasBomb) { function drawPlayerName(pos, playerName, playerType, hasAwp, hasBomb, isScoped) {
if (!map) return; if (!map) return;
if (zoomSet) { if (zoomSet) {
@ -195,7 +196,6 @@ function drawPlayerName(pos, playerName, playerType, hasAwp, hasBomb) {
textSize = 12; textSize = 12;
} }
// Always position at the top
const textY = pos.y + 20; const textY = pos.y + 20;
let displayName = playerName; let displayName = playerName;
@ -208,8 +208,8 @@ function drawPlayerName(pos, playerName, playerType, hasAwp, hasBomb) {
ctx.fillStyle = enemyColor; ctx.fillStyle = enemyColor;
} }
if (hasBomb) { if (isScoped) {
displayName += " [C4]"; displayName += " [SCOPED]";
} }
ctx.font = `${textSize}px Arial`; ctx.font = `${textSize}px Arial`;
@ -338,7 +338,8 @@ function render() {
data.Player.playerName, data.Player.playerName,
data.Player.playerType, data.Player.playerType,
data.Player.hasAwp, data.Player.hasAwp,
data.Player.hasBomb data.Player.hasBomb,
data.Player.isScoped
); );
} }
@ -356,10 +357,6 @@ function render() {
data.Player.playerType data.Player.playerType
); );
} }
if (drawNames && data.Player.playerName) {
drawPlayerName(data.Player.pos, data.Player.playerName, data.Player.playerType);
}
} }
}); });
} }