Commit graph

1,077 commits

Author SHA1 Message Date
jeefo
b38c29af84
fix: windows-gcc build 2023-06-20 15:23:41 +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
jeefo
5e5d037dbe
bot: allow to ignore forced game mod based on map prefix (related #458)
build: recover builds under android, cmake script still pending
2023-06-18 20:06:18 +03:00
jeefo
2a07092457
license: remove project years from license 2023-06-15 22:15:57 +03:00
jeefo
04503963c5
nav: re-added goal history for a round in some reworked way 2023-06-14 19:36:46 +03:00
jeefo
e24db4c27d
ctrl: display default menus on xash3d 2023-06-14 11:40:56 +03:00
jeefo
690d09a5d7
nav: do not avoid anyone in narrow places
nav: increase recent-probe repeat time
bot: allow to camp with secondary weapon if enough friends alive
bot:  think runs now at minimum 50fps, instead of every frame on xash3d
bot: make multilingual system work on xash3d (except menus right now)
engine: mark xash3d engine as modern game version
engine: add xash3d-specific cvars that are not  registered on goldsrc
cfg: do not spam on logs if multilingual or chatter configs not loaded because of game version
2023-06-13 19:55:03 +03:00
jeefo
6b508b1775
Merge branch 'master' of https://github.com/yapb/yapb 2023-06-10 02:20:01 +03:00
jeefo
6daa0a3cd2
bot: enable query hooking on xash3d-fwgs 2023-06-10 02:19:54 +03:00
jeefo
4c43f97d49
build: switch builder to ghcr 2023-06-09 21:09:57 +03:00
jeefo
132e1b1585
bot: fix: blind navigation interruption (thanks @spodlesniy ) 2023-06-09 20:23:54 +03:00
jeefo
cea1ec5d13
math: added complete-smid version of angle vectors for x86 2023-06-09 19:59:07 +03:00
jeefo
c767096fb7
fix: try to fix darwin build 2023-06-09 06:32:57 +03:00
jeefo
0b8cd9a01c
bot: benefit from sse4.x intrinsics if cpu capable
bot: speed some string functions if sse 4.x available
build: allow to build with native optimizations by settings -Dnative=true
2023-06-09 06:27:04 +03:00
jeefo
7f07817c52
fix: query hook not working on linux 2023-06-08 16:59:52 +03:00
jeefo
64aa02955c
fix: bot: some static-analyzer warnings fixed 2023-06-07 23:31:03 +03:00
jeefo
2928ba34fd
fix: nav: remove trace channel stuff completely 2023-06-07 23:27:11 +03:00
jeefo
f7785e2424
fix: nav: fix: nav: correct player feet in calculated jump direction (fix of previous commit) 2023-06-07 23:23:50 +03:00
jeefo
c3f9c02ec5
fix: nav: correct player feet in calculated jump direction
fix: planner: correct radius checking in astar path smoothing
2023-06-07 23:22:30 +03:00
jeefo
d2ded6f0a4
fix: windows build 2023-06-05 21:55:47 +03:00
jeefo
617ddd2498
bot: update submodules 2023-06-05 20:44:33 +03:00
jeefo
5d94dec74c
logger: allow to disable logging into the file 2023-06-04 22:19:08 +03:00
jeefo
fb672e70d4
redo: aim: remove redundant code 2023-06-04 22:14:30 +03:00
jeefo
50e6939cd0
Revert "fix: enemy selection when several shielded enemies are visible. (#451)"
This reverts commit dd1adab3b6.
2023-06-04 22:11:26 +03:00
jeefo
8523d6b5ab
Revert "aim: remove redundant code"
This reverts commit 5d5c3a5b23.
2023-06-04 22:11:18 +03:00
jeefo
5d5c3a5b23
aim: remove redundant code 2023-05-31 10:34:27 +03:00
spodlesniy
dd1adab3b6
fix: enemy selection when several shielded enemies are visible. (#451)
opt: minor optimizations in conditions (changed sequence of OR checks).
2023-05-30 08:47:28 +03:00
jeefo
d832654f26
fix: linux-amd64 build 2023-05-26 05:53:04 +03:00
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