|
发表于 2003-11-14 08:47:37
|
显示全部楼层
来自 中国–辽宁–沈阳
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. |
|