Getting a Very Simple Quake 2 Bot to Work
Hi,
I'm interested in programming, having done a bit of C++ for a few months, so I thought I'd try and see what it takes to do something really simple in Quake 2.
I saw this page that explains how to compile a simple client side bot, and then get it join a dedicated server that's running on my computer. But for some reason, it doesn't work. I'm sure this is really simple to sort out, if you know how to program, so if anyone could help me out, that'd be great.
The bot tutorial is here:
http://ai-depot.com/GameAI/Bot-ClientSide.html
and the bot code is the one in the second paragraph here:
http://www.telefragged.com/Q2BotCore/
I loaded up the workspace that comes with the bot, and it compiled the bot_test.exe properly, but for some reason it won't join my dedicated server. It gives me the message "Usage:\n bot_test <hostname>\n". I figure that means I need to tell it what to connect to, so I tried running it like this "bot_test.exe +connect 127.0.0.1", but it still didn't connect to my dedicated server.
I know I'm probably 10 years late for starting to mod Quake 2 but I figured I might as well start trying to program games somewhere.
Thanks.