Page 1 of 2

Here is my prob....

Posted: Sat May 06, 2006 6:40 pm
by Discovery
It says bad argument when i try to start it

bad argumement: "C:\program files\bzflag2.0.4\banfile.txt"

Here is my conf file:

#This is a bzfs configuration file.
#Copy and paste into a simple text file and name it like sample.conf.
#Use it like bzfs -conf sample.conf

#Public description for the server
-public "SomeFatMans arena"

#Server Message displayed when player joins
-srvmsg "Welcome! No swearing,or cheating allowed"

#Lag Warning threshold time [ms]
-lagwarn 300

#Drop player after this many lag warnings
-lagdrop 2

#Ban players based on ip addresses

#Ban File
-banfile "C:\program files\bzflag2.0.4\banfile.txt"

#Idle Kick Threshold [s]
-maxidle 500

#Team killer to wins percentage (1-100) above which player is kicked
-tkkr 20

#Speed percent over normal speed to auto kick
-speedtol 125.06

#Bad Words filter file specification
-badwords C:\program files\bzflag2.0.4\badwrd.txt"

#Message that is broadcast every 15 minutes
-admsg "Welcome! No cheating or swearing"

#Disable robots and the ROGER autopilot

#Help Messages file specification
-helpmsg "C:\program files\bzflag2.0.4\helpmsg.txt" about

#File to which to write user reports
-reportfile "C:\program files\bzflag2.0.4\myabout.txt"

#Program to which to pipe user reports
-reportpipe "C:\program files\bzflag2.0.4\reportpipe.txt"

#Increase debugging level
#Administrator's password
-password "password"

#File that stores user passwords
-passdb "C:\program files\bzflag2.0.4\mypassdb.txt"

#File that stores group privileges
-groupdb "C:\program files\bzflag2.0.4\mygroups.txt"

#File that stores user privileges
-userdb "C:\program files\bzflag2.0.4\userpriv.txt"

#Filter callsigns to disallow inappropriate user names

#Filter chat messages

#Perform simple exact matches with the bad word list

#Percentage of players required to affirm a poll
-votePercentage 50.0

#Minimum count of votes required to make a vote valid
-votesRequired 5

#maximum amount of time a player has to vote on a poll in seconds
-voteTime 120

#Maximum seconds an authorized user has to cancel a poll
-vetoTime 40

#Minimum seconds required before a player may request another vote
-voteRepeatTime 400

#Random world density
-density 9

#Flags can exist on buildings

#Tanks can spawn on buildings

#Randomly orient buildings

#Random height buildings

#World size in meters
-worldsize 500

#Maximum number of players n, or max players per team n,n,n,n,n,n
-mp 30

#Number of superflags that must exist at all times

#Number of superflags that may exist at any time

#Allow random teleporters

#Time to keep team flag around after last member has left [s]
-tftimeout 1

#Tanks can jump

#Ordinance richochets

#Maximum concurrent shots
-ms 10

#Limit Acceleration

#Bad Flag shake time [s]
-st 2

#Bad Flag shake wins
-sw 1

#Auto Team assignments

#Mandatory flags
+f good{15} +f bad{15} +f V{2} +f QT{2} +f OO{2} +f F{2} +f MG{2} +f GM{2} +f L{2} +f R{2} +f SB{2} +f IB{2} +f ST{2} +f T{2} +f N{2} +f SH{2} +f SR{2} +f SW{2} +f PZ{2} +f G{2} +f JP{2} +f ID{2} +f CL{2} +f US{2} +f MQ{2} +f SE{2} +f TH{2} +f BU{2} +f WG{2} +f CB{2} +f FO{2} +f RO{2} +f M{2} +f B{2} +f JM{2} +f WA{2} +f NJ{2} +f TR{2} +f BY{2} +f RC{2} +f A{2}

What is wrong!!!!


Posted: Sat May 06, 2006 6:54 pm
by Sir Lance-A-Lot
Try this:

-banfile "C:\Program Files\bzflag2.0.4\banfile.txt"

If that doesnt work, place your banfile in the same directory as your server, and just put this:

-banfile banfile.txt

Posted: Sun May 07, 2006 7:10 pm
by Discovery
it still doesnt wrk could i pm someone this map and all and c if you can get it??

Posted: Sun May 07, 2006 7:26 pm
by The Knights Who Say Ni
no all you need to do is show us the full error when you try and run the server scroll up and above where it says that it will tell you why whta does that say?

