Help - Search - Members - Calendar
Full Version: RCBot 1.00
RCBot Forums > RCBot 2 for HL2 > RCbot2
Pages: 1, 2
Cheeseh
New update to RCBot 2 for the latest in Steam update nonsense.

PLEASE DELETE YOUR OLD RCBot2 DLL and VDF from each mod before install.

Metamod Source version now only supported. The latest version includes metamod and an installer to automatically install metamod source and RCBOT2 into your mods.

Download RCBot 1.0

You can now edit the path of where you have installed RCBot by writing it in the rcbot2.vdf which is now placed in the MOD/addons/metamod folder

rcbot2.vdf
CODE

"Metamod Plugin"
{
"alias" "RCBot2"
"file" "addons/rcbot2meta"
"rcbot2path" "<where you have installed RCBOT2>"
}


the rcbot2.vdf and the rcbot2path is created automatically by the installer from where you choose to install

Includes fixes for the following problems:
CODE

1.00
====
all: updated for latest Steam
all: comes with Installer and latest Metamod Source
all: weapons ini allows weapon customisation
all: hookinfo.ini allows end users to update hooks
all: fixed hookinfo.ini loading from beta version
all: added rcbot2path into rcbot metamod VDF
tf2: medics can heal enemy spies if they dont think they are the enemy
tf2: more support for new weapons
tf2: medic fixes and improvements
tf2: fixed engis not moving equipment after successful MVM wave
tf2: fixed some bugs related to sentry gun management
tf2: bots now using custom loadouts use rcbot_customloadouts 1
tf2: allow bots to use buff items
tf2: bots attempt to use drink and snipers use bow
tf2: added projectile prediction for cow mangler
tf2: fixed some weapons
tf2: fix crash with sniper
BlueCheese
QUOTE(Cheeseh @ Oct 3 2015, 06:33 AM) *

New update to RCBot 2 for the latest in Steam update nonsense.

PLEASE DELETE YOUR OLD RCBot2 DLL and VDF from each mod before install.

Metamod Source version now only supported. The latest version includes metamod and an installer to automatically install metamod source and RCBOT2 into your mods.

Download RCBot 1.0

You can now edit the path of where you have installed RCBot by writing it in the rcbot2.vdf which is now placed in the MOD/addons/metamod folder

rcbot2.vdf
CODE

"Metamod Plugin"
{
"alias" "RCBot2"
"file" "addons/rcbot2meta"
"rcbot2path" "<where you have installed RCBOT2>"
}


the rcbot2.vdf and the rcbot2path is created automatically by the installer from where you choose to install

Includes fixes for the following problems:
CODE

1.00
====
all: updated for latest Steam
all: comes with Installer and latest Metamod Source
all: weapons ini allows weapon customisation
all: hookinfo.ini allows end users to update hooks
all: fixed hookinfo.ini loading from beta version
all: added rcbot2path into rcbot metamod VDF
tf2: medics can heal enemy spies if they dont think they are the enemy
tf2: more support for new weapons
tf2: medic fixes and improvements
tf2: fixed engis not moving equipment after successful MVM wave
tf2: fixed some bugs related to sentry gun management
tf2: bots now using custom loadouts use rcbot_customloadouts 1
tf2: allow bots to use buff items
tf2: bots attempt to use drink and snipers use bow
tf2: added projectile prediction for cow mangler
tf2: fixed some weapons
tf2: fix crash with sniper



Yes, I have been waiting for this for a long time!


QUOTE(BlueCheese @ Oct 3 2015, 10:37 PM) *

Yes, I have been waiting for this for a long time!


Be warned, windows explorer will crash if you try to extract. Move the files instead.

Why does this have a lot of errors when I try to install? It will not install to the correct directory

This is my error code:

