Skip to content

Releases: yapb/yapb

Continuous Build

17 Nov 12:35
01b176a
Compare
Choose a tag to compare
Continuous Build Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 4.4.957...continuous

4.4.957

10 Feb 19:39
9b9d4b6
Compare
Choose a tag to compare

What's Changed

  • bot: enable speech at server startup for xash3d by @Vladislav4KZ in #522
  • nav: rusher bots does not care any danger (idea from pbmm) some changes in collision motion by @commandcobra7 in #520

Full Changelog: 4.4.949...4.4.957

4.4.949

08 Feb 11:06
9e48175
Compare
Choose a tag to compare

Fixes

  • Predict enemy takes in account distance to the enemy.
  • Toggling t and ct important flags.
  • Logic in cover and defend node practice filtering.
  • Cut of bound read and unroll loops in find defend/cover node.
  • Chatter icon isn't disappering when bot disconnected.
  • Navigation reachability timers, so bots will have correct current node index while camping.
  • Bots are unable to finish pickup or destroy breakable task, if target is not reachable.
  • Cover nodes are now calculated as they should.
  • Manual calling bots add_[t/ct] now ignores yb_join_team cvar.
  • Do not apply knife mode if we're just have knife in hands.
  • Clear grenade pointers before checking active grenades.
  • Graph checking feature doesn't output a message on hud when called from menu.
  • Center-screen messages not appearing.
  • Enemy selection when several shielded enemies are visible.
  • Query hook not working on linux on latest rehlds.
  • Bots on csdm never respawning thus never resets their states.
  • Nodes with light level 0.0 should trigger bots flashlight now.
  • Overlap between occupied node check and player avoid distance.

Bot AI

  • Bots will try to cover if blinded and highskilled.
  • Added bots rotation feature, allowing bots to connect/disconnect randomly.
  • Tweaked a little difficulty levels, so level 4 is now nightmare level, and 3 is very heard.
  • Overall fixes to jason mode, treat knife in hands and no weapons as jason mode too.
  • Only stop for reloading in normal task.
  • Allow to camp with secondary weapon if enough friends alive.
  • Think runs now at minimum 50fps, instead of every frame on xash3d.
  • Do not switch back to primary weapon, if escaping from bomb.
  • Zero out seeking cover chance on csdm.

Aiming

  • Apply distance restriction for aiming node if not suspecting/hearing enemy.
  • Reduce headshot pct, if bot is too highskilled.
  • New cpu-friendly headshot penetration function (yb_shoots_thru_walls 3).
  • Verify camp angles from nav data before using them.
  • Tweaked a bit grenade handling, so bots should use them more.
  • Reduce time between selecting grenade and throwing it away.
  • Update enemy prediction, so it now depends on frame interval for a bot.
  • Additional height offset are tweaked, and now used only for difficulty 4.
  • Bots should more respect headshot allow option.
  • Do not pick enemies wearing FL_NOTARGET flag.
  • Do not reduce prediction for grenades.
  • Speedup aiming only when enemy reachable.
  • Enemy prediction is now done asynchronously by now.
  • Wipe prediction if destination is not index isn't exists.
  • Now looks at next node while navigating.
  • Use scale for selecting new enemy.
  • Do not add aim error for normal bots.

Navigation

  • Tweaked a little node reachability distances.
  • use more high range for checking occupied point.
  • If last navigation node is used by someone, assume route ended.
  • Send terrorists directly guard planted bomp.
  • Tweaked a bit player avoidance code, and it's not preventing bot from checking terrain.
  • Do not check banned nodes, when bucket sizes re too low.
  • Cover nodes are now selected depending on total bots on server.
  • Let bot enter pause task after long jump.
  • Extend velocity by a little for a jump, like it was in first versions of bot.
  • Stuck checking is now taken in account lower minimal speed if bot is ducking.
  • Ensure buckets has enough nodes before use they.
  • Switch back to main weapon only if on the floor.
  • Ignore pickup item if stuck.
  • Fallback to anything visible in find nearest node.
  • Increase search radius in checking node reachability.
  • Reset goal when clearing current path.
  • Implemented asynchronous (threaded) pathfinding.
  • Floyd-warshall matrices and practice updates are done asynchronously by now.
  • Allow null-velocity jump links.
  • Pause a little if doing jump sequence.
  • Make bot use computed jumps on analyzed maps.
  • Do not avoid anyone in narrow places.
  • Disable player avoidance when in csdm free for all mode.

