IPB

Welcome Guest ( Log In | Register )

> [Download] RCBot2 (TF2, HL2:DM, DOD:S)
RoboCop
post Jun 11 2017, 10:59 AM
Post #1


RCBot Fan
****

Group: Moderator
Posts: 135
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
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post May 21 2020, 12:14 AM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 878
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Nice work smile.gif ... But are these builds intended for dedicated servers, have they been run on listen servers?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nosoop
post May 21 2020, 03:12 AM
Post #3


Newbie
*

Group: Members
Posts: 5
Joined: 21-July 19
Member No.: 2,601



QUOTE(madmax2 @ May 20 2020, 05:14 PM) *

Nice work smile.gif ... But are these builds also intended for dedicated servers, have they been run on listen servers?

As long as Metamod:Source manages to load, there should be no problems with the server portion.

That said, adding a bot in listen server mode (via rcbot addbot) does crash in TF2; at the moment I'm unsure if that's a regression in the migration to the AMBuild system / upstream SDKs, or in the MM:S-based plugin in general.

Edit: It goes at least as far back as after the AMBuild change was merged in. I'm not sure if recent builds that aren't built from my codebase are also affected, but it also crashes on the build listed here.

Edit (2): Okay, no, I'm just dumb. Forgot to fix the offset for TF2 again. It is confirmed working on listen servers, as far as my basic tests go.
I'll try to watch this space in case I've caused a regression (though the removal of attribute / item support is because I only run dedicated servers myself).

This post has been edited by nosoop: May 22 2020, 06:47 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
RoboCop
post May 21 2020, 01:35 PM
Post #4


RCBot Fan
****

Group: Moderator
Posts: 135
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



QUOTE(nosoop @ May 21 2020, 04:12 AM) *

As long as Metamod:Source manages to load, there should be no problems with the server portion.

That said, adding a bot in listen server mode (via rcbot addbot) does crash in TF2; at the moment I'm unsure if that's a regression in the migration to the AMBuild system / upstream SDKs, or in the MM:S-based plugin in general.

Well so far it appears from the latest commit update from BAILOPAN for HL2SDK this week has fixed the min/max std issue that appears to hate newer GCC as I've managed to recompile RCBot2 for TF2 on my Debian with GCC 8.3. But the other SDKs like DODS and HL2DM requires the -fpermissive flag added as they seem to hate the "V_swap" but I'm not going to add that flag for that.


CODE
In file included from /home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/utlvector.h:23,
                 from /home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/convar.h:21,
                 from /home/desktop/programming/src/rcbot2/utils/RCBot2_meta/bot_cvars.cpp:4:
/home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/utlmemory.h: In member function ‘void CUtlMemory<T, I>::Swap(CUtlMemory<T, I>&)’:
/home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/utlmemory.h:330:2: error: there are no arguments to ‘V_swap’ that depend on a template parameter, so a declaration of ‘V_swap’ must be available [-fpermissive]
  V_swap( m_nGrowSize, mem.m_nGrowSize );
  ^~~~~~
/home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/utlmemory.h:330:2: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/desktop/programming/src/rcbot2/alliedmodders/hl2sdk-dods/public/tier1/utlmemory.h:332:2: error: there are no arguments to ‘V_swap’ that depend on a template parameter, so a declaration of ‘V_swap’ must be available [-fpermissive]
  V_swap( m_nAllocationCount, mem.m_nAllocationCount );
  ^~~~~~
Build failed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
RoboCop   [Download] RCBot2 (TF2, HL2:DM, DOD:S)   Jun 11 2017, 10:59 AM
Cheeseh   No major changes apart for the optimisation for S...   Jun 11 2017, 12:52 PM
dgesd   You did a very good job, mate   Jun 11 2017, 04:15 PM
RoboCop   You did a very good job, mate Its not fully stab...   Jun 11 2017, 05:07 PM
Silverscreen   Hi, the bots don't seem to be loading for me?...   Dec 7 2017, 11:01 PM
RoboCop   Hi, the bots don't seem to be loading for me...   Dec 8 2017, 08:23 AM
tryzombie501   Hi, the bots don't seem to be loading for me...   Dec 10 2017, 08:47 AM
RoboCop   Well for those who are still using RCBot2 for TF2,...   Mar 18 2018, 08:09 PM
My Time   Robocop I thank you for working and posting this. ...   Mar 22 2018, 01:23 AM
RoboCop   Robocop I thank you for working and posting this....   Mar 23 2018, 10:47 PM
My Time   You maybe right about the sv_cheats . Mine is set...   Mar 23 2018, 11:40 PM
RoboCop   Yes but it requires some math to ensure you got th...   Mar 24 2018, 02:07 PM
RoboCop   RCBot v1.00 r487-APG released! [u]Fixes by po...   Jul 11 2018, 05:23 PM
RoboCop   I've added Cheeseh's new 2018 HookInfo upd...   Jul 29 2018, 01:13 PM
dgesd   Hi. Thank you for keeping the RCBot alive. Your wo...   Aug 5 2018, 03:06 PM
RoboCop   Well it maybe because the offsets needs updated pr...   Aug 5 2018, 06:28 PM
dgesd   I have installed latest MM and SM stable builds. A...   Aug 5 2018, 07:23 PM
RoboCop   @dgesd According to Cheeseh, it appears that mstr_...   Aug 8 2018, 02:45 PM
dgesd   Thank you for your prompt response. It seems every...   Aug 9 2018, 11:54 AM
RoboCop   Well may want to stand by as Cheeseh is working on...   Aug 9 2018, 12:32 PM
dgesd   I hope it linked with the Hook FireEvent, but what...   Aug 9 2018, 04:34 PM
RoboCop   Cheeseh just done some fixes for RCBot2 - please s...   Aug 12 2018, 12:41 PM
RoboCop   Well I've added the plugin blacklist for RCBot...   Nov 5 2018, 02:07 PM
RoboCop   RCBot2 v1.2 Released! https://github.com/APGR...   May 19 2020, 11:53 PM
YuriFR   RCBot2 v1.2 Released! https://github.com/APG...   May 20 2020, 03:32 PM
RoboCop   Well, bare in mind that RCBot v1.2 no longer uses ...   May 20 2020, 10:33 PM
madmax2   Nice work :) ... But are these builds intended fo...   May 21 2020, 12:14 AM
nosoop   Nice work :) ... But are these builds also inten...   May 21 2020, 03:12 AM
RoboCop   As long as Metamod:Source manages to load, there ...   May 21 2020, 01:35 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 12th July 2020 - 02:57 PM