Commit graph

91 commits

Author SHA1 Message Date
jeefo
de1e9b68e2 get rid of goto statements 2016-04-04 10:51:52 +03:00
jeefo
da1b5c2ff9 fixed variable collisions
fixed active grenade timer running too fast
fixed reacting on sound function setting pvs instead of pas
2016-03-25 14:56:40 +03:00
jeefo
222195cc30 load memory files without modname 2016-03-13 21:12:09 +03:00
jeefo
b08bd747f3 added load tries to waypoint loader 2016-03-13 20:05:42 +03:00
jeefo
fe7a3c7cdc fixed pedantic gcc warnings 2016-03-13 19:24:19 +03:00
jeefo
a61cd3b021 now load waypoints from memory as well
changed versioning scheme
updated linux makefiles
2016-03-13 19:20:25 +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
5ff6b9ecde added compile-time support for up to 64 maxplayers 2016-03-10 00:37:33 +03:00
jeefo
8d6b315fa5 added ability to load waypoints & config files from PAK files 2016-03-09 19:17:56 +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
6136bace18 revert game interface class, i'm just too lazy to do it now... 2016-03-05 21:22:29 +03:00
jeefo
fa64fe2ea7 some code cleanup
started to move game-specific stuff into own class
2016-03-05 21:04:46 +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
c7ed5a162c changed save money amount in buyfn 2016-03-01 00:22:42 +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
9ae9ecb76a fixes bad buying for heavy weapons & shotguns
replaced some magic numbers in code to be readable
2016-02-29 22:49:19 +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
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
e9d826ccea fixed bot's don't shoot at near-zero distance [need testing] 2016-01-26 21:18:59 +03:00
jeefo
2907787619 autovacate kicks now dead or lowest frag bot if possible.
reworked autovacate to kick bot, only if connected player joined the team.
2016-01-16 21:08:22 +03:00
jeefo
04365ab202 fixed bot's don't shoot thru walls
added some knife-mode movement
some codestyle fixes
2016-01-14 23:32:38 +03:00
jeefo
c850e45ed2 some rework of autovacate... again 2016-01-12 23:57: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
4b8c18001d removed useless things
merged changes for xash csdm into master
2015-12-26 17:19:20 +03:00
jeefo
579971c5ff ported to Android CS 1.6
fixed console spam with yb_quota when no waypoints on map
fixed autovacate feature once again
2015-12-26 01:31:46 +03:00
jeefo
3113935751 pushed old commit 2015-12-17 09:57:41 +03:00
jeefo
dd7b85dea7 possibly fixed autovacate feature
trigger build
2015-11-21 19:17:11 +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
4256d15bf1 made lower difficulty bots a bit easier 2015-07-31 20:32:08 +03:00
jeefo
533cd8a93c reduced lag, when killing bots all together
a little housekeeping
2015-07-26 21:47:29 +03:00
jeefo
b159d3c7f9 fixed bots looking at weird positions when spawned
remove useless function calls
2015-07-26 13:42:51 +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
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