YAPB

From HLSW Wiki

Jump to: navigation, search

Contents

Description

YAPB is Yet Another Pod Bot plugin, a Half-Life 1 bot, based on PODBot.

YAPB is a MetaMod plugin and is maintained on Bots-United and Bots-United Forums. It can be also loaded without metamod - an standalone version, where you must replace dll in liblist.gam

You also may be interested in Bots-United Wiki to know more about bots for few games.

HLSW related

Below text refers to HLSW 1.1.x or newer only.

Server that is using YAPB in rules returns yb_version variable, which contains of course version number. There are other cvars but we are rather not interested in them.

How to add recognition to HLSW? You must edit cfg/AddOns.cfg file and add there extra lines in specified place.

Find

First, find the text (it is by default in HLSS 1.1.x)

[] = {
	['Type'] = 'AntiCheatTool';
	['Name'] = 'VAC';
	['LongName'] = 'Valve Anti-Cheat';
	['URL'] = 'http://wiki.hlsw.org/index.php/Valve_Anti-Cheat';
	['ActiveRule'] = 'secure';
};

Add below

You see the last }; - put cursor in the line below it (on the line begining, and paste below text.

[] = {
	['Type'] = 'Plugin';
	['Name'] = 'YAPB';
	['LongName'] = 'YAPB Bot';
	['URL'] = 'http://wiki.hlsw.org/index.php/YAPB';
	['ParamRule'] = 'yb_version';
};

Save and reload configs - you will see the YAPB in descripion.

Personal tools
Developer