Raised This Month: $ Target: $400
 0% 

Solved [CSGO] Radar red dots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-18-2023 , 14:25   [CSGO] Radar red dots
Reply With Quote #1

Hello, I have an issue, would it be possible to disable the red dots on the radar that show enemies?

Last edited by Danielej1; 02-21-2023 at 14:23.
Danielej1 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-18-2023 , 15:41   Re: [CSGO] Radar red dots
Reply With Quote #2

There is cvar https://github.com/ambaca/Bacardi-Du...xt#L5287-L5291

Code:
"radarvismethod" = "1" min. 0.000000 max. 1.000000
FCVAR_GAMEDLL FCVAR_CHEAT 
- 0 for traditional method, 1 for more realistic method
...so radar trace have two kind method how it work.
Looking source code, it check exactly those two values 0 and 1 from cvar.
So lets break the system


This plugin set new lower bind to cvar.
PHP Code:


public void OnPluginStart()
{
    
ConVar radarvismethod FindConVar("radarvismethod");
    
    if(
radarvismethod != null)
    {
        
radarvismethod.SetBounds(ConVarBound_Lowertrue, -1.0);
    }

After you have loaded to your server, use
Code:
sm_cvar radarvismethod -1
__________________
Do not Private Message @me
Bacardi is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-19-2023 , 06:50   Re: [CSGO] Radar red dots
Reply With Quote #3

After loading Plugin and cvar, radar continues to show enemies
Danielej1 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-19-2023 , 07:11   Re: [CSGO] Radar red dots
Reply With Quote #4

Type
sm_cvar radarvismethod


And what game mode you are running?
__________________
Do not Private Message @me
Bacardi is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-19-2023 , 07:22   Re: [CSGO] Radar red dots
Reply With Quote #5

I typed and nothing came up checked 3 times
tournament
Danielej1 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-19-2023 , 10:26   Re: [CSGO] Radar red dots
Reply With Quote #6

Quote:
Originally Posted by Danielej1 View Post
I typed and nothing came up checked 3 times
tournament
What about typing ?
sm_cvar


...in console
__________________
Do not Private Message @me
Bacardi is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-19-2023 , 10:43   Re: [CSGO] Radar red dots
Reply With Quote #7

after installing the plugin the cvar does not want to change to -1 but gives automatically to 0
Attached Thumbnails
Click image for larger version

Name:	sc1.png
Views:	45
Size:	3.7 KB
ID:	199668  

Last edited by Danielej1; 02-19-2023 at 10:46.
Danielej1 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-19-2023 , 15:13   Re: [CSGO] Radar red dots
Reply With Quote #8

As "tournament", you mean competitive ?
CS:GO Game Modes

*edit
wait, maybe "cheat" flag is preventing... I check now yes it work

- I tested (windows) and works normally. I don't know how you compiled that soure code to plugin smx.
Code:
sm_cvar radarvismethod -1
[SM] Changed cvar "radarvismethod" to "-1".
L 02/19/2023 - 22:27:54: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "radarvismethod") (value "-1")
sm_cvar radarvismethod
[SM] Value of cvar "radarvismethod": "-1"
radarvismethod -1
Can't use cheat cvar radarvismethod in multiplayer, unless the server has sv_cheats set to 1.
radarvismethod
"radarvismethod" = "-1" ( def. "1" ) min. -1.000000 max. 1.000000 game cheat     - 0 for traditional method, 1 for more realistic method
Code:
sm plugins list
[SM] Listing 21 plugins:
  01 "Admin File Reader" (1.11.0.6928) by AlliedModders LLC
  02 "Admin Help" (1.11.0.6928) by AlliedModders LLC
  03 "Admin Menu" (1.11.0.6928) by AlliedModders LLC
  04 "Anti-Flood" (1.11.0.6928) by AlliedModders LLC
  05 "Basic Ban Commands" (1.11.0.6928) by AlliedModders LLC
  06 "Basic Chat" (1.11.0.6928) by AlliedModders LLC
  07 "Basic Comm Control" (1.11.0.6928) by AlliedModders LLC
  08 "Basic Commands" (1.11.0.6928) by AlliedModders LLC
  09 "Basic Info Triggers" (1.11.0.6928) by AlliedModders LLC
  10 "Basic Votes" (1.11.0.6928) by AlliedModders LLC
  11 "Client Preferences" (1.11.0.6928) by AlliedModders LLC
  12 "[csgo] Effect Thunder Headshot" (1.0) by Bacardi
  13 "[CS:GO] sv_password - bypass players and reserved cookie check" (23.2.2021) by Bacardi
  14 "Entity Inputs & Outputs" (1.1) by Ilusion
  15 "Fun Commands" (1.11.0.6928) by AlliedModders LLC
  16 "Fun Votes" (1.11.0.6928) by AlliedModders LLC
  17 "Nav File Download Blocker" (1.0) by Russianeer
  18 "Player Commands" (1.11.0.6928) by AlliedModders LLC
  19 "radarvismethod_test.smx"
  20 "Reserved Slots" (1.11.0.6928) by AlliedModders LLC
  21 "Sound Commands" (1.11.0.6928) by AlliedModders LLC
(I try web compiler next.)
Attached Files
File Type: sp Get Plugin or Get Source (radarvismethod_test.sp - 67 views - 287 Bytes)
__________________
Do not Private Message @me

Last edited by Bacardi; 02-19-2023 at 15:29.
Bacardi is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-20-2023 , 09:23   Re: [CSGO] Radar red dots
Reply With Quote #9

i solved problem, problem was in one plugin that blocked the command Thanks u
Danielej1 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 02-20-2023 , 12:01   Re: [CSGO] Radar red dots
Reply With Quote #10

however, it still does not work, it happens the same as before, that is, I change the value to -1 but automatically give to 1

server linux

test in clear serwer with sourcemod 1.11

in console plugin dont show bugs
Attached Thumbnails
Click image for larger version

Name:	bag.png
Views:	22
Size:	5.3 KB
ID:	199685   Click image for larger version

Name:	bag1.png
Views:	35
Size:	16.3 KB
ID:	199686  

Last edited by Danielej1; 02-20-2023 at 12:05.
Danielej1 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode