Welcome,
Guest
. Please
login
or
register
.
May 24, 2025, 11:48:16 AM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Quake
(Moderator:
[BTF]DeathStalker
) »
Getting the Q2 Bot Core to Work (simple programming question)
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Getting the Q2 Bot Core to Work (simple programming question) (Read 2183 times)
Greenwood
Newbie
Posts: 30
Rated:
Getting the Q2 Bot Core to Work (simple programming question)
«
on:
March 16, 2009, 03:51:53 PM »
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.
Basically 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.
The page is this one:
http://ai-depot.com/GameAI/Bot-ClientSide.html
and the bot 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.
Does anyone understand what's going wrong with this?
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.
Logged
reaper
Opulent Member
Posts: 2872
Nice night for a walk, eh? - Nice night for a walk
Rated:
Re: Getting the Q2 Bot Core to Work (simple programming question)
«
Reply #1 on:
March 16, 2009, 05:23:20 PM »
You tried from the command prompt running "bot_test.exe 127.0.0.1", that's what the usage says. The +connect looks like a parameter the q2.exe understands. So you run the server, and then start the bot. It looks like you don't need to authenicate with rcon or anything to the server, I guess all that is in the tutorial if it's needed.
Just a guess, never messed with this stuff..
Logged
VaeVictus "reaper is a lying sack of shit and ragequit then had, probably slugs, come alias and beat me, wasnt even the same person playing OBVIOUSLY, accuracies basicly doubled, and strategy
Greenwood
Newbie
Posts: 30
Rated:
Re: Getting the Q2 Bot Core to Work (simple programming question)
«
Reply #2 on:
March 17, 2009, 03:02:29 AM »
Yeah, that worked. Thanks mate!
When I ran the dedicated server thing, it slowed my system up a bit, and everything went jerky. So I tried loading up Quake 2 and starting a new server, then having the bot join that. That was smoother, and I found the bot and ran up to it and watched it pissing around, but the weird thing was, my own player started moving around in random directions/ shooting randomly.
You know what's going on with that?
It's supposed to only run for 200 frames, but I changed it to run for 2000. You think that could have made a difference? Anyway thanks for your help, it's pretty awesome to have compiled a Quake 2 bot! It's been a long time coming. I've been wanting to mess around with this stuff for like a decade.
Logged
[BTF] Reflex
Loquaciously Multiloquent Member
Posts: 5324
!
Rated:
Re: Getting the Q2 Bot Core to Work (simple programming question)
«
Reply #3 on:
March 17, 2009, 04:49:34 AM »
Q2 is ten years young
Logged
Sometimes I think it’s a sin when I feel like I’m winnin’ when I’m losin’ again
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Quake
(Moderator:
[BTF]DeathStalker
) »
Getting the Q2 Bot Core to Work (simple programming question)
El Box de Shoutamente
Last 10 Shouts:
-Unh0ly-
May 22, 2025, 05:45:28 PM
https://drive.google.com/file/d/1VB1if3QjStPWCpbB33vbx7OOef-Negd3/view?usp=sharing
DUST 2 HD TEXTURES PUT IN BASEQ2 folder
Yotematoi
May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable
Morir y revivir es costumbre, lástima q el QT estaba bueno
ImperiusDamian
May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
|iR|Focalor
May 11, 2025, 02:33:39 PM
-Unh0ly-
May 03, 2025, 08:02:46 AM
198.179.6.200:30634
Yotematoi
May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery."
-Unh0ly-
April 20, 2025, 09:52:16 AM
https://drive.google.com/file/d/1hKRIIKPk_G9TLPpY3B4ZIbVK_00Mbwfw/view?usp=sharing
|iR|Focalor
April 02, 2025, 02:47:07 AM
Yotematoi
February 14, 2025, 12:41:48 PM
|iR|Focalor
February 13, 2025, 07:31:24 AM
I was on DM this morning for the first time in a pretty long time. Seemed fine to me.
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
May 24, 2025, 11:48:16 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search