Raised This Month: $12 Target: $400
 3% 

[CS:GO] Cvar and command list


Post New Thread Reply   
 
Thread Tools Display Modes
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 09-07-2012 , 22:44   Re: [CS:GO] Cvar and command list
Reply With Quote #41

I have a MM:S plug-in that generates the cvar and ccmd lists but I haven't been able to figure out which ones are locked - is it a bit in m_nFlags in convar.h or is there another member value that indicates that it is locked?

Thanx
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 09-07-2012 , 23:38   Re: [CS:GO] Cvar and command list
Reply With Quote #42

In SM i;m using this
PHP Code:
#define FCVAR_LAUNCHER            (1<<1)
(...)
cvar FindFirstConCommand(namesizeof(name), isCommandflagsdescsizeof(desc));
(...)
if (
flags FCVAR_LAUNCHER)
{
            
locked=1;

__________________

Last edited by KawMAN; 09-07-2012 at 23:40.
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 09-08-2012 , 17:05   Re: [CS:GO] Cvar and command list
Reply With Quote #43

Ah, same as
#define FCVAR_DEVELOPMENTONLY (1<<1)

I didn't see that before - thanks!

Now, why are these locked in CS:GO? Are they not implemented (yet)?
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-08-2012 , 17:28   Re: [CS:GO] Cvar and command list
Reply With Quote #44

Quote:
Originally Posted by Old and Slow View Post
Ah, same as
#define FCVAR_DEVELOPMENTONLY (1<<1)

I didn't see that before - thanks!

Now, why are these locked in CS:GO? Are they not implemented (yet)?
By default anything newer than l4d (iirc) has that flag. While older games it has to be specified.
Dr!fter is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 09-08-2012 , 21:52   Re: [CS:GO] Cvar and command list
Reply With Quote #45

Yeah, "LAUNCH" is kind of cryptic.

I had seen the define for CVAR_LAUNCH on earlier SDKs (CSS/OB maybe) and FCVAR_DEVELOPMENTONLY was found in the CS:GO SDK
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
NameON
New Member
Join Date: Sep 2012
Old 09-15-2012 , 11:27   Re: [CS:GO] Cvar and command list
Reply With Quote #46

Hello, i own a swedish org that is called www.spelfronten.se
We are having some trouble making a ladder-system for games like
counter-strike 1,6
css
cs:go
and cspromod.

i'm searching for someone that can make a ladder-system, and that can PHP mySQL HTML CSS och jquery/javascript

regards
Berat
www.spelfronten.se
Email: [email protected]
NameON is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-15-2012 , 15:54   Re: [CS:GO] Cvar and command list
Reply With Quote #47

Quote:
Originally Posted by NameON View Post
Hello, i own a swedish org that is called www.spelfronten.se
We are having some trouble making a ladder-system for games like
counter-strike 1,6
css
cs:go
and cspromod.

i'm searching for someone that can make a ladder-system, and that can PHP mySQL HTML CSS och jquery/javascript

regards
Berat
www.spelfronten.se
Email: [email protected]
I'm pretty sure there's already a ladder plugin for SM.

Create your own thread under SourceMod -> Plugin/Gameplay Requests and Ideas
__________________
Dr. McKay is offline
cssBOT
Senior Member
Join Date: Apr 2009
Old 09-17-2012 , 16:41   Re: [CS:GO] Cvar and command list
Reply With Quote #48

New cvars in v1.19.0.0 (9/14 update), now the next question is do they actually work

"con_logfile","0 ",,,,,,,,,,,,,,,,,,,,"Console output gets written to this file"
"molotov_throw_detonate_time","2 ",,,,"CHEAT",,,,,,,"REPLICATED",,,,,"CLIENTDL L",,,,""
"nextlevel","0 ",,,"GAMEDLL",,,"NOTIFY",,,,,,,,,,,,,,"If set to a valid map name, will trigger a changelevel to the specified map at the end of the round"
"sv_pure_checkvpk","cmd",,,,,,,,,,,,,,,,,,,," CheckPureServerVPKFiles"
cssBOT is offline
ceribik
SourceMod Donor
Join Date: Dec 2007
Old 11-10-2012 , 19:40   Re: [CS:GO] Cvar and command list
Reply With Quote #49

Anyone else having trouble with sv_full_alltalk resetting to 0?
ceribik is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 11-14-2012 , 08:07   Re: [CS:GO] Cvar and command list
Reply With Quote #50

yes, every time after some mapchange.

Last edited by cREANy0; 11-14-2012 at 08:07.
cREANy0 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 10:20.


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