Commit graph

73 commits

Author SHA1 Message Date
jeefo
c4d6ce3c45 a little cleanup of code 2016-09-10 19:31:38 +03:00
jeefo
db79df8d38 fixed crash on escaping from bomb on really small maps (de_iceworld ie)
reworked how yb_quota works
fixed engine is not notified about bot cvar is beeing changed
2016-06-23 15:30:19 +03:00
jeefo
de1e9b68e2 get rid of goto statements 2016-04-04 10:51:52 +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
5ff6b9ecde added compile-time support for up to 64 maxplayers 2016-03-10 00:37:33 +03:00
jeefo
1259276bcb bump version number
fixed some of coverity warnings
2016-03-09 23:32:45 +03:00
jeefo
4b0188222f fixes clang warnings
fixed bad combat strafe dir direction selection
added more 'shoot thru wall' code as reaction on sound
2016-03-09 22:34:24 +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
be55afdd78 improved support for xash3d (fixed weapon selection)
fix #28 #27 #24 #20 #19
2016-02-06 23:37:58 +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
a04f47273e disable by default ultra-mega-high-skill mode
pvs check done only for new enemy
2016-01-16 11:00:40 +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
4204f4e9f2 fixed rare crashbug in ClientUserInfoChanged
fixed chatter ignores yb_communication_type
fixed waypoint display distance, when host entity is alive
fixed bomber choose most longest route to bombplant (in middle of round).
2016-01-05 20:29:34 +03:00
jeefo
a07850d09d bumped version to 2.7.2 2016-01-04 20:18:14 +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
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
95a02680ca fixed FindNearest() default value to use with squared length's 2015-08-03 00:31:37 +03:00
jeefo
ac3a5c7c3f remove of pod-bot-mm msec method
fixed weird aiming on low fps machines
fixed potential crash bug in weaponn selection code
2015-08-03 00:05:27 +03:00
jeefo
a5c1c0dc7f fixed UpdateLookAngles is not called at all since last commit :) 2015-08-02 20:31:14 +03:00
jeefo
ae87f0985a minor changes 2015-08-01 00:18:50 +03:00
jeefo
4256d15bf1 made lower difficulty bots a bit easier 2015-07-31 20:32:08 +03:00
jeefo
11d3ffe20e runplayermove is now not called every frame, the same as main bot code
this gives another fps boost for server perfomance, but gives a little shaky viewmodel (gun) drawing for bot while spectating him in firstperson mode.
2015-07-26 13:02:05 +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
14ac18de31 added back frame skipping 2015-07-22 23:04:43 +03:00
jeefo
5174799000 delaying jump collision action instead of randoming 2015-07-22 19:14:07 +03:00
jeefo
714508d6ef removed useless duck collision 2015-07-20 23:18:50 +03:00
jeefo
ecbf6df4ba oops, fixed build, again 2015-07-20 21:29:49 +03:00
jeefo
2ca5002e45 tweaked antistuck code 2015-07-20 21:26:20 +03:00
jeefo
62a3fa8b80 playing with aim code
temporary disabled think frame skipping
2015-07-20 00:42:21 +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
60e4802640 fixed crash in lift usage
optimized walkspeed function
2015-07-12 12:58:20 +03:00
jeefo
85e618fb1b minor changes 2015-07-11 19:54:46 +03:00
jeefo
d26afb6ae4 fixed IsPointOccupied() 2015-07-02 23:46:21 +03:00
jeefo
187c37c9f7 adjusted finddefendwaypoint search distance 2015-07-02 23:45:13 +03:00
jeefo
a2593f58bb don't do local avoidance if sees enemy or round start time < 10 2015-07-02 23:12:36 +03:00
jeefo
7ee191387a fixed typo 2015-07-01 00:51:50 +03:00
jeefo
dbd22ec99e some optimizations in changes in player avoidance code 2015-07-01 00:47:39 +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
2f03f579b3 fixed bot thinks he is stuck, while in combat
add one more check to waypoint occupy test
2015-06-26 23:41:17 +03:00
jeefo
77ed0bedd1 reverted some changes 2015-06-24 17:25:39 +03:00