Commit graph

139 commits

Author SHA1 Message Date
ololoken
4a57df3a45
emscripten: add emscripten platform support (#720) 2025-08-08 13:02:22 +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
40dc667e03
fix: crash when enabling hitbox aiming between rounds 2025-03-20 08:15:26 +03:00
jeefo
1684da81cd
build: try to fix win32-gcc build
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-03-16 18:36:45 +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
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
6c7f232d8d
ci: try to fix build 2025-02-28 02:15:03 +03:00
jeefo
855fb903b6
chatlib: do not send chat messages to controlled bots
graph: first try more memory friendly bsp size check
build: restore ssse3 & ssse3 instructions (use nosmid version if needed)
Co-Authored-By: Max <161382234+dyspose@users.noreply.github.com>
2025-02-28 00:39:52 +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
9738e088da
fix: crash in http handler 2025-01-28 17:32:28 +03:00
jeefo
003fd33d59
some changes 2025-01-22 20:14:11 +03:00
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