Posted: Sun May 07, 2006 8:21 pm
by Discovery
here it is!

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Owner>cd C:\program files\bzflag2.0.4

C:\Program Files\BZFlag2.0.4>bzfs -conf myconfig.txt
bad argument "C:\ProgramFiles\bzflag2.0.4\banfile.txt"
BZFlag server (protocol 0026)
Copyright (c) 1993 - 2005 Tim Riker

Usage: bzfs [-a <vel> <rot>] [-admsg <text>] [-advertise <group,group...>][-auto
Team] [-b] [-badwords <filename>] [-ban ip{,ip}*] [-banfile <filename>] [-c] [-c
ache <url prefix>] [-cacheout <filename>] [-conf <filename>] [-cr] [-d] [-densit
y <num>] [-disableBots] [+f {good|<id>}] [-f {bad|<id>}] [-fb] [-filterCallsigns
] [-filterChat] [-filterSimple] [-g] [-gndtex <texture name>] [-groupdb <group f
ile>] [-h] [-handicap] [-helpmsg <file> <name>] [-i interface] [-j] [-lagdrop <n
um>] [-lagwarn <time/ms>] [-loadplugin <pluginname,commandline>] [-masterBanURL
<URL>][-maxidle <time/s>] [-mp {<count>|[<count>][,<count>][,<count>][,<count>][
,<count>][,<count>]}] [-mps <score>] [-ms <shots>] [-mts <score>] [-noMasterBanl
ist][-noradar][-p <port>] [-passdb <password file>] [-passwd <password>] [-pidfi
le <filename>] [-poll <variable>=<value>][-printscore] [-public <server-descript
ion>] [-publicaddr <server-hostname>[:<server-port>]] [-publiclist <list-server-
url>] [-q] [+r] [-rabbit [score|killer|random]] [-recbuf <Mbytes>] [-recbufonly]
[-recdir <dirname>] [-replay] [-reportfile <filename>] [-reportpipe <filename>]
[-requireudp] [+s <flag-count>] [-s <flag-count>] [-sa] [-sb] [-set <name> <val
ue>] [-sl <id> <num>] [-spamtime <time>] [-spamwarn <warnAmt>] [-speedtol <toler
ance>] [-srvmsg <text>] [-st <time>] [-sw <num>] [-synctime] [-synclocation] [-t
] [-tftimeout <seconds>] [-time <seconds>] [-timemanual] [-tk] [-tkkr <percent>]
[-ts [micros]] [-userdb <user permissions file>] [-vars <filename>] [-version]
[-world <filename>] [-worldsize <world size>]

C:\Program Files\BZFlag2.0.4>

Posted: Sun May 07, 2006 8:53 pm
by The Knights Who Say Ni
if youre sure thats all of it then youre path to the ban file is wrong

Posted: Sun May 07, 2006 8:54 pm
by Discovery
how?? its what i have....

Posted: Mon May 08, 2006 12:21 am
by tw1sted
SomeFatMan wrote:#Number of superflags that must exist at all times

#Number of superflags that may exist at any time
umm thats wrong...
it should be like "+s 35" and "-s 15". this has happened to me where i jad something like this wrong and it screwed up my whole thing

Posted: Mon May 08, 2006 1:43 am
by RPG
This line:

Code: Select all

#Bad Words filter file specification
-badwords C:\program files\bzflag2.0.4\badwrd.txt" 
You should have two quotes around the filepath. You only have one. It should look like this:

Code: Select all

#Bad Words filter file specification
-badwords "C:\program files\bzflag2.0.4\badwrd.txt" 

Posted: Mon May 08, 2006 3:26 am
by Discovery
ok ty I'll test tommorow!

Posted: Mon May 08, 2006 3:31 am
by Discovery
ah...tested it didnt wrk i double checked it all!

Posted: Mon May 08, 2006 3:25 pm
by CannonBallGuy
You have a variety of errors in your file.
All files paths are case sensitive. ("CaSe" is NOT the same as "casE" for example).
You cannot just stick random numbers into the file without saying what they are for, such as this:
#Number of superflags that must exist at all times
#Number of superflags that may exist at any time
You should save your config as a .conf though I think a .txt will work (.conf just makes more sense anyway).
You also would have had about 500 flags on the map, had the server run.

I have attached a new conf file for you with some stuff fixed, as best as I can do and the flag stuff commented out.
Save the SFM.conf file in \Program Files\BZFlag2.0.4\ and then run bzfs with:

Code: Select all

