Raised This Month: $ Target: $400
 0% 

Changing hidden client cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 06-22-2010 , 09:01   Changing hidden client cvar
Reply With Quote #1

So, how would one change a hidden client cvar?

Say for example in L4D fps_max is a hidden client cvar.
I can query the cvar to get value of it, but how can I get the handle of it so I can use it in a SendConVarValue?

ClientCommand of course doesn't work because it is a hidden command. So how can I get around this problem?
Mr. Zero is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 06-22-2010 , 09:03   Re: Changing hidden client cvar
Reply With Quote #2

I'm going to guess it's hidden for a reason. People don't want random servers to set their max FPS.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 06-22-2010 , 09:06   Re: Changing hidden client cvar
Reply With Quote #3

Na its not the cvar I'm trying to change. It was just an example.

The cvar I want to change is "hud_targetid_name_height". This is the BIG BLUE NAMES IN THE AIR that gives teammates status away while being boomed.

I want to set it to like a million while people are boomed and restore it once they can see again.
Mr. Zero is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-22-2010 , 09:37   Re: Changing hidden client cvar
Reply With Quote #4

From the server, you can't change the flags on client convars, meaning that hidden ones are off limits. (and for example, the only way to use ones marked as cheat is to tell the clients that cheats are on)
psychonic is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 06-22-2010 , 11:47   Re: Changing hidden client cvar
Reply With Quote #5

Hm, so I guess I'm out of luck.

Thanks for the info.
Mr. Zero is offline
chinagreenelvis
Senior Member
Join Date: Dec 2009
Old 10-22-2010 , 18:44   Re: Changing hidden client cvar
Reply With Quote #6

F*cking Valve.
chinagreenelvis is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-22-2010 , 18:53   Re: Changing hidden client cvar
Reply With Quote #7

Quote:
Originally Posted by chinagreenelvis View Post
F*cking Valve.
Uhm... We're lucky they allow these modifications at all. Some things are just not meant to be changed.
__________________
thetwistedpanda is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-22-2010 , 18:56   Re: Changing hidden client cvar
Reply With Quote #8

Quote:
Originally Posted by thetwistedpanda View Post
Uhm... We're lucky they allow these modifications at all. Some things are just not meant to be changed.
Everything can be modified by good reverse engineering.
__________________
FaTony is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 10-23-2010 , 07:03   Re: Changing hidden client cvar
Reply With Quote #9

Except clientside stuff that you can reverse all you want, but you cant pump the overrides onto the client
AtomicStryker is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-24-2010 , 02:16   Re: Changing hidden client cvar
Reply With Quote #10

Redistributing hacked dll's? Yes, leads to VAC ban but totally worth it.
__________________
FaTony 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 12:47.


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