Commit graph

288 commits

Author SHA1 Message Date
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
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
829e724a2c Minor fixes. 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
1bc1fd1913 savepoint, changelog later.. 2019-09-22 00:08:37 +03:00
Dmitry
10e94e0bee Fixed GCC Errors. 2019-09-22 00:08:37 +03:00
jeefo
68f2f010fd Major refactoring (#86)
Major code refactoring.
2019-09-22 00:08:37 +03:00
jeefo
b50d6b198c Do not issue any chat if chat is off. 2019-09-22 00:08:37 +03:00
jeefo
2eef246e97 Check for reload when hiding. 2019-09-22 00:08:37 +03:00
jeefo
9eaca5a27b Minor refactoring. 2019-09-22 00:08:37 +03:00
Dmitry
d7b8098719 Assume regamedll is always true @ android. 2019-09-22 00:08:37 +03:00
Dmitry
b0bcf5fcdd Fixed crash when windows software renderer selected. 2019-09-22 00:08:37 +03:00
jeefo
5a7dbc2463 Fixed detection mp_freeforall for regamedll.
Added missing addon entities for regamedll.
Fixed bots keep adding to game event when there is now spawn points left on map.
Reduced a little bot difficulty at higher levels.
2019-09-22 00:08:37 +03:00
Dmitry
78b2cb968a Fixed ignorance of quota maintaining if no bots on kicking team.
Minor refactoring.
2019-09-22 00:08:37 +03:00
Dmitry
47fefabe66 Fixed shaky-camera, when bot gets killed.
Make use short bot  name here and there.
Minor tweaks.
2019-09-22 00:08:37 +03:00
Dmitry
c793ab9ee1 Removed accidentally left debug thing. 2019-09-22 00:08:37 +03:00
Dmitry
dae7fc8db7 Added support for amx_parachute.
Minor fixes for KA-maps.
2019-09-22 00:08:37 +03:00
Dmitry
61b2566373 Implemented flashligr and nightvision goggles usage.
Credits for this mostly goes to Immortal_BLG and KWo.
2019-09-22 00:08:37 +03:00
Dmitry
fbd42b92d1 Fixes to light-level detection code. 2019-09-22 00:08:37 +03:00
Dmitry
117db06048 Disable light-level code as it's not used currently. 2019-09-22 00:08:37 +03:00
Dmitry
7ebf1b6ef4 Support for getting correct light-level for waypoints. Thanks to Immortal_BLG for light-level calculation code. 2019-09-22 00:08:37 +03:00
Dmitry
7b3b80354d Fixed bots don't use silencers.
Fixed T bots sometimes goes to next plant, when currently crossing current.
2019-09-22 00:08:37 +03:00
Dmitry
17039524dc Support for 'yb wp clean' to take neareset to local player waypoint if no arguments passed. 2019-09-22 00:08:37 +03:00
Dmitry
83cf81cbca Fixed compiling and removed c++14 dependencies. 2019-09-22 00:08:37 +03:00
Dmitry
d4e1fdb4fb Fixed radio commands that should be issued only when chatter enabled.
Implemented useless waypoint cleaner (yb wp clean <nr/all>).
2019-09-22 00:08:37 +03:00
jeefo
c8f2c95ce6 Reworked facing waypoint index detection. (ty to pbmm). 2019-09-22 00:08:37 +03:00
jeefo
602d2ddd8c Fixed bots unable to search bomp defuse point, cause search radius is too small for buckets.
Fixed uninitialized variable in team counting.
2019-09-22 00:08:37 +03:00
jeefo
c70e3bd756 Correct team kicking on quota balancing.
Try to fix low-skill bots do not search for bomb.
Bumped year and version.
2019-09-22 00:08:37 +03:00
jeefo
8456bb57cb Rise limit of waypoints to 3072. Need compatability testing.
This change invalidates all 'learned' bot data, such as visibility, pathmatrices and experiences, so file versions of them are bumped.

Tweaked yb_quota_mode.
Allowed low-skill bots to throw grenades.
2019-09-22 00:08:37 +03:00
jeefo
168bcf1d36
Bots should be affected by mp_freeforall even with disabled csdm_active. 2019-02-13 19:39:17 +03:00
GoDhAnD-897
fcb0f7c1ad Fixed cvar values from yapb.cfg being ignored after initialization 2019-01-03 17:09:52 +01:00
jeefo
5d32a4577c Fixed chat-replies doesn't work. Fixes #71. 2018-11-08 13:07:09 +03:00
jeefo
c78fc5a60d Fixed low-difficulty bot's unable to search the planted C4. 2018-11-01 11:53:44 +03:00
jeefo
39781ee17b Fixed GCC Strict aliasing warning. 2018-10-30 19:19:56 +03:00
jeefo
5c1facb54b Tweaked chatter timers 2018-10-30 16:01:52 +03:00