Configuration settings(example: -ms 30)

Place for people to discuss public servers, and also for admins to lay out the details of their servers
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

Configuration settings(example: -ms 30)

Post by -shadow- »

Hello, I am new on this forum and I am having difficulties with BZFlag.
I have tried numerous times to create a bzflag configuration file but it generates errors every time. I have no clue how to fix these. I am using a custom map.(its pretty cool i think)
anyway, here is a list of my specs...

custom map
server name "AenneaRainforest(lair_of_Shadow) no bots, no cheating(you will get banned.)
Server message dispayed when player joins "Welcome to AenneaRainforest(lair_of_Shadow)"
dont die from teamkills(preferebly team cant be shot)
message that is broadcasted every 15 minutes "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!"
no autopilot or bots
admin pswrd *******
world file to load: "C:\Program Files\BZFlag1.10.8\data\AenneaRainforest(lair_of_Shadow).bzw"
flags on buildings
spawn on buildings
jumping
no ricochet
max shots 20
fast tanks
fast shots
no badflags, no BU, no PZ, no OO
GM-max shot 1
SB-max shot 15
G- max shot 7
MG- max shot 10000
max players-10

So, if someone could help me with this, i would really apreciated it. Thankyou :wink:
Last edited by -shadow- on Tue Jan 17, 2006 4:44 am, edited 2 times in total.
Image
The laws of physics do not apply to me.
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Re: How do you start a bzflag server?

Post by Matt? »

ShadowC wrote:Hello, I am new on this forum and I am having difficulties with BZFlag.
I have tried numerous times to create a bzflag configuration file but it generates errors every time. I have no clue how to fix these. I am using a custom map.(its pretty cool i think)
anyway, here is a list of my specs...

custom map
server name "AenneaRainforest(lair_of_Shadow) no bots, no cheating(you will get banned.)
Server message dispayed when player joins "Welcome to AenneaRainforest(lair_of_Shadow)"
dont die from teamkills(preferebly team cant be shot)
message that is broadcasted every 15 minutes "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!"
no autopilot or bots
admin pswrd *******
world file to load: "C:\Program Files\BZFlag1.10.8\data\AenneaRainforest(lair_of_Shadow).bzw"
flags on buildings
spawn on buildings
jumping
no ricochet
max shots 20
fast tanks
fast shots
no badflags, no BU, no PZ, no OO
GM-max shot 1
SB-max shot 15
G- max shot 7
MG- max shot 10000
max players-10

So, if someone could help me with this, i would really apreciated it. Thankyou :wink:
is this the exact thing you are putting in the conf? if so that is totally wrong
Image
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

no it isnt

Post by -shadow- »

no its not i actually used the config html page
that is just the specs i want here il upload the config page
Image
The laws of physics do not apply to me.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

Config text document

Post by -shadow- »

#Server Message displayed when player joins
-srvmsg "Welcome to AenneaRainforest(lair_of_Shadow)"

#Player does not die when killing a teammate
-tk

#Message that is broadcast every 15 minutes
-admsg "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!"

#Disable robots and the ROGER autopilot
-prohibitBots

#Set time limit on each game [s]
-time 0

#Increase debugging level
-dddd

#Administrator's password
-password "v~%.g6"

#World file to load
-world "C:\Program Files\BZFlag1.10.8\data\AenneaRainforest(lair_of_Shadow).bzw"

#Flags can exist on buildings
-fb

#Tanks can spawn on buildings
-sb

#Tanks can jump
-j

#Ordinance richochets
+r

#Maximum concurrent shots
-ms 5

#Bad Flag shake time [s]
-st 5
Image
The laws of physics do not apply to me.
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

ShadowC
I don't think bzfs would like the symbols in -password. Try something else...

Also add a -publicaddr and -public. -publicaddr is used for your IP address and -public is the server description. Find out your IP from whatismyip.com and replace "yourIPAddress" with your IP address.

And I see you're using:

Code: Select all

-world "C:\Program Files\BZFlag1.10.8\data\AenneaRainforest(lair_of_Shadow).bzw" 
BZFlag1.10.8?! Get the latest version (2.0.4) - bzflag.org :)

That could be your problem too.

So your new config would be:

Code: Select all

# Server Address
-publicaddr yourIPAddress:5154

# Server Description
-public "ShadowC's Test Server"

# Port
-p 5154

