AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Opinion about Cvars protect (https://forums.alliedmods.net/showthread.php?t=221062)

K1d0x 07-17-2013 14:02

Opinion about Cvars protect
 
Please delete !

fysiks 07-17-2013 17:05

Re: Opinion about Cvars protect
 
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.

K1d0x 07-17-2013 20:59

Re: Opinion about Cvars protect
 
Is a public plugin so i want to restrict cvars for server admins... so?

fysiks 07-18-2013 18:58

Re: Opinion about Cvars protect
 
Quote:

Originally Posted by K1d0x (Post 1993259)
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.

K1d0x 07-18-2013 23:48

Re: Opinion about Cvars protect
 
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 :))

YamiKaitou 07-19-2013 07:26

Re: Opinion about Cvars protect
 
Quote:

Originally Posted by K1d0x (Post 1994146)
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?

K1d0x 07-19-2013 09:41

Re: Opinion about Cvars protect
 
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

YamiKaitou 07-19-2013 09:47

Re: Opinion about Cvars protect
 
Quote:

Originally Posted by K1d0x (Post 1994377)
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

K1d0x 07-19-2013 10:55

Re: Opinion about Cvars protect
 
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...

YamiKaitou 07-19-2013 11:49

Re: Opinion about Cvars protect
 
Server Admins can change cvars with amx_cvar or amx_rcon if they have the needed access flags.


All times are GMT -4. The time now is 06:20.

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