#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
-publiclist http://db.bzflag.org/db
-p 4200
#Public description for the server
-public "Vintage MoFo 20 Shot! Passion Of The Free-For-All"
#Public network address for the server
-publicaddr nitrosport.servegame.org
#Server Message displayed when player joins
-srvmsg "Welcome to Plannet Mofo Hosted By Matt. If The Server Gets laggy /report it to me. thanks"
#Lag Warning threshold time [ms]
-lagwarn 500
#Drop player after this many lag warnings
-lagdrop 3
#Ban File
-banfile "C:\bzflag files\Ban.txt"
#Idle Kick Threshold [s]
-maxidle 4564
#Message that is broadcast every 15 minutes
-admsg "Matt?'s Place. Play Fair Have Fun and /report to me if the server get's laggy"
#File to which to write user reports
-reportfile "C:\bzflag files\report.txt"
#Administrator's password
-password "ts"
#File that stores group privileges
-groupdb "C:\bzflag files\groups.txt"
#World file to load
-world "C:\bzflag files\mofo4.bzw"
#Tanks can jump
-j
#Ordinance richochets
+r
#Maximum concurrent shots
-ms 20
#Limit Acceleration
-a
#Bad Flag shake time [s]
-st 12
#Bad Flag shake wins
-sw 2
#Auto Team assignments
-autoTeam
#Mandatory flags
+f GM{1} +f L{1} +f ST{1} +f N{1} +f SW{1} +f G{1} +f BU{1} +f WG{3}
-mp 16,1,1,1,1,5
-set _wingsJumpCount 2500
-set _wingsGravity _gravity
-set _wingsJumpVelocity _jumpVelocity
-set _wingsSlideTime 0
-set _skyColor black
-set _tankSpeed 35
-set _burrowSpeedAd 1.5
-set _burrowAngularAd 1
-d
Last edited by Matt? on Sun Jan 01, 2006 7:32 pm, edited 1 time in total.
I noticed you have a lot of commands missing, and some that are required for the server to work. Put the port address after the server address in the command "publicaddr". So it should look like:
I'm not sure what order they are for the teams, but it's in the sample config. I think thats all you need for the server to be public, but you can look at my config file that has more that you would probably want to use.
me1 wrote:you can't have -set in the configuration file, that has to be in the BZW document in a 'options' section
No, you can have it in either a config file or a map file.
But, that isn't the point.
Matt?
Make SURE if you have a router, it forwards port 4200 (the one set in your config) to your local LAN IP address and you allow 4200 UDP/TCP through it. Also allow 4200 UDP/TCP through your firewall on your computer.
it first i had it w/o that then cruel dog suggested trying that.
A Meteorite wrote:
me1 wrote:you can't have -set in the configuration file, that has to be in the BZW document in a 'options' section
No, you can have it in either a config file or a map file.
But, that isn't the point.
Matt?
Make SURE if you have a router, it forwards port 4200 (the one set in your config) to your local LAN IP address and you allow 4200 UDP/TCP through it. Also allow 4200 UDP/TCP through your firewall on your computer.
i got a router and i forwarded all of the ports from 4200 to 5154. my firewall on my computer was off when i tried that and when i forwarded it it used both tcp and udp
Matt? wrote:i got a router and i forwarded all of the ports from 4200 to 5154. my firewall on my computer was off when i tried that and when i forwarded it it used both tcp and udp
Bingo! Your server is set to serve on 4200 and it's not getting it on the local LAN as it's getting it on port 5154. Reforward it to 4200. (Internet: 4200 -> Computer: 4200)
Matt? wrote:i got a router and i forwarded all of the ports from 4200 to 5154. my firewall on my computer was off when i tried that and when i forwarded it it used both tcp and udp
Bingo! Your server is set to serve on 4200 and it's not getting it on the local LAN as it's getting it on port 5154. Reforward it to 4200. (Internet: 4200 -> Computer: 4200)
i dont completedly understand that. here is a screene of my forwarding page. thw 192.168.1.100 is the testing computer and the .101 is the computer that the server will eventually be on. does this look right?
Matt? wrote:i got a router and i forwarded all of the ports from 4200 to 5154. my firewall on my computer was off when i tried that and when i forwarded it it used both tcp and udp
Bingo! Your server is set to serve on 4200 and it's not getting it on the local LAN as it's getting it on port 5154. Reforward it to 4200. (Internet: 4200 -> Computer: 4200)
i dont completedly understand that. here is a screene of my forwarding page. thw 192.168.1.100 is the testing computer and the .101 is the computer that the server will eventually be on. does this look right?
Replace "5154" with "4200" This will solve it.
The reason it won't work, is your config file is set to use port 4200 and it's getting all the info on port 5154. (that is where your router is sending it)
A Meteorite wrote:
Bingo! Your server is set to serve on 4200 and it's not getting it on the local LAN as it's getting it on port 5154. Reforward it to 4200. (Internet: 4200 -> Computer: 4200)
i dont completedly understand that. here is a screene of my forwarding page. thw 192.168.1.100 is the testing computer and the .101 is the computer that the server will eventually be on. does this look right?
Replace "5154" with "4200" This will solve it.
The reason it won't work, is your config file is set to use port 4200 and it's getting all the info on port 5154. (that is where your router is sending it)
so replace 5154 on the router page with 4200 cause i is forwarding all the port's from 4200-5154 right? or odes it forward port 4200 to 5154
Matt? wrote:so replace 5154 on the router page with 4200 cause i is forwarding all the port's from 4200-5154 right? or odes it forward port 4200 to 5154
That error message means that your server isn't registering with the list server, or sending out any HTTP data. I've been getting that error in the CVS version, and was gonna say something about it, until I saw you got it too .