Commit graph

211 commits

Author SHA1 Message Date
jeefo
95f907434b
nav: fix double jumping when bot gets stuck
bot: restore bot difficulty levels (ref #729)
bot: probably fix freezetime accident shooting (ref #729)
build: use noexecstack when building library
refactor: rework some old code and remove unnecessary things
2025-09-01 23:20:36 +03:00
red-magic
70a11d6427
cfg: fix grammar in cvars description (#731) 2025-09-01 23:03:28 +03:00
jeefo
e22b0ffeea
fix: commands execution order 2025-08-23 18:17:32 +03:00
jeefo
64166213f6
bot: move aim direction to upkeep 2025-08-23 16:54:26 +03:00
jeefo
8770569e1f
fix: weapon firing with pistols after last commit 2025-08-23 16:50:32 +03:00
jeefo
71b9f4efc8
fix build errors 2025-08-23 16:27:29 +03:00
jeefo
90dde6690b
bot: done some experiments with think timers 2025-08-23 16:24:13 +03:00
commandcobra7
286e1c8621
bot: perform a seek cover search mission to avoid infected creatures. (#707)
bot: perform a seek cover search mission to avoid infected creatures.
nav: several changes in controlling the terrain.
2025-08-06 15:44:07 +03:00
jeefo
1394d08a28
0bot: allow bots to check breakable team (fix #693) 2025-06-19 00:21:34 +03:00
jeefo
9cb8171030
fix: behavior with bomb, when ignoring objectives (ref #696) 2025-05-22 22:05:48 +03:00
jeefo
6dfb09f110
fix: logos config not initialized (resolves #691)
bot: make sure rescue zone icon blinking to consider bot reached rescue zone when escorting hostages (ref #688)
bot: remove hardcoded radio communication randoms, so they're now depends on bots personality
refactor: some refactoring of code
2025-05-07 13:07:40 +03:00
jeefo
d6d76e136d
fix: problems with breakable on cs_mari (ref #686)
fix: goal selection on some zombie  maps (ref #684)
2025-04-03 15:12:06 +03:00
jeefo
38c45aff9a
fix: crash with hl25 structs on xash3d again
fix: %t placeholder should return damage inflictor when used in team attack section of chat
fix: all arguments in bot commands are lowercased (resolves #680)
bot: disable threads when engine's timescale is active
bot: a little refactor for the code all over the places
linkage: resolved crash due to sse alignment on ancient engines (resolves #614)
utils move wave parse into crlib
practice: move loading practice to thread pool
build: allow to build with static linkents instead of hooking dlsym

Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-03-16 18:25:15 +03:00
jeefo
8c9e47cc13
bot: always run player movement (else it's bad for mods) 2025-03-02 23:20:55 +03:00
jeefo
677aa4fed8
fix: run player move even on dead clients on non-standard game modes (ref #676 )
ctrl: added "w" alias as graph command
2025-03-02 20:53:27 +03:00
jeefo
f9aa608a6a
refactor: split very long statements [skip ci] 2025-02-28 05:44:52 +03:00
jeefo
30013702c7
nav: improve player avoidance once more
nav: try to repath our ways if stuck with other bot
combat: a little improvement in knife usage
control: enable/disable regame's round infinite when editing graph
chatlib: replace say/say_team for older hlds to fix buffer overruns in gamelib
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-22 15:46:56 +03:00
jeefo
d965d7677f
bot: some tweaks for zombie mode (ref #664) 2025-02-17 15:03:38 +03:00
jeefo
b8fb2e8845
cvars: allow to set very long descriptions
cvars: added full descriptions to yb+restricted_weapons (closes #659)
crlib: update submodule
fix: send server messages should split as string and not stringref to keep null-terminated chunks
2025-02-15 13:51:45 +03:00
jeefo
c322e36d9b
fix: descending ladder triggers nav fall recovery
nav: various fixes to player avoiding
build: fix cmake postfix when building as part of cs16-client
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-14 20:28:36 +03:00
jeefo
ecb1f20303
conf: get decal indices during config load
combat: do not init hitbox aiming if disabled
nav: reverted some last changes
nav: fixed check fall on ladders
chat: added %g keyword that is replaced with graph author
2025-02-05 21:28:29 +03:00
jeefo
2a6ca1d914
fix: breakable problems on some maps
nav: do not consider busy nodes as long-radii
nav: more fixes to player avoidance
2025-02-01 16:17:11 +03:00
jeefo
e820527703
bot: disable spray logo task on xash3d engine
fix: crash on aarch64 builds (ref #667)
nav: improved player avoidance
nav: improved handling of short path radii
conf: control min and max cvar values
build: probably fix i386 build when building with cmake (untested)
2025-01-31 19:32:24 +03:00
jeefo
003fd33d59
some changes 2025-01-22 20:14:11 +03:00
jeefo
5eab5dfb3c
nav: fallback to whole map search if buckets fails
bot: improved breakable destroying
aim: improved short-range firing
ctrl: prevent commands execution while disconnected from server
build: fix cmake for apple silicon builds
2025-01-17 22:43:35 +03:00
jeefo
7238fe76f5
fix: more breakable fixes 2025-01-14 14:53:38 +03:00
jeefo
c07d02c14e
fix: breakable headache (ref #660)
fix: bots firing rates on short distances (ref #658)
2025-01-14 14:17:53 +03:00
commandcobra7
e717710bd1
nav: fall controls are not good. (#656)
nav: fall controls are not good.
nav: increased behavior rate in finding the best goal.
nav: avoiding the door after hitting it.
combat: if the enemy is using a sniper rifle, move.
combat: enemy group functionality has been improved.
combat: if we are doing a camping task, do not switch to a knife at close range.
aim: slight changes to enemy prediction.

---------

Co-authored-by: jeefo <dmitry@jeefo.net>
2025-01-09 21:53:16 +03:00
jeefo
3a014e471b
fix: crash with lift handling
fix: some random crashes with some maps
fix: do not look at breakable until totally sure we're can break it
fix: wrong distance calculation in last enemy position randomizer
fix: problems with cs 1.5 won when built with ``nosmid`` switch (still crashes from time to time)
ctrl: add  bots death count to``yb list`` command
graph: disable buckets for small number of nodes graphs
graph: verify graph consistency and select appropriate pathfinding algorithm
misc: added mor vox sentences to welcome a player
2024-12-20 01:04:59 +03:00
jeefo
2d088efabe
bot: some fixes to enemy predictions again 2024-11-15 20:15:05 +03:00
commandcobra7
1d60f19402 nav: minor change in ladder use.
aim: slight improvement in enemy prediction node recruitment.
2024-11-15 19:59:48 +03:00
jeefo
c7c5e0eaf9
fix: startup on hlds_l 3111e (still needs nosmid)
build: add option to build bot without any smid instructions
refactor: fix static analyzer warnings
crlib: update submodule (fix double anglevectors call)
2024-10-27 20:51:37 +03:00
jeefo
3d0bb4d7da
bot: disrupt bot vision in dark areas 2024-10-17 22:21:22 +03:00
jeefo
ed64062098
fix: too long distance for knife reachability (ref #617) 2024-09-16 22:35:07 +03:00
commandcobra7
e8992f96b7 bot: do a real vector cleanup 2024-08-27 13:49:57 +03:00
jeefo
d8ed0e565c
bot: more correct clearance for lost hostages
fix: bot sometime stuck in shoot breakable task (ref #606)
refactor: fix task names in debug mode
2024-08-06 09:02:35 +03:00
jeefo
68993aa434
fix: prevent hearing player entities with some flags (ref #605) 2024-08-01 14:19:56 +03:00
jeefo
0e91a7e61c
bot: creature bots should hunt for enemies more frequently 2024-07-04 21:27:05 +03:00
jeefo
8c0e603e55
bot: allow bots to ignore more than one item on the ground per-round 2024-07-03 11:48:56 +03:00
jeefo
26e374d3f5
fix: bots doesn't forgets unreachable items (ref #589)
crlib: update submodule
2024-07-03 09:52:52 +03:00
commandcobra7
405955d03f aim fix: conditions for failure in enemy prediction 2024-07-02 01:05:11 +03:00
commandcobra7
ece83734a1 nav: return to everything visible in finding the nearest node. (resolve previously solved problem #432)
nav: checks whether the robot is blocked in the direction of movement. (excluded in hostages)
2024-06-06 20:46:25 +03:00
jeefo
4743d52d96
aim: force offset-based enemy part detection in hearing code
fix: engine pvs checking isn't do anything
2024-06-05 23:56:35 +03:00
jeefo
3a026b1d4b
fix: condition order for creatures in task filtering (resolves #583) 2024-06-04 22:58:21 +03:00
jeefo
4aa6aff8b6
bot: improved logic when in freezetime
fix: full reset entvars of  fakeclient upon entity creation
fix: high skilled bots can't shoot with sniper weapons on short distances (ref #582)
fix: fill server will not overflow number of bots anymore
fix: do  not treat dormant  entites as valid clients for bots
mgr: : single bot kick is now working in non-sequential order
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2024-06-01 10:57:57 +03:00
jeefo
06c2243d58
fix: flush radio queue if became creature 2024-05-27 23:19:02 +03:00
Владислав Сухов
279b1e50d3 fix: radio order checking condition after merging master branch 2024-05-26 06:34:57 +00:00
Владислав Сухов
de38555aa1 Merge branch 'master' into chatter-fixes-and-improvements 2024-05-26 06:26:03 +00:00
jeefo
eec4101daa
fix: zombies should not emit any radio or chatter events 2024-05-25 23:42:55 +03:00
Владислав Сухов
92af7495ea Merge branch 'master' into chatter-fixes-and-improvements 2024-05-22 19:48:24 +00:00