Interface...?

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Interface...?

Post by Scorch »

what should the "listen on interface" option be set to?
option name;
-i WhatGoesHere?

does anyone know?
brad2901
Private First Class
Private First Class
Posts: 223
Joined: Sun Sep 12, 2004 9:17 am
Location: UK
Contact:

Post by brad2901 »

you shouldn't use this unless you have multiple network adapters so i'm guessing you don't need to :)
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

generaly if you don't know what something is, don't set it. you don't have to put something for every option. most things have a default that is used ( and right for most people ) when you don't put something in for it.
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

ok i have more problems...
in terminal (mac bash) i type

/Applications/bzflag/BZFlag-1.10.8.app/Contents/MacOS/bzfs -conf /Server/5154/sample.conf

yes the file paths are all correct. but it tells me

configuration file not found
BZFlag server 1.10.8.20041005-RELEASE-darwin7.5.0 (protocol 1910) http://BZFlag.org/
Copyright (c) 1993 - 2004 Tim Riker

Usage: bzfs [-a <vel> <rot>] [-admsg <text>] [-autoTeam] [-b] [-badwords <filename>] [-ban ip{,ip}*] [-banfile <filename>] [-c] [-conf <filename>] [-cr] [-d] [-density <num>] [+f {good|<id>}] [-f {bad|<id>}] [-fb] [-filterCallsigns] [-filterChat] [-filterSimple] [-g] [-groupdb <group file>][-h] [-helpmsg <file> <name>][-i interface] [-j] [-lagdrop <num>] [-lagwarn <time/ms>] [-maxidle <time/s>] [-mp {<count>|[<count>][,<count>][,<count>][,<count>][,<count>][,<count>]}] [-mps <score>] [-ms <shots>] [-mts <score>] [-p <port>] [-passdb <password file>][-passwd <password>] [-printscore] [-prohibitBots] [-public <server-description>] [-publicaddr <server-hostname>[:<server-port>]] [-publiclist <list-server-url>] [-q] [+r] [-rabbit [score|killer|random]] [-reportfile <filename>] [-reportpipe <filename>] [-requireudp] [+s <flag-count>] [-s <flag-count>] [-sa] [-sb] [-sl <id> <num>][-speedtol <tolerance>][-srvmsg <text>] [-st <time>] [-sw <num>] [-synctime] [-t] [-tftimeout <seconds>] [-time <seconds>] [-timemanual] [-tk] [-tkkr <percent>] [-userdb <user permissions file>][-vars <filename>][-version] [-vetoTime <seconds> ][-votePercentage <percentage>][-voteRepeatTime <seconds>][-votesRequired <num>][-voteTime <seconds> ][-world <filename>][-worldsize < world size>]

boohoo
now here is my 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 "Scorch's Server playing Tanks-a-rama by who knows"

#Public network address for the server
-publicaddr

#Public List server to register with
-publiclist http://list.bzflag.bz/db/

#Server Message displayed when player joins
-srvmsg "Welcome! Use your common sense 'bout behavior."

#Server will not respond to pings
-q

#Lag Warning threshold time [ms]
-lagwarn 1050

#Drop player after this many lag warnings
-lagdrop 3

#Ban File
-banfile "/Server/ban_file"

#Idle Kick Threshold [s]
-maxidle 240

#Player does not die when killing a teammate
-tk

#Bad Words filter file specification
-badwords /Server/filter

#Message that is broadcast every 15 minutes
-admsg "Type /help list for a list of other help pages and there content, type /report to report a message to the admins, have fun and play nice!"

#Help Messages file specification
-helpmsg "/Server/help/hlplist" about

#File to which to write user reports
-reportfile "/Server/reports"

#Increase debugging level
-d

#Administrator's password
-password "dont you dare look here! and plz forget this!"

#File that stores user passwords
-passdb "/Server/users/passwords"

#File that stores group privileges
-groupdb "/Server/users/groups"

#File that stores user privileges
-userdb "/Server/users/privs"

#Filter callsigns to disallow inappropriate user names
-filterCallsigns

#Filter chat messages
-filterChat

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

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

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

#World file to load
-world "/Server/5154/map"

#Maximum number of players n, or max players per team n,n,n,n,n,n
-mp 3,5,5,5,5,8

#Number of superflags that must exist at all times
+s 26

#Number of superflags that may exist at any time
-s 26

#File that stores world parameter variable overrides
-vars "/Server/5154/vars"

#Ordinance richochets
+r

#Maximum concurrent shots
-ms 8

#Bad Flag shake time [s]
-st 1

#Mandatory flags
+f good{26} +f OO +f GM{5} +f L{4} +f SB +f ST{2} +f T +f N{2} +f SH{2} +f SW{3} +f G{2} +f CL{2} +f SE +f TH



#Flag Shot Limits
-sl GM 50 -sl SW 60


and im pretty sure all my paths are correct. but lets just say they are...
why does it say "configuration file not found" if it exists and when i type filePathToBZFS -conf FilePathToFileThatIsn'tThere it starts a server with all default setting instead of saying "configuration file not found"?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

if it was the right path it would not say "configuration file not found" and it would use your config. If an option was wrong it woudl give you the usage error

my recomendation is to put the config file in the same dir as the server app and use a relitive path.

but then you seem dead set on not leting anyone help you, so...
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

but when i specify a file path; say dfslkkkjsfa/dfalkjfd/lkajsf.sldsaf then it just runs a server with all default settings it doesn't say not found. and i tried moving it to the same folder, same gosh darn ting happened!
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

thow in -d -d -d -d and see if it gives you more info.

the more -d's you have the more debug info it give you
4 is max loging
Last edited by JeffM on Wed Oct 06, 2004 10:42 pm, edited 1 time in total.
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

nope same problem! i tell you it doesn't even attempt to start the server part. it just fails from the beggining!
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

publicaddr needs a name like "myserver.mydomain.org"
ImageJeffM
User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am

Post by Scorch »

but you said leave it out lol so it would goto default. can i put in localhost for starters? and i tell you it doesn't read teh file it says its not there, but then again when a file isn't there it doesnt say that
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

then don't put the -publicaddr there.

when you leave something out, leave out the entire line.

if you wish to have the list server just use your IP, then all you need is -public, and you don't even put the -publicaddr in there.

the publicaddr is expecting a second paramater that is your hostname.
ImageJeffM
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

for more realtime help like I think you need, I'd recomend IRC or some other IM like system. Realtime back and forth is not what the forum is made for.
ImageJeffM
Post Reply