Commit graph

128 commits

Author SHA1 Message Date
jeefo
8068f33555
fix: try to fix build once again 2024-11-16 17:43:17 +03:00
jeefo
55347eca16
fix: try to fix build 2024-11-16 17:31:14 +03:00
jeefo
2d088efabe
bot: some fixes to enemy predictions again 2024-11-15 20:15:05 +03:00
jeefo
d1d379d266
build: fix aarch64 build 2024-10-27 20:56:01 +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
c7d02f3f1d
fix: game freezes when starting without internet connection (ref #600) 2024-07-24 23:49:30 +03:00
jeefo
10714037ed
build: fix build for aarch64 2024-07-04 21:32:25 +03:00
jeefo
2dac878d5e
crlib: update submodule 2024-07-04 21:22:04 +03:00
jeefo
f84eeb0adf
crlib: update submodule 2024-07-04 13:33:13 +03:00
jeefo
ef844868f0
crlib: update submodule 2024-07-04 10:18:29 +03:00
jeefo
26e374d3f5
fix: bots doesn't forgets unreachable items (ref #589)
crlib: update submodule
2024-07-03 09:52:52 +03:00
jeefo
8e4ecc5ca8
crlib: update suibmodule 2024-06-06 23:53:45 +03:00
jeefo
9d48b19e62
crlib: update suibmodule 2024-06-06 20:45:18 +03:00
jeefo
8dece62df6
aim: added optional hitbox-based aiming for bots (ref #579) 2024-06-02 23:03:12 +03:00
jeefo
e10f5f4c94
fix: windows xp support 2024-05-16 16:12:51 +03:00
jeefo
1df9da852c
fix: build on recent gcc14 2024-05-15 10:14:18 +03:00
jeefo
6663cdab7b
bot: some fixes to radio handling (ref #560) 2024-05-07 22:01:57 +03:00
jeefo
1443d8b4d0
fix: failure when natively compiling on aarch64 (fixes #561) 2024-05-02 20:34:06 +03:00
jeefo
3358168fad
aim: look at last enemy origin when just loosed focus
fix: saving bot practice took enormous amount of time when changing level on large practice database
refactor: changed random number generator usage
2024-04-25 15:03:39 +03:00
jeefo
f9bae83466
fix: low-skilled bots aiming overflows on ladders (ref #543)
nav: ignore first collision if we are in ladder node (by @commandcobra7).
bot: backported csbot function to check is enemy behind smoke.
bot: added ``yb_smoke_grenade_checks`` to control which method to use (2-csbot, 1-podbot, 0-disabled).
2024-03-31 23:23:01 +03:00
jeefo
df9bc66023
fix: bot kick menu isn't functional
nav: probably fix for ladder climbing (ref #544 ref #319)
bot: implemented [RSE] Neoptolemus's fix for msec calculation (round vs int cast)
2024-03-27 23:21:00 +03:00
jeefo
4128b27cf4
nav: destroy breakables not only when touching them (ref #541)
build: use symbol versioning only with glibc (ref #540)
2024-03-25 14:25:44 +03:00
jeefo
7bb5a7d6f1
fix: musl build due to missing RTLD_DEEPBIND (ref #540) 2024-03-23 21:18:24 +03:00
jeefo
dfa46578c6
fix: check if arm neon is supported on target (fix #538) 2024-03-21 13:49:16 +03:00
jeefo
7fa4cc5f70
mgr: fix bot quota overflow when adding manually 2024-03-14 14:53:55 +03:00
jeefo
2caa65f6ad
fix: bots not throwing grenades since last commit
combat: various fixes to combat movements
combat: tweaked grenade throwing code
refactor: convert some arrays initializations  to initializer lists
build: switch docker image to clang 18.1
2024-03-09 01:06:11 +03:00
jeefo
9201daf9f9
fix: allow to plant bomb only when icon blinking (ref #323)
fix: random bots shoots and enemy ignorance on es_industrial (ref #323)
2024-02-27 12:31:37 +03:00
jeefo
9e48175e67
crlib: update submodule 2024-02-03 12:01:23 +03:00
jeefo
bc2b19ab70
build: fix gcc warnings 2024-02-01 14:28:15 +03:00
jeefo
46ebbeea57
graph: allow graphs to be auto-collected (controlled via yb_graph_auto_collect_db)
By default it's off, but it's allow bot to scan graph directory, do a diff with a graph db server and upload every single graph file that do not exist in central database. This is done in a separate thread and do not block server process, and only once server/game is started, not on change level. Also, it's not working on currently started map.
2024-01-30 14:37:14 +03:00
jeefo
d82124e595
bot: return of the cheat cvar yb_whose_your_daddy (resolved #513)
combat: resolve strafe movement issues
combat: resolve bots always standing still with pistols and shotguns
vision: take a look at recent victim for some time before changing view angles
control: allow bots to be killed silently (ref #514) via commands
control: bots that are killed with auto kill timer are now killed silently
2024-01-29 08:08:07 +03:00
jeefo
0d16514631
crlib: update submodule 2024-01-27 19:22:41 +03:00
jeefo
c514700a57
fix: aarch64 build
build: re-enable neon instruction set on aarch64 (done in previous commit, but forgotten)
2024-01-26 19:59:48 +03:00
jeefo
d234a3f156
fix: android builds unable to load anything due to #498
fix: simd sse4.2 is now required for _mm_dp_ps, due to strange behavior on some cpus (ref #506)
refactor: cosmetic changes all over the code
linkage: do not flush linkent export table on changelevel
manager: do not allow to create bots while analyzing map
conifg: notify user about probably outdated configs, not just error in config file
2024-01-26 19:52:00 +03:00
jeefo
d5a9253582
fix: refactoring mistake with square distances (ref #506 #495)
fix:  bot glibc dependency when SIMD is disabled
fakeping: allow to disable ping average ping calculation from human players (controllable via yb_count_players_for_fakeping)
2024-01-19 21:35:00 +03:00
jeefo
bf91ef2831
fix: bots at difficulty 0 unable to do anything useful
fix: lang configs unable to parse last translated line (fixes #340)
fix: last enemy isn't  cleared instantly with dead entity anymore
fix: bot weakness in pistol rounds
analyzer: improved optimization of useless nodes
linkage: make inability to call gamedll player( non-fatal
linkage: fixed bot boot  on WON engines pre 2000 builds (support for beta 6.5 restored)
cvars: added suupport to revert all cvars to defaults via 'yb cvars defaults'
cvars: added cv_preferred_personality  to select bot default personality
refactor: use single function to send hud messages over the bot code
bot: added random original podbot welcome message to preserve origins of this bot
conf: shuffle bot names and chatter items on conflig load
conf: simplified a bit chatter.cfg syntax (old syntax  still works
build: added support for building with CMake (thanks @Velaron)
refactor: rall the memory hooks moved into their one cpp file
2024-01-19 00:03:45 +03:00
jeefo
a904f49231
bot: added support for loading from custom folders (ref #498) 2023-12-20 00:06:45 +03:00
jeefo
43d524f464
fix: fix build with gcc on windows 2023-11-29 22:41:13 +03:00
jeefo
f3a4fb5a8b
combat: use scale for selecting new enemy
linkage: display hw renderer as game flags
linkage: display running engine (hl25) as game flags
2023-11-29 22:34:45 +03:00
jeefo
87e3cc963a
bot: added support for 25th anniversary hl-update structures 2023-11-25 23:40:43 +03:00
jeefo
c927812c3b
crlib: update submodule 2023-08-08 11:48:52 +03:00
jeefo
c36755c2db
build: disable flto partition on arm as well
build: properly detect arm32 build target
2023-07-03 17:18:42 +03:00
jeefo
52bfac2b09
build: switch to msvc as default release builder
build: add separate extra dll from msvc with support for windows xp
2023-06-27 14:20:23 +03:00
jeefo
7bc1704d6a
bot: revert simd-string changes 2023-06-26 10:28:01 +03:00
jeefo
c1d045828e
aim: add more fail conditions t to fail enemy prediction
bot: allow to disable think-per-frame optimization on xash3d completely, to reduce view-lags. (controlled via  cv_think_fps_disable
2023-06-24 21:38:34 +03:00
jeefo
3d2579c7ea
graph: move light level calculation to thread worker
fix: nodes with light level 0.0 should trigger bots flashlight now
fix: gcc and msvc builds due to mistake in crlib
refactor: add more const-correctness (ongoing)
2023-06-24 03:23:22 +03:00
jeefo
a49a4000c9
aim: improved ladder handling view direction
aim: improved enemy prediction once again
nav: bots with hostages will try to take all hostages that are near with him instead of going directly to rescue zone
manager: fixed engine errors when removing bots with kickall with instant parameter
graph: strip http:// prefix from graph upload url, it should be always http for now
bot: improve handling of smoke grenades on ground (restored code from old yapb2 branch)
2023-06-23 19:52:46 +03:00
jeefo
214b56f37b
fix: make ammo pickups actually to work
fix: buy: bots never buy enough ammo for secondary weapons
fix: yb_pickup_best disabling all pickups instead of weapons only
add: yb_pickup_ammo_and_kits, that allows to enable ammos medkits and kevlars
refactor: switched to crlib strings where possible
refactor: fix some compiler warnings at high levels
refactor: move constants to separate header (thx @spodlesniy)
2023-06-20 15:18:35 +03:00
jeefo
290a74f5b3
math: use sse3 for dot product by default 2023-06-18 21:49:17 +03:00