Commit graph

622 commits

Author SHA1 Message Date
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
6ec507a075 fix: gcc -flto binaries are broken on some old servers. disable it temporary [skip ci] 2020-10-05 12:00:31 +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
61ce4d548c fix: osx build 2020-10-03 19:02:37 +03:00
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
Владислав Сухов
ff8e190b30
Translated new cvars
Translated description of yb_botskin_[ct/t] and yb_ping_base_[min/max] cvars.
2020-10-01 18:18:58 +06: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
Владислав Сухов
a356f1a9dc
Added missed translation about filling server 2020-09-30 19:46:54 +06:00
Владислав Сухов
a4ae47cc78
Minor fixes of bot command & cvars translation 2020-09-30 17:45:21 +06:00
Владислав Сухов
de00231f0a
Delete outdated translation and fix existing one 2020-09-30 17:10:38 +06:00
Владислав Сухов
3aae7fe26c
Fix translation of autopath distance
Fix translation of autopath distance which aren't displayed in hud
2020-09-30 16:49:47 +06:00
Владислав Сухов
83834a3d25
Minor translation fixes
Updated translation of successfully loaded bots data and shortening some lines to display correctly in the console
2020-09-30 16:38:02 +06: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
Владислав Сухов
f35c0c766c Added translation for difficulty randomization cvars 2020-09-26 16:31:36 +06: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
Владислав Сухов
f190f21cad
Fix: not displaying text in hud in graph editor.
Fix: breaks in some lines.
Add: translated new strings from game.print
Translation fixes
2020-09-16 18:27:32 +06: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
Владислав Сухов
ef4a42d656 Added new translatable strings 2020-09-13 15:02:19 +06: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
Владислав Сухов
e80eb5fcd3 Update localization for latest version of YaPB. 2020-09-12 19:56:10 +06: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
Владислав Сухов
293473c58f
Added new strings and updated existing ones 2020-09-03 14:03:35 +06: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
Владислав Сухов
4084ab35c3
Fix translation for graph uploading message and...
Added new translated strings from graph.cpp, missed translation for command help and corrected translation for saving graphs without check to fit in console
2020-08-30 14:22:22 +06:00