jeefo
aa752c5bdc
fix: macos doesn't need workarounds
2023-05-13 18:22:55 +03:00
jeefo
5f52489033
fix: linux x86 binaries not loading on distros with glibc < 2.34
2023-05-13 18:09:47 +03:00
jeefo
b722b2d327
nav: make bot use computed jumps on analyzed maps
2023-05-13 00:08:53 +03:00
jeefo
5a6dc52956
aim: do not change look at at dest origin when failing predict
2023-05-12 23:21:18 +03:00
jeefo
57f5c1f323
nav: pause a little if doing jump sequence
2023-05-12 22:41:53 +03:00
jeefo
7f4d4748fa
fix: center-screen messages not appearing ( fix : #446 )
...
fix: crash when creating too much threads
refactor: fix typos in comments in headers
2023-05-12 22:12:22 +03:00
Владислав Сухов
b946cbdcbf
add: creating a jump path via menu and console command
2023-05-12 21:19:07 +03:00
jeefo
bea600bd4e
fix: build with msvc
...
refactor: remove remaining commented functions
2023-05-12 20:06:43 +03:00
jeefo
7b58d51973
bot: refactor and clean up old code
...
fix: crash when saving old format pwf on hlds
bot: moved sdk headers to separate submodule
nav: improved unstuck and avoidance (thanks @commandcobra7) code
bot: use correct path slashes depending on platform for all data
cfg: removed simplified chines' translation, as it's too outdated
2023-05-12 20:00:06 +03:00
jeefo
48e157c7b4
nav: allow null-velocity jump links
...
nav: fix: bots failure to switch weapon back after jump
refactor: re-organize some sources
2023-05-10 09:08:34 +03:00
Владислав Сухов
2c9897c8f0
fix: typos
2023-05-09 19:31:14 +00:00
Владислав Сухов
da524295db
fix: spelling
2023-05-09 19:30:08 +00:00
Владислав Сухов
12c72ebd06
cfg: ru_lang.cfg: translated new strings
2023-05-09 19:27:39 +00:00
jeefo
61a4f17263
bot: cosmetic fixes
2023-05-08 23:54:38 +03:00
jeefo
2ff06051de
game: clamp correctly money amount
2023-05-08 23:11:17 +03:00
jeefo
0842dd7b4e
game: clamp money in case overflowed
2023-05-08 23:07:07 +03:00
jeefo
ffffca3fd9
aim: tweaks to fail predict code
2023-05-08 21:48:59 +03:00
jeefo
e38bca9c14
fix: comparison typo in body checks
2023-05-08 00:57:46 +03:00
jeefo
3009b4f50a
bot: add basic support to play as zombie bot
...
aim: check that we're actually hit the target in body checks
2023-05-08 00:44:14 +03:00
jeefo
70ff2d0ec2
fix: possible crash with vistable rebuild (ref #443 )
2023-05-07 21:28:24 +03:00
jeefo
0072bbb413
aim: fail prediction more correctly
2023-05-07 13:21:49 +03:00
jeefo
9f41cfb33f
fix: syntax error
2023-05-07 01:05:35 +03:00
jeefo
2b2b82ee13
fix: bot is marked as stale when not needed
...
bot: port enemy noticeable function from regamedll
2023-05-07 01:04:09 +03:00
jeefo
cf9817ab10
bot: remove detection of official csbot
...
not sure for what it was used before
2023-05-06 20:32:49 +03:00
jeefo
a616f25b1a
bot: implemented asynchronous pathfinding
...
nav: floyd-warshall matrices and practice updates are done asynchronously by now
add: yb_threadpool_workers cvar, that controls number of worker threads bot will use
add: cv_autovacate_keep_slots, the amount of slots to keep by auto vacate
aim: enemy prediction is now done asynchronously by now
bot: minor fixes and refactoring, including analyze suspend mistake (ref #441 )
note: the master builds are now NOT production ready, please test before installing on real servers!
2023-05-06 20:14:03 +03:00
jeefo
e7712a551a
backport: nodes flooder (analyzer) from cs-ebot
...
analyze: allow to disable goal marking
analyze: add cvars descriptions and bounds
nav: added optional post path smoothing for astar algorithm
nav: now bots will use Dijkstra algo instead of floyd-warshall if memory usage too high (controlled via yb_path_floyd_memory_limit cvar) (fixes #434 )
nav: vistable are now calculated every frame to prevent game-freeze during loading the game (fixes #434 )
graph: pracrice reworked to hash table so memory footprint is as low as possible (at cost 5-10% performance loss on practice) (fixes #434 )
control: bots commands now is case-insensitive
bot: major refactoring of bot's code
nav: issue warnings about path fail only with debug
practice: check for visibility when updating danger index
analyzer: suspend any analyzing on change level
control: add kickall_ct/kickall_t
nav: increase blocked distance in stuck check
2023-05-02 09:42:43 +03:00
jeefo
bb2e93a539
fix: potential division by zero
2023-04-25 09:12:06 +03:00
jeefo
4fb46bd6ec
build: use -fPIC only for x64 binaries
2023-04-25 00:06:24 +03:00
Владислав Сухов
0dc6c0f5db
cfg: ru_lang.cfg: fix typos
2023-04-23 19:07:23 +06:00
Владислав Сухов
bfe459e758
Merge pull request #438 from yapb/vladislav4kz-patch
...
Some fixes and additions
2023-04-20 21:20:11 +06:00
Владислав Сухов
5adb9deb15
cfg: ru_lang.cfg: translated new strings
2023-04-20 11:46:23 +00:00
Владислав Сухов
7ebe866653
cfg: update english template for language configs
2023-04-20 11:25:44 +00:00
Владислав Сухов
02ff34a6ef
control: added some missing notifications displayed on hud when using features from graph editor menu
2023-04-20 11:20:03 +00:00
Владислав Сухов
3db5362d27
fix: graph checking feature doesn't output a message on hud when called from menu
2023-04-20 11:15:52 +00:00
Владислав Сухов
6610118582
control: enable graph editor when opening the debug goal menu
2023-04-20 11:04:47 +00:00
Владислав Сухов
f67c0ab75a
control: don't enable spawn points highlighting by toggling noclip or auto add node mode when graph editor is enabled
2023-04-20 10:56:37 +00:00
Владислав Сухов
422772d3b4
cfg: difficulty.cfg: update difficulty definition example
...
fix: some mistakes in descriptions of difficulty variables
2023-04-19 13:14:20 +06:00
Владислав Сухов
dc7ccb2408
Merge pull request #437 from yapb/russian_language_update
...
cfg: ru_lang.cfg: translated new strings
2023-04-19 12:55:13 +06:00
Владислав Сухов
143a86b191
fix: english grammar
2023-04-19 06:51:49 +00:00
Владислав Сухов
851cb2ab93
fix: some typos in cvar descriptions, etc.
2023-04-19 06:39:18 +00:00
Владислав Сухов
e4f7a01348
cfg: ru_lang.cfg: translated new strings
2023-04-19 06:28:56 +00:00
jeefo
048f47e863
fix: clear grenade pointers before checking active grenades (ref #436 )
2023-04-17 12:59:26 +03:00
jeefo
6ef03fc9fd
nav: reset goal when clearing current path
...
nav: stop navigation if last node is occupied
aim: speedup aiming only when enemy reachable
2023-04-16 19:37:26 +03:00
jeefo
3f3e20ece0
aim: fix: prediction for body target
2023-04-16 03:45:34 +03:00
jeefo
3729be6aab
cfg: removes some bad names
2023-04-16 01:26:09 +03:00
jeefo
595430e8d1
fix: msvc build
2023-04-15 04:16:26 +03:00
jeefo
2765eed7ac
crlib: switch to new hashmap
2023-04-15 04:10:09 +03:00
jeefo
c856b55302
bot: minor tweak to button selection while with knife
2023-04-13 23:02:00 +03:00
jeefo
4a00459c26
bot: minor tweaks to knife mode behaviour
2023-04-13 22:48:48 +03:00
jeefo
5bc4e1c675
fix: do not apply knife mode if we're just have knife in hands
...
nav: increase search radius in checking node reachability
2023-04-13 21:12:49 +03:00