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
#1
|
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, 08:25 PM
Post
#2
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
Hi Nightc0re, Thank you so much for your reply, it's been really helpfull and you confirmed what I already thought: the OS running on my VPS is to old (well, the version of it that is ), so I decided to upgrade it. My hosting party offers a host of operating systems, both free (Linux and FreeBSD) and not free (Windows). They also offer CentOS 7 so that might be the best choice for me. You say you are writing your Thesis. Whats it about if I may be so bold to ask? I will start writing mine coming january (Business Administation) Anyway, many thanks and good luck with the thesis. I will report back in if hit another snag. regards Hi Liss, Thanks for your feedback. Yeah I also think upgrading your OS is the best solution. Good luck with that. I hope you don't lose too much of the work you've put into it. My thesis is about "Server-Side Bot Detection In Multiplayer Games Using Artifical Neural Networks". RCBot is one of the bots I've used during data recording. This was also the reason why I have compiled this bot for Linux I will upload my thesis to the SourceMod forum. Because the guys over there provided me with human data, and they would like to see the results. I can also upload it here, if there is an interest in my work Best regards |
Liss Olefract |
Sep 9 2015, 06:12 PM
Post
#3
|
Newbie Group: Members Posts: 6 Joined: 6-September 15 Member No.: 2,407 |
Hi Liss, Thanks for your feedback. Yeah I also think upgrading your OS is the best solution. Good luck with that. I hope you don't lose too much of the work you've put into it. My thesis is about "Server-Side Bot Detection In Multiplayer Games Using Artifical Neural Networks". RCBot is one of the bots I've used during data recording. This was also the reason why I have compiled this bot for Linux I will upload my thesis to the SourceMod forum. Because the guys over there provided me with human data, and they would like to see the results. I can also upload it here, if there is an interest in my work Best regards Hi Nightc0re, Well, I am getting there, slowly but surely I am mastering the beast that is RCBots2. Its loads and I can actually load bots from the console. They don't do much because of some minor typo's I guess and I wonder if you could spare a little of your time to help me out a bit. I installed CentOS 7 and saved all the file from the previous installation and it works, so again, thank you so much. I've discovered that starting in debug mode can be very useful and it revealed the following: QUOTE Set motd from file 'cfg/motd_default.txt'. ('cfg/motd.txt' was not found.) 'cfg/motd_text.txt' not found; not loaded Level "dod_Anzio" has been loaded [RCBot] file not found/opening error 'rcbot2/waypoints/serverfiles/dod/dod_Anzio.rcw' mode rb [RCBot] Trying to create folder 'rcbot2/' failed [RCBot] Trying to create folder 'rcbot2/waypoints/' failed [RCBot] Trying to create folder 'rcbot2/waypoints/serverfiles/' failed [RCBot] Trying to create folder 'rcbot2/waypoints/serverfiles/dod/' failed [RCBot] failed to make folders for rcbot2/waypoints/serverfiles/dod/dod_Anzio.rcw Initializing Steam libraries for secure Internet server The above seems to be pointing to a rxw issue. I tried to solve it (just to test it with a symlink (ln -s) but no avail. Could the problem by in bots.ini file? QUOTE <snip> # mod = DOD steamdir = serverfiles gamedir = dod bot = DOD # </snip> the filepath tot the installation is: /home/dodserver/serverfiles The tree beneath that is: QUOTE drwxrwxr-x 2 dodserver dodserver 4096 Sep 4 10:53 bin drwxrwxr-x 12 dodserver dodserver 4096 Sep 3 23:44 dod drwxrwxr-x 5 dodserver dodserver 4096 Aug 28 16:19 hl2 drwxrwxr-x 6 dodserver dodserver 114 Aug 28 16:19 platform drwx------ 7 dodserver dodserver 78 Sep 6 19:41 rcbot2 -rwxrwxr-x 1 dodserver dodserver 6731 Aug 28 16:19 srcds_linux -rwxrwxr-x 1 dodserver dodserver 9729 Aug 28 16:19 srcds_run -rw-rw-r-- 1 dodserver dodserver 5 Sep 9 19:47 steam_appid.txt drwxrwxr-x 4 dodserver dodserver 89 Aug 28 16:19 steamapps -rwxrwxr-x 1 dodserver dodserver 47205 Aug 28 16:19 thirdpartylegalnotices.txt Permissions: QUOTE drwx------ 2 dodserver dodserver 110 Sep 9 19:35 config drwx------ 2 dodserver dodserver 58 Sep 6 19:41 launcher drwx------ 4 dodserver dodserver 4096 Sep 6 19:41 manual drwx------ 2 dodserver dodserver 4096 Sep 6 19:41 profiles And again permissions: QUOTE drwx------ 3 dodserver dodserver 16 Sep 6 19:41 day of defeat source drwx------ 3 dodserver dodserver 18 Sep 6 19:41 half-life 2 deathmatch drwxrwxr-x 3 dodserver dodserver 16 Sep 9 19:36 serverfiles drwx------ 3 dodserver dodserver 15 Sep 6 19:41 team fortress 2 Am I missing something here? |
Lo-Fi Version | Time is now: 20th April 2024 - 07:45 AM |