#Server Message displayed when player joins 
-srvmsg "Welcome to AenneaRainforest(lair_of_Shadow)" 

#Player does not die when killing a teammate 
-tk 

#Message that is broadcast every 15 minutes 
-admsg "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!" 

#Disable robots and the ROGER autopilot 
-prohibitBots 

#Set time limit on each game [s] 
-time 0 

#Increase debugging level 
-dddd 

#Administrator's password 
-password myNewPassword 

#World file to load 
-world "C:\Program Files\BZFlag2.0.4\data\AenneaRainforest(lair_of_Shadow).bzw" 

#Flags can exist on buildings 
-fb 

#Tanks can spawn on buildings 
-sb 

#Tanks can jump 
-j 

#Ordinance richochets 
+r 

#Maximum concurrent shots 
-ms 5 

#Bad Flag shake time [s] 
-st 5
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

dangit meteorite u beat me too it :evil: :twisted: oh an u forgot to pm me
Image
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

COMPLETE conf file

Post by optic delusion »

I highly reccomend this conf file... I use something very similar after a year of serving.
It has all the options explained, so later.. when you want to make a change... it's right there for you.

Turn your debug level down to single -d
debug after you have it running..
Attachments
bzfsminimal.conf.txt
(12.79 KiB) Downloaded 101 times
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

thanks

Post by -shadow- »

thanks soooo much guys
il get that conf program and i cant run 2.0.0 or higher for some reason.
my computer thinks its a process to be run in backround thanks soo much
eventually im going to get a wireless driver for my solaris computer so il be able to play a later version. :wink:

cya
Image
The laws of physics do not apply to me.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

config file

Post by -shadow- »

how does that config file work i dont understand it.
the file is all jumbled.
Image
The laws of physics do not apply to me.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

It's in plain text format, from a macintosh. I suppose you are using windows.
There is some setting in your text editor the uses the same tab settings.
I'm not sure what it is on windows, "Use PlainText" or something like that.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

conf

Post by -shadow- »

i cant find anything like that. Yes i am using microcrap but soon it will be
solaris.(similar to linux can run files for linux i think)
anyway i dont know how to do that.
il just edit the code that meteorite gave me
he included better explanation of what everything was.
at least your file aint in binary! :wink:
thanks anyway
Image
The laws of physics do not apply to me.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

cut and paste

Post by optic delusion »

This is the bare minimum needed to run a server.
I suggest getting it running privately and only then removing the #comment in front of -q . if everything is set right, the listserver will connect.

# This is a BZFlag Server (bzfs) configuration file. To make the server
# use this file, use the command "bzfs -conf /path/to/this/file.conf".
# Please read through it carefully. Lines starting with a # are comments.
# to enable an option, remove the # at the beginning of a line. To
# disable that option, put the # back. There are some examples in this
# file. Make sure you change the examples if you uncomment the line. If
# you don't know what something does, you are probably okay to just leave
# it commented out. Failure to read through this file (looking for
# already uncommented lines) might be a little embarrassing. Have fun.
#
#EDITed by a-delusion. a minimal conf 10-03-05
#just plug in your map path and IP numbers it should work
# don't take out any comment markers or add funny stuff yet
# don't do anything unnecesarily.just do what is absolutely needed.
# go one step at a time, you don't even need to specify a map
# it will create a random map for you.
# GET IT WORKING then do all the fun stuff later


# Enables inertia and sets the maximum linear and angular accelerations.
# The units are somewhat arbitrary so you'll have to experiment to find
# suitable values. The values must be non-negative and higher values
# yield greater inertia.

-a 50 38

# This is the server welcome message. Please change it. You can use \n
# to designate new lines.
-srvmsg "I have a cool BZFlag server, and I can not read."

# Define a message which will be broadcast to all players every 15
# minutes.
-admsg "This message gets sent to users every 15 minutes."

# When -c is supplied, this option randomly rotates the buildings.

# Automatically assigns players to teams when they join so that teams are
# evenly matched in number of players. Players are placed on teams with
# lowest number of players first, then those with the lowest scores or
# kill ratios.
#-autoteam

# This option allows world objects to be randomly rotated. Only applies
# if a randomly generated world is used.
#-b

# This option sets up your ban list. This is ip masks separated by
# commas.

#-ban "192.168.1.5,10.10.2.*,10.2.*.*"

