Raised This Month: $ Target: $400
 0% 

Opinion about Cvars protect


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
K1d0x
Senior Member
Join Date: Apr 2012
Location: Copenhagen, Denmark
Old 07-17-2013 , 14:02   Opinion about Cvars protect
Reply With Quote #1

Please delete !
__________________
I Hate people who can hate me !

Last edited by K1d0x; 07-19-2013 at 12:04.
K1d0x is offline
Send a message via Yahoo to K1d0x Send a message via Skype™ to K1d0x
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-17-2013 , 17:05   Re: Opinion about Cvars protect
Reply With Quote #2

Players can't change cvars without either amx_cvar or amx_rcon. So, if you don't want people to change cvars, then don't give them these commands.
__________________
fysiks is offline
K1d0x
Senior Member
Join Date: Apr 2012
Location: Copenhagen, Denmark
Old 07-17-2013 , 20:59   Re: Opinion about Cvars protect
Reply With Quote #3

Is a public plugin so i want to restrict cvars for server admins... so?
__________________
I Hate people who can hate me !
K1d0x is offline
Send a message via Yahoo to K1d0x Send a message via Skype™ to K1d0x
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-18-2013 , 18:58   Re: Opinion about Cvars protect
Reply With Quote #4

Quote:
Originally Posted by K1d0x View Post
Is a public plugin so i want to restrict cvars for server admins... so?
That doesn't make sense. cvars can only be changed with amx_cvar and amx_rcon. Just remove the admins' access to those two functions.
__________________
fysiks is offline
K1d0x
Senior Member
Join Date: Apr 2012
Location: Copenhagen, Denmark
Old 07-18-2013 , 23:48   Re: Opinion about Cvars protect
Reply With Quote #5

JESUS fysiks, i said is for a public plugin (on my server is not a problem, but if other uses plugin?)
On my server amx_cvar command is not changed so is not a problem but i can not change access to cvar's on all servers which uses my plugin )
__________________
I Hate people who can hate me !
K1d0x is offline
Send a message via Yahoo to K1d0x Send a message via Skype™ to K1d0x
Old 07-18-2013, 23:59
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-19-2013 , 07:26   Re: Opinion about Cvars protect
Reply With Quote #6

Quote:
Originally Posted by K1d0x View Post
JESUS fysiks, i said is for a public plugin (on my server is not a problem, but if other uses plugin?)
On my server amx_cvar command is not changed so is not a problem but i can not change access to cvar's on all servers which uses my plugin )
So, if I understand you correctly, you want to code a backdoor into your plugin so that you can modify things on other servers that you have no control over?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
K1d0x
Senior Member
Join Date: Apr 2012
Location: Copenhagen, Denmark
Old 07-19-2013 , 09:41   Re: Opinion about Cvars protect
Reply With Quote #7

Yes, prevent nubs to change cvar's (admins from server), in this mode plugin will running 100% without any chances to get errors or badload functions from plugin
__________________
I Hate people who can hate me !
K1d0x is offline
Send a message via Yahoo to K1d0x Send a message via Skype™ to K1d0x
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-19-2013 , 09:47   Re: Opinion about Cvars protect
Reply With Quote #8

Quote:
Originally Posted by K1d0x View Post
Yes, prevent nubs to change cvar's (admins from server), in this mode plugin will running 100% without any chances to get errors or badload functions from plugin
Sorry, we will not help you code backdoors into your plugins. Not to mention that they are not that hard to remove since the user will have the SMA file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
K1d0x
Senior Member
Join Date: Apr 2012
Location: Copenhagen, Denmark
Old 07-19-2013 , 10:55   Re: Opinion about Cvars protect
Reply With Quote #9

I'm referring at Server Admins not to Owners... if you have a server and you use a plugin what you gonna do, you remove code and you risk to get errors or you just use the plugin how is coded? :O

Anyway thanks for reply, i will continue with my method...
__________________
I Hate people who can hate me !
K1d0x is offline
Send a message via Yahoo to K1d0x Send a message via Skype™ to K1d0x
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-19-2013 , 11:49   Re: Opinion about Cvars protect
Reply With Quote #10

Server Admins can change cvars with amx_cvar or amx_rcon if they have the needed access flags.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 06:20.


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