Commit graph

575 commits

Author SHA1 Message Date
jeefo
54516190b0 Cosmetic changes for messages before translation. 2019-11-30 23:18:37 +03:00
jeefo
512b085291 Removed debug message. 2019-11-30 17:34:08 +03:00
jeefo
eb71540110 Added 'yb_bind_menu_key', to avoid using manual binds in config. 2019-11-24 14:59:40 +03:00
jeefo
a41a656164 Do not spraypaint if just saw or suspecting enemy.
Add yb_stab_close_enemies, to allow or dissallow sneak enemies with knife if close enough.
2019-11-24 00:04:38 +03:00
jeefo
e2dbd6d91e Possible fix for armoury_entity pickups on some maps. 2019-10-02 15:14:27 +03:00
jeefo
7a9479bdd0 Bomb-Defuse fix. 2019-09-22 17:56:45 +03:00
jeefo
97c942ce3d Bots will now look at teammates and jump sometimes while in freezetime. So they will not look like a "soldiers". Related to #94. 2019-09-22 17:19:13 +03:00
jeefo
4b035819cb Fixed possible addrinfo leak. 2019-09-22 01:01:24 +03:00
jeefo
70e0767ce0 Cosmetic change. 2019-09-22 00:39:24 +03:00
jeefo
5e23079ecc Fixing travis build. 2019-09-22 00:08:37 +03:00
jeefo
b3e9024fb5 Clear bots array upon meta unload. 2019-09-22 00:08:37 +03:00
jeefo
0f23ef8e4f Fix for debug-build. 2019-09-22 00:08:37 +03:00
jeefo
61fad287e7 Get rid of Visual Studio warnings.
Relicensed under the MIT license.
Added safety checks here and there.
2019-09-22 00:08:37 +03:00
jeefo
bee9653a71 Mark enemy sensing / hearing stuff as heavyweight. 2019-09-22 00:08:37 +03:00
jeefo
dfef288b47 Try to switch to bionic 2019-09-22 00:08:37 +03:00
jeefo
ff6c56aeac Fixed crash in message dispatcher after 'meta unload'.
Various cosmetic changes.
2019-09-22 00:08:37 +03:00
jeefo
9720a63401 Do not buy secondary without enough money on not first round. 2019-09-22 00:08:37 +03:00
jeefo
94b74e4705 Reworked facing waypoint index search. 2019-09-22 00:08:37 +03:00
jeefo
affa64808d Fixed shaky nav aiming.
For the graph files that have many close-placed nodes bots will switch his view constantly to new one when going on path, making it too shaky while moving.

This fix makes bots to look at next node instead of currently reaching one, so aiming is a bit clearer now.
2019-09-22 00:08:37 +03:00
jeefo
359d2f86b0 Cleanup. 2019-09-22 00:08:37 +03:00
jeefo
e4b975c289 Fixed signed/unsgined mismatch. 2019-09-22 00:08:37 +03:00
jeefo
386a251cab Added helper 'iterate_camp' to go through all camp spots on map. 2019-09-22 00:08:37 +03:00
jeefo
50c0cb4b30 Fix linux build. 2019-09-22 00:08:37 +03:00
jeefo
2f4b329ad1 Fixed inablity to delete paths between nodes.
Some fixes to facing node index search.
2019-09-22 00:08:37 +03:00
jeefo
d011aa6551 Bots are now able to buy secondary weapons in first rounds.. 2019-09-22 00:08:37 +03:00
jeefo
296d3a3637 Added forced yb_csdm_mode.
Do not export functions that aren't needed for plugin loading.
2019-09-22 00:08:37 +03:00
jeefo
d04f44d8fc Reduced 'Need backup' for unskilled bots.
Fixed some typos.
2019-09-22 00:08:37 +03:00
jeefo
91c4d9ce1f Bots are now able to destroy random breakables around him, without touching them.
Added cvars descriptions and yapb.cfg generation.
Finally fixed bomb-defuse problems.
Fixed unaligned access in bot compression/decompression.
Fixed low-fps aim code falure.
2019-09-22 00:08:37 +03:00
jeefo
ef1faabfe6 Fix build. 2019-09-22 00:08:37 +03:00
jeefo
6b3c7e413f Remove unreferenced stuff. 2019-09-22 00:08:37 +03:00
jeefo
f673f5cd0a Many small fixes to combat behaviour, navigation and perfomance. 2019-09-22 00:08:37 +03:00
jeefo
858d247893 Minor fixes. 2019-09-22 00:08:37 +03:00
joint
ac733404e1 Fixes to new message dispatcher. 2019-09-22 00:08:37 +03:00
joint
9947e41549 Fixed player avoidance code.
Speedup network message handling.
2019-09-22 00:08:37 +03:00
jeefo
c090ca3c54 Typos fixes. 2019-09-22 00:08:37 +03:00
jeefo
cc1a60afea Removed unsued stuff. 2019-09-22 00:08:37 +03:00
jeefo
a186f33ffb More fixes to optiomal node search.
Support for replying to UTF-8 chat messages.
Minor refactoring.
2019-09-22 00:08:37 +03:00
jeefo
1d3910d629 Fixes for best waypoint searching and waypoint advance code.
Fixed software renderer true for OSX & Linux.
Fixed software renderer is default for OSX & Linux.
Fixed GCCs -pedantic warnings.
2019-09-22 00:08:37 +03:00
Dmitry
e3d129e929 Made Server_GetBlendingInterface available only on Android. 2019-09-22 00:08:37 +03:00
Dmitry
2a7367c1a8 Fix build. 2019-09-22 00:08:37 +03:00
Dmitry
535f298621 Fixed "meta unload" segfault.
Added fake responces to server queries.
Added dynamic link ents. (except android).
2019-09-22 00:08:37 +03:00
Dmitry
4f664f0162 Typo fix. 2019-09-22 00:08:37 +03:00
Dmitry
829e724a2c Minor fixes. 2019-09-22 00:08:37 +03:00
Dmitry
01971c9f0d Fix build. 2019-09-22 00:08:37 +03:00
Dmitry
54da53c5eb Minor changes. 2019-09-22 00:08:37 +03:00
Dmitry
d9d3d435ec Correct naming... 2019-09-22 00:08:37 +03:00
Dmitry
7a6e3febf2 Fixed displaying of flags of loaded game.
Fixed incorrect usage  of setsockopt ().
Fixed chat preparation doesn't replace all placeholders.
2019-09-22 00:08:37 +03:00
Dmitry
bbaac860dd Cosmetic changes. 2019-09-22 00:08:37 +03:00
Dmitry
a0e770c6ea fix osx travis #2 2019-09-22 00:08:37 +03:00
Dmitry
f86b73d067 try fix osx build 2019-09-22 00:08:37 +03:00