# This option tells the server where to store the banlist. The banlist will
# be loaded from this file when the server starts (if the file exists) and
# written back to the file when someone gets banned or unbanned. If this
# option isn't used the banlist will not be saved.
#-banfile /path/to/mybanfile

# Specify a file that contains bad words that will be used when either
# -filterCallsigns or -filterChat is enabled.
#-badwords /conf/multilingualSwearList.txt

# Turn on the filtering of chat messages. Messages have words provided
# via a -badwords file are replaced with !@#$%^&* characters.
#-filterChat

# Turn on the filtering of callsigns. Callsigns are compared against
# bad words provided via -badwords.
#-filterCallsigns

# By default, all filtering is aggressive, matching much more than what
# is strictly listed in a -badwords file for convenience. Providing this
# option will make the -filterCallsigns and -filterChat comparisons
# exact match only.
#-filterSimple

# This option allows jumping.
-j

# This enables capture-the-flag style game. Default is free-for-all style
# game.
#-c

# Enables capture-the-flag style game with a balanced random map. Default is
# free-for-all style game.
#-cr

# This option is for debug. You can have as many as 4 of them.
# simple debug
-d ### use simple debug
# and more complex debugging.
#-dd
#-ddd
#-dddd

# This option controls the building density on random worlds(1-10) default is 5
#-density 5

# It is possible to restrict bots and autopilot from being used on the server.
# This is accomplished with the following.
#-disableBots

# There are two sets of flags. Flags that must be in the world at all times
# and flags that may get generated randomly in addition. +f specifies flags that
# must be there and -f specifies flags the should not be randomly generated.

# The server will randomly generate flags from the following list. If you
# want to be sure there is at least a certain amount of a flag on the map
# at any given time, you can use the +f option to guarantee a certain
# number of a flag by repeating the option that many times. So to insure
# there are at least 4 Oscillation Overthrusters you would do the
# following, minus the # signs. Using "+f good" is the equivalent of
# doing +f for each of the good flags. You are allowed to specify more than
# one team flag in CTF games.

#### Good Flags#####
+f A{2}
# Agility
+f CL{2}
# Cloaking
+f F{2}
# rapid Fire
+f G{1}
# Genocide
+f GM{2}
# Guided Missile
+f IB{2}
# Invisible Bullett
+f L{2}
# Laser
+f MG{2}
# Machine Gun
+f N{2}
# Narrow
+f OO
# Oscillation Overthruster
+f PZ{2}
# Phantom Zone
+f QT{2}
# QuickTurn
+f SE{2}
# SEer
+f SH{2}
# SHield
+f SR{2}
# SteamRoller
+f ST{2}
# Stealth
+f SB{2}
# Super Bullett
+f SW{2}
# Shockwave
+f TH{2}
# THeif
+f T{2}
# Tiny
+f US{2}
# USeless
+f V{2}
# Velocity (high speed)
+f WG{2}
# Wings


#### BAD FLAGS####
+f BY{1}
# Bouncy
+f TR{2}
# Trigger Happy
#+f BL{1}
# BLindness
+f CB{1}
# CB - Color Blindess
+f FO{1}
# FO - Forward Only
+f JM{1}
# JM - Jamming

+f LT{1}
# Left Turn only
+f M{1}
# Momentum
+f NJ{6}
# No Jumping
+f O{1}
# Obesity
+f RC{1}
# Reverse Controls
+f RO{1}
# Reverse Only
+f RT
# Right Turn only
+f WA{1}
# Wide Angle
#+f B*
#+f R*

# You can specify more than one team flag in CTF
# B* - Blue Team
#G* - Green Team,
#P* - Purple Team,
#R* - Red Team,

# #thesetwo have no effect unless they are turned off elsewhere in this conf
# R - Ricochet,
# J - Jumping


# If you want to restrict a certain flag, you can use the -f option.
# just like with the +f option. "-f bad" is the same as doing -f for
# all of the bad flags. You might want to turn off jump and ricochet
# flags if the server already has jump and ricochet turned on.

#-f bad
#-f JP
#-f R

# This option allows for flags on box buildings.
#-fb

# This option allows tanks to spawn on buildings. This is especially useful
# as tank spawn locations are now are calculated on the server without the
# advantage of knowing where shots are.
#-sb

# Registered player files which will be loaded on startup.
#-passdb server.pass
#-userdb server.users
#-groupdb server.groups