Config

  • Updated russian translation.
  • Converted configuation files to utf8.
  • Introduced max recoil in difficulty config file.
  • Do not spam on logs if multilingual or chatter configs not loaded because of game version.
  • Simplified a bit chatter.cfg (old syntax still works).

Chat

  • Welcome chat message from bots is now sent during first freeze time period.

Graph/Waypoints

  • Prevent saving graph with less than eight nodes.
  • Reworked buckets so they can handle very large number of nodes.
  • Backport nodes flooder (analyzer) from cs-ebot.
  • Move light level calculation to thread worker.
  • Light levels are now recalculated on every level change.
  • Always use lowercase map name when downloading graph.
  • Allow graphs to be auto-collected (uploaded to graph database automatically).

Management

  • Enable balancing bot difficulty on interval instead of on new round.
  • 5th player class selectable for condition zero.
  • Don't enable spawn points highlighting by toggling noclip or auto add node mode when graph editor is enabled.
  • Enable graph editor when opening the debug goal menu.
  • Added some missing notifications displayed on hud when using features from graph editor menu.
  • Display default menus on xash3d.
  • Allow to ignore forced game mod based on map prefix.

Linkage

  • Mark xash3d engine as modern game version.
  • Added xash3d-specific cvars that are not registered on goldsrc.
  • Added support for 25th anniversary hl-update structures.
  • Added support for loading from custom folders.
  • Support for x64 xash fwgs builds.

Build

  • Reworked meson buildfile.
  • Reworked packaging.
  • Added cmake build config.
  • Deprecated macos (i386) build, moved binary to extras.

New Cvars

  • yb_kick_after_player_connect - Kick bots to automatically make room for human players.
  • yb_quota_adding_interval - Interval in which bots are added to the game.
  • yb_quota_maintain_interval - Interval on which overall bot quota are checked.
  • yb_breakable_health_limit - Specifies the maximum health of breakable object, that bot will consider to destroy.
  • yb_object_destroy_radius - The radius on which bot destroy breakables around it, when not touching with them.
  • yb_avoid_grenades - Allows bots to partially avoid grenades.
  • yb_rotate_bots - Randomly disconnect and connect bots, simulating players join/quit.
  • yb_rotate_stay_min - Specifies minimum amount of seconds bot keep connected, if rotation active.
  • yb_rotate_stay_max - Specifies maximum amount of seconds bot keep connected, if rotation active.
  • yb_economics_disrespect_percent - Allows bots to ignore economics and buy weapons with disrespect of economics..
  • yb_check_darkness - Allows or disallows bot to check environment for darkness, thus allows or not to use flashlights or NVG.
  • yb_threadpool_workers - Maximum number of threads bot will run to process some tasks.
  • yb_has_team_semiclip - When enabled, bots will not try to avoid teammates on their way.
  • yb_graph_auto_collect_db - Allows bots to exchange your graph files with graph database automatically.
  • yb_grenadier_mode - If enabled, bots will not apply throwing condition on grenades.

Special thanks

Full Changelog:

4.3.734

03 Feb 13:16
84c2794
Compare
Choose a tag to compare