[/quote]
[RCBOT] Found interface INTERFACEVERSION_PLAYERINFOMANAGER IPlayerInfoManager playerinfomanager
[RCBOT] Found interface INTERFACEVERSION_VENGINESERVER IVEngineServer engine
Trying... VFileSystem022
[RCBOT] Found interface "VFileSystem" IFileSystem filesystem, ver = 022
[RCBot] HL2 MOD ID 4 (Steam Folder = Team Fortress 2) (Game Folder = tf) FOUND
[RCBOT] Found interface INTERFACEVERSION_ISERVERPLUGINHELPERS IServerPluginHelpers helpers
[RCBOT] Found interface INTERFACEVERSION_ENGINETRACE_SERVER IEngineTrace enginetrace
[RCBOT] Found interface INTERFACEVERSION_SERVERGAMEENTS IServerGameEnts servergameents
[RCBOT] Found interface IEFFECTS_INTERFACE_VERSION IEffects g_pEffects
[RCBOT] Found interface INTERFACEVERSION_PLAYERBOTMANAGER IBotManager g_pBotManager
[RCBOT] Found interface VDEBUG_OVERLAY_INTERFACE_VERSION IVDebugOverlay debugoverlay
[RCBOT] Found interface INTERFACEVERSION_GAMEEVENTSMANAGER2 IGameEventManager2 gameeventmanager
[RCBOT] Found interface INTERFACEVERSION_GAMEEVENTSMANAGER IGameEventManager gameeventmanager1
Trying... ServerGameDLL008
Trying... ServerGameDLL007
Trying... ServerGameDLL006
Trying... ServerGameDLL005
Trying... ServerGameDLL004
Trying... ServerGameDLL003
[RCBOT] Cannot open interface "ServerGameDLL" IServerGameDLL servergamedll (Max ver: 8) Min ver: (2)
Failed to load plugin "../bin/HPBot2.dll


Finally, the installer only installs to half-life deathmatch, even though I only have TF2
Cheeseh
This is the error code while running , not while installing

It's still using the old Rcbot DLL. please DELETE your old RCBot2 DLL and VDF from each mod before install.

This will only work for the latest steam version.

If it installs to another mod ok, you can just copy the files in addons in the mod it installed to okay into the mod you want to install, then extract all the metamod dlls from the install zip into addons/metamod/bin
Nightc0re
QUOTE(Cheeseh @ Oct 3 2015, 03:33 PM) *
New update to RCBot 2 for the latest in Steam update nonsense.

Awesome!
Thank you very much Cheeseh, I will provide a Linux version today smile.gif

Have a nice Weekend.
Cheeseh
QUOTE(Nightc0re @ Oct 4 2015, 11:31 AM) *

Awesome!
Thank you very much Cheeseh, I will provide a Linux version today smile.gif

Have a nice Weekend.


ok great. please checke hookinfo.ini settings for Linux
BlueCheese
The installer will always break halfway through (fail to extract all the files) , so here are some manual instructions:

1.Download the latest version of metamod source from the official website (metamodsource.net). All downloads can be found in the green "Downloads" box. I use windows, so I would download MMS 1.10.6 Windows

2. Extract the addons folder in the zip to your game's root directory ( in the same folder as maps ). Merge if you already have one, and replace ALL files.

