aim: wipe prediction if destination is not index isn't exists
bot: remove copyright year, and provide original author nickname lang: fix some spelling
This commit is contained in:
parent
341b16fe18
commit
9ff97c1997
42 changed files with 97 additions and 97 deletions
|
|
@ -866,7 +866,7 @@ All nodes has been saved and written to disk.
|
||||||
Alle Knoten wurden gespeichert und auf die Festplatte geschrieben.
|
Alle Knoten wurden gespeichert und auf die Festplatte geschrieben.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Could not save save nodes to disk. Graph check has failed.
|
Could not save nodes to disk. Graph check has failed.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Die Knoten konnten nicht auf die Festplatte geschrieben werden. Die Überprüfung des Graphen ist fehlgeschlagen.
|
Die Knoten konnten nicht auf die Festplatte geschrieben werden. Die Überprüfung des Graphen ist fehlgeschlagen.
|
||||||
|
|
@ -1148,10 +1148,10 @@ Unable to use graph edit commands without setting graph editor player. Please us
|
||||||
Befehle zur Graph-Bearbeitung können nicht verwendet werden, ohne dass der Spieler für den Graph-Editor konfiguriert ist. Bitte verwenden Sie "graph acquire_editor", um die Berechtigung für die Graph-Bearbeitung zu erhalten.
|
Befehle zur Graph-Bearbeitung können nicht verwendet werden, ohne dass der Spieler für den Graph-Editor konfiguriert ist. Bitte verwenden Sie "graph acquire_editor", um die Berechtigung für die Graph-Bearbeitung zu erhalten.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Sorry, unable to upload graph file that contains errors. Please type "wp check" to verify graph consistency.
|
Sorry, unable to upload graph file that contains errors. Please type "graph check" to verify graph consistency.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Entschuldigung, es kann kein fehlerhafter Graph hochladen werden. Bitte geben Sie "wp check" ein, um die Konsistenz des Graphen zu überprüfen.
|
Entschuldigung, es kann kein fehlerhafter Graph hochladen werden. Bitte geben Sie "graph check" ein, um die Konsistenz des Graphen zu überprüfen.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Incorrect usage of "%s %s %s" command. Correct usage is:
|
Incorrect usage of "%s %s %s" command. Correct usage is:
|
||||||
|
|
@ -1804,7 +1804,7 @@ Binds specified key for opening bots menu.
|
||||||
Bindet die angegebene Taste zum Öffnen des Bots-Menüs.
|
Bindet die angegebene Taste zum Öffnen des Bots-Menüs.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Specifies comma separated list of bot cvars, that will not be overriten by config on changelevel.
|
Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Gibt eine durch Komma getrennte Liste von Bot-Variablen an, die nicht von der Konfiguration bei einem Mapwechsel überschrieben werden.
|
Gibt eine durch Komma getrennte Liste von Bot-Variablen an, die nicht von der Konfiguration bei einem Mapwechsel überschrieben werden.
|
||||||
|
|
|
||||||
|
|
@ -1016,7 +1016,7 @@ All nodes has been saved and written to disk.
|
||||||
*** Пожалуйста, не забудьте поделиться своей работой, введя "%s g upload". Спасибо! ***
|
*** Пожалуйста, не забудьте поделиться своей работой, введя "%s g upload". Спасибо! ***
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Could not save save nodes to disk. Graph check has failed.
|
Could not save nodes to disk. Graph check has failed.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Невозможно сохранить точки на диск. Проверка графов провалена.
|
Невозможно сохранить точки на диск. Проверка графов провалена.
|
||||||
|
|
@ -1340,10 +1340,10 @@ Unable to use graph edit commands without setting graph editor player. Please us
|
||||||
Heвoзмoжнo иcпoльзoвaть кoмaнды peдaктиpoвaния гpaфoв бeз пpaв. Пoжaлyйcтa нaпишитe "graph acquire_editor" чтoбы пoлyчить иx.
|
Heвoзмoжнo иcпoльзoвaть кoмaнды peдaктиpoвaния гpaфoв бeз пpaв. Пoжaлyйcтa нaпишитe "graph acquire_editor" чтoбы пoлyчить иx.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Sorry, unable to upload graph file that contains errors. Please type "wp check" to verify graph consistency.
|
Sorry, unable to upload graph file that contains errors. Please type "graph check" to verify graph consistency.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Heвoзмoжнo зaгpyзить graph фaйл c oшибкaми. Haпишитe "wp check" чтoбы пpoвepить eгo.
|
Heвoзмoжнo зaгpyзить graph фaйл c oшибкaми. Haпишитe "graph check" чтoбы пpoвepить eгo.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Incorrect usage of "%s %s %s" command. Correct usage is:
|
Incorrect usage of "%s %s %s" command. Correct usage is:
|
||||||
|
|
@ -2116,7 +2116,7 @@ Binds specified key for opening bots menu.
|
||||||
Привязывает указанную клавишу для открытия меню ботов.
|
Привязывает указанную клавишу для открытия меню ботов.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Specifies comma separated list of bot cvars, that will not be overriten by config on changelevel.
|
Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Задаёт список кваров бота разделённых запятой, которые не будут перезаписаны конфигом при изменении уровня.
|
Задаёт список кваров бота разделённых запятой, которые не будут перезаписаны конфигом при изменении уровня.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
@ -1554,7 +1554,6 @@ void Bot::syncUpdatePredictedIndex () {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!m_predictLock.tryLock ()) {
|
if (!m_predictLock.tryLock ()) {
|
||||||
wipePredict ();
|
|
||||||
return; // allow only single instance of search per-bot
|
return; // allow only single instance of search per-bot
|
||||||
}
|
}
|
||||||
ScopedUnlock <Mutex> unlock (m_predictLock);
|
ScopedUnlock <Mutex> unlock (m_predictLock);
|
||||||
|
|
@ -1572,6 +1571,7 @@ void Bot::syncUpdatePredictedIndex () {
|
||||||
int bestIndex = kInvalidNodeIndex;
|
int bestIndex = kInvalidNodeIndex;
|
||||||
|
|
||||||
if (destIndex == kInvalidNodeIndex) {
|
if (destIndex == kInvalidNodeIndex) {
|
||||||
|
wipePredict ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int pathLength = 0;
|
int pathLength = 0;
|
||||||
|
|
@ -3167,7 +3167,7 @@ void Bot::takeDamage (edict_t *inflictor, int damage, int armor, int bits) {
|
||||||
|
|
||||||
if (util.isPlayer (inflictor) || (cv_attack_monsters.bool_ () && util.isMonster (inflictor))) {
|
if (util.isPlayer (inflictor) || (cv_attack_monsters.bool_ () && util.isMonster (inflictor))) {
|
||||||
if (!util.isMonster (inflictor) && cv_tkpunish.bool_ () && game.getTeam (inflictor) == m_team && !util.isFakeClient (inflictor)) {
|
if (!util.isMonster (inflictor) && cv_tkpunish.bool_ () && game.getTeam (inflictor) == m_team && !util.isFakeClient (inflictor)) {
|
||||||
// alright, die you teamkiller!!!
|
// alright, die you team killer!!!
|
||||||
m_actualReactionTime = 0.0f;
|
m_actualReactionTime = 0.0f;
|
||||||
m_seeEnemyTime = game.time ();
|
m_seeEnemyTime = game.time ();
|
||||||
m_enemy = inflictor;
|
m_enemy = inflictor;
|
||||||
|
|
@ -3340,7 +3340,7 @@ void Bot::pushChatMessage (int type, bool isTeamSay) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bot::dropWeaponForUser (edict_t *user, bool discardC4) {
|
void Bot::dropWeaponForUser (edict_t *user, bool discardC4) {
|
||||||
// this function, asks bot to discard his current primary weapon (or c4) to the user that requsted it with /drop*
|
// this function, asks bot to discard his current primary weapon (or c4) to the user that requested it with /drop*
|
||||||
// command, very useful, when i'm don't have money to buy anything... )
|
// command, very useful, when i'm don't have money to buy anything... )
|
||||||
|
|
||||||
if (util.isAlive (user) && m_moneyAmount >= 2000 && hasPrimaryWeapon () && user->v.origin.distance (pev->origin) <= 450.0f) {
|
if (util.isAlive (user) && m_moneyAmount >= 2000 && hasPrimaryWeapon () && user->v.origin.distance (pev->origin) <= 450.0f) {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#include <yapb.h>
|
#include <yapb.h>
|
||||||
|
|
||||||
ConVar cv_bind_menu_key ("yb_bind_menu_key", "=", "Binds specified key for opening bots menu.", false);
|
ConVar cv_bind_menu_key ("yb_bind_menu_key", "=", "Binds specified key for opening bots menu.", false);
|
||||||
ConVar cv_ignore_cvars_on_changelevel ("yb_ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies comma separated list of bot cvars, that will not be overriten by config on changelevel.", false);
|
ConVar cv_ignore_cvars_on_changelevel ("yb_ignore_cvars_on_changelevel", "yb_quota,yb_autovacate", "Specifies comma separated list of bot cvars, that will not be overwritten by config on changelevel.", false);
|
||||||
|
|
||||||
BotConfig::BotConfig () {
|
BotConfig::BotConfig () {
|
||||||
m_chat.resize (Chat::Count);
|
m_chat.resize (Chat::Count);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
@ -31,7 +31,7 @@ int BotControl::cmdAddBot () {
|
||||||
m_args.set (team, "1");
|
m_args.set (team, "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// if highskilled bot is requsted set personality to rusher and maxout difficulty
|
// if high-skilled bot is requested set personality to rusher and max-out difficulty
|
||||||
if (strValue (alias).endsWith ("_hs")) {
|
if (strValue (alias).endsWith ("_hs")) {
|
||||||
m_args.set (difficulty, "4");
|
m_args.set (difficulty, "4");
|
||||||
m_args.set (personality, "1");
|
m_args.set (personality, "1");
|
||||||
|
|
@ -513,7 +513,7 @@ int BotControl::cmdNodeSave () {
|
||||||
msg ("All nodes has been saved and written to disk.\n*** Please don't forget to share your work by typing \"%s g upload\". Thank you! ***", product.cmdPri);
|
msg ("All nodes has been saved and written to disk.\n*** Please don't forget to share your work by typing \"%s g upload\". Thank you! ***", product.cmdPri);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
msg ("Could not save save nodes to disk. Graph check has failed.");
|
msg ("Could not save nodes to disk. Graph check has failed.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return BotCommandResult::Handled;
|
return BotCommandResult::Handled;
|
||||||
|
|
@ -780,7 +780,7 @@ int BotControl::cmdNodeUpload () {
|
||||||
|
|
||||||
// do not allow to upload bad graph
|
// do not allow to upload bad graph
|
||||||
if (!graph.checkNodes (false)) {
|
if (!graph.checkNodes (false)) {
|
||||||
msg ("Sorry, unable to upload graph file that contains errors. Please type \"wp check\" to verify graph consistency.");
|
msg ("Sorry, unable to upload graph file that contains errors. Please type \"graph check\" to verify graph consistency.");
|
||||||
return BotCommandResult::Handled;
|
return BotCommandResult::Handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -835,7 +835,7 @@ int BotControl::cmdNodeIterateCamp () {
|
||||||
// turn graph on
|
// turn graph on
|
||||||
graph.setEditFlag (GraphEdit::On);
|
graph.setEditFlag (GraphEdit::On);
|
||||||
|
|
||||||
// get the option descriping operation
|
// get the option describing operation
|
||||||
auto op = strValue (option);
|
auto op = strValue (option);
|
||||||
|
|
||||||
if (op != "begin" && op != "end" && op != "next") {
|
if (op != "begin" && op != "end" && op != "next") {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
@ -789,7 +789,7 @@ CR_LINKAGE_C int GetEngineFunctions_Post (enginefuncs_t *table, int *) {
|
||||||
}
|
}
|
||||||
|
|
||||||
CR_EXPORT int Meta_Query (char *, plugin_info_t **pPlugInfo, mutil_funcs_t *pMetaUtilFuncs) {
|
CR_EXPORT int Meta_Query (char *, plugin_info_t **pPlugInfo, mutil_funcs_t *pMetaUtilFuncs) {
|
||||||
// this function is the first function ever called by metamod in the plugin DLL. Its purpose
|
// this function is the second function called by metamod in the plugin DLL. Its purpose
|
||||||
// is for metamod to retrieve basic information about the plugin, such as its meta-interface
|
// is for metamod to retrieve basic information about the plugin, such as its meta-interface
|
||||||
// version, for ensuring compatibility with the current version of the running metamod.
|
// version, for ensuring compatibility with the current version of the running metamod.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
//
|
//
|
||||||
// YaPB - Counter-Strike Bot based on PODBot by Markus Klinge.
|
// YaPB, based on PODBot by Markus Klinge ("CountFloyd").
|
||||||
// Copyright © 2004-2023 YaPB Project <yapb@jeefo.net>.
|
// Copyright © YaPB Project Developers <yapb@jeefo.net>.
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue