Raised This Month: $ Target: $400
 0% 

sv_password Remover


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BesTKiLLeR
Junior Member
Join Date: Jun 2019
Location: 127.0.0.1
Old 07-08-2019 , 09:09   Re: sv_password Remover
Reply With Quote #1

Check this, it sets sv_password cvar to "" every second.
PHP Code:
#include <amxmodx>

#define PLUGIN "Anti sv_password Changer"
#define VERSION "1.0"
#define AUTHOR "BesT"
#define TASK_ID 19459

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
set_task(1.0"EverySecond"TASK_ID__"b")
}

public 
EverySecond() {
    
server_cmd("sv_password ^"^"")


Last edited by BesTKiLLeR; 07-08-2019 at 09:24. Reason: thEsp notify :/
BesTKiLLeR is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 07-08-2019 , 09:37   Re: sv_password Remover
Reply With Quote #2

Quote:
Originally Posted by BesTKiLLeR View Post
Check this, it sets sv_password cvar to "" every second.
PHP Code:
#include <amxmodx>

#define PLUGIN "Anti sv_password Changer"
#define VERSION "1.0"
#define AUTHOR "BesT"
#define TASK_ID 19459

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
set_task(1.0"EverySecond"TASK_ID__"b")
}

public 
EverySecond() {
    
server_cmd("sv_password ^"^"")

It will create a alot of logs and will hang web console.

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:
#include <amxmodx>

#define PLUGIN "Anti sv_password Changer"
#define VERSION "1.0"
#define AUTHOR "BesT"
#define TASK_ID 19459

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
set_task(60.0"RemovePass"TASK_ID__"b")
}

public 
RemovePass() {
    
server_cmd("sv_password ^"^"")


Last edited by Alber9091; 07-08-2019 at 10:10.
Alber9091 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 00:50.


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