BTG 发表于 2003-11-13 20:54:37

拽~~~~~~~

jl_high 发表于 2003-11-14 07:46:08

无语。。。。。

z81 发表于 2003-11-14 08:47:37

最初由 jl_high 发表
无语。。。。。

Installation for Linux
Note: The average player doesn't need this. Unless you host a dedicated linux server, skip this part.

If you are using ADMINMOD you should NOT activate RealBot, instead read the whole process here first before doing anything!
1) cd into your hlds_l directory
2) extract the archive there: tar xvzf rbaipr2_linux.tar.gz A directory hlds_l/realbot should appear.
3) if you wish to use Realbot for counter-strike: cd into cstrike/dlls and create a symbolic link to the dll there: ln -s ../../realbot/dll/realbot_i486.so
4) to activate the mod, cd back to hlds_l/cstrike/. Edit the file liblist.gam and replace the line gamedll_linux "dlls/cs_i386.so" with gamedll_linux "dlls/realbot_i486.so"
5) if you want to activate Realbot for other mods, repeat 3) and 4) with the corresponding directory. Don't activate realbot for unsupported mods or it'll crash. Also don't do step 4) if you use AdminMod (see below).

Note: You cannot waypoint maps on a dedicated server. If you wish to use custom maps on your linux server with realbot, you have to waypoint the maps on a windows listen server and copy the waypoint files to your linux box. Find the files in realbot/data/<mod-name>/maps

Installation with AdminMod (for Windows and Linux)
Note: The average player doesn't need this. Unless you host a dedicated server, skip this part.

1) do NOT activate Realbot for any mod, because that overwrites the liblist.gam and deactivates AdminMod.
2) go to your server.cfg and set admin_bot_protection 1.
3) for windows only: copy the realbot.dll to the dlls-folder in the mod directory. For linux you already made a symbolic link (see linux install, step 3)
4) add +localinfo mm_gamedll dlls/realbot.dll (Windows) or +localinfo mm_gamedll dlls/realbot_i486.so (Linux) to the command line you use to start the server.

Be aware that some admin mod plugins are not compatible with bots and might crash your server. If you encounter any problems with realbot, check if those errors occur without admin mod too before contacting us.

jl_high 发表于 2003-11-15 13:48:11

先表示感谢,其实Win和Linux的机器人安装原理都差不多,我也是在服务启动命令行里添加了+localinfo mm_gamedll dlls/realbot.dll路径也对,服务器运行很正常,但是就是没有机器人出现,在控制台上手工添加rb_addbot方式也没反应。真是很奇怪。但是我用客户端自己建游戏realbot就很正常。

z81 发表于 2003-11-15 14:07:02

Dedicated Servers commands
This is for everyone who hosts a dedicated server. Because of some problems with the commands, you cannot use spaces in commands. Use underscores _ instead. For example, to add a bot, rbds addbot_1_2_5_dude works.

rbds addbot team skill model name
Adds a bot, see rb_addbot for listen server.

rbds removebot amount team
Removes bots, see rb_removebot for listen servers..

rbds endround
Kills all bots, like rb_endround for listen servers.

rbds skill skill
Specify the skill. rbds skill_1 is the same as rb_skill 1 on listen servers. Note, -1 sets random skill (rbds skill_-1)

rbds autoskill
Same as rb_autoskill. Use rbds autoskill_1 to turn on.

rbds internet
will toggle Internet mode on and off.

rbds interval_(min)_(max)
Specify the minimum and maximum time it could take before a new bot joins. Bots randomly pick within these boundries. Values are given in seconds

Minimum = 10 seconds
Maximum = 30 seconds

rbds setroundlimit_(MIN PLAYING ROUNDS)_(MAX PLAYING ROUNDS)
Specify how many rounds a bot should play within these boundries when joining via internet simulation.

rbds minbots
rbds maxbots
Sets the minimum and maximum number of bots playing.

jl_high 发表于 2003-11-15 15:17:57

呵呵,多谢,多谢。高手就是不一样,原来是这样做。
我做通了,困扰很长时间问题终于解决了。
佩服。

jl_high 发表于 2003-11-15 15:42:50

但是在下还有个问题请教,我是修改liblist.gam文件添加gamedll "..\realbot\dll\realbot.dll" 才做成功的,但是我的服务器还需要C-D,所以需要metamod,所以我只能在autoexec.cfg或在服务1启动命令里添加+localinfo mm_gamedll ..\realbot\dll\realbot.dll但是这样做就不好使了,请问这是怎么回事,如何解决?多谢了。

jl_high 发表于 2003-11-15 15:58:37

看阁下提供的说明,感觉如果是AdminMod,只要在Server.cfg 中设置admin_bot_protection 1 就可以了,但是metamod好象这样做就不行。

helloworld 发表于 2003-11-18 15:24:08

最初由 jl_high 发表
但是在下还有个问题请教,我是修改liblist.gam文件添加gamedll &quot;..\realbot\dll\realbot.dll&quot; 才做成功的,但是我的服务器还需要C-D,所以需要metamod,所以我只能在autoexec.cfg或在服务1启动命令里添加+localinfo mm_gamedll ..\realbot\dll\realbot.dll但是这样做就不好使了,请问这是怎么回事,如何解决?多谢了。

我也是使用metamod的,以前使用PODBOT的时候也是这样做的,

用realbot这样做后有什么不好使的?

是不是BOT出不来了?如果是,我就不安装了。

jl_high 发表于 2003-11-18 15:33:18

是的,win32用了metamod就加不了realbot机器人,但是linux就可以,你说奇怪吗?我差不多试了所有方法,还是不行。
页: 1 [2] 3
查看完整版本: [问题] 哪位朋友成功地做过在1.6的服务器上加机器人?