# server-specific variables can be modified in-game using /set varname value
#you can use a file, set them in this file, or in the map file.
#-vars vars.txt

# This option causes the server to quit after serving one game. This is
# handy if you want to do a timed game, or script a rotating server.
#-g

# This option gives buildings random heights. This is used when
# you are using random maps.
#-h

# This option specifies a help file that will be displayed when the player
# types /help name. Files can be a max of 10 lines long each.
# the last word is the word the player types to see the message
#-helpfile jump.txt jump
#-helpfile shockwave.txt shockwave

# Server will listen for and respond to "pings" (sent via broadcast) on
# the given interface. The server uses the first interface by default.
# This is the TCP/UDP/IP address the server will listen on.
# You probably don't need to use this unless your server has multiple
# interfaces and doesn't show up on the server lists.
#-i interface


# This option kicks players after they have been warned about high lag for
# a certain number of times.
-lagdrop 3

# This option warns the user their lag is too high when it crosses the
# number of milliseconds set.
-lagwarn 350

# This option kicks the user off after they have been idle for the
# specified number of seconds.
-maxidle 300

# This sets the max number of players. It can be done in 2 ways. A flat
# count of players, or by number of players on a given team.

# This allows up to 50 players, no team limits.
-mp 10

# This allows for max player by team.
# The order is rogue, red, green, blue, purple,observer
-mp 4,4,4,4,4,3

# This option sets the max score for players. The game ends when a person
# reaches this score and is declared the winner.
#-mps 100

# This sets the maximum number of shots before a reload. The default
# is 1.
-ms 4

# This sets the max team score. The first team to reach this score is
# declared the winner and the game is ended.
#-mts 250

# Set to not use a UDP connection for players. You typically do NOT want to
# do this (UDP is good!)
#-noudp

# The server will listen on this port. Default port is 5154.

-p 5154

# Sets the admin password for the server. CHANGE THIS!

-password changethis

# This dumps the score to console when it changes.

#-printscore

# This is the public message that the server advertises on the public
# server list. This is required if you want to be shown on the list.
# It often advertises the map you are using. Keep it short.
#-public "Some wizbang BZFlag server - I need to read instructions"

# This is also needed to be listed on the public server list. The
# address needs to be valid in DNS.
#-publicaddr example.com:5154


# You probably don't need to use this, but it is there if you do. This
# specifies where the server advertises itself. The built-in default
# should work just fine. You need to hunt down the proper address if
# doesn't work.
# DON'T Change It
#-publiclist <list-server-url>

# Tells server not to respond to "pings". This makes the server private.
#-q

# This makes most shots ricochet.
+r

# Hunt the rabbit game is activated with this option. Use only one of these
# options.

# Choose rabbit based on score.
#-rabbit score

# Rabbit is chosen by whoever kills the rabbit.
#-rabbit killer

# Or you can choose the rabbit randomly.
#-rabbit random

# You can set up a server for replay mode by entering this option
#-replay

# This option sets the recording buffer to the specified amount of megabytes.
#-recbuf 2

# This option sets the directory to look for and save recordings.
#-recdir "C:\"

# You can specify a file so that people can type /report to report problems
# on the server. The reports are logged in this file.
#-reportfile report.txt

# You can also use this option to cause the /report to trigger a command
# as well as, or instead of logging to a file.
#-reportpipe command

# This requires clients to use UDP (a good thing). This will generally
# make the server behave better, and make play more smooth.
#-requireudp

# Use +s to have the server generate a certain number of extra super flags
# and have them available at all times.
#+s 20

# The server will have up to this many super flags at any time.
#-s 30

# This option allows for antidote flags to be available for players who
# get bad flags.
#-sa

# This allows you to limit the number of shots from a particular flag.
#-sl GM 20
#-sl L 20

# This sets the amount of time in seconds that is required to pass between
# two identical messages sent.
-spamtime 10

# This sets the amount of times to warn spammers (see -spamtime) before they
# are kicked.
-spamwarn 3


# Bad flags are automatically dropped after this many seconds.
-st 5

# Bad flags are automatically dropped after this many wins.
-sw 1

# This forces all clients to use the same time of day. The time is
# determined by the server's clock. This disables the + and - keys
# on the clients.
#-synctime

# Adds teleporters to the game. for random maps only
#-t

# This option allows you to tell the server how long a team flag remains
# before it is reset after the last player on a team leaves. The default
# is 30 seconds.
#-tftimeout 60