C:\Program Files\BZFlag2.0.4\bzfs -conf SFMconf
If this does not work make sure all the paths are right (I guessed since I'm not on your computer...).

Do this by:
- dragging all the files you need, into the command line, one at a time,
- then copying the path it gives you,
- and pasting this into the conf in the appropriate place.

Posted: Mon May 08, 2006 8:03 pm
by Discovery
it still says the ban file is a bad argument! Can someone use that conf. and test it? maybe then you can figure it out


Posted: Mon May 08, 2006 8:06 pm
by Winny
Just remove the ban file....I had problems with ban files too for some werid reason.

Posted: Mon May 08, 2006 8:19 pm
by Discovery
ok that did it!....but now it says the Idlemax is wrong w/ 200 what should it be? :|

Posted: Mon May 08, 2006 9:08 pm
by Discovery
can someone give me a conf that totally works and i just put the right paths in!

Posted: Mon May 08, 2006 9:10 pm
by The Knights Who Say Ni
you see the thing with BZFlag seems to be like with win he cant have a report file and he cant have a banlist and it seems that a windows server cant have more than 10 flags or people cant join and this isnt intended or really proven but its there for some people so it might just be that you cant have a banlist...

Posted: Mon May 08, 2006 9:19 pm
by Discovery
yes but i delete that and it has another arg. I finnaly GOT IT! BUT! it then once it had no more arguments said i had to have acceleration
-a 50 38'
and it said Office Computer in server list but then it said when i tried to connect no server found....what the heck is wrong!....... :cry:

Posted: Mon May 08, 2006 9:39 pm
by CannonBallGuy
If it tells you to use -a 50 38 either add that or ignore it.
It's not required, just suggested.

Posted: Mon May 08, 2006 9:47 pm
by Discovery
ok it is on the server list and it all works but it says no server found!

Here is the cmd its the very boddom one!

C:\Program Files\BZFlag2.0.4>bzfs -conf sfmf.conf
using password file "C:\Program Files\BZFlag2.0.4\passdb.txt"
using group file "C:\Program Files\BZFlag2.0.4\groupdb.txt"
using userDB file "C:\Program Files\BZFlag2.0.4\userpriv.txt"

Posted: Mon May 08, 2006 10:27 pm
by CannonBallGuy

Posted: Mon May 08, 2006 10:32 pm
by AGeek
If you cannot get BZFS to start, you probably dont need it to considering there are more than enough empty servers now. Unless you have an amazing new idea that noones ever heard of before, I personally don't think its worth it. It took me 3 or 4 days to figure everything out completely and I still dont think it was even worth it.

You don't need to go through the trouble to learn to attach (that seems to hard for some newbies incredibly) but please:

EDIT: The error list you're receiving is from parse errors.... go over your files and check that things aren't random (as said above)

Posted: Mon May 08, 2006 10:34 pm
by TD-Linux
Or better yet, if the bottom 4 lines were the only good part, only paste the bottom 4 lines :roll:

Did you try logging into your server on the same computer, using 'localhost' as the server and '5154' as the port? Always make sure that works first.

Posted: Tue May 09, 2006 3:01 am
by Longhair
You're using the following to start up bzfs:

Code: Select all

C:\Program Files\BZFlag2.0.4>bzfs -conf sfmf.conf 
If you're running windows, don't you need to do:

Code: Select all

C:\Program Files\BZFlag2.0.4>bzfs[b].exe[/b] -conf sfmf.conf
At least, I think you need to add the file extension for bzfs.exe.

[rant]Why the **** does Windows hide file extensions by default?!? I know it's supposed to make it look less intimidating for your grandmother when she goes through "My Documents" (and the whole "My *" gets a bit grabby too), but it ends up making things more confused. Is it an mp3? is it an ogg? We have no idea, because Windows is hiding it.[/rant]

Try going into "folder options" and unchecking the box that says something like "hide file extensions for known file types"

Posted: Tue May 09, 2006 5:36 am
by bryjen
No, you don't have to have the .exe on the end. There's a short list of extensions Windows knows to use when searching for a program. If he had needed this, he'd be getting a "file not found" or "no such program" kind of message instead of the bzfs help output.

In hiding the file extensions, Explorer is trying to protect the association of the file with a program. It keeps those who don't know better from changing the extension when renaming a file. Those folks don't care if it's an ogg or mp3 -- they just want to double click it, and have a program launch and play it. I'm not saying this is a good thing, or right for everyone. At least there's that option to turn it off.