Commit graph

848 commits

Author SHA1 Message Date
jeefo
2b6f6de7be
build: enable ci builds for amd64 for xash fwgs engine
package: osx-x86 doesn't deserve separate package anymore
2023-05-26 05:48:43 +03:00
jeefo
1db30ad48f
fix: thread handle leak on windows 2023-05-26 04:05:25 +03:00
jeefo
e016fa299e
fix: lightlevel calculation crash on 64bit xash 2023-05-25 15:19:08 +03:00
jeefo
b816cd39aa
aim: fix: ensure pathfinder succeeded when predicting
bot: support for x64 xash fwgs builds
2023-05-25 05:20:30 +03:00
jeefo
fcda101224
aim: fix: check last enemy not current enemy in prediction 2023-05-25 00:07:03 +03:00
jeefo
9ff97c1997
aim: wipe prediction if destination is not index isn't exists
bot: remove copyright year, and provide original author nickname
lang: fix some spelling
2023-05-24 23:41:23 +03:00
Владислав Сухов
341b16fe18 cfg: chatter.cfg: fixes and additions to bot chatter 2023-05-23 21:11:08 +00:00
commandcobra7
9ae7c38b80
fix: removed unnecessary codes in ladder handling
fix: collision case the bot can jump if it's not on the ladder, so it won't press the jump button when going up the ladder
2023-05-15 11:44:02 +03:00
jeefo
48fba9a6b7
refactor: move config reader into right class 2023-05-14 14:48:06 +03:00
jeefo
566828b2a1
cfg: update graph download url [skip ci] 2023-05-14 00:33:38 +03:00
jeefo
6f8ee60a57
cfg: update yapb.cfg with latest cvars
bot: bump yapb version to 4.4
2023-05-13 22:53:25 +03:00
jeefo
b1021b87b6
msvc: enable minimal debug info for release builds
build: supply pdb file with msvc build
2023-05-13 22:40:26 +03:00
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