Commit graph

976 commits

Author SHA1 Message Date
jeefo
de8c200a30
linkage: prevent crashes on very ancient metamod versions
linkage: use metamod logger for spewing errors, since our logger isn't initialized at this point
2024-02-20 13:02:49 +03:00
jeefo
a4233dfaf8
fix: zero out bots pings prior bot disconnection
fix: do not hook pfnCmdStart if game doesn't support fake pings
2024-02-19 23:43:25 +03:00
jeefo
c298e607ae
fix: do not update fakeclient bit on every frame
cfg: allow bots to have name with at least one character
2024-02-19 23:16:03 +03:00
Владислав Сухов
ccfbb5479d cfg: ru_lang.cfg: translated new line 2024-02-19 15:42:37 +00:00
jeefo
ef23d16004
ci: replace some actions with `gh` cli commands 2024-02-19 14:20:52 +03:00
jeefo
67eb6334f6
fix: problems with picking up grenades on the ground (ref #529)
fix: picking up m249 ammo from the ground
fix: make bots respect camping_time_min/max when guarding bomb/hostages
nav: make normal and rusher bots less defensive on hostage maps (ref #528)
2024-02-19 09:36:15 +03:00
jeefo
fe1bca4fcc
Merge branch 'master' of https://github.com/yapb/yapb 2024-02-17 22:14:36 +03:00
jeefo
5d0d522c17
fix: famas burst-fire change is not detected due to missing handling of message 2024-02-17 22:14:31 +03:00
Владислав Сухов
74b6f0cbfd cfg: ru_lang.cfg: translated new line 2024-02-17 09:49:37 +00:00
jeefo
475d290767
fix: allow to pickup ammo and kits regardless of weapon 2024-02-17 00:09:32 +03:00
jeefo
816e020978
fix: bots re-pickup same weapon multiple times (fiex #523)
fix: ammo pickup isn't working due to mistake between numbers and indexes
2024-02-16 22:01:01 +03:00
jeefo
c662f4a08f
refactor: break some very long conditions 2024-02-16 00:57:41 +03:00
jeefo
375a64b861
nav: reworked bot dropping on pathfinder failure 2024-02-15 23:57:54 +03:00
jeefo
259dd18330
mgr: added `yb exec` command for debugging purposes 2024-02-15 08:37:02 +03:00
jeefo
7b7ae7020b
bot: added basic support for zombie plague warmup mode
Controllable via yb_ignore_enemies_after_spawn_time, and automatically set from zp_delay cvar.
2024-02-15 05:42:52 +03:00
jeefo
c0715714d6
combat: throw explosive near friends when friendly fire is off 2024-02-15 05:04:02 +03:00
jeefo
ad5352b041
combat: minor fixes to the grenade throwing conditions 2024-02-12 16:04:22 +03:00
jeefo
d2ba4b6ab6
combat: remove excessive ducking 2024-02-12 08:01:06 +03:00
jeefo
e7a67347f1
graph: enable graph c collection by default
bot: bump version to 4.5
2024-02-10 22:50:53 +03:00
jeefo
9b9d4b6558
combat: force grenade war if have only grenade in hands
fix: crash bug when in some situations sv_gravity is zero
2024-02-10 21:58:10 +03:00
jeefo
f05091d6cc
Merge pull request #520 from commandcobra7/master
nav: rusher bots does not care any danger (idea from pbmm) nav: some changes in collision motion
2024-02-10 21:21:13 +03:00
jeefo
78a5dd50a1
revert: some changes that are broke behavior
nav: fix: can strafe left is doing wrong things
2024-02-10 21:20:25 +03:00
Владислав Сухов
734eb82fba
bot: enable speech at server startup for xash3d (#522) 2024-02-10 20:08:35 +03:00
Владислав Сухов
e110419c2f control: added 'defaults' argument to yb cvars command help 2024-02-10 16:20:14 +00:00
Владислав Сухов
19b50cadd2 fix: remove an unnecessary apostrophe in the description of yb_graph_auto_collect_db (grammar correction) 2024-02-10 16:00:14 +00:00
Владислав Сухов
dbd90d0cce cfg: ru_lang.cfg: translated new lines 2024-02-10 15:55:52 +00:00
commandcobra7
eea78ac031
nav: rusher bots does not care any danger (idea from pbmm) nav: some changes in collision motion 2024-02-04 15:32:13 +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
e1777b900f
fix: attack movement with knives 2024-02-01 08:08:00 +03:00
jeefo
80e59c2c24
fix: use real teams when joining the games 2024-01-31 13:04:02 +03:00
jeefo
5329be46dc
ci: update github actions versions [skip ci] 2024-01-30 21:30:46 +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
d4a631028c
ci: sleep for some time to remove old release 2024-01-27 20:28:42 +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
bcb5b954cb
ci: enable continuous builds for repository
aim: do not add aim errors if too close to enemy
conf: do not spam with unknown custom variables if config doesn't define one
2024-01-22 08:50:03 +03:00
jeefo
ed75a662c9
mods: add more csdm cvars to check 2024-01-21 16:21:01 +03:00
jeefo
05e10bae6e
feat: allow bots to be added into the game even if no default spawn points (ref #511) 2024-01-21 00:59:15 +03:00
jeefo
a2bb32f80b
fix: prevent bots from executing all forced client commands 2024-01-20 12:09:27 +03:00
jeefo
fb371874f0
fix: do not allow to execute client commands on dormant entity 2024-01-19 21:54:55 +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
1dc1043f7d
fakequeries: fixed hooking problems on certain providers
linkage: added support for fake steam ids for bots controlled via yb_enable_fake_steamids)

note that fake steam ids just used for give ability server owners to run statistics modules with tracking by steam ids ant not nicknames.
2024-01-19 18:29:20 +03:00
jeefo
0f9e890509
fix: graph info messages shown incorrectly while editing 2024-01-19 14:33:09 +03:00
jeefo
317747aced
fix: windows-gcc-x86 build 2024-01-19 00:15:28 +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
01046f7c9a
aim: do not add aim error for normal bots
combat: do not trigger seek cover task with csdm mode
2024-01-08 18:11:58 +03:00
Владислав Сухов
0163d6a9da
cfg: ru_lang.cfg: translated new line 2023-12-31 22:43:24 +06:00