Correct team kicking on quota balancing.
Try to fix low-skill bots do not search for bomb. Bumped year and version.
This commit is contained in:
parent
8456bb57cb
commit
c70e3bd756
4 changed files with 52 additions and 15 deletions
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
// general product information
|
||||
#define PRODUCT_NAME "Yet Another POD-Bot"
|
||||
#define PRODUCT_VERSION "2.9"
|
||||
#define PRODUCT_VERSION "2.10"
|
||||
#define PRODUCT_AUTHOR "YaPB Dev Team"
|
||||
#define PRODUCT_URL "https://yapb.ru/"
|
||||
#define PRODUCT_EMAIL "d@entix.io"
|
||||
#define PRODUCT_LOGTAG "YAPB"
|
||||
#define PRODUCT_END_YEAR "2018"
|
||||
#define PRODUCT_END_YEAR "2019"
|
||||
#define PRODUCT_DESCRIPTION PRODUCT_NAME " v" PRODUCT_VERSION " - The Counter-Strike Bot (" PRODUCT_COMMENTS ")"
|
||||
#define PRODUCT_COPYRIGHT "Copyright © 1999-" PRODUCT_END_YEAR ", by " PRODUCT_AUTHOR
|
||||
#define PRODUCT_LEGAL "Half-Life, Counter-Strike, Counter-Strike: Condition Zero, Steam, Valve is a trademark of Valve Corporation"
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
#define PRODUCT_GIT_HASH "unspecified_hash"
|
||||
#define PRODUCT_GIT_COMMIT_AUTHOR "unspecified_author"
|
||||
#define PRODUCT_GIT_COMMIT_ID 0000
|
||||
#define PRODUCT_VERSION_DWORD_INTERNAL 2, 9
|
||||
#define PRODUCT_VERSION_DWORD_INTERNAL 2, 10
|
||||
#define PRODUCT_VERSION_DWORD PRODUCT_VERSION_DWORD_INTERNAL, PRODUCT_GIT_COMMIT_ID
|
||||
#define PRODUCT_SUPPORT_VERSION "Beta 6.6 - Condition Zero"
|
||||
#define PRODUCT_COMMENTS "http://github.com/jeefo/yapb/"
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@ constexpr int MAX_PATH_INDEX = 8;
|
|||
constexpr int MAX_DAMAGE_VALUE = 2040;
|
||||
constexpr int MAX_GOAL_VALUE = 2040;
|
||||
constexpr int MAX_KILL_HISTORY = 16;
|
||||
constexpr int MAX_WAYPOINTS = 3072;
|
||||
constexpr int MAX_WAYPOINTS = 2048;
|
||||
constexpr int MAX_ROUTE_LENGTH = MAX_WAYPOINTS / 2;
|
||||
constexpr int MAX_WEAPONS = 32;
|
||||
constexpr int NUM_WEAPONS = 26;
|
||||
|
|
@ -1328,6 +1328,7 @@ public:
|
|||
int getHumansCount (bool ignoreSpectators = false);
|
||||
int getAliveHumansCount (void);
|
||||
int getBotCount (void);
|
||||
void countTeamPlayers (int &ts, int &cts);
|
||||
|
||||
void framePeriodic (void);
|
||||
void frame (void);
|
||||
|
|
@ -1347,7 +1348,7 @@ public:
|
|||
void serverFill (int selection, int personality = PERSONALITY_NORMAL, int difficulty = -1, int numToAdd = -1);
|
||||
|
||||
void kickEveryone (bool instant = false, bool zeroQuota = true);
|
||||
void kickRandom (bool decQuota = true);
|
||||
void kickRandom (bool decQuota = true, Team fromTeam = TEAM_UNASSIGNED);
|
||||
void kickBot (int index);
|
||||
void kickFromTeam (Team team, bool removeAll = false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue