Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Add Bots to a CS 1.6 Dedicated Server

A complete YaPB guide for Windows and Linux CS 1.6 dedicated servers, including standalone versus Metamod setup, bot commands, waypoint requirements, and troubleshooting.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install YaPB in your Counter-Strike 1.6 game directory, configure either standalone loading or Metamod loading, start a map, and run yapb add from the server or client console. On Windows, the official installer handles the loader configuration; on Linux, you edit liblist.gam or Metamod’s plugins.ini yourself.

The important constraints are that YaPB’s published binary is 32-bit, the files must be inside the server’s cstrike directory, and the map needs YaPB waypoint or graph data for reliable navigation.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What you are installing

YaPB is an open-source computer-controlled player bot for Counter-Strike versions through 1.6. It supports both listen servers and dedicated HLDS servers, so the same bot project can be used for a locally hosted game or a server process that players join remotely.

A bot installation has two separate parts:

  • The bot files: YaPB’s binary and supporting files must be placed in the correct game directory.
  • A loader entry: the server must be told to load YaPB either directly as a standalone game DLL or through Metamod as a plugin.

After the map is running and a player slot is free, yapb add creates a bot. YaPB also includes commands for filling the server with a selected number of bots and for removing them later.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Check compatibility before installing

Use the Counter-Strike 1.6 game directory

For this guide, the game directory is cstrike. On a typical Linux Steam installation, that is:

/usr/Steam/steamapps/common/Half-Life/cstrike

Windows users should select the directory that contains hl.exe or hlds.exe when the installer asks for a location. Do not select a parent Steam folder or a directory containing a different GoldSrc game.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Plan for a 32-bit HLDS environment

YaPB’s official documentation says that only a 32-bit binary is available because Valve dropped support for 64-bit HLDS. A 64-bit operating system can still host the server, but the Half-Life dedicated-server process and the YaPB binary must be compatible with the 32-bit HLDS environment. A loader error on startup is often a sign that this requirement has not been met.

Confirm that the map can be waypointed

YaPB navigates using map waypoint or graph data. Standard Counter-Strike maps generally have the required data available, but a custom map may not. A bot can load successfully and still behave incorrectly, remain in one area, or fail to move if the map has no usable graph.

Choose standalone or Metamod loading

There are two supported installation architectures. Pick one before copying files; do not add both loader entries for the same YaPB installation.

Setup Loader configuration Best fit Trade-off
Standalone Edit liblist.gam so the game loads YaPB directly A server with no Metamod plugin stack Simpler configuration, but YaPB is outside the Metamod plugin path
Metamod Add YaPB to addons/metamod/plugins.ini A server already using AMX Mod X or other Metamod extensions Requires a working Metamod installation and correct plugin entry

When standalone is the better choice

Use standalone loading when the server does not already rely on Metamod. The documented Linux procedure changes the gamedll_linux value in liblist.gam so the game loads YaPB’s shared library directly. This is the shortest path for a clean server.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

When to use Metamod

If AMX Mod X or other Metamod plugins are installed, YaPB’s guide recommends installing the bot as a Metamod plugin. Keeping all extensions in the same plugin-loading path makes the server easier to manage and avoids replacing the game DLL entry used by the existing stack.

Install YaPB on Windows

The Windows installer supports both listen servers and dedicated servers.

  1. Download the current Windows installer from YaPB’s official project release location. Use the release intended for Windows rather than the Linux TAR.XZ package.
  2. Run the installer. When it asks where to install, click Browse.
  3. Select the Half-Life directory that contains hl.exe or hlds.exe. The installer needs the directory above cstrike, not an unrelated game folder.
  4. Click Install. The installer copies YaPB into the appropriate game files and chooses the loader configuration based on what it finds.
  5. Check the loader result. If Metamod is detected, the installer adds YaPB to addons/metamod/plugins.ini. If Metamod is not detected, it patches liblist.gam to load yapb.dll directly.
  6. Start the dedicated server and load a map. Do not test bot commands from a menu before the map has finished loading; YaPB needs the running game server and an available player slot.

Windows installation checks

  • Look under the selected installation’s cstrike directory for the YaPB files.
  • If Metamod was present, open cstrike/addons/metamod/plugins.ini and confirm that a YaPB entry was added.
  • If Metamod was absent, inspect liblist.gam and confirm that the YaPB DLL is the configured game library.
  • Make sure the server is running the 32-bit HLDS environment supported by the published YaPB binary.

Install YaPB on Linux

The Linux instructions below assume the Counter-Strike directory is:

/usr/Steam/steamapps/common/Half-Life/cstrike

Use the cstrike directory for Counter-Strike 1.6. The documentation uses a czero directory for Condition Zero, but that is a different game directory and is not the target of this guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Linux standalone installation

  1. Stop the server before changing the game library configuration.
  2. Extract the YaPB TAR.XZ package into cstrike. Extraction should create the YaPB files and their addons/yapb path under the game directory.
  3. Open liblist.gam in the cstrike directory.
  4. Find the existing Linux game-library line:
    gamedll_linux "dlls/cs.so"
  5. Replace it with the YaPB library path:
    gamedll_linux "addons/yapb/bin/yapb.so"
  6. Save the file and restart HLDS. A restart is required for the game to read the changed library entry.

Standalone loading means liblist.gam points directly to YaPB. If the path is misspelled or the files were extracted one directory too high or too low, the server will report a library-load problem and YaPB will not initialize.

Linux Metamod installation

  1. Stop the server.
  2. Extract the YaPB package into cstrike.
  3. Open Metamod’s plugin list:
    cstrike/addons/metamod/plugins.ini
  4. Append this Linux plugin entry on its own line:
    linux addons/yapb/bin/yapb.so
  5. Save the file and restart HLDS.

Choose this route when Metamod is already the server’s extension layer. The plugin entry is relative to the game directory, so it should not begin with the full filesystem path.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Start the server and add bots

Load a map first

Start HLDS using your normal server configuration and load a Counter-Strike 1.6 map. Wait until the map is active and the server console is accepting commands. A bot cannot be added while the server is still starting or before the game DLL and YaPB have loaded.

Add one bot

When a player slot is available, run:

yapb add

You can enter the command in the dedicated-server console or, when your client has the required server access, in the in-game console. YaPB’s usage documentation supports choosing a nickname, difficulty, personality, team, and team class. The basic command lets YaPB use its defaults; use the project’s in-console usage information for the exact option syntax provided by the installed release rather than guessing parameter names.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Fill several slots

YaPB also provides a fill command for adding a chosen number of bots with selected settings:

yapb fill

The available release-specific options determine the count and bot settings. Check the command’s usage output on your server before supplying options, particularly if you are moving between YaPB releases. The server still needs enough open slots for the requested bots.

Remove or stop bots

Command Effect When to use it
yapb killbots Forces bots out of play When you need bots to stop participating immediately
yapb removebots Removes bots from the server When you want the slots cleared for human players or a new bot setup

These commands manage bots after YaPB has loaded; they do not repair an installation that failed to load.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Make sure custom maps have waypoint data

Loading a bot is not the same as giving it a navigable map. YaPB relies on waypoint or graph data that describes walkable routes, objectives, and connections. On a map with valid data, bots can select routes and play normally. On a custom map without usable data, they may stand still, bunch up, take nonsensical paths, or fail to reach parts of the level.

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

How to diagnose a map-data problem

  1. Test yapb add on a standard map known to have YaPB graph data.
  2. If the bot works there but not on the custom map, the loader and binary are probably functioning.
  3. Check whether the custom map has YaPB waypoint or graph files in the expected map-data location.
  4. If no usable graph exists, obtain compatible waypoint data or create it using YaPB’s waypointing tools and documentation.

Do not treat a bot that spawns but cannot navigate as proof that the installation is broken. Separate loader testing from map-coverage testing by first using a map with known graph data.

Verify the installation systematically

Use this checklist after every new installation or server move.

Check Expected result If it fails
Game directory YaPB files are under the server’s cstrike directory Re-extract or reinstall using the directory containing hl.exe or hlds.exe
Loader choice Exactly one valid loader path is configured Use liblist.gam for standalone or Metamod’s plugins.ini for plugin loading
Binary compatibility HLDS and YaPB are running in the supported 32-bit environment Replace an incompatible binary or run a compatible 32-bit HLDS setup
Map state A map is fully loaded before commands are entered Wait for the map change to finish, then retry
Map graph The map has YaPB waypoint or graph data Use a supported map or add/create compatible waypoint data
Command test yapb add creates a bot in an available slot Read the server console for a library or plugin-load error and check the loader entry
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot the common failure modes

The server reports a library-load error

First verify that the YaPB file exists at the exact path referenced by the loader. On Linux standalone installs, the expected path is addons/yapb/bin/yapb.so; on Linux Metamod installs, the same path appears in plugins.ini. On Windows, confirm that the installer selected the directory containing hl.exe or hlds.exe and that the resulting DLL is inside the Counter-Strike installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Next check architecture. YaPB documents a 32-bit binary limitation, so a 64-bit-only HLDS arrangement will not load that binary.

YaPB files exist, but no bot appears

  • Confirm that the map has finished loading.
  • Confirm that at least one player slot is available.
  • Run yapb add in the console that has access to the server.
  • Inspect the server console for a startup error before trying additional commands.
  • Test on a map with known waypoint or graph data.

Metamod is installed, but YaPB does not start

Open cstrike/addons/metamod/plugins.ini and check the entry character by character:

linux addons/yapb/bin/yapb.so

Make sure the line is not commented out, the file is in the active cstrike directory, and the server was restarted after editing it. If you selected Metamod mode, do not also point liblist.gam directly at YaPB unless the project’s documentation for your exact setup explicitly requires it; duplicate loader paths can create conflicts.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

The installer changed the wrong game

Windows installations can contain several GoldSrc directories. Re-run the installer and use Browse to select the directory containing the actual server executable used by your Counter-Strike 1.6 instance. Then verify the resulting files under that installation’s cstrike folder.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Bots spawn but do not navigate

This is usually a graph-data issue rather than a loader issue. Compare the behavior on a standard map. If only one custom map fails, install or create YaPB waypoint data for that map and test again.

Practical setup decisions

Clean Linux server

For a Linux server with no Metamod stack, extract YaPB into cstrike, change gamedll_linux in liblist.gam to addons/yapb/bin/yapb.so, restart HLDS, load a map, and run yapb add.

Linux server with AMX Mod X or other Metamod extensions

Extract the package into cstrike, append linux addons/yapb/bin/yapb.so to addons/metamod/plugins.ini, restart, and test the command after the map loads. This keeps YaPB with the rest of the Metamod-managed extensions.

Windows dedicated server

Run the Windows installer, select the directory containing hlds.exe, let the installer detect Metamod or configure standalone loading, restart the server, and test on a map with graph data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Maintenance rules that prevent repeat problems

  • Keep a copy of the working liblist.gam or plugins.ini before changing versions.
  • Record whether the server uses standalone or Metamod loading; future reinstalls must preserve that choice.
  • After moving the server, re-check that YaPB is inside the active cstrike directory rather than an old installation.
  • Test one known supported map after every change before diagnosing custom-map behavior.
  • When changing YaPB releases, review the installed release’s command usage because optional arguments for bot name, difficulty, personality, team, and team class may differ in presentation.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.