Commit graph

86 commits

Author SHA1 Message Date
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
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
ds
e8b55acd23 Do not keep log file opened while game process active.
Rename actions workflow.
Fixed mingw-w64 stdcall handling.
2020-11-16 13:11:26 +03:00
ds
655693582a Switch build to msvc for windows.
Switch build to clang for linux.

Mingw binaries isn't working with vanilla hlds / listenserver. And i'm too lazy to debug them.

For consistency reason, linux switched clang, so we're only have clang for linux & osx and msvc for windows.
2020-11-13 19:16:56 +03:00
ds
1b7d7e18db Changed graph download/upload URLs to reflect changes done with migrating graph repository to github. 2020-11-12 16:19:07 +03:00
ds
ceb05bfa68 bot: remove violence on bot kill (fixes #198). 2020-11-10 13:23:55 +03:00
ds
17b9200195 fix: quota maintain time is resetted on changelevel.
fix: crash without metamod after few map changes.
fix: move sprites precache into the correct place.
fix: move initialization stuff to post-ServerActivate.
2020-11-08 01:20:12 +03:00
ds
8219843ee1 build: re-enable -flto for gcc and clang. 2020-11-06 16:23:11 +03:00
ds
a0202efc40 api: allow getting current bot goal.
api: do not use buckets for nearest node search.
2020-11-06 10:27:19 +03:00
ds
ca94e31472 api: add some new functions 2020-11-06 09:10:19 +03:00
ds
6921474f0c fix build 2020-11-05 16:43:30 +03:00
ds
ce1b0c30ab fix: correct mapping id -> bot. 2020-11-05 16:01:38 +03:00
ds
f23d031d2c add: basic amxx module api (actual module pending). 2020-11-05 15:17:06 +03:00
ds
fc080e1a4e Merge branch 'master' of https://github.com/jeefo/yapb 2020-11-05 11:51:06 +03:00
ds
aa32b0a639 vision: use old look angles update only for low-skilled bots. 2020-11-05 11:50:37 +03:00
jeefo
fc39648fff
Merge pull request #193 from Vladislav4KZ/master
fix: update russian translation
2020-11-03 08:57:47 +03:00
ds
71355066a4 license: changed to more permessive MIT license.
add: set models for spawn points, only when requesting, instead of setting on every map start.
fix: more translation fixes.
2020-11-03 08:57:12 +03:00
Владислав Сухов
423f310a34
Fix arguments for yb add
And help text for yb g path_create_* commands
Fixed typos for graphmenu and acquire_ediror
2020-11-02 20:12:52 +06:00
Владислав Сухов
f8e8a7c06c
Fixed cvar name string ...
to prevent unnecessary yb cvars command translation
2020-10-23 19:46:16 +06:00
ds
27d12d0bbb fix: bots shoot at dead timer is ignored (bots should shoot some spare bullets toward just dead player).
fix: once again fixed chatter cycling.
add: prevent saving old format waypoint when more than 1024 nodes added.
ci: updated to gcc & mingw 10.2.
2020-10-22 14:40:24 +03:00
ds
2bef810ce6 add: split long string into smaller pieces. 2020-10-14 20:08:06 +03:00
ds
fba3837523 add: rapid output console commands are now put on queue and sent with intervals. fixes #176, and overflows causes by yb cvars and yb g clean all commands. 2020-10-13 15:43:25 +03:00
ds
1cad8919b4 fix: adding/removing bots during round restart causes "SZ_GetSpace: tried to write to an uninitialized sizebuf_t: ???" 2020-10-13 12:38:24 +03:00
ds
dc8ded3cf7 bot: add fakeclient bit _every_ frame. 2020-10-13 10:31:31 +03:00
ds
b8d35840b3 add: do not translate messages send to hlds console.
add: split messages sent to client & hlds console, so all message gets sent.
2020-10-12 20:59:48 +03:00
ds
3b0f06bb09 fix: yb_shoots_thru_walls bounds was incorrect.
fix: save, load, upload, download graph files always in lowercase.
refactor: menu display / hide refactored to reduce network traffic. (use string chunks instead of sending menu with writeChar (), and do not reset menu display, if no menu is displayed to client).
2020-10-11 14:01:19 +03:00
ds
26a2ea9f0b fix cvar descriptions. [skip ci] 2020-10-08 15:25:19 +03:00
ds
0432cdfef7 add: allow multilanguage on hlds (fixes #173)
fix: fixed typos with 'release_editor'. (fixes #172)
2020-10-08 09:40:55 +03:00
ds
9c85913a0f fix: version displaying. 2020-10-07 10:25:31 +03:00
ds
f15a115b0a bot: all podbot waypoints should be now located in data/pwf directory.
build: remove '-funroll-all-loop'.
2020-10-05 18:59:40 +03:00
ds
19b0dd030c git: ignore /build directory [skip ci] 2020-10-04 11:12:39 +03:00
ds
30a112fd71 cfg: updated yapb.cfg to reflect changes.
cfg: made yb_quota 9 by default.
linux: fixed bots connection times remains static on linux or osx.
crlib: fix security issues.
2020-10-04 00:54:34 +03:00
ds
f40ca59700 fix: players play time got replaced with bots play time.
fix: crlib: fixed clang-analyzer warnings.
build: removed predefined optimization flags in debug builds.
2020-10-03 16:39:09 +03:00
ds
5170bb9bcf add: yb_botskin_[ct/t] to enforce bot skin selection (#166).
add: yb_ping_base_[min/max] sets the base ping for bots, so bots won't have nearly same ping in scoreboard.
2020-10-01 11:42:51 +03:00
ds
ced06c36cd build: remove sse3 option, as it's cause bot to be not loadable on some KVM hypervisors.
graph: store only author name inside author string.
2020-10-01 10:43:51 +03:00
ds
726ea72965 crlib: replace random number generator with wyhash.
Benchmarks shows about 4x increased PRNG perfomance increase comparing to old one. Should slightly reduce per-bot CPU usage.
2020-09-29 19:23:26 +03:00
ds
1263a1a439 fix: use clamped health value to avoid overflows.
crlib: do not shutdown wsa, it's cleaned upon server exit anyway.
2020-09-26 18:41:53 +03:00