# This sets time limit (in seconds) for the game. Time starts when first
# client connects.
#-time 3600

# This option requires a timed game to be started using the /countdown
# command to start a timed game. Default is when first player joins.
#-timemanual

# By default if a player kills a teammate, he dies too, this option turns this
# off. Used mostly for capture the flag style games.
#-tk

# Kick a player if his ratio of teammate to non-teammate kills is this
# percentage or greater.
#-tkkr 30

# This specifies the number of seconds in which a poll can be vetoed.
#-vetoTime 60

# This specifies the percentage of people required for a successful vote.
#-votePercentage 51

# This is the number of voters required to hold a poll.
#-votesRequired 6

# This is the length of time that players have to vote.
#-voteTime 60

# This option changes the size of random maps.
#-worldsize 800

# This specifies the world filename.

# Use this format for *nix and Mac
-world "/usr/games/bzflag/megadome.bzw"
# Use this format for Windows
#-world "c:\mymaps\megadome.bzw"

# put variables or loadplugin commands here
-set _tankExplosionSize 60
#-set _jumpVelocity 19.8
#-loadplugin /usr/local/lib/airspawn.so
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

conf

Post by -shadow- »

Woh! thats a lot!
also i tried running that config meteorite, i saved it as a .bat file and ran it then opened bzflag. it was not there. mabey i got somethin wrong here are the specs with everything filled in and modified.

# Server Address
-publicaddr 192.168.1.46:5154

# Server Description
-public "Shadow's Test Server"

# Port
-p 5154

#Server Message displayed when player joins
-srvmsg "Welcome to AenneaRainforest(lair_of_Shadow)"

#Player does not die when killing a teammate
-tk

#Message that is broadcast every 15 minutes
-admsg "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!"

#Disable robots and the ROGER autopilot
-prohibitBots

#Set time limit on each game [s]
-time 0

#Increase debugging level
-dddd

#Administrator's password
-password *****

#World file to load
-world "C:\Program Files\BZFlag1.10.8\data\AenneaRainforest(lair_of_Shadow).bzw"

#Flags can exist on buildings
-fb

#Tanks can spawn on buildings
-sb

#Tanks can jump
-j

#Ordinance richochets
+r

#Maximum concurrent shots
-ms 20

#Bad Flag shake time [s]
-st 5

delusion, the config thing you put there is completely confusing.
Image
The laws of physics do not apply to me.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

Use a single -d for debug level. Debug AFTER you get it running.

I see you are using a westell modem, that is your INTERNAL IP address
you need to use your EXTERNAL IP address
that can be found at http://whatismyip.com

I assume you can test locally, to run a public server you will need to punch a hole thru your firewall, do that at http://portforward.com
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

the file didnt work

Post by -shadow- »

the file didnt work
i mad the modifications u said but it still did the same thing it did b4.
everything in the text generated errors. here is what is writen...

# Server Address
-publicaddr "my ip adress from that site":5154

# Server Description
-public "ShadowC's Test Server"

# Port
-p 5154

#Server Message displayed when player joins
-srvmsg "Welcome to AenneaRainforest(lair_of_Shadow)"

#Player does not die when killing a teammate
-tk

#Message that is broadcast every 15 minutes
-admsg "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!"

#Disable robots and the ROGER autopilot
-prohibitBots

#Set time limit on each game [s]
-time 0

#Increase debugging level
-d

#Administrator's password
-password "my password"

#World file to load
-world "C:\Program Files\BZFlag2.0.4\data\AenneaRainforest(lair_of_Shadow).bzw"

#Flags can exist on buildings
-fb

#Tanks can spawn on buildings
-sb

#Tanks can jump
-j

#Ordinance richochets
+r

#Maximum concurrent shots
-ms 5

#Bad Flag shake time [s]
-st 5

of course this isnt exactly what i have. two things were changed to hide
sensitive information.
and on portforward, how exactly do you do that? give me the exact url to bring me directly to the start messing with my firewall thing.
Image
The laws of physics do not apply to me.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

Next time paste the error directly from your terminal, too. It really helps...

Put a #comment in front of your map file, it will make a random one for you.. RIGHT NOW, you need to test the server, NOT the map. Test the map after the server is up.

I WILL NOT give you the direct link to the port forward page for your modem. It is important that you read the information there. If it's too much for you, you probably dont need to run a public server.
Punching a hole thru your firewall is a security risk
If you do find the correct page, portforward.com makes it pretty easy.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

