1 Star 0 Fork 0

OrangePeel / CSBotEnabler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

image

CS Bot Enabler GitHub version Build Status Build status

A Metamod module to enable CS Bot in Counter-Strike 1.6.

Introduction

Originally written by Whistler using metamod hooks, modified by Immortal_BLG and Safety1st to patch memory directly instead.

What are the difference?

This version is based on memory patching as well for efficiency and targeting only bot stuff, in addition to:

  • Linux support
  • Works only on HLDS build >= 5971
  • An option to precache radio sounds
  • Non-bot stuffs removed
  • Some general code cleanup

Configuration

The only configuration of this module is a cvar which allows to precache radio sounds used by the bots. Located in :page_facing_up:csbot_enabler/config.ini:

// Precache all bot radio sounds.
// Please note:
//   BotChatter.db must be present.
//   Keep in mind that's about 487 files for ~10 Mo total to download.
//   Files are precached via the generic files buffer.
// -
// Default: "0"
csbot_precache_radio_sounds "0"

if you want to know what are the cvars and commands available for CS Bots, type in the server console:

cvarlist bot
cmdlist bot

Installation

Steps

  1. Stop your server 1
  2. Donwload the latest module version from the Releases section
  3. Download the bot resources files from this archive (~6 Mo)
  4. Unzip both content to your server in :open_file_folder:cstrike
  5. Open & add an entry in :page_facing_up:metamod/plugins.ini:
    Windows `win32 addons/csbot_enabler/csbot_enabler_mm.dll`
    Linux `linux addons/csbot_enabler/csbot_enabler_mm_i386.so`
  6. Configure the cvar in :page_facing_up:csbot_enabler/config.ini
  7. Start your server and enjoy.

Expected files location

├─ addons
│   └─ csbot_enabler
│       ├─ config.cfg
│       ├─ csbot_enabler_mm.dll
│       └─ csbot_enabler_mm_i386.so
├─ sound
│   └─ radio
│       └─ bot
│           ├─ a.wav
│           ├─ a_bunch_of_them.wav
│           └─ ...
├─ BotChatter.db
└─ BotProfile.db

__

1 Whatever it's your first install or just updating [1]: http://google.com/ "Google"

Troubleshooting

To check if plugin is properly loaded, type in the server console: meta list. You see something like:

meta list
Currently loaded plugins:
      description      stat pend  file              vers      src  load unlod
 [ 1] CS Bot Enabler   RUN   -    csbot_enabler_mm  v1.0.0    ini  ANY   ANY

Check the server log as well:

CS Bot Enabler v1.0.0
Status: Loaded.
  • If you see nothing, this means plugins.ini of metamod has not been modified. See step 3 above.
  • If you see badf load, make sure you did not do a typo in plugins.ini of metamod. If not, then report the issue.
  • If you see RUN but bots are not available, check the server log. It should give some message errors. This means likely memory path has failed. Keep in mind that it works only on HLDS build >= 5971. Report the issue if you have the right version.

空文件

简介

暂无描述 展开 收起
C 等 4 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/OrangePee1/CSBotEnabler.git
git@gitee.com:OrangePee1/CSBotEnabler.git
OrangePee1
CSBotEnabler
CSBotEnabler
master

搜索帮助