Commit Graph

70 Commits

Author SHA1 Message Date
s1lentq
cbfe8a1a0c Fix a crash when func_breakable signals it for CCSBot::OnEvent 2020-07-03 08:07:20 +07:00
Vaqtincha
36b46bf996
Bot fix (#544)
* fix bot kick
* fix flood "All bot profiles at this difficulty level are in use." in console
2020-06-11 02:23:38 +07:00
s1lent
80069a1f1e ZBot: Implemented cvar bot_freeze 2020-01-15 20:05:13 +07:00
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
s1lent
c2f62eb98a
Fix newlines 2019-09-22 21:29:29 +07:00
s1lent
7ac1e0db2f Enhanced behavior armoury_entity with czbot, don't pick up if forbidden by cvars 2019-09-11 00:04:18 +07:00
s1lent
b1d884224e
Fixes #399 2019-08-13 21:02:22 +07:00
s1lent
f8b082fece
CCSBotManager::MaintainBotQuota: Added autobalance 2019-06-22 03:13:53 +07:00
s1lent
555b08faa6
Added new cvar bot_join_delay 2019-06-22 03:10:59 +07:00
s1lent
3442cb3bf3
Enhanced bot_quota_mode 2019-06-22 02:57:09 +07:00
s1lent
0aa974cd63
Reworked bot_quota_mode and removed bot_quota_match cvar's (Migrated to bot_quota_mode) 2019-06-22 02:54:01 +07:00
s1lent
9ed19456f0 Print reason kick also added reason message for kick 2019-06-21 02:37:44 +07:00
s1lent
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
s1lent
309d5c5c6d
bot chatter mention of places: fix wrong entry in history 2019-06-05 22:23:39 +07:00
s1lent
9b4def6e3f
bot chatter: use filesystem to check exists filename instead of _access, cuz filesystem uses search paths such as cstrike_downloads, cstrike_german, cstrike_russian etc 2019-06-05 21:06:02 +07:00
s1lent
247e93b4ff
Fix work cvar bot_chatter "radio", zbots doesn't send radio command into chat.
Wrong ascii conversion.
2019-06-05 20:08:50 +07:00
Vaqtincha
932001b591 Bot vision update.
* Bots can't see invisible enemies
* Bots ignore enemies with flag FL_NOTARGET
2018-10-31 04:07:26 +07:00
s1lent
565e9cd2b2
Prevent spam in console if bot_quota is more than spawn points,
so decreases bot_quota every time if create bot fails
2017-12-17 19:34:05 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +07:00
In-line
5afb52ffce Use Q_abs float overload whenever possible (fix #107) (#201) 2017-11-07 17:27:54 +03:00
In-line
f53452fee0 Minor refactoring and opt. in IsIntersectingBox (#202)
* Minor refactoring and opt. in IsIntersectingBox
2017-11-07 16:53:45 +03:00
s1lent
10ee63d807
Fix nade drops
Move m_bHasSecondaryAttack to CCSPlayerWeapon
2017-11-03 23:33:17 +07:00
s1lent
0eed08c133 Cleanup code
Fixed a bug after killing czbot by headshot, angles turn at 180 degrees.
Fixed some bugs with mp_nadedrops
2017-11-01 18:30:47 +03:00
s1lent
9dcab4bd49 Refactoring minor
Refactoring unicode_strtools
2017-11-01 18:30:47 +03:00
s1lent
32df585edc Remove hookers stuff
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lent
b25e3505d3 Major refactoring & cleanup 2017-11-01 18:30:47 +03:00
s1lent
b4bc385912
CZBot: Fix crash when there is no phrase from BotChatter.db or no exists itself the database.
Minor refactoring
2017-07-02 18:55:28 +07:00
s1lent
adaddda871
Code cleanup
Hookers Refactoring
Removed __MAKE_VHOOK
Fix compilation under linux with ICC 17 (GCC 6.2)
2017-07-02 18:54:33 +07:00
s1lentq
3a1e08abd4 Fix memory corruption bugs due the array index out of bounds. (#147) 2017-05-04 17:49:28 +03:00
s1lent
3f4bcd9b96 GitHub: add execute permission to a gradlew.
Fix typo in CCSBotManager::SetRadioMessageTimestamp
2017-05-04 21:45:59 +07:00
s1lent
cd96c9133d Fix bot: do reset of the target when are the target (player or bot) left the game. 2017-02-06 02:50:30 +07:00
Saint146
507688c745 Added cvar bot_quota_mode (#103) 2017-02-03 16:55:00 +07:00
s1lent
90d08ee3a0 Refactoring & fix warnings VS2015.
Ignore VS2015 files.
Add ResetSequenceInfo in SetNewPlayerModel.
Interface API CCSPlayer: Added ResetSequenceInfo and reworked RemovePlayerItem
Bump minor version
2017-01-30 23:07:56 +07:00
s1lentq
a5dac3c267 Backport #76
Refactoring
Some small fixes and improves
Reworked mp_forcerespawn and hookchain InternalCommand
Fixed fail compilation in VisualStudio
Bump minor version in gradle.properties
Update README.md
2017-01-21 22:49:56 +07:00
s1lentq
c77486dadd Get rid of spec-crosshair from gameplay. (Useless)
Reworked hookchain's: SetClientUserInfoName, GiveNamedItem
Added hookchain's: DropShield, MakeVIP, MakeBomber, GetIntoGame, Disappear, Radio, StartObserver, OnSpawnEquip
Refactoring
2016-12-07 02:28:33 +07:00
s1lentq
42edf0ebec Fix crash when self-build navigation areas
Added cvar's mp_fragsleft, mp_fraglimit, showtriggers (also handling mp_timeleft)
Removed client cmd's (like cd, kill) - they are in the black list of cl_filterstuffcmd.
Refactoring
2016-10-05 22:27:50 +07:00
s1lentq
baac9cbad4 Bugfix: leak entities from weaponbox when touched grenades. (bug by valve)
CZBot: the check cvar bot_deathmath on every time.
2016-07-21 07:25:49 +07:00
s1lentq
8914b84129 Fix the bots behavior when death bot_kill and mp_freeforall 1 2016-07-18 03:48:24 +07:00
s1lentq
f27b125d15 Refactoring.
Removed useless entities: (item_security, item_suit)
Bugfix: was resetting m_iCount from armoury_entity
Bugfix: incorrect check with pev->takedamage in CBaseEntity::TraceAttack, CBaseMonster::TraceAttack
Bugfix: zBot not continues to play after defused bomb and when mp_round_infinite is not 0
2016-07-14 21:12:17 +07:00
s1lentq
f071682392 Fix #43
Added hook api CanBuyItemThis
Use BOOL for TakeDamage/TakeHealth because should return TRUE/FALSE
2016-06-19 18:00:44 +07:00
s1lentq
21b0689030 Moved SelectDefaultTeam the function to CHalfLifeMultiplay. 2016-06-15 20:10:40 +07:00
s1lentq
7caa82b054 Removed the dependency of the mode FFA from the cvar mp_friendlyfire 2
Added cvar mp_freeforall for FFA
Reworked cvar bot_deathmatch
2016-06-14 22:10:39 +07:00
s1lentq
d6b59dc0c3 Added cvar bot_deathmatch #39
Added checks for null pointers into GetPlayerGaitsequence
Fixed mp_nadedrops: If pressed a the button attack before player death, then not drop nades to ground.
Compiler: remove rrti, added -ipo
Refactoring
2016-06-14 20:14:31 +07:00
s1lentq
e6df6ef577 Added cvar mp_refill_bpammo_weapons
Added new things for API
Update README.md
2016-06-08 16:20:18 +07:00
s1lentq
06b0c16145 Refactoring API 2016-06-01 05:08:23 +06:00
s1lentq
0d209c1cd4 Mini-refactoring.
Added at weaponInfo name for weapon_shield
2016-05-11 20:06:43 +06:00
s1lentq
d8b12ee80b Regamedll API WIP: added some more API functions.
Added new cvar, mp_hegrenade_penetration, mp_nadedrops more details in game.cfg.
Let inflict damage by grenades to breakable objects.
2016-04-19 21:26:46 +06:00
s1lentq
455f0c6118 Regamedll API WIP: Added new api functions
Fix crash-bug with autobuy (CBasePlayer::AddAutoBuyData)
Removed some useless code for CS
Added cssdk
2016-04-05 22:11:41 +06:00
s1lentq
9b955f2672 Regamedll API WIP: Added new interfaces-objects
Removed some useless code in CBasePlayerWeapon::GetNextAttackDelay
Removed the allocation of the entity CSoundEnt, because it is useless for CS 1.6 also removed UpdatePlayerSound
2016-03-17 23:58:24 +06:00
s1lentq
49de531e8c Use the tests demo record/player from ReHLDS.
Update version dependencies testimg HLDS for upload.
Update test map regamedll_test_map_v5
2016-02-24 01:54:07 +06:00