Commit graph

553 commits

Author SHA1 Message Date
ds
990bfb406a misc: changed the bot names
graph: reverted some graph files
2020-07-22 15:14:10 +03:00
ds
2580c9478c fix: bots are not killable after the changelevel. fixes #143 2020-07-15 21:58:57 +03:00
ds
2d3078f851 graph: save narrow places to file, so, bump graph version.
graph: allow saving / loading graph manually on dedicated server.
config: fix parsing for difficulty.cfg fixes #142
fix: restore fakeclient bit on entity flags every frame.
2020-07-11 20:34:26 +03:00
dmitry
f51d3bf13b fix: do not clean non-cmd buttons on IN_SCORE hook.
fix: reset search nodes when receiving team info message.
fix: clear bot args on every call to bot client command.
add: drone build scenario.
2020-07-08 13:03:27 +03:00
dmitry
7f9c98aef1 fix: typo fixed (#137) 2020-06-27 12:54:59 +03:00
dmitry
5d1bc34563 fix: menus are not translated into selected language. 2020-06-21 14:59:33 +03:00
dmitry
419626df0e crlib: reworked detours. 2020-06-21 09:45:09 +03:00
dmitry
e003474cae fix: static analyzer warning. 2020-06-18 17:29:16 +03:00
dmitry
77b001a845 fix: build on osx. 2020-06-18 10:26:08 +03:00
dmitry
6b8f8db4de fix: some round messages doesn't get handled.
misc: cosmetic changes.
2020-06-18 09:28:43 +03:00
dmitry
ee3f9e7538 crlib: use real status codes for http
graph: allow uploading from hlds console.
2020-06-16 11:19:30 +03:00
dmitry
3070a7c404 cpp: avoid linking with GLIBC_2.27 on linux. 2020-06-16 11:19:30 +03:00
dmitry
43f6a7828a crlib: reworked dictionary to hashmap.
linkage: another fix to dynamic linkage.
cpp: fixed msvc warning about placement new.
2020-06-16 11:19:30 +03:00
dmitry
b70d2af4ab crlib: avoid including <new> 2020-06-16 11:19:30 +03:00
dmitry
faf654c883 build: added missing source to build system. 2020-06-16 11:19:30 +03:00
dmitry
c74d8e91e4 cfg: reworked map-specific configs, so they are now located in yapb/conf/maps/*map*.cfg
cmd: fixed handling "yb" & "yapb" command prefixes.
2020-06-16 11:19:30 +03:00
dmitry
a22cc6db93 misc: changed the cvars prefixses
misc: changed graph download url
2020-06-16 11:19:30 +03:00
dmitry
4e109a174b crlib: fixbuild 2020-06-16 11:19:30 +03:00
dmitry
785e927185 crlib: update upstream
msvc: fix project paths
2020-06-16 11:19:30 +03:00
dmitry
cf501b75b7 merge changes from the defunct ubot 2020-06-16 11:19:30 +03:00
jeefo
1904b22977
Fix Build 2020-04-12 17:43:52 +03:00
jeefo
b2c8fbd341
Use Ubot S3 repository for uploading graph files. 2020-04-12 17:41:42 +03:00
jeefo
1f49026198 Added support for loading Ubot Graph data
Fixes #123
2020-03-12 14:32:23 +03:00
jeefo
7b2d096207 Merge branch 'master' of https://github.com/jeefo/yapb 2020-02-08 00:03:54 +03:00
jeefo
d6150a8aba Added consistency check for graph files. Totally optional, but wiill notify user if graph file built not for loaded map.
Some minor cosmetic changes and refactoring.
Fixed #70. Better now, than never.
Implemented #121. Bots auto-kill delays.
Bumb the year.
2020-02-08 00:03:52 +03:00
jeefo
d3dff431c6 Do not react on enemies while climbing ladders instead of jumping from them. #119
Do not test for bad primary weapon, if we have no secondary at all. #119
2020-02-04 20:05:32 +03:00
jeefo
2aba34a24b Do not throw grenades in narrow places.
Removed displaying of "CROSSING" flag for nodes, as it's not used anymore.
Do not aim last / predict enemy in narrow places (like tunnels, when crouching).
2020-01-08 18:29:28 +03:00
jeefo
d7ee3ae35a Minor refactoring. 2019-12-01 23:42:31 +03:00
jeefo
54516190b0 Cosmetic changes for messages before translation. 2019-11-30 23:18:37 +03:00
jeefo
512b085291 Removed debug message. 2019-11-30 17:34:08 +03:00
jeefo
eb71540110 Added 'yb_bind_menu_key', to avoid using manual binds in config. 2019-11-24 14:59:40 +03:00
jeefo
a41a656164 Do not spraypaint if just saw or suspecting enemy.
Add yb_stab_close_enemies, to allow or dissallow sneak enemies with knife if close enough.
2019-11-24 00:04:38 +03:00
jeefo
e2dbd6d91e Possible fix for armoury_entity pickups on some maps. 2019-10-02 15:14:27 +03:00
jeefo
7a9479bdd0 Bomb-Defuse fix. 2019-09-22 17:56:45 +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
5e23079ecc Fixing travis build. 2019-09-22 00:08:37 +03:00
jeefo
b3e9024fb5 Clear bots array upon meta unload. 2019-09-22 00:08:37 +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
dfef288b47 Try to switch to bionic 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
94b74e4705 Reworked facing waypoint index search. 2019-09-22 00:08:37 +03:00
jeefo
affa64808d Fixed shaky nav aiming.
For the graph files that have many close-placed nodes bots will switch his view constantly to new one when going on path, making it too shaky while moving.

This fix makes bots to look at next node instead of currently reaching one, so aiming is a bit clearer now.
2019-09-22 00:08:37 +03:00
jeefo
359d2f86b0 Cleanup. 2019-09-22 00:08:37 +03:00
jeefo
e4b975c289 Fixed signed/unsgined mismatch. 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