sv_password Remover
Hello, I need help with a plugin.
A plugin, which detects if server is locked, it should remove pass instantly. OR more specifically I can explain it as if any value of sv_password "" than this, i.e: sv_password "abx", plugin instantly changes it to sv_password "" or don't allow it. Sorry, I might had explained it poorly but I hope you get the idea, what I'm asking !! Thanks in advance. I'm using AMXX 1.90 [5249]. |
Re: sv_password Remover
Just don't set the value.
|
Re: sv_password Remover
|
Re: sv_password Remover
If you want to prevent someone setting a sv_password a plugin won't help you.
If he has the rights to set that value he also has the right to stop/pause a plugin. The only real working solution will be: don't give rcon or appropriate flags to anyone you do not trust. |
Re: sv_password Remover
Quote:
Quote:
This might help to derived some code? https://forums.alliedmods.net/showthread.php?t=17450 Quote:
|
Re: sv_password Remover
Check this, it sets sv_password cvar to "" every second.
PHP Code:
|
Re: sv_password Remover
You don't need amxmisc header, so remove it.
|
Re: sv_password Remover
Quote:
And same thing can be done with taskschedular in amxx.cfg amx_task 60 "amx_cvar sv_password" "sr" Just a thing confuses me, how can I use it: (Set password value?) amx_task 60 "amx_cvar sv_password """ "sr" (I mean "" in ""). Well your idea is right, but what if other methods can be used? Like: client_disconnected (but its less reliable), any other idea like this? Or password remove on client_connect, every time client connect, other method can be tried that? Ofc, if there will be no any other idea or suggestion, then I would have to go with it and will go with it. PHP Code:
|
Re: sv_password Remover
Quote:
|
Re: sv_password Remover
Or some check method can be used? Like this?
But According to Arkshine this plugin is poorly coded and don't even compile. PHP Code:
|
| All times are GMT -4. The time now is 00:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.