Welcome,
Guest
. Please
login
or
register
.
November 23, 2024, 01:13:28 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 2099 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:
Costigan_Q2
November 11, 2024, 06:41:06 AM
"Stay cozy folks.
Everything is gonna be fine."
There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
|iR|Focalor
November 06, 2024, 03:28:50 AM
RailWolf
November 05, 2024, 03:13:44 PM
Nice
Tom Servo
November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.
Costigan_Q2
November 04, 2024, 03:37:55 PM
Stay cozy folks.
Everything is gonna be fine.
|iR|Focalor
October 31, 2024, 08:56:37 PM
Costigan_Q2
October 17, 2024, 06:31:53 PM
Not activated your account yet?
Activate it now! join in the fun!
Tom Servo
October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
|iR|Focalor
October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
rikwad
October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
November 23, 2024, 01:13:28 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search