Commit graph

624 commits

Author SHA1 Message Date
dmitry
49a1fbbb6b
add: yb_save_bots_names used to save bots names between level changes
remove: pfnChangLevel hook, it's not needed in multiplayer
remove: kick all bots on level change on xash3d, it's done by default now.
2021-09-21 16:52:20 +03:00
jeefo
6f912eb056
Refactoring (#246)
add: yb_chat_percent, yb_camping_time_[min/max], yb_danger_factor[min/max], yb_chat_percent cvars
fix: possible crash with difficulty 0
fix: debug_goal should not be used as last history
fix:  startup on old hlds, because of missing pfnGetFileSize
fix: crash with out-bounds read
change: again tweaked some aiming code
change: player avoidance code so bots will jump less when stuck
change: max followers is just /4 of max players
refactor: redone distance between vectors
refactor: remove magic numbers in graph.add function
2021-09-20 13:50:00 +03:00
dmitry
6e83258c7d
build: add arm64 build to linux release package
add: yb_ignore_objectives, that makes bots to ignore map target (hostage rescue, bomb plant/defuse) (fixes #237)
fix: possible buffer overrun in message functions
build: cleanup package.py
2021-09-17 15:55:57 +03:00
dmitry
e0f3317b1a
change: increase defend node search radius
change: more fixes to aiming table
2021-09-17 14:40:39 +03:00
dmitry
e5ae2ac3f8
tweak: aiming code a little tweaked to reduce headshot ratio
fix: fix crash with metamod since last commits
add: mark last selected goals within round as used, so bots will take cover all the map
2021-09-17 12:30:55 +03:00
dmitry
d45e534f3c
fix: fakeping disappearance completely
not sure when and why pingUpdate was appeared, but it was the cause
2021-09-16 20:11:57 +03:00
dmitry
99a8ca2d1b
build: fix msvc compiling 2021-09-16 16:16:00 +03:00
dmitry
f051fe2b99
refactor: clang-tidy source a little
build: remove -fPIC option
2021-09-16 16:09:51 +03:00
dmitry
570cfe0538
fix: reduce chances fake ping disappears from scoreboard 2021-09-15 13:02:22 +03:00
dmitry
e213e39d17
change: bot path type selection is based on morale (fear/aggression level)
fix: partially fixes #227  (in matter of player pings)
2021-09-15 11:14:05 +03:00
dmitry
05454f067c
update submodules 2021-09-14 16:19:31 +03:00
dmitry
5563168800
fix: msvc build
build: switch to msvc. too much hassle with meson & windows cross-build
2021-09-14 16:17:16 +03:00
dmitry
3487610746
fixing build 2021-09-14 15:30:33 +03:00
dmitry
d17c1808aa
fix: bots continuesly trying to reach goal, after falling down while going on path.
add: bots path type (fast,optimal,safe) is now updated randomly on every round start.
add: more sse functions for mathlib, support for neon (thanks to sse2neon lib)
2021-09-14 15:10:14 +03:00
dmitry
63c20c2606
build: added test-ci for aarch64 2021-09-12 16:29:49 +03:00
dmitry
9a1b5deeef
fix: meson.build 2021-09-12 13:07:11 +03:00
dmitry
28e9f44dee
build: simplify workflow
linux; switch to gcc to support older hlds builds as well
win32: switch to clang as default compiler
2021-09-12 13:04:05 +03:00
dmitry
1ecc0827c9
arch: added support for aarch64 2021-09-11 02:03:49 +03:00
dmitry
bea8120a41
fix: always translate menus as they always has destination player (#225) 2021-09-10 20:12:23 +03:00
dmitry
ada1b353d9
build: deleted old version script [skip ci] 2021-09-10 19:44:05 +03:00
dmitry
f55730ac6d
fix: occupied point check radius calculated incorrectly
fix: occupied point calculation takes too much cpu power
fix: buffer overrun in messaging processing
fix: running bots on hlds 3111e (cs 1.5) on linux*
build: added back correct ldscript for gcc and clang

* for some reason only gcc-compiled binaries working on centos5.8 and hlds 3.1.1.1e. clang binaries crashing immediately, so if you want to run bot on ancient os and/or hlds you need to recompile with gcc, as default linux binaries built with clang.
2021-09-10 19:42:24 +03:00
dmitry
6cd471ead2
msvc: fix project files [skip ci]
signing: use sha384
2021-09-08 21:23:05 +03:00
jeefo
91d248fb18
readme: add download count 2021-09-08 20:19:50 +03:00
dmitry
1e9bc3cb5f
fix: crash when exiting linux listen server (#241)
fix: crash when loading on windows xp (#244)
build: switched to github hosted runners, and get rid of self-hosted
build: windows exe and dll is now code-signed
build: drop support for intel icc compiler
2021-09-08 20:09:23 +03:00
dmitry
c5bdc8dfec
crlib: add as submodule 2021-09-08 20:07:37 +03:00
dmitry
f41b63dc97
crlib: remove local headers 2021-09-08 20:05:14 +03:00
jeefo
f870e7db4a
Bump the year. (#219) 2021-01-01 00:00:33 +03:00
jeefo
02843e292c Fix doubly socket init. 2020-12-18 20:22:47 +03:00
jeefo
d23d0475f4 Removed unreachable code. 2020-12-18 20:14:15 +03:00
jeefo
4c8a4175d8 Fix uninitialized path walker in waypoints checker.
Update to latest crlib.
2020-12-18 20:06:05 +03:00
Владислав Сухов
d632ee9bb3
Update Russian translation (#214)
Co-authored-by: jeefo <dmitry@jeefo.net>
2020-12-16 09:32:40 +03:00
jeefo
075bff2988
Custom.cfg (#213)
Added custom configs.

These are used for replacing some hardcoded strings inside bot code, currently custom cvar for parachute detection is available, as well as custom c4 model names.

Added editorconfig, and fixed CRLF for files (was a mix between LF & CRLF).
Fixed use-after-free sanitizer error with chatlib.
Fixed configs files loaded with memory-loader does not process last line in config files.
2020-12-15 15:28:58 +03:00
Hedgehog Fog
ed46e3238d
Improved monsters targeting👾 (#203)
Improved monsters targeting
Fixed aim offset for monsters
2020-12-09 20:00:43 +03:00
jeefo
588715f28e
Fix #209. (#210) 2020-12-09 16:03:07 +03:00
jeefo
0a8d88a577
Merge pull request #206 from Hedgefog/fix/deadly-move-check
Fixed isDeadlyMove method
2020-12-05 16:58:23 +03:00
Hedgehog Fog
1f6fc16fe4 Fixed isDeadlyMove method 2020-12-05 14:59:42 +02:00
jeefo
280ce6fbb7
Merge pull request #202 from Hedgefog/fix/custom-entities-pickup
Fixed custom entities pickup
2020-12-03 18:33:05 +03:00
Hedgehog Fog
932d327e43 Fixed custom entities pickup 2020-12-03 17:23:17 +02:00
jeefo
7da58623be Do not use strstr() 2020-12-03 17:27:11 +03:00
Hedgehog Fog
da275733bc Fixed yb_attack_monsters cvar description 2020-12-03 15:41:18 +02:00
Hedgehog Fog
c0e6689b44 Updated config 2020-12-03 14:40:59 +02:00
Hedgehog Fog
bcf727968d Added check enemy invincibility 2020-12-03 14:37:21 +02:00
Hedgehog Fog
d5107daad4 Added custom monsters and custom items support 2020-12-03 14:14:22 +02:00
jeefo
ac86926dc8
Merge pull request #200 from yapb/crlib-fixes
Crlib fixes
2020-11-23 13:24:41 +03:00
jeefo
7423ba6666
Fix typo 2020-11-23 13:23:09 +03:00
jeefo
19a015dee1
Build package only on direct-push to master branch 2020-11-23 13:21:57 +03:00
jeefo
97b7a90bb9 Fix unitialized members. 2020-11-23 13:11:28 +03:00
jeefo
b75e1b8a23 Fixed compiler warnings. 2020-11-23 10:48:44 +03:00
jeefo
74f1ab866b Fixed linux listenserver startup problems
Fixed multiple buffer overruns and memory leaks.
2020-11-23 00:06:18 +03:00
jeefo
c5031315bf
Trigger build only on master branch. 2020-11-16 15:13:23 +03:00