Commit graph

188 commits

Author SHA1 Message Date
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
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
92c762a586 bump minor version number. 2020-11-05 16:52:27 +03:00
ds
dd9b9f53ca fix build #2 [skip ci] 2020-11-05 16:46:22 +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
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
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
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
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
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
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
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
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
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
379feb8311 fix: non closeable autopath menu. 2020-08-23 11:08:27 +03:00
ds
922a896f0b fix: bot names
fix: minor tweaks to translations.
2020-08-22 01:38:59 +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
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
6b8f8db4de fix: some round messages doesn't get handled.
misc: cosmetic changes.
2020-06-18 09:28:43 +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
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