Troubleshooting
Most problems fall into a few buckets. Work through the list that matches your symptom.
Bots don’t join the server
Section titled “Bots don’t join the server”- Type
yb versionin the server console. If the command is unknown, the bot is not installed correctly - redo Installation (MetaMod plugin vs standaloneliblist.gam). - Type
yb list. If it is empty, check the quota:yb_quotamust be above0. - If
yb_join_after_playeris1and no human is on the server, bots wait on purpose. Either join a team yourself or set it to0. - After a map change bots rejoin after
yb_join_delayseconds (default5). Wait a little before concluding anything. - On a listen server, make sure you didn’t cap the players with
maxplayersso low that no slot is left.
Bots join but stand still
Section titled “Bots join but stand still”yb_freeze_botsmust be0,yb_dont_shootmust be0(unless you set them on purpose).yb_ignore_enemies 1makes bots run objectives without fighting - intended for special setups only.
No graph for the map
Section titled “No graph for the map”- By default YaPB downloads a missing graph automatically (
yb_graph_url) and, if that fails, builds one itself (yb_graph_analyze_auto_startis1by default). Both need a few round restarts and work best with a couple of bots in game. - Check what you have:
yb graph statsandyb graph fileinfo. - If nothing appears, look at the console for download errors (no network, no TLS support in the build, or an empty
yb_graph_url) and see Graph Installation. - You can always waypoint the map yourself - see Graph Editing.
Bot menus won’t open
Section titled “Bot menus won’t open”- On a listen server press
=(or whateveryb_bind_menu_keyholds). - On a dedicated server you need remote access: set
yb_passwordandyb_password_keyin the server console, then runsetinfo <key> <password>in your game console. See Bot Management on a Dedicated Server. - Graph commands additionally need
yb g acquire_editor(andyb g release_editorwhen you are done).
Scoreboard extras don’t work (ping, avatars, fake players)
Section titled “Scoreboard extras don’t work (ping, avatars, fake players)”These need help from the game DLL. On a dedicated server set in addons/yapb/conf/custom.cfg:
EnableFakeBotFeatures = i'm confident for what i'm doingthen restart the server (custom.cfg applies on restart only). On a listen server it works out of the box. Details: yb_enable_query_hook, yb_show_latency, yb_show_avatars.
AMXX module (yapb_amxx) won’t load
Section titled “AMXX module (yapb_amxx) won’t load”amxx modulesmust list theYaPB APImodule as running. If it shows an error, open the AMXX logs - the module logs exactly why it failed.- Checklist:
yapb_amxxis enabled inmodules.ini;yapb_amxx.dll/yapb_amxx_i386.sosits inaddons/amxmodx/modules/; the bot itself is installed ataddons/yapb/bin/(the module loads it from there at runtime);yapb.incmatches the module version. - Full setup: Scripting.
Chat AI stays silent
Section titled “Chat AI stays silent”amxx pluginsmust showyapb_chat_ai.amxxrunning, andamxx modulesmust show bothyapb_amxxandeasy_http. The EasyHttp module comes from AmxxEasyHttp releases and is installed separately.- Check
yb_chat_ai_url,yb_chat_ai_model, andyb_chat_ai_api_key(only needed for keyed endpoints). - Set
yb_chat_ai_debug 1, reproduce, then readaddons/amxmodx/logs/yapb_chat_ai.log- it logs the resolved config, block reasons, HTTP codes, and replies. - Remember the trigger rules: by default a human message must start with the bot’s name (
yb_chat_ai_addressed 1).
Takeover doesn’t trigger
Section titled “Takeover doesn’t trigger”- The plugin needs ReAPI (hence ReHLDS + ReGameDLL) - without it the plugin neither compiles nor runs.
- You must be dead and spectating a teammate bot in first-person (
eye) or free chase (chase) mode, then pressN(orEwhenyb_takeover_use_key 1). - VIP bots, already-controlled bots, and stale/dead bots can’t be taken. Per-round limits come from
yb_takeover_max_uses. - With
yb_takeover_log 1the reasons land inyapb_takeover.log.
Where to look for errors
Section titled “Where to look for errors”- Server console output during map start.
- Bot logs:
addons/yapb/logs/. - AMXX logs:
addons/amxmodx/logs/(module load errors, plugin runtime errors,yapb_chat_ai.log,yapb_takeover.logwhen enabled).