change: disable query hook by default.
this is done to prevent banning servers with yapb's on some sites like gametracker, where they are banning servers that reports fake information about players / palyer counts.
This commit is contained in:
parent
25e673a547
commit
73ef635f09
2 changed files with 3 additions and 3 deletions
|
|
@ -348,7 +348,7 @@ yb_display_welcome_text "1"
|
||||||
//
|
//
|
||||||
// Enables or disabled fake server queries response, that shows bots as real players in server browser.
|
// Enables or disabled fake server queries response, that shows bots as real players in server browser.
|
||||||
// ---
|
// ---
|
||||||
// Default: "1", Min: "0", Max: "1"
|
// Default: "0", Min: "0", Max: "1"
|
||||||
//
|
//
|
||||||
yb_enable_query_hook "1"
|
yb_enable_query_hook "0"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
#include <yapb.h>
|
#include <yapb.h>
|
||||||
|
|
||||||
ConVar cv_display_welcome_text ("yb_display_welcome_text", "1", "Enables or disables showing welcome message to host entity on game start.");
|
ConVar cv_display_welcome_text ("yb_display_welcome_text", "1", "Enables or disables showing welcome message to host entity on game start.");
|
||||||
ConVar cv_enable_query_hook ("yb_enable_query_hook", "1", "Enables or disables fake server queries response, that shows bots as real players in server browser.");
|
ConVar cv_enable_query_hook ("yb_enable_query_hook", "0", "Enables or disables fake server queries response, that shows bots as real players in server browser.");
|
||||||
|
|
||||||
BotSupport::BotSupport () {
|
BotSupport::BotSupport () {
|
||||||
m_needToSendWelcome = false;
|
m_needToSendWelcome = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue