Commit graph

652 commits

Author SHA1 Message Date
Владислав Сухов
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
Владислав Сухов
5c7ec59e57
Added translation for cvar descriptions 2020-08-25 15:15:18 +06: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
Владислав Сухов
ae8d6ad079 Add translation help of graph commands 2020-08-24 14:34:13 +06:00
ds
379feb8311 fix: non closeable autopath menu. 2020-08-23 11:08:27 +03:00
Владислав Сухов
b86fca0373
Fixes for the translation of graph statistics
Fixes for the translation of graph statistics, to fit into 192 bytes

To prevent the error "Host_Error: PF_MessageEnd_I:  Refusing to send user message TextMsg of 257 bytes to client, user message size limit is 192 bytes"
2020-08-23 13:35:50 +06:00
Владислав Сухов
3b7406f03c
Add new translatable strings 2020-08-23 12:54:23 +06: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
Владислав Сухов
89b3da9e90
Translated bot help commands 2020-08-22 22:06:53 +06:00
ds
25e673a547 add: ability to translate help messages in controls. 2020-08-22 17:01:16 +03:00
Владислав Сухов
e0d82bc91a Fix untranslated strings 2020-08-22 13:03:14 +06: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
Владислав Сухов
c1cb7466d2
Adaptation of Russian translation for YaPB 4.x
Oops...
2020-08-21 22:10:30 +06:00
Владислав Сухов
d3de5ed146
Adaptation of Russian translation for YaPB 4.x 2020-08-21 21:09:42 +06:00
Владислав Сухов
19b53ab2e5
Adaptation of Russian translation for YaPB 4.x 2020-08-21 20:46:28 +06: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