Commit Graph

83 Commits

Author SHA1 Message Date
s1lentq
6f0d17bb74 fixed issues reported by static analyzer 2024-12-11 23:30:27 +07:00
s1lentq
19714af6e6 get rid of unsafe string functions
minor refactor
2024-09-13 06:43:27 +07:00
s1lentq
a94c7bd728 Fix crouch bot 2024-06-09 15:46:50 +07:00
s1lentq
ad1c58cef5 Add bot_mimic 2024-06-03 01:57:21 +07:00
s1lentq
7372573c89 Add UTIL_IsValidPlayer
Ignore dormant players
Minor refactoring
2024-05-29 00:23:28 +07:00
Sergey Shorokhov
c08e6d0180
CNavArea::ComputeApproachAreas(): fix hang on *.nav generating (#913) 2024-05-12 17:17:02 +03:00
s1lentq
cabdc254c7 ActiveGrenade: Fixed a potential leak by checking entities smokegrens life if RemoveGrenade call is somehow missing or blocked 2024-05-09 00:20:22 +07:00
s1lentq
8c14d05168 Add fallback place names if BotChatter.db is missing 2024-04-07 18:49:08 +07:00
s1lentq
92775824e6 IsWalkableTraceLineClear: Fixed deadlock (mutual collisions in traces leading to hang) 2024-02-29 06:52:48 +07:00
s1lentq
aec3ba2579 Fixed m_looseBombArea assertion 2024-01-31 18:33:34 +07:00
s1lentq
991573f165 Fixed bot navigation route when connected area somehow is null 2023-12-31 07:56:45 +07:00
s1lentq
abe648b9d6 Use custom assert instead normal 2023-12-14 03:16:27 +07:00
Francisco Muñoz
696f465977
API: Added new API funcs (6) and new Hookchains (21) (#849)
* Added few newest API Hookchains
* Added hookchain for PM_CheckWaterJump
* Added hookchain for PM_Jump
* Added hookchain for PM_Duck
* Added hookchain for PM_UnDuck
* Added hookchain for ClearMultiDamage
* Added hookchain for AddMultiDamage
* Added hookchain for ApplyMultiDamage
* Added hookchain for CSGameRules::TeamFull
* Added hookchain for CSGameRules::TeamStacked
* Added hookchain for CSGameRules::PlayerGotWeapon
* Added hookchain for CBotManager::OnEvent
* Added hookchain for CBasePlayer::EntSelectSpawnPoint
* Added hookchain for CBasePlayerWeapon::KickBack
* Added hookchain for CBasePlayerWeapon::SendWeaponAnim
* Added new PM_* Hookchains
* Added PM_WaterJump
* Added PM_PlayStepSound
* Added PM_AirAccelerate
* Added CBasePlayer::CheckTimeBasedDamage
* Added CBasePlayerWeapon::ItemPostFrame
* Added BuyItem and CSGameRules::Think
* AddAmmoNameToAmmoRegistry refactory
* Bump minor version in an API bump up to 23
2023-09-05 10:43:40 +07:00
Francisco Muñoz
e08cf1e72a
Disable BotPrecache whether game is CS 1.6 (#839) 2023-07-01 09:48:33 +07:00
Juice
dd243eaa0b
Update player counts (#684)
* Update player counts in CheckWinConditions and SwitchTeam

* Add UTIL_SpectatorsInGame and update MaintainBotQuota
2021-10-14 13:54:09 +03:00
Vaqtincha
3ff0f0cbf9
Bots can switch weapons underwater (#631)
* Bots can switch weapons underwater
2021-06-06 19:13:55 +07:00
s1lentq
c56f00f7ed Fix wrong predicting vc++ 2019 compiler 2020-06-25 19:20:20 +07:00
Vaqtincha
0dd9b97c37
Reset entvars on create bot (#538)
* Reset entvars on create bot
2020-05-27 08:32:15 +07:00
s1lent
3f6d9db420
Fixed some compiler warnings
Fixed a appversion.sh when the path may contain spaces
2020-02-06 19:14:36 +07:00
s1lent
d8208f0884
Added support building using cmake
Added support clang compiler
Fixed some compiler warnings
Update README.md
2020-02-06 04:32:20 +07:00
fant1kua
27b2a8c8c9 Add API to set if player can hear another player (#467)
* Add API to set if player can hear another player
2019-12-14 17:24:40 +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
b1d884224e
Fixes #399 2019-08-13 21:02:22 +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
0ad1232786
UTIL_HumansInGame: Ignore HLTV 2019-06-13 00:07:17 +07:00
s1lent
5d2b1ac703
Closes #358 2019-06-05 20:30:00 +07:00
s1lent
60b6cf9160
Move sv_alltalk 1.0 to CanPlayerHearPlayer 2018-01-29 00:21:36 +07:00
s1lent
519a73179f
Moved reg cvar sv_alltalk, voice_serverdebug into GameDLLInit 2017-11-27 23:51:10 +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
s1lent
10ee63d807
Fix nade drops
Move m_bHasSecondaryAttack to CCSPlayerWeapon
2017-11-03 23:33:17 +07:00
s008nyx
d7170431ce Wrong checking CanPlayerHearPlayer (#194) 2017-11-02 13:25:28 +03:00
s1lent
875189fa24
Closes #157 2017-11-01 23:27:04 +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
32df585edc Remove hookers stuff
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lent
e88dae7bb9 Minor refactoring qstring.h 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
Saint146
507688c745 Added cvar bot_quota_mode (#103) 2017-02-03 16:55:00 +07:00
s1lent
f1f8e2d7b8 Fix crash caused by an bug of nav_file.cpp (Part 2) 2017-02-02 23:56:35 +07:00
s1lent
34e5ceb637 Fix crash caused by an bug of nav_file.cpp 2017-02-01 22:24:32 +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
In-line
06d943417b Optimize conditional toggle to bitwise operation (#94)
* Optimize conditional toggle to bitwise operation
2017-01-06 17:16:54 +07:00
s1lentq
e50cfe32c6 Implemented features of priority for hookchains 2016-12-12 22:36:51 +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
1e8180f5ad Added gradle task buildFixes for faster building. 2016-07-18 06:49:12 +07:00