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 |
Aug 26 2015, 10:55 PM
Post
#2
|
Advanced Member Group: Moderator Posts: 58 Joined: 10-July 15 From: Austria Member No.: 2,397 |
Will this version work on a Dedicated server ? I have tried to set this up using the above instructions (Nicely done I might add ) but the bots wont load at all . Have tried both the home and non- home and I cant figure out what I am doing wrong. This is for DODS as I don't play TF2 (just too cartoony for me) . Have set up more than a few servers using .74r2 (for stability ) as any other versions just crash too much. @Dedicated Server I've tested it under Windows and Linux, with all three games (HL2:DM, DOD:S and TF2). Yes, I was using dedicated servers (on Windows and Linux), downloaded with steamcmd (the latest version). But it also works with "Listen Servers". @Bots won't load I've updated my DOD:S dedicated server today with the newest update, and tested it again. It works flawlessly Without your server log, I can only make assumptions. 1.) First, check if metamod is running correctly. Type "meta version": QUOTE meta version Metamod:Source version 1.10.4 Built from: https://github.com/alliedmodders/metamod-so.../commit/e52d2fc Build ID: 925:e52d2fc Loaded As: Valve Server Plugin Compiled on: Nov 25 2014 Plugin interface version: 15:14 SourceHook version: 5:5 http://www.metamodsource.net/ 2.) Check if the rcbot meta plugin is loaded successfully (it should get loaded automatically, if you are using the *.vdf file). Type "meta list": QUOTE meta list Listing 3 plugins: [01] RCBot2 (1.0.0.0) by Cheeseh [02] SourceMod (1.7.2) by AlliedModders LLC [03] SDK Tools (1.7.2) by AlliedModders LLC 3.) Check if other plugins are running correctly. For instance SourceMod. Type "sm version": QUOTE sm version SourceMod Version Information: SourceMod Version: 1.7.2 SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.2) SourcePawn API: v1 = 4, v2 = 6 Compiled on: May 30 2015 05:08:16 Built from: https://github.com/alliedmodders/sourcemod/commit/255e2ef Build ID: 5208:255e2ef http://www.sourcemod.net/ 4.) You can manually load the plugin if you are typing: "meta load addons/rcbot2/HPB_bot2_meta" 5.) If everything is loaded successfully, you should get this server log: QUOTE server_srv.so loaded for "Day of Defeat" maxplayers set to 24 Server logging enabled. Server logging data to file logs/L0827002.log L 08/27/2015 - 00:27:03: Log file started (file "logs/L0827002.log") (game "/home/chris/Documents/server/dod_server/dod") (version "2234230") Unknown command "mat_bloom_scalefactor_scalar" Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27015 SV / 27005 CL L 08/27/2015 - 00:27:03: [RCBOT2] Starting plugin. [RCBot] rcbot_defrate 0.19 [RCBot] rcbot_skill 0.60 [RCBot] rcbot_anglespeed 0.25 [RCBot] rcbot_avoid_radius 80 6.) You have to edit the bot_mods.ini file. It is very likely that the default steamdir for your game is wrong. I had to change it to this: QUOTE mod = DOD steamdir = dod_server gamedir = dod bot = DOD 7.) You can check the loading of the bot dir, in your server logs: QUOTE [RCBot] HL2 MOD ID 10 (Steam Folder = dod_server) (Game Folder = dod) FOUND [RCBot] Training DOD:S capture decision 'NN' ... hold on... [RCBot] ... done! L 08/27/2015 - 00:27:03: All hooks started! [RCBot] Reading rcbot2 path from VDF... [RCBot] Reading bot profile "rcbot2/profiles/1.ini" [RCBot] m_KVs.push_back(name,[RCB]Emotional) [RCBot] m_KVs.push_back(visionticks_clients,4) 8.) You can check the version of rcbot with this command: "rcbot_ver" QUOTE rcbot_ver "rcbot_ver" = "TF2/HL2DM/DOD:S 0.98 META linux 470 (BUILD Jul 11 2015-00:31:57)" replicated - RCbot version 9.) Last but not least. Make sure you use the correct offsets from my first post, because this plugin is strictly using these offsets from the config.ini file. @Stable I was running the server for my master thesis, for about 2 weeks, without an single error. Therefore I think the plugin is stable Best regards |
Lo-Fi Version | Time is now: 19th April 2024 - 01:31 AM |