Half Life 2 Deathmatch: Server-side bots.
Around Christmas 2006, a friend bought a Half-Life 2 pack.
Playing and training against bots sounded like a good thing at the time so I started to write one.
After about two months of evening work, there was something playable so I started this page to beta-test it.
Last version is 1.1.3 : Download (Win32/Linux)
Please note that the site is moving to www.hurrikhan.eu
12 December 2009
Time is an illusion.
One year and a half since I've written anything for the bot. Where does the time go ?
A new challenging job and a life : I just don't have the time for this anymore.
My thanks to the ones who helped. It was fun.
Hurricane
14 April 2008
Time for a new release
Here is the new version of the bot with all the features previously only available to the users of the forum.
Changes in version 1.1.3
A few improvements have been made to the bot's AI.
The bots should be less cpu-hungry.
The bots will work better in DoD source and CTF (Within the limits of the map analysis and their mind is still set to kill).
New cvars and commands :
• hrcbot_enabled : allows to disable the bots (used to explicitely disable the bot on some maps)
• hrcbot_preferredcount : use this if you want the bot auto-balance to try to get this number of bots running
• hrcbot_forceteam : (team deathmatch) forces the bots to spawn in a fixed team
• hrcbot_autobalancebots : disables the auto-balancing of the bots, enables hrcbot_add and hrcbot_kick
• hrcbot_add : adds a bot (in a given team)
• hrcbot_kick : kicks a bot (from a given team)
• hrcbot_freezeifnoplayers : the bots will not play when no player are present
• hrcbot_dialogmsg : disables the bot version displayed to the client's screen when he connects.
• hrcbot_playermodel : Sets the bots to a given model
• hrcbot_do : executes a command as a bot (for advanced users only)
Please read the README.TXT (LISEZMOI.TXT) for details about the cvars and commands.
Known issues
Note for Windows users : you need to have your system updated in order to make the bot work. You especially need the Microsoft 2005 runtime component (SP1)
Please read the IMPORTANT NOTES.TXT file for details about Windows compatibility and how to fix it. I'd appreciate feedback about this (Did it fixed your issue ? Did it not ?)
• Most of the time, the bot cannot be harmed by combine balls and physics. This issue occurs because the HL2DM module does not update the bots physics like it should.
(The issue was fixed in "Garry's Mod" but still not in HL2DM)
As said here.
Download
9 April 2008
The forum has been moved.
Thanks to Dave, the new forum is phpbb3 and hosted by thedefectospro.com
It is much faster and has got no advertising.
You can find it
here.
7 February 2008
More free time ...
I've got a bit more time that I used to so I can add features and fix reported issues faster.
Changes in version 1.1.2
• The wrong "hrcbot file is broken" message issue has been fixed.
• Requested feature: "hrcbot_autoweaponswitch 0" will prevent the bot from switch to a better weapon whenever it finds one.
Known issues
• Most of the time, the bot cannot be harmed by combine balls and physics. This issue occurs because the HL2DM module does not update the bots physics like it should.
(The issue was fixed in "Garry's Mod" but still not in HL2DM)
As said here.
Download
5 February 2008
2008 already ...
A couple new features have been added and some improvement has been made here and there.
Changes in version 1.1.1
• Slight improvement of the cpu usage of the bot.
• Bot naming is random again.
• Requested feature: "hrcbot_crowbarmaniacs 1" will give a crowbar to the bots and give them an urge to use it on anything moving.
• New command : "hrcbot_spawnprotectionseconds N" will set the value of hrcbot_spawnprotectiontime using seconds (or close) instead of ticks.
Known issues
• On some "standalone" server setups on Windows OSes, a wrong "hrcbot file is broken" message is logged and the bot analyses a map each time it's loaded. The issue does not occurs on Steam standalone server setup.
• Most of the time, the bot cannot be harmed by combine balls and physics. This issue occurs because the HL2DM module does not update the bots physics like it should.
(The issue was fixed in "Garry's Mod" but still not in HL2DM)
As said here.
Download
31 October 2007
Halloween
Third party issue workaround.
Changes in version 1.1.0s
• This update fixes an error occuring in some scripts that are not handling the name-changed event.
Download
25 October 2007
Still alive
Here is the first beta version of the new bot architecture.
Changes in version 1.1.0r
• New internal architecture
• The bots names can now be edited in a text file.
• New parameter: The bot names file can be changed with hrcbot_namesfile.
• New parameter: The bot clan name can be changed with hrcbot_clan.
Download
25 October 2007
Portal rules !
The best game of the Orange Box. Hours of gameplay if you try to do the advanced and challenge maps.
23 August 2007
A rent about Bioshock PC
As you may know, Bioshock PC is plagued with securom (nothing new, many games are sold with this crap).
What's bad is that for Bioshock the said crap only allows two installations of the game.
I'm even more disappointed that even the Steam version of the game seems to have this. (Maybe the last Steam update fixed this ? One can only hope ...)
Anyway, here is all the good I think of how 2K loves its custommers.
To: Eric Monacelli<inquiries@2kgames.com>
CC: <dave@ttlg.com>
Subject: Thank you so much.
Dear 2K.
Thank you so much for the securom infection and the 2 installations limit on Bioshock PC.
Your wise decision makes me 50€ richer until I find a paying-customer friendly game.
Regards,
An ex future customer.
23 August 2007
A few facts
I get a lot of feedback on the bot. Most of it good. Some of it ... let's say some people have no shame or think the world spins on their belly.
Anyway, here are the answers of a few recuring questions:
• Although I though it was obvious : my first language is not English. No need to excuse yourself for your "bad" English in your emails ;).
(From this, you can also infere I'm not American)
• I'm not paid to develop the bot. I get no money whatsoever : nothing, nada, 何も, niets, nichts, rien, zéro, zlicht. (Actually it costs me money)
• I do not know anybody working for Valve.
• I only do this because, when my real job is not too taxing, it's funny.
• The said job is computer security (cryptography, digital signature, ...)
22 August 2007
New computer, and current status
My developement computer is worthy again.
• Vista 64 Ultimate
• E6850 (my first Intel since years) cooled on a Thermalright Ultra-120 extreme.
• Gigabyte GA-P35-DQ6
• 4Gb Crucial ram
• 2*T7K250 RAID hard disk (unchanged)
• nVidia 7800GTX512 (unchanged)
• Seasonic S12-650 (unchanged)
• P182 (note: The three fans on low are emiting a noisy wind noise. The P150/SOLO is much much better noise wise)
The current developement version of the bot is 1.1.0 (new, modular, software architecture).
It works fine on Windows XP/Vista/Vista 64 but I have trouble with Linux. As soon as it is fixed, I'll update the bot.
6 June 2007
Version 1.0.59 released
Many minor improvement have been made in this version (many were already available in intermediary builds made for the users of the forums)
The most relevant change is that this new build does not use SSE2 instruction set anymore.
• It prevented the bot to run on Windows with older processors (Linux was fine).
• It has been reported to run faster.
Download
8 May 2007
Sources recovered
The sources of the bot have been recovered.
I can now resume working on the project.
24 April 2007
Sad day ...
Today, the dev computer with all the latest sources of the
bot has died.
That A8N32-SLI Deluxe's infamous overheating finally lead to a suicide,
probably killing the X2 4800 CPU along. (The vcore was changing like crazy
yesterday)
The sources of the bot (and all my work) being on a 500Gb nVidia RAID I cannot
access them anymore.
(Do not panic, I still have a 1 week-old backup in case the RAID is not recoverable)
I know, striped RAID is risky/stupid but it was sooo fast.
It will take some time to get replacement parts (939 MB and CPU are "old", so
it's difficult to get them at reasonable price.)
A little rant (I makes me feel better) ...
I disliked the A8N32-SLI Deluxe and it's 40° to 50° and "AI" overclocking
issues since November 2005 (when I got it).
The temperature is "normal" for ASUS. Well, it's not rocket science that the
life expectency of overheated components is shorter. I'd say : about 17 months.
So I'm in for about 250€ of diagnostic (new cheap video card, mb and cpu to
pinpoint the problem) and then 500€ of new good components. (ie: no ASUS part)
Too bad the K10 is not released yet.
In case you are wondering if another part could be the issue, the computer was:
• A8N32-SLI Deluxe (or so they say)
• Athlon64 X2 4800 cooled by an XP120 (Thermalright/Papst)
• Corsair 2Gb 3500LL Pro (DDR433)
• Antec P150 with two 92mm Papst for intake
• Seasonic S12 600W
• Geforce 7800GTX512
• two Hitachi T7K250 in striped RAID (Windows XP, games, dev tools)
• one Hitachi T7K250 (for Vista and Linux OSes)
So I'm pretty confident in the quality of the remaining of the computer.
One could hope stability and silence with this (the 7800GTX512 is quiet, except at startup and when mass-murdering (a.k.a fun) is happening.)
11 April 2007
Team Deathmatch hotfix
A fix for a balancing bug in the the
Team Deathmatch
game is available on the
forums.
You only need this version if you are using the bot to play in
Team Deathmatch
mode
09 April 2007
Still here
My current lack of free time is drastically slowing down
the developement of the bot.
Changes in version 1.0.58
• New parameter, in order to set an upper limit to the
bots filling feature (hrcbot_maxplayer 16)
• New parameter, to enable or disable the "advertising" of
the plugin (hrcbot_motd 1)
• New parameter, so the bot does not attack a spawned
player for a given amount of ticks (hrcbot_spawnprotectiontime 120)
Known Issues
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
(thin vertical bars mostly)
• The bot has no proper way yet to know its ammunition
status. (IBotInterface issue)
• The bot has no proper way yet to know its weapon
invetory. (IBotInteface issue)
• The bot is not subject to physics (ie: physcannon and
combine balls).
This is actually a SDK/game issue.
As said here.
The plugin has not control over this. There are not many bots
for HL2MP, so it is possible Valve do not think it is important to fix this.
Maybe if enough players told them ...
Notes
• The bot has been reported to work with Half Life
Deathmatch : Source
To do this, you will have to disable the VAC.
Put a shortcut of the game to the desktop, open its
properties and add -insecure at end of the "Target" line.
• The Linux version will be made available upon request
Crash information report
On the occurence of a crash, some files could be written
which can contain helpful information.
Look for an "hrcbot_log.txt" file and for all "Steam*.mdmp" files.
They should be located in the top bin directory of the plugin you are running
ie: C:\games\Steam\SteamApps\LOGIN\half-life 2 deathmatch
22 March 2007
Thanks for all your feedback ^_^
It's really good to know players are playing against the
bot.
Changes in version 1.0.57
• Handicap 0 was broken by the new reaction time feature.
Fixed.
• A new command has been added to mute the bot.
(hrcbot_mute 1)
• Team Deathmatch support has been added. Bots should not
fight teammates anymore.
• The minplayer feature has been changed: Now the bots
will never fill the last free slot of a server to allow new players to connect.
• A side effect of the above change: a minplayer value
higher than the maximum number of players allowed will no longer trigger an
infinite loop. (plugin tries to fill in, servers says no ... until Doomsday)
• The installer has been improved: it now gives feedback
about the installation status.
Known Issues
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
(thin vertical bars mostly)
• The bot has no proper way yet to know its ammunition
status. (IBotInterface issue)
• The bot has no proper way yet to know its weapon
invetory. (IBotInteface issue)
• The bot does not seem to be always subject to
physics-based weapons (ie: physcannon and plasma balls)
For a reason yet unknown the bot location in the physical
engine and the bot location in the game engine are not always synchronized.
Notes
• The bot has been reported to work with Half Life
Deathmatch : Source
To do this, you will have to disable the VAC.
Put a shortcut of the game to the desktop, open its
properties and add -insecure at end of the "Target" line.
• The Linux version will be made available upon request
18 March 2007
Beta Installation tool available.
The version 1.0.56 is now bundled with a small
installation tool for Windows (v 1.0.56b).
It basically does the manual installation steps. Only automatically. Please
give feedback about it.
Forum available
Fresh new forum created
here.
Internet Explorer issues
The infamous Internet Explorer will not render this page
properly (and will cripple the look of many others).
Consider using a fully functionnal internet browser like
FireFox,
Opera or even
Netscape.
Changes in version 1.0.56
• Handicap has been tuned. The aim of the bot is even
worse (about 2.5 times worse at the same handicap level)
• The bot is not a Tazmanian Devil anymore. Its turn speed
has been reduced to 900 degrees by second (fast but not god)
• The bot uses different models
• The pathfinder and the map analyser has been improved.
If you used the bot with a non-standard map, you want to remove all the .hrcbot
files from the addons/hrcbot_server_plugin directory
Known Issues
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
(thin vertical bars mostly)
Notes
• The bot has been reported to work with Half Life
Deathmatch : Source
To do this, you will have to disable the VAC.
Put a shortcut of the game to the desktop, open its
properties and add -insecure at end of the "Target" line.
• The Linux version will be made available upon request
14 March 2007
Changes in version 1.0.55
• More handicap added : at handicap 5, the bot will have 0.5 seconds of reaction time. (Actually, it is handicap x 6 ticks of reaction time)
Known Issues
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
Notes
• The bot has been reported to work with Half Life Deathmatch : Source
To do this, you will have to disable the VAC.
Put a shortcut of the game to the desktop, open its properties and add -insecure at end of the "Target" line.
• The Linux version will be made available upon request
11 March 2007
Changes in version 1.0.54
• Map initialization processing now saves the analysis result. Analysis result for standard HL2DM maps is bundled.
Known Issues
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
Notes
• The bot has been reported to work with Half Life Deathmatch : Source
• The Linux version will be made available upon request
10 March 2007
Changes in version 1.0.53
• Bot can now use the stairs.
• Bot weapon switch was broken. It has been fixed.
• Pathfinding failed to detect the small barriers in "Lockdown".
It should behave better now, but at the cost of a cpu intensive work in the level initialization phase.
This will be fixed later.
Known Issues
• The bot do not crouch
• The bot has issues going around small obstacles
• The bot still has issues to detect some world collisions
Notes
• The bot has been reported to work with Half Life Deathmatch : Source
08 March 2007
Linux version available
The version 1.0.52 file is now bundled with a Linux version.
You will need to download it again in order to get it.
04 March 2007
Changes in version 1.0.52
• The disgusting strenght of the 1.0.51 bot has been reduced.
• A new command has been added in order to give a handicap to the bot.
04 March 2007
Changes in version 1.0.51
• The bot pathfinding has been rewritten with a O(n) algorithm
03 March 2007
Changes in version 1.0.50
• The bot accuracy with some weapons has been improved
• The bot will use the secondary fire mode more often than before
24 February 2007
Changes in version 1.0.49
• The bot is less "nervous" (easy for an experimented player)
• Its field of view has been reduced from 360° to 178°
Downloads
Please send your feedback and suggestions to hurricane.bot@gmail.com
Frags: 
©2007 Hurricane