Raised This Month: $ Target: $400
 0% 

Plugin tracking CVAR not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-08-2014 , 06:33   Plugin tracking CVAR not working
Reply With Quote #1

Hello there!

I'm stuck with my tracking CVAR not being found by tracker services (gametracker for example)

I create it along with my other CVARs OnPluginStart like this:
PHP Code:
CreateConVar("dm_h3bus_version"VERSION"Deathmatch version."FCVAR_PLUGIN|FCVAR_NOTIFY|FCVAR_DONTRECORD); 
It is indeed created:
Code:
"dm_h3bus_version" = "0.8.4" notify ss_added                                     - Deathmatch version.
I've tried different combination of flag with no success.

Do someone have an idea of what I could be doing wrong?
h3bus is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 05-08-2014 , 08:01   Re: Plugin tracking CVAR not working
Reply With Quote #2

Quote:
Originally Posted by h3bus View Post
Hello there!

I'm stuck with my tracking CVAR not being found by tracker services (gametracker for example)

I create it along with my other CVARs OnPluginStart like this:
PHP Code:
CreateConVar("dm_h3bus_version"VERSION"Deathmatch version."FCVAR_PLUGIN|FCVAR_NOTIFY|FCVAR_DONTRECORD); 
It is indeed created:
Code:
"dm_h3bus_version" = "0.8.4" notify ss_added                                     - Deathmatch version.
I've tried different combination of flag with no success.

Do someone have an idea of what I could be doing wrong?
Its CS:GO which doesnt add cvars unless whitelisted
Dr!fter is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-08-2014 , 08:15   Re: Plugin tracking CVAR not working
Reply With Quote #3

So is it possible to track plugin in CS:GO?
h3bus is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 05-08-2014 , 08:49   Re: Plugin tracking CVAR not working
Reply With Quote #4

You either add the cvar to the whitelist (its a file in the csgo directory I cant recall the name right now) or you can run https://forums.alliedmods.net/showthread.php?p=2108509 which will add all cvars always.
Dr!fter is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-08-2014 , 09:28   Re: Plugin tracking CVAR not working
Reply With Quote #5

This means that if a plugin user don't add my cvar to whitelist, I cannot track my plugin usage on his server right?

Or is there a way to do it plugin side?
h3bus is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 05-08-2014 , 10:01   Re: Plugin tracking CVAR not working
Reply With Quote #6

Quote:
Originally Posted by h3bus View Post
This means that if a plugin user don't add my cvar to whitelist, I cannot track my plugin usage on his server right?
Correct
Dr!fter is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-08-2014 , 17:30   Re: Plugin tracking CVAR not working
Reply With Quote #7

Hence the banner text on the SM stats site.
__________________
asherkin 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:21.


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