fix: crash with menus and commands (resolves #292)
fix: duplicate bot names when save names active (resolves #403)

4.3.729

28 Jan 16:18
70c8af1
Compare
Choose a tag to compare

fix: do not save bots names between levels when name prefix is set (resolves #315)
fix: prevent dropping weapons on "drop c4" command
fix: do not prevent buying on fy_* maps (resolves #325)
fix: increase maximum message length that can me shown on center of screen (resolves #322)
fix: do not remove player_weaponstrip on regamedll (not affected by this bug)
fix: use memfile to use engines search paths for veryfying chatter files (resolves #328)
fix: wrong data type for flash level (flashbat message) (resolves #329)
fix: chat percentage isn't working as expected (resolves #332)
fix: do not touch buckets while editing graph, buckets are not used while editing
fix: vip detection with custom mods (resolves #355)
fix: bots do not look at the wall while camping. (resolves #303)
fix: prevent loading graphs with less than 8 nodes (brokes pathfinder)
fix: prevent running A* with less than 8 nodes (in case converted one)
fix: trying to play with graph author/modified stuff per #374
fix: check the last enemy presence without looking at the wall (resolves #303)
fix: use aiming node instead of nearest to predict enemy position
fix: ensure nearest search node visible from both sides
fix: disable hunting desires if bots are now vip or have hostages
fix: disallow item acquisition if we have a visible enemy
fix: fixed bots not being able to break through the breakable wall. (resolves #383)
fix: raise yb_graph_draw_distance limit to 3072 units (resolves #390)
fix: build with gcc-9 (resolves #391)
fix: filling the server with bots one more than specified

add: red and blue arrows pointing to danger index for terrorists and counter-terrorists respectively
add: yb_pickup_best cvar (allows or disallows bots to pickup best weapons)
add: make original author of graph read-only, and introduce modified by field
add: add adjust_height per request (resolves #388)
add: translated missing things from russian language
add: debug goal menu and new node flags to the flag selection menu
add: teamkill chatter event
add: new regamedll entity to legacy linkents

big thanks goes to @Vladislav4KZ and @commandcobra7 for this release

4.2.671

02 Mar 10:13
201626d
Compare
Choose a tag to compare

fix: game menus are still executed when yapb menu is showed (resolves #271)
fix: english template for deutsch translation
fix: bomb plant chat section is mistakenly assigned to kill chat section (resolves #281)
fix: replace the non-existent camp radiochatter sound (fixed #289)
fix: removed duplicate messages with cache points in console command (resolves #286)
fix: do not override other bots ping value (resolves #284)
fix: clear out graph editor upon player disconnect
fix: do not update pings for any players that are not yapb or real players (related #284)
fix: make bots reach the debug goal node (resolves #302)
fix: display message about missing camp points
fix: look straight when picking up the hostages (resolves #305)
fix: re-check ground weapon upon pickup to recheck weapon is nice to (resolves #301)
fix: prevent bots from staying forever trying to destroy breakable
fix: command menu drop command causes crash with thirdparty bots (resolves #309)
fix: print queue isn't resetted on changelevel (resolves #314)

add: add current map and current time to graph editing overlay
add: implement autosaving graph data (resolves #249)
add: option to disable autosaving (set yb_graph_auto_save_count to 0)
add: made terrorist more offensive and cts more defensive on es_ maps

graph: auto acquire editor rights via menu
graph: change outgoing path to white again (fix #277)

full changelog: 4.2.637...4.2.671

4.2.637

14 Jan 21:29
a763c9b
Compare
Choose a tag to compare

package: fixed graph urls

4.2.633

03 Jan 21:29
e21e9a7
Compare
Choose a tag to compare

Happy new year!

refactor: use xash3d physics interface to handle with linkents
add: allow "erase" command on hlds without acquiring editor
fix: graph url is fixed and moved to yapb.jeefo.net
fix: hostage code ((@godhand897)
update: german translation (@godhand897)
update: russian translation (@Vladislav4KZ)
update: yapb.cfg to reflect latest cvars changes

4.2.623

20 Sep 10:52
6f912eb
Compare
Choose a tag to compare

add: yb_chat_percent, yb_camping_time_[min/max], yb_danger_factor[min/max], yb_chat_percent cvars
fix: possible crash with difficulty 0
fix: debug_goal should not be used as last history
fix: startup on old hlds, because of missing pfnGetFileSize
fix: crash with out-bounds read
change: again tweaked some aiming code
change: player avoidance code so bots will jump less when stuck
change: max followers is just /4 of max players
refactor: redone distance between vectors
refactor: remove magic numbers in graph.add function

4.2.622

18 Sep 11:08
6e83258
Compare
Choose a tag to compare

change: aiming code a little tweaked to reduce headshot ratio
change: bot path type selection is based on morale (fear/aggression level)
change: increase defend node search radius
change: mark last selected goals within round as used, so bots will take cover all the map
fix: fix crash with metamod since last commits
fix: fakeping disappearance
fix: bots continuesly trying to reach goal, after falling down while going on path
build: remove -fPIC option for linux