Raised This Month: $32 Target: $400
 8% 

Solved Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-15-2022 , 14:28   Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVar
Reply With Quote #1

Hi,

Anybody know why it spamming lot of:

Code:
ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVar
in L4D1 game, and is it better way to fix other than just hiding it?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 05-16-2022 at 10:12.
Dragokas is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 05-15-2022 , 18:33   Re: Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVa
Reply With Quote #2

Quote:
Originally Posted by Dragokas View Post
is it better way to fix other than just hiding it?
Seems to be you can simply create this cvar via plugin and set default value to 1.0 or delete env_tonemap_controller on every map.
Another way is to detour InputSetTonemapRate and return MRES_Supercede.

Warning
Where error come from
ConVar declaration
__________________
cry

Last edited by BHaType; 05-15-2022 at 20:23.
BHaType is offline
Send a message via AIM to BHaType
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-16-2022 , 06:11   Re: Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVa
Reply With Quote #3

Thank you. Clever.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
z282846139
Member
Join Date: Aug 2018
Old 01-12-2023 , 11:00   Re: Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVa
Reply With Quote #4

Quote:
Originally Posted by Dragokas View Post
Thank you. Clever.
It comes in my server, could you help me how to solve it?
z282846139 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-12-2023 , 11:19   Re: Warning: ConVarRef mat_hdr_manual_tonemap_rate doesn't point to an existing ConVa
Reply With Quote #5

PHP Code:
public OnPluginStart()
{
    
CreateConVar("mat_hdr_manual_tonemap_rate""1.0"""FCVAR_NONE);

__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Reply


Thread Tools
Display Modes

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 21:00.


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