cmd picture

Post by -shadow- »

Here is what the command line did...

ImageImageImage
Image
The laws of physics do not apply to me.
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

ShadowC
I have a feeling you are not sure how to do a server...

First off drop the .bat file, it'll make things easier. Then copy and paste the following into a file named "bzfs.conf" (without the quotes):

Code: Select all

# Server Address 
-publicaddr yourIPAddress:5154 

# Server Description 
-public "ShadowC's Test Server" 

# Port 
-p 5154 

#Server Message displayed when player joins 
-srvmsg "Welcome to AenneaRainforest(lair_of_Shadow)" 

#Player does not die when killing a teammate 
-tk 

#Message that is broadcast every 15 minutes 
-admsg "Play with Shadow(admin)! 3:00-3:30 and 7:00-9:00!" 

#Disable robots and the ROGER autopilot 
-prohibitBots 

#Increase debugging level 
-dddd 

#Administrator's password 
-password myNewPassword 

#World file to load 
# -world "C:\Program Files\BZFlag2.0.4\data\AenneaRainforest(lair_of_Shadow).bzw" 

#Flags can exist on buildings 
-fb 

#Tanks can spawn on buildings 
-sb 

#Tanks can jump 
-j 

#Ordinance richochets 
+r 

#Maximum concurrent shots 
-ms 5 

#Bad Flag shake time [s] 
-st 5
Again replace yourIPAddress from the number at whatismyip.com .

Use NotePad to create this. Save it into C:\Program Files\BZFlag1.10.8 . Open MS-DOS. Type this: (each linebreak is an enter)

Code: Select all

cd C:\Program Files\BZFlag1.10.8
bzfs -conf bzfs.conf
This will create a simple random map - great for testing. You DO NOT use bzflag to create servers with many options or for permanent servers. You use a tool called "bzfs". It is the best way to create a permanent server or one needed with options bzflag does not provide.

And now for a few notes: Setting up a server is not a trivial task, we have plenty of servers already too. There are some "bugs" in Windows XP, particularly amount of flags and players. Sometimes it will crash or people will not be able to join. In order to make it public you need to learn how to configure your router and computer to forward port 5154 TCP/UDP. If this is too hard, I highly recommend you don't do this (not only that it is a slight security risk).
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Here's a better idea: read the instructions
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

RPG wrote:Here's a better idea: read the instructions
And I'm specifically interested in this...
JeffM2501 wrote:First things to ask yourself:

Are you ready to run a public server?
Do you have the bandwidth and computer speed/time to run a server?
Do you have the required computer knowledge to set up a server?
Do you have the time and/or administrators to properly maintain the server?

Running a public server is not a trivial task. It will take a significant amount of bandwidth, and dedicated computer time to run a server. At the current time (2/7/05) there are over 120 servers and over 200 players. The current ratio is about 1 server per 2 players. How will your server be different then these? What will draw people to your server rather than the others? These are all questions you should ask yourself.
:) (emphasis added)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

yay meteorite caught on to my idea!
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

Never fear.
the first time I ran a server, it took me six days to get it going.
on the seventh day, I rested.


Before you invoke the .bat file, you need to cd into bzfs

Previously, I assumed you knew how to do that.

before you run that command, you need to run another command...
cd \path\to\bzfs

BZFS is BZFlagServer
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

cd Aennea

Post by -shadow- »

oh, i didnt know that thanks!
il try that. and...
on the seventh day, I rested.
ROTFL!!!!!!!!!!
Rolling On The Floor Laughing
cya and thanks
I hope these good relations will bring a friendship.
what bzflag version do you run?
i may be running 2.0.2 soon.
2.0.2 is my favorite
Image
The laws of physics do not apply to me.
User avatar
-shadow-
Private First Class
Private First Class
Posts: 109
Joined: Sat Jan 14, 2006 3:03 am

Post by -shadow- »

ok meteorite, i did that and this is what i got...

Image
Image
The laws of physics do not apply to me.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

You are getting closer..

There you cd'd into bzflag,
you need to cd into bzfs
bzfs is inside the bzflag package.
how to get to it, in your system, idunno. on macintosh, i could tell you
on solaris...I don't have a clue..

Oh wait.. I see...you did get into bzfs..
there it said that -dddd was a bad command...
use single -d.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply