![]() |
![]() |
RoboCop |
![]()
Post
#1
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Admin Posts: 192 Joined: 17-December 15 From: Dundee, Scotland Member No.: 2,435 ![]() |
https://github.com/APGRoboCop/rcbot2/releases <<-----Downloads Here
# RCBot2 for Windows and Linux (TF2, HL2:DM, DOD:S) ## Information This is a fork of [the official RCBot2 plugin][rcbot2] written by Cheeseh. [bots-united.com discord]: https://discord.gg/BbxR5wY ## Changes from upstream - Build process uses [AMBuild][] instead of `make` or Visual Studio. This removes the need for Valve's cross platform make conversion tool and keeping copies of modified Source SDK files. - The plugin has been split into SDK-specific builds to ensure proper compatibility, using the same loader shim SourceMod uses to load mod-specific builds. - The shim is named `RCBot2Meta` to maintain compatibility with existing files; mod-specific plugins are named `rcbot.2.${MOD}`. - The `sdk-split` branch only contains modifications to get the project running on the new build tooling and SDK support without issues. It should be fairly painless to merge (though it does remove `using namespace std;` for sanity). - The usage of the install directory has been dropped. In particular, waypoints must be located under `rcbot2/waypoints/${MOD}` instead of nested under a folder matching the name of the steamdir. - Removed custom loadout and attribute support from the TF2 portion of the plugin. Other server plugins (namely [tf2attributes][] and [TF2Items][], where the implementation was ported from) are better-suited and maintained to handle that stuff; this plugin should only deal with bots themselves. - The Metamod:Source plugin can now optionally expose natives to SourceMod, adding some functionality to control the RCBot2 plugin from SourcePawn. [AMBuild]: https://wiki.alliedmods.net/AMBuild [tf2attributes]: https://github.com/FlaminSarge/tf2attributes [TF2Items]: https://github.com/asherkin/TF2Items ## Installation 1. [Install MetaMod:Source][]. 2. Download or build the RCBot2 package. 3. Extract the package into your game directory, similar to the process of installing MM:S. 4. Start the server. 5. To verify that the installation was successful, type `rcbotd` in your server console or RCON. You should see multiple lines starting with "[RCBot]". Things like the waypointing guide, hookinfo updater, and waypoints themselves are currently not available here. You can download those from the [official release thread][]. Waypoints are also available at [this page][waypoints]. [Install MetaMod:Source]: https://wiki.alliedmods.net/Installing_Metamod:Source [official release thread]: http://rcbot.bots-united.com/forums/index.php?showtopic=1994 [waypoints]: http://rcbot.bots-united.com/waypoints.php ## Building ### Cloning from source RCBot2's repo history had all sorts of build artifacts / binaries at various points in time, so pulling the repository down normally takes an unusually long while. I'd highly recommend passing in `--depth 1` or a few to avoid retrieving the files that were removed since then. ### Compiling on Windows / Linux 1. [Install the prerequisites for building SourceMod for your OS.][Building SourceMod] 2. Create a `build/` subdirectory, then run `configure.py`. - The project currently assumes GCC 5.4.0 (Ubuntu 16.04 LTS) on Linux, and MSVC version 1900 (VC++2014.3 v14.00 last I checked). Other compiler toolchains are not guaranteed to work at this time. - I use the following options (where `${MOD}` is only TF2): `python ../configure.py -s ${MOD} --mms_path ${MMS_PATH} --hl2sdk-root ${HL2SDK_ROOT}` - Specifying an `--sm-path` argument enables linking to SourceMod. - Note that the automatic versioning system requires an installation of `git` and a relatively modern version of Python 3. 3. Run `ambuild`. MetaMod:Source plugin is built and the base install files will be available in `build/package`. [Building SourceMod]: https://wiki.alliedmods.net/Building_SourceMod |
![]() ![]() |
RoboCop |
![]()
Post
#2
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Admin Posts: 192 Joined: 17-December 15 From: Dundee, Scotland Member No.: 2,435 ![]() |
Well for those who are still using RCBot2 for TF2, well I kindae got good news. I had feedback from Bot-United Discord that I've resolved some possible bugs linked to how the Engineer deploy their sentries and dispencers, plus the bots don't seem to collide too often; which is reported from TFWiki:-
https://wiki.teamfortress.com/wiki/Bots#RCBot_Bugs Also this guy Ducky praised on keeping RCBot2 maintained as well updating the bots with the newer Metamod Source Header files. I've asked him on his hookinfo as well avoid any unnecessary questions and struggles on using hookinfo.ini, as this appears to work fine on TF2 Linux server...just now: CODE givenameditem_linux=405 equipwearable_linux=431 runplayermove_tf2_linux=423 getweaponslot_linux=272 removewearable_linux=432 removeplayeritem_linux=274 weaponequip_linux=265 mstr_offset_linux=876 gamerules_linux=5 His config.ini appears to cope better without those mstr crashes on cp maps with this config:- CODE rcbot_const_mstr_offset 876 rcbot_const_round_offset 876 I've updated the RCBot2 APG download zips just now to avoid using the old broken ones! Also I've noticed 'gamerules_linux' isn't featured in bot_plugin_meta.cpp unless that was supposed to be typed near line 879? https://github.com/APGRoboCop/rcbot2/blob/m...n_meta.cpp#L879 Plus I've been told RCBot2 appears to work without sv_cheats 1 AND VAC...but I need to confirm if this VAC works fine with RCBot2. And I think the RCBot2 Launcher may of created some typos for 'rcbot_meleeonly' and 'rcbot_aimsmooting' for config.ini from where I downloaded from the original RCBot2 v1.00. I will make the config.ini and hookinfo.ini texts look neatened up and explain more on the config.ini cvars for server owners to learn and that. Oh I've discovered that using smac_cvars.smx appears to block the RCBot2 bots from spawning, so that plugin will need to be disabled in order for the bots to spawn. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 18th July 2025 - 11:11 PM |