3. Now, download RCBot2 1.0 from this link (http://sourceforge.net/projects/rcbot2/)

4.Open the RCBot_1_0.zip and you will get three items: a "files" folder, GPL.txt, and the broken installer. Ignore everything except the "files" folder.

5.Open the files folder and MOVE the rcbot2 folder to a directory of your choice (Windows explorer will crash if you extract/copy).

6.Move rcbot2meta.dll into the "addons" folder you created in step 2

7.Download my rcbot2.txt file:Click to view attachment

8. Replace PATH with the directory where you have put the rcbot2 folder from step 5, but keep the quotations. Save the .txt as .vdf (My rcbot2 folder is located in "C:\Users\Matthew\Documents", so I would delete PATH, leave the quotations and put C:\Users\Matthew\Documents in the quotes)

9.Use the launcher to activate RCBot2. The launcher can be found in "rcbot2\launcher". You have successfully installed rcbot!
Cheeseh
Thanks for the manual instructions

as for the installer did you extract everything into a temporary folder before running the installer exe?

genmac
Haha LOL at steam non sense updates hehe the cycle never ends but glad Cheeseh beats it again!!!

And finally RCBOT is officially version UNO!!!
BlueCheese
QUOTE(Cheeseh @ Oct 4 2015, 05:40 PM) *

Thanks for the manual instructions

as for the installer did you extract everything into a temporary folder before running the installer exe?


Yes, I had to move all the files, because windows explorer would crash otherwise. Halfway through the installation process, the installer would run into an exception error. sad.gif
BlueCheese
This update changed a lot of things... new features...
Cheeseh
QUOTE(BlueCheese @ Oct 5 2015, 04:05 AM) *

Yes, I had to move all the files, because windows explorer would crash otherwise. Halfway through the installation process, the installer would run into an exception error. sad.gif


the installer requires you first to extract everything then run installer.exe (Maybe that's the problem)
Nightc0re
QUOTE(Cheeseh @ Oct 4 2015, 02:07 PM) *
ok great. please checke hookinfo.ini settings for Linux

I've added some smaller changes for Linux and tested the new plugin with HL2:DM and DOD:S.
The bots are working fine (although the aiming in HL2:DM is mainly targeting other bots, instead of waypoints).
However, for TF2 the server is crashing instantly after a bot/player joins.
Probably wrong offsets. I will look into this problem, today.
BlueCheese
QUOTE(Cheeseh @ Oct 4 2015, 08:24 PM) *

the installer requires you first to extract everything then run installer.exe (Maybe that's the problem)


I moved all the files to a temp folder because explorer would crash if I copied.

A sugesstion: has anyone ever tried doing an entire team of rcbots vs a team of tfbots? Do it on a fair and even gamemode like koth or cp.
woody56
QUOTE(Nightc0re @ Oct 5 2015, 12:16 PM) *

I've added some smaller changes for Linux and tested the new plugin with HL2:DM and DOD:S.
The bots are working fine (although the aiming in HL2:DM is mainly targeting other bots, instead of waypoints).
However, for TF2 the server is crashing instantly after a bot/player joins.
Probably wrong offsets. I will look into this problem, today.


Same targeting issue until I edited the bot_mods.ini for dods.

# EXAMPLE MOD FILE# valid mod types
# ---------------
# DOD
#
# valid bot types
# ---------------
# DOD
#
#dedicated server defaults
#
mod = DOD
steamdir = srcds
gamedir = dod
bot = DOD
BlueCheese
What does weapons.ini do?
dgesd
Great job!

But in DoDS I keep getting error (I don't know why it happens)
CODE
BADNESS! Tell Matt that the weapon " tried to draw with a null model ( 0, 0, not alt )
which appears almost always and everywhere. After the errors, the game appears a message
"You got an error, check your console".
In tf2 bots always wear two hats (World Traveler's Hat, and Human Cannonball), snipers with the bow shoot without the pre-emption and without regard to the target range and soldiers don't use their
banners (maybe I didn't notice).

But still this is a big step forward compared to the version a year earlier. Good luck and all the best.
Cheeseh
QUOTE(dgesd @ Oct 6 2015, 12:42 PM) *

Great job!

But in DoDS I keep getting error (I don't know why it happens)
CODE
BADNESS! Tell Matt that the weapon " tried to draw with a null model ( 0, 0, not alt )
which appears almost always and everywhere. After the errors, the game appears a message
"You got an error, check your console".


this is a problem with DODs in general, perhaps with metamod, you can check the dod:s forum
Nightc0re
QUOTE(dgesd @ Oct 6 2015, 01:42 PM) *
"You got an error, check your console".
QUOTE(Cheeseh @ Oct 6 2015, 02:15 PM) *
this is a problem with DODs in general, perhaps with metamod, you can check the dod:s forum

This is a problem of DOD:S. Valve is aware of this problem (and they are currently fixing it).
To disable the pop-up message, go to options > multiplayer > advanced > deselect auto-help > press ok > apply > ok.
dgesd
QUOTE
This is a problem of DOD:S. Valve is aware of this problem (and they are currently fixing it).
To disable the pop-up message, go to options > multiplayer > advanced > deselect auto-help > press ok > apply > ok.

I was going to think at Cheeseh)
Thanks for help.
BlueCheese
Does anyone know how to install for steamcmd tf2 server?
BlueCheese
Here's my error when I try to set up. Apparently bot_mods.ini does not recognise tf/tf2?

QUOTE

[RCBot] file not found/opening error 'addons/rcbot2\config\bot_mods.ini' mode r
[RCBot] failed to make folders for addons/rcbot2\config\bot_mods.ini
[RCBot] file not found/opening error 'addons/rcbot2\config\bot_mods.ini' mode w
[RCBot] failed to make folders for addons/rcbot2\config\bot_mods.ini
[RCBot] Making a bot_mods.ini file for you... Edit it in 'addons/rcbot2\config\bot_mods.ini'
[RCBot] Error! Couldn't create config file addons/rcbot2\config\bot_mods.ini
[RCBot] file not found/opening error 'addons/rcbot2\config\bot_mods.ini' mode r
[RCBot] failed to make folders for addons/rcbot2\config\bot_mods.ini
[RCBot] HL2 MODIFICATION "tf2/tf" NOT FOUND, EXITING... see bot_mods.ini in bot config folder
[BOT ERROR] Mod not found. Please edit the bot_mods.ini in the bot config folder
steamdir = tf2
gamedir = tf
Nightc0re
QUOTE(BlueCheese @ Oct 7 2015, 06:54 AM) *
Here's my error when I try to set up. Apparently bot_mods.ini does not recognise tf/tf2?

I assume metamod and rcbot is running fine on your server. If not look here (scroll down a little bit, ignore step #3 if you are running a dedicated server).

Since the new update, Cheeseh added the ability to change the location of the rcbot folder in the *.vdf file.
If you place your configs into addons/rcbot2/config, the *.vdf file should look like this (for tf2).

CODE
"Metamod Plugin"
{
"alias" "RCBot2"
"file" "addons/rcbot2meta"
"rcbot2path" "tf/addons/rcbot2/"
}


The plugin is searching from the root of your server folder, so you have to prepend "tf" to your path.
I have already changed this behavior for my upcoming Linux/Windows version of RCBot2 smile.gif
Cheeseh
you can also put the full (absolute) path in rcbot2path

and you need this in your bot_mods.ini

CODE

mod = TF2
steamdir = tf2
gamedir = tf
bot = TF2
BlueCheese
I put my steam id into accessclients.ini but the server says I don' have permission to use rcbot addbot? How to bypass this?

QUOTE(BlueCheese @ Oct 8 2015, 07:29 PM) *

I put my steam id into accessclients.ini but the server says I don' have permission to use rcbot addbot? How to bypass this?


Will sourcemod admins fix this? It would be easier if I could execute this from the steamcmd console.
madmax2
Cheers on v1.00 , Nice to see more contributors on the forum, too... smile.gif


QUOTE(BlueCheese @ Oct 8 2015, 07:31 PM) *

I put my steam id into accessclients.ini but the server says I don' have permission to use rcbot addbot? How to bypass this?
Will sourcemod admins fix this? It would be easier if I could execute this from the steamcmd console.

Did you try "rcbotd addbot"? I'm not sure about SM admins?
BlueCheese
Are rcbots read as tfbots in the server console? And is it possible to make the tf_bot_quota convars apply to rcbots?
BlueCheese
Hello once again, I will soon be doing the RCBOT vs TFBOT epic battle. After I am done, I will post a replay here.
BlueCheese
QUOTE(BlueCheese @ Oct 9 2015, 10:48 PM) *

Red is TFBOTS, Blu is RCBOTS


I'm done, here is my demo...

TFBOTS won every time. (Because they cheat!)

QUOTE(BlueCheese @ Oct 9 2015, 10:48 PM) *

Red is TFBOTS, Blu is RCBOTS


I'm done, here is my demo...

TFBOTS won every time. (Because they cheat!)
Cheeseh
how do you think that they cheat? tongue.gif I know they are really aimbotters (by which I mean super good at aiming) and they know sometimes if you are a spy, and turn around 90 degrees etc. tongue.gif I'd like to take things from TFBot and add them to rcbot but except make sure they don't look like they're cheating so obviously

btw I can't see your demo
BlueCheese
QUOTE(Cheeseh @ Oct 10 2015, 01:02 AM) *

how do you think that they cheat? tongue.gif I know they are really aimbotters (by which I mean super good at aiming) and they know sometimes if you are a spy, and turn around 90 degrees etc. tongue.gif I'd like to take things from TFBot and add them to rcbot but except make sure they don't look like they're cheating so obviously

I heard something about the steam ID changing - check your steam id in the console

btw I can't see your demo


Tf bots always know if you just backstabbed...
They scan through walls,
They remember that you are a spy unless you change disguises, even if you hide
Pyros are cheap
Expert disguised spies are able to see invisible enemies...



I didn't upload the demo yet because the forum lags when I try.

It's 16 MB, I'll put it into a different link.

https://wiki.teamfortress.com/wiki/Bots

You can read more about the default bots here.

Also, here is my replay:
https://www.mediafire.com/?hggyc9v8aczlaip

Can you make something like tf_bot_quota for rcbots? I wanted to make a server that booted bots when players came.
I will try turning on supermode this time.
BlueCheese
QUOTE(BlueCheese @ Oct 10 2015, 01:14 AM) *

Tf bots always know if you just backstabbed...
They scan through walls,
They remember that you are a spy unless you change disguises, even if you hide
Pyros are cheap
Expert disguised spies are able to see invisible enemies...
I didn't upload the demo yet because the forum lags when I try.

It's 16 MB, I'll put it into a different link.

https://wiki.teamfortress.com/wiki/Bots

You can read more about the default bots here.

Also, here is my demo:
https://www.mediafire.com/?hggyc9v8aczlaip

Can you make something like tf_bot_quota for rcbots? I wanted to make a server that booted bots when players came.
I will try turning on supermode this time.


Here is the results of Supermode RCBOTS and Normal TFBOTS:
https://www.mediafire.com/?ll6d4d35gfkvw3z
genmac
@BlueCheese ...YOu could also post a screenshot of the final score board of your bot battle.

For me the best map to do a bot battle is cp_cloak...it's small enough good for a 1 on 1, or 2 vs 2, or 3 vs 3 bot battle with random class spawns on, a 1 sec respawn time so the battle is highly fast paced.
I max out everything in terms of bot skills and accuracy I mean everything totally maxed out and the winner is...
BlueCheese
QUOTE(genmac @ Oct 10 2015, 08:28 PM) *

@BlueCheese ...YOu could also post a screenshot of the final score board of your bot battle.

For me the best map to do a bot battle is cp_cloak...it's small enough good for a 1 on 1, or 2 vs 2, or 3 vs 3 bot battle with random class spawns on, a 1 sec respawn time so the battle is highly fast paced.
I max out everything in terms of bot skills and accuracy I mean everything totally maxed out and the winner is...


I will make a new demo with server cvars mp_disable_respawn_times 1, tf_bot_keep_class_after_death 0 on cp_cloak. TFBOTS will be expert and RCBOTS with "Good skill". Supermode for rcbot will be on. All bots will use maxed out profiles. It will be a 12v12. All bots will use stock weapons. Is this good?

Cp_cloak doesn't allow tournament, I will use koth_nucleus instead. Ok?

[Don't max out the stock tf bots yet but do max out rcbots and check what happens. there's a supermode 1 config you can turn on rcbots so make sure that's on as well. I'm rooting on rcbots of course hehe but I'll share my results once your's are out first hehe.] (Who made this edit?)

How many rounds? I'll try 50
genmac
A 10 min battle or 10 rounds would be enough I think.
Nightc0re
Cheeseh the new update logic does not work on Linux.

CODE

if ( m_PointMasterResource.get() == NULL )
{
    edict_t *pMaster = CClassInterface::FindEntityByClassnameNearest(Vector(0,0,0),"team_control_point_master",65535);

    if ( pMaster )
    {
        extern ConVar rcbot_const_point_master_offset;
        extern IServerGameEnts *servergameents;

        CBaseEntity *pMasterEntity = servergameents->EdictToBaseEntity(pMaster);

        unsigned long full_size = sizeof(pMasterEntity);
        unsigned long mempoint = ((unsigned long)pMasterEntity) + rcbot_const_point_master_offset.GetInt();

        m_PointMaster = (CTeamControlPointMaster*)mempoint;
        m_PointMasterResource = pMaster;
    }
}


I had to use the old logic for my Linux Version.
I just wanted to let you know.

The new Linux Version is available here.
BlueCheese
Does anyone know a dedicated cvar which automatically adds tf bots? Sort of like "tf_bot_quota fill" mode, in which bots are adjusted to match the number of players?
Cheeseh
QUOTE(Nightc0re @ Oct 16 2015, 10:20 AM) *

Cheeseh the new update logic does not work on Linux.
I had to use the old logic for my Linux Version.
I just wanted to let you know.

The new Linux Version is available here.


yeah I don't know why that's there -- that was just test code which didn't work anyway. It shouldn't be on the latest svn.

Jrob updated an automatic way of doing this in Linux but didn't use the rcbot signature scanning functions

http://rcbot.bots-united.com/forums/index....ost&p=13620
Nightc0re
QUOTE(Cheeseh @ Oct 18 2015, 03:09 PM) *
yeah I don't know why that's there -- that was just test code which didn't work anyway. It shouldn't be on the latest svn.
Jrob updated an automatic way of doing this in Linux but didn't use the rcbot signature scanning functions
http://rcbot.bots-united.com/forums/index....ost&p=13620

Yeah, I've seen that, but in my case it was easier to use an additional offset in the hooks.ini.
For each update we probably have to change a bunch of offset, changing one additional offset, doesn't make a difference ^^

Regarding the changes/bug-fixes. I'll set up a github repository in the next days, so you can see all the changes.
It is nowhere near perfect, but it works at the moment, but improvements are still possible.

Best regards

Nightc0re
Cheeseh, I've created a GitHub repository for the Linux version.

You can find the repository here.
If you want to see the changes I've made, you should probably look into this commit.
Fillmore
Where do I modify the cosmetics that the bots use?

Also, where do I modify the kind of weapons that the bots use? Since the .ini has their script counterparts in it and I'd like to prohibit the bots from using botkillers all the time.
Cheeseh
QUOTE(Fillmore @ Oct 27 2015, 11:26 PM) *

Where do I modify the cosmetics that the bots use?

Also, where do I modify the kind of weapons that the bots use? Since the .ini has their script counterparts in it and I'd like to prohibit the bots from using botkillers all the time.


I'm going to have to add a Banned weapon list cos some weapons also cause the game to crash when a bot uses it. So at the moment you can't modify unless you remove the weapon classname from the weapons ini which can cause side effects by stopping them from using the original weapon
BlueCheese
I have been trying to run a tf2 dedicated server with rcbots 1.0. Does anyone know a command/program which will start off with 24 bots, and deduct bots as players join?

Example: My server has 24 bots. When I join, a bot is kicked. After playing for a while, I decide to leave. I disconnect and the server fills the server by adding a bot.
Cheeseh
QUOTE(BlueCheese @ Oct 30 2015, 11:09 PM) *

I have been trying to run a tf2 dedicated server with rcbots 1.0. Does anyone know a command/program which will start off with 24 bots, and deduct bots as players join?

Example: My server has 24 bots. When I join, a bot is kicked. After playing for a while, I decide to leave. I disconnect and the server fills the server by adding a bot.


rcbot config max_bots 24

should do this
Cheeseh
--- Moved some posts to nightc0res new forum

http://rcbot.bots-united.com/forums/index.php?showforum=34
BlueCheese
QUOTE(Cheeseh @ Oct 30 2015, 07:12 PM) *

rcbot config max_bots 24

should do this


Unfortunately, this is only for the client version. I was talking about the steamcmd tf2 dedicated server.
Kamaji
Everything is working, except for the custom loadouts. I have it set to 1, but I don't see any bots using custom weapons or cosmetics.
Fillmore
Have you tried the debug build?
Kamaji
QUOTE(Fillmore @ Nov 9 2015, 09:16 PM) *

Have you tried the debug build?


I have not. Will try now!

Update: Nope, still doesn't work.
Cheeseh

try now

http://sourceforge.net/p/rcbot2/code/HEAD/....dll?format=raw
Kamaji
QUOTE(Cheeseh @ Nov 10 2015, 10:12 AM) *


Works now. Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.