Commit graph

66 commits

Author SHA1 Message Date
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
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
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
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
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
c65272e65b misc: cosmetic changes 2020-09-10 13:54:00 +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
2580c9478c fix: bots are not killable after the changelevel. fixes #143 2020-07-15 21:58:57 +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
dmitry
a22cc6db93 misc: changed the cvars prefixses
misc: changed graph download url
2020-06-16 11:19:30 +03:00
dmitry
cf501b75b7 merge changes from the defunct ubot 2020-06-16 11:19:30 +03:00
Renamed from source/manager.cpp (Browse further)