Commit graph

63 commits

Author SHA1 Message Date
jeefo
c4d6ce3c45 a little cleanup of code 2016-09-10 19:31:38 +03:00
jeefo
74b97dadd5 Revert "cleaning up the code. part 0."
This reverts commit e8eb775c23.
2016-08-27 23:39:25 +03:00
jeefo
fe572b3dc9 Revert "cleaning up the code. part 0.1"
This reverts commit 0c8a246c48.
2016-08-27 23:39:20 +03:00
jeefo
0c8a246c48 cleaning up the code. part 0.1 2016-08-27 23:37:27 +03:00
jeefo
e8eb775c23 cleaning up the code. part 0. 2016-08-27 22:49:42 +03:00
jeefo
19f4582685 bot is not searching mod name in hardcoded list, so you can now use any gamedir for bot. So the CS beta 7.0 & 7.1 for steam is now supported. 2016-07-01 09:32:43 +03:00
jeefo
222195cc30 load memory files without modname 2016-03-13 21:12:09 +03:00
jeefo
a27d39a394 fixed stack corruption in sound code 2016-03-12 19:56:09 +03:00
jeefo
bc2e57a7a8 code refactoring, still testing
some fixes all over the place
fixed all warnings from clang
2016-03-12 14:35:44 +03:00
jeefo
1259276bcb bump version number
fixed some of coverity warnings
2016-03-09 23:32:45 +03:00
jeefo
8d6b315fa5 added ability to load waypoints & config files from PAK files 2016-03-09 19:17:56 +03:00
jeefo
cbac5da0b7 user Cvar_DirectSet for Convar::SetString 2016-03-08 17:22:44 +03:00
jeefo
95d9d4db0c removed metamod-messages, since there will be nor updates to metamod ifaces. 2016-03-05 23:08:07 +03:00
jeefo
d5a8b3642b fixed bomb defuse check doesn't verify pressing IN_USE button of client
fixed potential crash bug in IsPointOccupied
processing global refactoring
2016-03-01 22:52:17 +03:00
jeefo
f8344a464e a little cleanup of code save point 2016-03-01 13:37:10 +03:00
jeefo
cd48b98180 fixed infinite loop on bad waypoints. now bots will crash down, instead of eating all the ram.
more magic-numbers replacements.
2016-02-29 23:50:16 +03:00
jeefo
64445029c7 fixed crash, when official csbots active
fixed baaaad waypoint dislpaying
fixed bots equip in buyzone when has active enemy
bots try to do their goals more ofter (again)
fixed some issues with knife maps
2016-02-11 21:50:05 +03:00
jeefo
9f02b92ee2 fixed travis-ci 2016-02-07 02:40:45 +03:00
jeefo
be55afdd78 improved support for xash3d (fixed weapon selection)
fix #28 #27 #24 #20 #19
2016-02-06 23:37:58 +03:00
jeefo
0bde57897e fixed cs16-client+xash3d on non-android platforms compatability
disables debug information for release builds
2016-01-30 22:22:37 +03:00
jeefo
9e5c1540f9 improved sniping
fixed bots never choice camping tactic, due to agression level oveflow
cosmetic changes
2016-01-30 13:15:50 +03:00
jeefo
363b430c41 do not speak on android 2016-01-27 21:52:21 +03:00
jeefo
9df1af4b92 remove accidentally included stuff from new bot 2016-01-07 18:52:02 +03:00
jeefo
aeb712c2b3 fixed race-condition in bomb location detection
fixed visited goals are not cleared on round-start
2016-01-07 18:49:55 +03:00
jeefo
c9011b00fd revert some old commits, that break compatability.
fixed copyright year.
2016-01-04 18:26:06 +03:00
jeefo
2c10910972 removed bunch of cvars from public query list.
only yb_version is now publicly queryable.
2016-01-04 15:28:38 +03:00
jeefo
18b4636500 added yb_camping_allowed.
partially fixed bot freeze when no ammo left in his guns. now bots' should switch to knife and rush enemy.
2016-01-03 22:03:02 +03:00
jeefo
d991030145 no tabs in code! 2015-12-30 09:19:05 +03:00
jeefo
6bcf41c5d2 added android makefiles
ensure data directory is created
2015-12-30 09:16:01 +03:00
jeefo
4b8c18001d removed useless things
merged changes for xash csdm into master
2015-12-26 17:19:20 +03:00
jeefo
36b865abde do not compare traceresult fraction directly 1.0
some cosmetic changes
bots will spray more logos
reduced "cheating" in jumping a little bit
optimized checking 3d vector for zero
2015-08-15 18:09:15 +03:00
jeefo
a5c1c0dc7f fixed UpdateLookAngles is not called at all since last commit :) 2015-08-02 20:31:14 +03:00
Dmitriy
174b3e1eb6 some more cosmetics 2015-07-24 15:10:51 +03:00
Dmitriy
1d22832979 cosmetic changes 2015-07-24 14:39:11 +03:00
jeefo
55e4cf4bd9 simplified a bit hearing and aim dir choosing
bots thnik function not run every frame, should save some fps
2015-07-19 13:39:00 +03:00
jeefo
36c549a0ce some refactoring 2015-07-17 19:23:31 +03:00
jeefo
c445d07c2b more optimizations
removed ancient firedelays
maybe some more...
2015-07-12 17:18:20 +03:00
jeefo
85e618fb1b minor changes 2015-07-11 19:54:46 +03:00
jeefo
f9781342ae fixed bad things in wavelength 2015-07-05 21:32:56 +03:00
jeefo
f8fe675e65 and now, coverity will be happy? 2015-06-29 22:06:55 +03:00
jeefo
ff51914ea6 more fixes for coverity, now fixed what i have done in previous build :) 2015-06-29 21:49:52 +03:00
jeefo
95c121ef43 fixed some coverity warnings 2015-06-29 20:51:25 +03:00
jeefo
b6159188bd fixed some warnings from pvs-studio
bot's don't change enemy to teamkiller if currently busy with real enemy
checks for user rendering (invisibility, got from podbot_mm)
no hunting of seek cover when escaping from bomb
2015-06-28 19:43:31 +03:00
jeefo
0ff1caf5b9 changed bot directory structure.
added folder renaming on start (temporary).
2015-06-25 22:56:42 +03:00
jeefo
c28110cce2 small optimizations and code style fixes 2015-06-24 15:38:48 +03:00
jeefo
65818243ec removed useless engine hooks
replaces some div's to mul's
2015-06-22 21:32:29 +03:00
Dmitry
2b005a6a98 fixed another buffer overflow in config parser
fixed memory leak in translation
fixed bots don't shoot through walls
fixed bots don't buy anything, if server issues sv_restart 1
fixed inability to kick bot's, when playing on Xash3D engine
2015-06-18 19:34:44 +03:00
Dmitry
3b3ef4754b tweaked cvars 2015-06-14 23:13:09 +03:00
Dmitry
66c33472ff more work on optimizing cpu usage
reverted active grenades on TASK_* items
2015-06-11 23:22:50 +03:00
Dmitry
b2739f2241 seems to working fine 2015-06-11 16:53:21 +03:00