Commit graph

434 commits

Author SHA1 Message Date
dmitry
cf501b75b7 merge changes from the defunct ubot 2020-06-16 11:19:30 +03:00
jeefo
1904b22977
Fix Build 2020-04-12 17:43:52 +03:00
jeefo
b2c8fbd341
Use Ubot S3 repository for uploading graph files. 2020-04-12 17:41:42 +03:00
jeefo
1f49026198 Added support for loading Ubot Graph data
Fixes #123
2020-03-12 14:32:23 +03:00
jeefo
7b2d096207 Merge branch 'master' of https://github.com/jeefo/yapb 2020-02-08 00:03:54 +03:00
jeefo
d6150a8aba Added consistency check for graph files. Totally optional, but wiill notify user if graph file built not for loaded map.
Some minor cosmetic changes and refactoring.
Fixed #70. Better now, than never.
Implemented #121. Bots auto-kill delays.
Bumb the year.
2020-02-08 00:03:52 +03:00
jeefo
d3dff431c6 Do not react on enemies while climbing ladders instead of jumping from them. #119
Do not test for bad primary weapon, if we have no secondary at all. #119
2020-02-04 20:05:32 +03:00
jeefo
2aba34a24b Do not throw grenades in narrow places.
Removed displaying of "CROSSING" flag for nodes, as it's not used anymore.
Do not aim last / predict enemy in narrow places (like tunnels, when crouching).
2020-01-08 18:29:28 +03:00
jeefo
d7ee3ae35a Minor refactoring. 2019-12-01 23:42:31 +03:00
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