need help with CTF config file setup
- Aribeth
- Private First Class
- Posts: 21
- Joined: Mon Feb 16, 2004 11:22 am
- Location: Somewhere in Middle Earth
need help with CTF config file setup
Hi,
I'm not sure if this is the right place for this post.
I'm having trouble getting a CTF server running. I get the following error when I start the server:
base was not defined for team 1, capture the flag game style removed.
I want to have teams of red, green, blue, and purple with 4 players for each team, but I'm not sure I have the syntax correct.
I'm not sure if this is the right place for this post.
I'm having trouble getting a CTF server running. I get the following error when I start the server:
base was not defined for team 1, capture the flag game style removed.
I want to have teams of red, green, blue, and purple with 4 players for each team, but I'm not sure I have the syntax correct.
look at the team base definitions, and make sure you have one of each...........dont use bzedit 1.6.2 to look at this, as the colors and be messed up......look at the text file.
base
#!name Base
position 320 -320 25
rotation 0
size 30 30 1
color 1
end
you should see all the colors(1,2,3,4)
if you define ctf and define all teams, but dont have all the bases you get this error.
(fyi, nice signature block viper)
base
#!name Base
position 320 -320 25
rotation 0
size 30 30 1
color 1
end
you should see all the colors(1,2,3,4)
if you define ctf and define all teams, but dont have all the bases you get this error.
(fyi, nice signature block viper)
.........you kids, get out of my tank...........
bases
yeah the base color may be messed up again...
so you have a map in bzedit that shows red vs blue?
so you setup your config file with players red vs blue
but its really green vs blue...so BOOM..bzflag rejects it..
ALSO sometimes
when you are trying to get a map file to
run and it goes BOOM...the file itself
sometimes gets exploded... so it erases
ANY base information from the map file
so you try to run it again?...BOOM
heheheh i did this many many times...great fun!
so do like grumbler says
so you have a map in bzedit that shows red vs blue?
so you setup your config file with players red vs blue
but its really green vs blue...so BOOM..bzflag rejects it..
ALSO sometimes
when you are trying to get a map file to
run and it goes BOOM...the file itself
sometimes gets exploded... so it erases
ANY base information from the map file
so you try to run it again?...BOOM
heheheh i did this many many times...great fun!
so do like grumbler says
- Aribeth
- Private First Class
- Posts: 21
- Joined: Mon Feb 16, 2004 11:22 am
- Location: Somewhere in Middle Earth
Here is the base code from the map file.
base
#!name Base
position 400 0 0
rotation 0
size 15 15 1
color 1
end
base
#!name Base
position -400 0 0
rotation 0
size 15 15 1
color 2
end
base
#!name Base
position 0 400 0
rotation 0
size 15 15 1
color 3
end
base
#!name Base
position 0 -400 0
rotation 0
size 15 15 1
color 4
end
So, I wonder if I don't have the teams defined correctly in the config file.
base
#!name Base
position 400 0 0
rotation 0
size 15 15 1
color 1
end
base
#!name Base
position -400 0 0
rotation 0
size 15 15 1
color 2
end
base
#!name Base
position 0 400 0
rotation 0
size 15 15 1
color 3
end
base
#!name Base
position 0 -400 0
rotation 0
size 15 15 1
color 4
end
So, I wonder if I don't have the teams defined correctly in the config file.
- Aribeth
- Private First Class
- Posts: 21
- Joined: Mon Feb 16, 2004 11:22 am
- Location: Somewhere in Middle Earth
Here are the files and the command im using to run the map.
bin/bzfs -conf /conf/bzfs.conf.TempleOfIre-ctf >> $logfile 2>&1 &
bin/bzfs -conf /conf/bzfs.conf.TempleOfIre-ctf >> $logfile 2>&1 &
- Attachments
-
- templeofire-ctf.zip
- (4.02 KiB) Downloaded 219 times
Aribeth, it worked for me with the following changes:
1. Changed: -world /world/TempleOfIre-3.0.map
to -world TempleOfIre-ctf-3.0.map
2. Removed anything using the /conf directory
3. Change the -publicaddr to point to my server
Are you running this in a jail? (chroot)
I'm also going to assume that you are running
a bzfs that is later then 1.10.4, because of the
-prohibitBots option. My 1.10.4 version doesn't
have that.
P.S. It's a nice map, but the inverted pyramids
get their faces culled when they are on the edge
of the screen. Probably just another weird
inverted pyarmid bug...
1. Changed: -world /world/TempleOfIre-3.0.map
to -world TempleOfIre-ctf-3.0.map
2. Removed anything using the /conf directory
3. Change the -publicaddr to point to my server
Are you running this in a jail? (chroot)
I'm also going to assume that you are running
a bzfs that is later then 1.10.4, because of the
-prohibitBots option. My 1.10.4 version doesn't
have that.
P.S. It's a nice map, but the inverted pyramids
get their faces culled when they are on the edge
of the screen. Probably just another weird
inverted pyarmid bug...
- Aribeth
- Private First Class
- Posts: 21
- Joined: Mon Feb 16, 2004 11:22 am
- Location: Somewhere in Middle Earth
DOH! It helps to specify the correct map doesn't it!
Yes, I'm running the map in a chroot jail. I just stripped it out of the command to simplify things.
I upgraded the server to 1.10.6 the day after it came out. I use the -prohibitBots mainly because some players were flooding the server with bots every so often.
I have seen the culling on the inverted pyramids too. I tried to minimize it, but no luck. Probably another bug like you said.
Thanks much for the help.
Yes, I'm running the map in a chroot jail. I just stripped it out of the command to simplify things.
I upgraded the server to 1.10.6 the day after it came out. I use the -prohibitBots mainly because some players were flooding the server with bots every so often.
I have seen the culling on the inverted pyramids too. I tried to minimize it, but no luck. Probably another bug like you said.
Thanks much for the help.