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

amxx cvars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-10-2004 , 17:15   amxx cvars
Reply With Quote #1

Remove my amx_mysql_pass - I really dont want my mysql password dumped to the logs :/
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 03-11-2004 , 04:29  
Reply With Quote #2

just don't show logs or parse them and cut the specifield lines with grep
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-11-2004 , 09:07  
Reply With Quote #3

I wouldn't recommend not having a MySQL password set...
There are other ways to get around your MySQL password being lpaced in logs... besides if you allow outside access to you mysql ur opening your self up to a can of worms without a password...

There...


my 2cents on MySQL Passwords...
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
_KaszpiR_
AMX Mod X Beta Tester
Join Date: Feb 2004
Location: Warsaw, Poland
Old 03-11-2004 , 11:48  
Reply With Quote #4

MagicShot i guess you're got no idea what are you writing
btw stop spamming at least
__________________
= Ave Cesar, morituri Te salutant. = http://nvt.prv.pl = http://hlds.pl/
_KaszpiR_ is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-11-2004 , 12:01  
Reply With Quote #5

Cvar can ahve different flags:
Code:
#define	FCVAR_ARCHIVE		(1<<0)	// set to cause it to be saved to vars.rc
#define	FCVAR_USERINFO		(1<<1)	// changes the client's info string
#define	FCVAR_SERVER		(1<<2)	// notifies players when changed
#define FCVAR_EXTDLL		(1<<3)	// defined by external DLL
#define FCVAR_CLIENTDLL     (1<<4)  // defined by the client dll
#define FCVAR_PROTECTED     (1<<5)  // It's a server cvar, but we don't send the data since it's a password, etc.  Sends 1 if it's not bland/zero, 0 otherwise as value
#define FCVAR_SPONLY        (1<<6)  // This cvar cannot be changed by clients connected to a multiplayer server.
#define FCVAR_PRINTABLEONLY (1<<7)  // This cvar's string cannot contain unprintable characters ( e.g., used for player name etc ).
#define FCVAR_UNLOGGED		(1<<8)  // If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log
FCVAR_PROTECTED and FCVAR_UNLOGGED could be of use.
Johnny got his gun is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 03-11-2004 , 15:53  
Reply With Quote #6

Quote:
Originally Posted by MagicShot
I wouldn't recommend not having a MySQL password set...
There are other ways to get around your MySQL password being lpaced in logs... besides if you allow outside access to you mysql ur opening your self up to a can of worms without a password...

There...


my 2cents on MySQL Passwords...
Did I say I didnt have a password set? No.
I suggested HIDING IT when you did amxx cvars, but I guess I'm going to modify it to set it to Protected
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-12-2004 , 00:18   Oh!
Reply With Quote #7

Quote:
Originally Posted by devicenull
Quote:
Originally Posted by MagicShot
I wouldn't recommend not having a MySQL password set...
There are other ways to get around your MySQL password being lpaced in logs... besides if you allow outside access to you mysql ur opening your self up to a can of worms without a password...

There...


my 2cents on MySQL Passwords...
Did I say I didnt have a password set? No.
I suggested HIDING IT when you did amxx cvars, but I guess I'm going to modify it to set it to Protected
Oh I'm sorry...

I misunderstood what you were saying...

Sorry.
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
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 19:11.


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