Commit graph

487 commits

Author SHA1 Message Date
ds
84dfca0ee9 fix: disable some warnings for apple clang. 2020-10-03 17:13:38 +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
Владислав Сухов
3afd03c12c Remove broken welcome message
These words (sounds from vox folder) such as work and software are missing from the game and this message is not fully spoken. It sounds like this: "Attention, hours of"
2020-09-23 00:11:15 +03:00
ds
0f7f6011ae fix: reverted bot ping calculation to 2.9 era. affects #160 2020-09-19 13:30:43 +03:00
ds
d2a4de7b09 fix: missing client check causing hlds crash. (fixes #159) 2020-09-16 21:04:22 +03:00
ds
94ffdc022c fix: do not buy armor & grenades in eco rounds. (fixes #108) 2020-09-16 15:46:43 +03:00
ds
66688ebe4a fix: clang build. 2020-09-16 13:23:33 +03:00
ds
665343490b fix: build 2020-09-16 13:16:13 +03:00
ds
fa47e418b2 add: implemented #122.
fix: bots try to defuse already beeing defused bomb (fixes #116).
fix: line ending in source code.
fix:  do not retreat with sniper weapon, if currently shooting and have ammo.
crlib: added deque class.
2020-09-16 13:07:47 +03:00
ds
420ab6f6d3 fix: refactoring typo. 2020-09-13 19:29:19 +03:00
ds
b10b3ef352 crlib: fix uppercase un utf8tools. 2020-09-13 16:18:21 +03:00
ds
a675c40927 misc: refactored weapon type recognition.
fix: reverted body offsets from 2.7 version.
fix: do not destroy breakable around if closer than 100 units. (#156 possible can be fixed).
fix: minimum supported hl & cs version display.
fix: csdm respawn outside of waypointed area causing pathfinder errors.
2020-09-13 02:21:15 +03:00
ds
8acd84fdc8 fix: terrorist behaviour on ES maps with buyzone. (fixes #155).
fix: help commands causing host overflow when translated.
crlib: use fnv1a for string hashes.
crlib: add hash () method  to String & StringRef classes.
2020-09-11 16:01:33 +03:00
ds
e173accc13 misc: refactored version scheme 2020-09-10 13:58:50 +03:00
ds
8dece84508 Merge branch 'master' of https://github.com/jeefo/yapb 2020-09-10 13:54:08 +03:00
ds
c65272e65b misc: cosmetic changes 2020-09-10 13:54:00 +03:00
Владислав Сухов
76a4647e8b Fix year
Fixing the year string to show a 4-digit year instead of 3-digit
2020-09-10 13:51:31 +03:00
Владислав Сухов
6b3537cf6a Splitting strings for easier translation...
to stay within the 192 byte limit
2020-09-02 20:31:37 +03:00
ds
eadd7cd3a2 add: new graph cmd: "stats", now accessible through cmd, not only via menu.
fix: changed language string hashes to reduce collisions.
2020-08-31 14:52:12 +03:00
ds
5bef8f7540 made help command to work properly. 2020-08-31 14:30:09 +03:00
ds
8765a2acda Merge branch 'master' of https://github.com/jeefo/yapb 2020-08-25 00:03:45 +03:00
ds
da6a79a716 add: cvar infos are now translateable. 2020-08-25 00:03:43 +03:00
Владислав Сухов
a2c6cc590a Fix help for graph path commands 2020-08-24 22:32:33 +03:00
Владислав Сухов
467558152f Fixed help for graph path commands 2020-08-24 22:32:33 +03:00
ds
379feb8311 fix: non closeable autopath menu. 2020-08-23 11:08:27 +03:00
ds
73ef635f09 change: disable query hook by default.
this is done to prevent banning servers with yapb's on some sites like gametracker, where they are banning servers that reports fake information about players / palyer counts.
2020-08-22 23:54:25 +03:00
ds
25e673a547 add: ability to translate help messages in controls. 2020-08-22 17:01:16 +03:00
ds
a2273f3410 noop: removed debug crap. 2020-08-22 01:40:18 +03:00
ds
922a896f0b fix: bot names
fix: minor tweaks to translations.
2020-08-22 01:38:59 +03:00
ds
de0ba2881e fix: toggle noclip mode isn't working in menu. 2020-08-21 17:08:05 +03:00
ds
990bfb406a misc: changed the bot names
graph: reverted some graph files
2020-07-22 15:14:10 +03:00
ds
2580c9478c fix: bots are not killable after the changelevel. fixes #143 2020-07-15 21:58:57 +03:00
ds
2d3078f851 graph: save narrow places to file, so, bump graph version.
graph: allow saving / loading graph manually on dedicated server.
config: fix parsing for difficulty.cfg fixes #142
fix: restore fakeclient bit on entity flags every frame.
2020-07-11 20:34:26 +03:00
dmitry
f51d3bf13b fix: do not clean non-cmd buttons on IN_SCORE hook.
fix: reset search nodes when receiving team info message.
fix: clear bot args on every call to bot client command.
add: drone build scenario.
2020-07-08 13:03:27 +03:00
dmitry
7f9c98aef1 fix: typo fixed (#137) 2020-06-27 12:54:59 +03:00
dmitry
5d1bc34563 fix: menus are not translated into selected language. 2020-06-21 14:59:33 +03:00
dmitry
419626df0e crlib: reworked detours. 2020-06-21 09:45:09 +03:00
dmitry
e003474cae fix: static analyzer warning. 2020-06-18 17:29:16 +03:00
dmitry
77b001a845 fix: build on osx. 2020-06-18 10:26:08 +03:00
dmitry
6b8f8db4de fix: some round messages doesn't get handled.
misc: cosmetic changes.
2020-06-18 09:28:43 +03:00
dmitry
ee3f9e7538 crlib: use real status codes for http
graph: allow uploading from hlds console.
2020-06-16 11:19:30 +03:00
dmitry
3070a7c404 cpp: avoid linking with GLIBC_2.27 on linux. 2020-06-16 11:19:30 +03:00
dmitry
43f6a7828a crlib: reworked dictionary to hashmap.
linkage: another fix to dynamic linkage.
cpp: fixed msvc warning about placement new.
2020-06-16 11:19:30 +03:00
dmitry
b70d2af4ab crlib: avoid including <new> 2020-06-16 11:19:30 +03:00
dmitry
faf654c883 build: added missing source to build system. 2020-06-16 11:19:30 +03:00
dmitry
c74d8e91e4 cfg: reworked map-specific configs, so they are now located in yapb/conf/maps/*map*.cfg
cmd: fixed handling "yb" & "yapb" command prefixes.
2020-06-16 11:19:30 +03:00