Commit graph

188 commits

Author SHA1 Message Date
jeefo
512b085291 Removed debug message. 2019-11-30 17:34:08 +03:00
jeefo
e2dbd6d91e Possible fix for armoury_entity pickups on some maps. 2019-10-02 15:14:27 +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
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
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
359d2f86b0 Cleanup. 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
2f4b329ad1 Fixed inablity to delete paths between nodes.
Some fixes to facing node index search.
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
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
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
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
9eaca5a27b Minor refactoring. 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
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
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
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