RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 |
RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 |
Nightc0re |
Jul 15 2015, 03:11 PM
Post
#41
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
(This is the latest version, for older releases see this post)
RCBot 2 for Windows and Linux (TF2, HL2:DM, DOD:S) v1.00 r473 Information After several weeks of hard work, I've managed it, to compile RCBot2 for Linux. I've also fixed some bugs, and searched new offsets for TF2. You can find a complete list of changes below. I'm using the latest version 1.00 (revision 473) from the SVN repository, so this version might not be a stable release. However, I've tested this version a lot, and I've not encountered any problems. I've compiled the libraries for Windows and Linux (debug and release). Which version should you choose?
This plugin needs MetaMod:Source (at least version 1.10.7). You don't have to download it, because it's already included in this package. 1.) Download the complete package for your OS. 2.) Copy the "addons" folder to your "mod" folder. 3.) (Only for In-Game Servers) Add "-console -insecure" to your launch options in Steam. For HL2:DM the folder structure is "hl2_server/hl2mp/addons/". For DOD:S the folder structure is "dod_server/dod/addons/". For TF2 the folder structure is "tf2_server/tf/addons/". This is the complete folder structure for TF2. QUOTE tf2_server/tf/addons ├─ metamod │ ├─ bin │ │ ├─ metamod.2.tf2.so │ │ ├─ server_i486.so │ │ └─ server.so │ ├─ metaplugins.ini │ ├─ rcbot2.vdf │ └─ README.txt ├─ metamod.vdf └─ rcbot2 ......├─ bin ......│ ├─ RCBot2MetaDebug_i486.so ......│ └─ RCBot2Meta_i486.so ......├─ config ......│ ├─ accessclients.ini ......│ ├─ attack_util.csv ......│ ├─ bot_mods.ini ......│ ├─ bot_quota.ini ......│ ├─ config.ini ......│ ├─ hookinfo.ini ......│ ├─ normal_util.csv ......│ └─ weapons.ini ......├─ launcher ......├─ manual ......├─ profiles ......└─ waypoints Bot Quota This version supports an automatic bot quota, based on the human players. To enable "Auto Bot Quota" set the rcbot_bot_quota_interval to a value above 0 (e.g. 5) (unit is seconds). This interval is used to check the human/bot player count. For more information see config.ini. QUOTE rcbot_bot_quota_interval 5 For more information about the bot quota see bot_quota.ini. QUOTE # Bot Quota Settings # To use this settings you have to enable rcbot_bot_quota_interval # Bear in mind, that the bots also count towards the max_players setting Humans "0" => Bots "0" # This is used for the default bot quota (empty server) Humans "1" => Bots "3" # 1 Human => 3 Bots => 4 Total Players Humans "2" => Bots "2" # 2 Humans => 2 Bots => 4 Total Players Humans "3" => Bots "0" # etc. You can also use the original bot quota settings. But don't use them together with the above settings! QUOTE rcbotd config min_bots 5 rcbotd config max_bots 30 Troubleshooting
.) Fixed bug in getNextRoutePoint, which destroyed bot aiming, because of invalid vLook. .) Fixed reading of files with windows line ending (\r\n) .) Fixed all offsets for Linux .) Added "master offset" settings for TF2. .) Fixed a typo while reading bot configs (visionticksclients -> visionticks_clients) .) Fixed macro in bot_profile.cpp .) Fixed consecutive use of "addbot" .) Added debug messages in chat (rcbot debug chat 1) .) Added automatic bot quota, based on human players. .) You can now edit the path of where you have installed RCBot by writing it in the rcbot2.vdf (relative paths to the mod folder are also supported) Credits
|
Nightc0re |
Sep 8 2015, 05:20 PM
Post
#42
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
Hello, I recently installed a dedicated Linux server, running centos 6 and I thought it would be nice to host my own DOD:S server, so I installed one using the cmdsteam(?) version. Anyway, after some misfires and some tweaking with my iptables based firewall, I have a server up and runing. I also installed source mod and meta mod and have full admin access. What I need are actual people playing on my server. So I was thinking that it would be nice to have some bots running around because that might help fill up the server. After some looking around and reading some fora, I stumbled across RCBot2. I installed it using the this excellent installing guide by NightCore (although I must say it took hard thinking but luckely I am not afraid of the Linux commandline.) Long story short; the bloody thing doesn't work as it turns out I have libc.so.6 version 2.12 and the HPB_bot2_meta_i486.so file requires GLIB 2.15. I noticed on Sourgeforge that there are several builds. Is there a version that supports GLIB 2.12 and, if so, which one do I need or how can I find out myself? Any help would be appreciated, Liss Hi Liss, Thanks for the kind words. I've downloaded and installed CentOS 6.7 today (just for you). I've tried to compile RCBot2 using glibc 2.12 on CentOS 6.7. In order to achieve this, I need this library "libtier0_srv.so" (it comes with the valve dedicated server). However, this library needs "GLIBCXX_3.4.15". On CentOS 6.7 there are only these versions available: CODE GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_3.4.9 GLIBCXX_3.4.10 GLIBCXX_3.4.11 GLIBCXX_3.4.12 GLIBCXX_3.4.13 As you can see CentOS is using really old libraries. I've checked other distributions. The glibc version there is 2.21 and the glibcxx is 3.4.21. CentOS 6 is still using glibc 2.12, but this library is more than 5 years (!) old. I've tried upgrading these libraries under CentOS, but with no success. Maybe you should install a more recent Linux version. For servers I recommend Debian LTS (Long Term Support). If you want to stay in the Red Hat Distribution Line, you can also try CentOS 7, it has glibc 2.15. I'm currently writing my Master's Thesis. Therefore I don't have time to investigate this problem further. If you don't plan to switch to a newer Linux, I can try to fix your problem after the Sept. 24th. Best regards |
Lo-Fi Version | Time is now: 3rd October 2024 - 05:46 AM |