Commit graph

273 commits

Author SHA1 Message Date
dmitry
4552ebd79c
graph: auto acquire editor rights via menu 2022-01-31 22:00:07 +03:00
dmitry
7dc34bd7fa
fix: do not update pings for any players that are not yapb or real players (related #284) 2022-01-31 20:24:50 +03:00
dmitry
5019b34426
add: made terrorist more offensive and cts more defensive on es_ maps (#295 related) 2022-01-29 12:26:25 +03:00
dmitry
81a308de21
fix: clear out graph editor upon player disconnect 2022-01-29 12:20:11 +03:00
Владислав Сухов
c0e417cca7
add: option to disable autosaving
fix: autosave nodes 1 more than specified in cvar.
Now, if the value of cvar is 15, then every 15th node will be autosaved.
2022-01-23 21:15:21 +06:00
dmitry
26edd7e35b
fix: do not override other bots ping value (resolves #284) 2022-01-21 23:45:20 +03:00
dmitry
c0d2ae4915
fix: removed duplicate messages with cache points in console command (resolves #286)
fix: massive message overflow when displaying nodes info (resolves #287)
add: yb_graph_draw_distance,cvar so you can specify visible nodes draw distance in editing mode
2022-01-21 23:39:26 +03:00
dmitry
f6cbc49ca9
fix: bomb plant chat section is mistakenly assigned to kill chat section (fixes #281) 2022-01-19 01:11:01 +03:00
dmitry
c4116da021
graph: change outgoing path to white again (fix #277) 2022-01-17 10:01:18 +03:00
dmitry
0f53ab207c
add: option to disable autosaving (set yb_graph_auto_save_count to 0). 2022-01-16 02:00:49 +03:00
dmitry
40ee34336f
fix: typo in latest commit [skip ci] 2022-01-16 01:58:06 +03:00
dmitry
4fe4f30d39
add: implement autosaving graph data (fixes #249) 2022-01-16 01:57:21 +03:00
dmitry
d402f38295
add: add current map and current time to graph editing overlay
fix: send client messages as unreliable to prevent reliable channel overflow (should solve problems when editing large number of waypoints on single location)
2022-01-16 01:14:11 +03:00
dmitry
ae0156ff42
fix: game menus are still executed when yapb menu is showed (fixes #271) 2022-01-15 23:18:58 +03:00
dmitry
e21e9a71c9
update: bump the year 2022-01-04 00:23:19 +03:00
dmitry
80890c25e1
fix: graph urls
update: yapb.cfg with latest cvars
2022-01-04 00:10:36 +03:00
Владислав Сухов
08353e6006
Fixes of typos, punctuations, mistranslation (#274) 2022-01-03 22:29:07 +03:00
godhand897
f55ac6c5c4
fix: hostage code (#269)
fix: hostage code
add: yb_random_knife_attacks cvar
2022-01-03 09:18:36 +03:00
dmitry
17d371014a
add: allow "erase" command on hlds without acquiring editor 2021-11-16 14:12:09 +03:00
dmitry
215e1c15d9
add: yb_object_pickup_radius cvar. fixes #256.
refactor: switch from yapb.ru to yapb.jeefo.net as default url.
2021-11-15 12:10:18 +03:00
dmitry
3205e1253f
refactor: use xash3d physics interface to handle with linkents, so do not hook dlopen/dlsym while running under xash3d
add: force set sv_forcesimulating to 1 while running under xash3d
2021-09-30 16:37:40 +03:00
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
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
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
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
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
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
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
Hedgehog Fog
1f6fc16fe4 Fixed isDeadlyMove method 2020-12-05 14:59:42 +02: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
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
97b7a90bb9 Fix unitialized members. 2020-11-23 13:11:28 +03:00