Server in XP.
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
Server in XP.
Hello.
I am trying to make a server in Windows XP but it doesnt work.
I have a .conf file, and a batch file to run it. When i run the batch file, it opens a command prompt window that says "Starting BZFlag Server" , but then an error window pops up (see attachment for picture) saying "Windows cannot find
'-admsg'. Make sure you have typed the name correctly, and then try again." (-admsg is replaced with something new when I disable that option in the .conf file) Is there something I am doing wrong? Or should I open the server a different way?
All help appreciated.
Thanks.
I am trying to make a server in Windows XP but it doesnt work.
I have a .conf file, and a batch file to run it. When i run the batch file, it opens a command prompt window that says "Starting BZFlag Server" , but then an error window pops up (see attachment for picture) saying "Windows cannot find
'-admsg'. Make sure you have typed the name correctly, and then try again." (-admsg is replaced with something new when I disable that option in the .conf file) Is there something I am doing wrong? Or should I open the server a different way?
All help appreciated.
Thanks.
- Attachments
-
- error 1.JPG
- Error Window
- (14.5 KiB) Downloaded 15 times
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
GUI
Well actualy im using the BZFlag Server GUI since im kinda new to the whole thing. I used it to generate a batch file which i saved to the desktop. I also generated a .conf file from it and saved it to the desktop. How do I start from a command line exactly? (should I use "run" or the "command prompt") And what exactly should I type in? [like:] \path\to\bzfs\ -config MYFILE.CFG?
My conf. file?
whatpost the details of your bzfs script.
My conf. file?
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
Ok
Now i got sumwhere but a new problem has arisen.
Now i got sumwhere but a new problem has arisen.
- Attachments
-
- bzfs2.JPG
- (33.92 KiB) Downloaded 14 times
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
Hey
Got it hooked up a little now.
Take a look at the attachment.
I think something is wrong in my .conf file.
Should I post it?
Got it hooked up a little now.
Take a look at the attachment.
I think something is wrong in my .conf file.
Should I post it?
- Attachments
-
- bzfs first half.JPG
- (48.53 KiB) Downloaded 11 times
-
- bzfs second half.JPG
- (38.97 KiB) Downloaded 10 times
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
k
I have it running now but only localy.
In the .conf file, I have -publicaddr set to simplywoodinc.com:5154.
This is not listed in the server list.
But, when i type in localhost, port 5154, it connects to my server with all my settings. When I type in simplywoodinc.com, port 5154, it says "Error Connecting To Server". The screenshot is of the cmd window running the server as simplywoodinc.com.
Here is my .conf file:
Is there something I should change?
In the .conf file, I have -publicaddr set to simplywoodinc.com:5154.
This is not listed in the server list.
But, when i type in localhost, port 5154, it connects to my server with all my settings. When I type in simplywoodinc.com, port 5154, it says "Error Connecting To Server". The screenshot is of the cmd window running the server as simplywoodinc.com.
Here is my .conf file:
Code: Select all
# 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.
# 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 <vel> <rot>
# Define a message which will be broadcast to all players every 15
# minutes.
-admsg "This Server is under heavy construction."
# When -c is supplied, this option randomly rotates the buildings.
-c
# 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
#-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 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 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
# and more complex debugging.
-d
-d
-d
# This option controls the building density on random worlds(1-10) default is 5
-density 5
# 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.
#+f OO
#+f OO
#+f OO
#+f OO
#+f GM{10}
# Flag IDs. A - Quick Turn, OO - Oscillation Overthruster, F - Rapid Fire,
# MG - Machine Gun, GM - Guided Missile, L - Laser, R - Ricochet,
# SB - Super Bullet, ST - Stealth, CL - Cloaking, IB - Invisible Bullet,
# T - Tiny, N - Narrow, SH - Shield, SR - Steamroller, SW - Shock Wave,
# PZ - Phantom Zone, G - Genocide, JP - Jumping, ID - Identify,
# MQ - Masquerade, BU - Burrow, SE - Seer, TH - Thief, US - Useless.
# Bad Flags - CB - Colorblindness, O - Obesity, LT - Left Turn Only,
# RT - Right Turn Only, M - Momentum, B - Blindness, JM - Jamming,
# WA - Wide angle.
# 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
-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
# Server will listen for and respond to "pings" (sent via multicast) on
# the given interface. The server uses the first multicast enabled
# interface by default. Clients use this to find active servers on the
# network. This is also the TCP/UDP/IP address the server will listen on.
# You probably don't need to use this unless you don't show up on the
# server lists.
# 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.
#-helpfile jump.txt jump
#-helpfile shockwave.txt shockwave
#-i interface
# This option allows jumping.
-j
# 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 60
# 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 10
# 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.
-p 5154
# Sets the admin password for the server. CHANGE THIS!
-password *edited out*
# 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 "Test Server by Sir Lance-A-Lot. Work in progress."
# This is also needed to be listed on the public server list. The
# address needs to be valid in DNS.
-publicaddr simplywoodinc.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.
#
#-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
# This requires clients to use UDP (a good thing). This will generally
# make the server behave better, and make play more smooth.
# 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
-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 15
# 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 is the server welcome message. Please change it. You can use \n
# to designate new lines.
-srvmsg "Welcome to Sir Lance-A-Lot's server! \n Please play fair, no cheating and no swearing"
# Bad flags are automatically dropped after this many seconds.
-st 3
# 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.
-t
# This sets time limit (in seconds) for the game. Time starts when first
# client connects.
# 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 30
#-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 15
# 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 4
# 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"
- Attachments
-
- bzfs4.JPG
- (59.4 KiB) Downloaded 9 times
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- |tim|
- Private First Class
- Posts: 71
- Joined: Sun Sep 28, 2003 4:45 am
- Location: Bakersfield, California
- Contact:
I use Nmap for a port scanner, I really like it and it runs for Linux, Windows, and a lot more other OS's. It's also free too
http://www.insecure.org/nmap/
http://www.insecure.org/nmap/
~Bring the Pain!~
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- |tim|
- Private First Class
- Posts: 71
- Joined: Sun Sep 28, 2003 4:45 am
- Location: Bakersfield, California
- Contact:
I use a router so it usually blocks most of my ports unless I manually open them.
Or if you have a firewall running it usually blocks the ports, you can tell it to not block them. My dad runs ZoneAlarm and it asks you when you're about to use that certain port if you would like to let traffic through or not.
NOTE: I don't really have a bunch of knowledge on this topic though.
Or if you have a firewall running it usually blocks the ports, you can tell it to not block them. My dad runs ZoneAlarm and it asks you when you're about to use that certain port if you would like to let traffic through or not.
NOTE: I don't really have a bunch of knowledge on this topic though.
Last edited by |tim| on Wed Jun 30, 2004 11:50 pm, edited 1 time in total.
~Bring the Pain!~
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
I have a Microsoft router that shares the Verizon DSL (WAN)
It does not have many configuration options for the firewall - the only thing I can do is turn the firewall on or off. Another problem I might have, is Verizon might block the ports I need to use. Anybody else running a server w/ Verizon DSL ??
I know Verizon blocks TCP/IP port 80 which is the HTTP Protocol but I think BZFlag uses UDP instead of TCP/IP.
Any other suggestions?
Thanks,
Sir Lance-A-Lot
It does not have many configuration options for the firewall - the only thing I can do is turn the firewall on or off. Another problem I might have, is Verizon might block the ports I need to use. Anybody else running a server w/ Verizon DSL ??
I know Verizon blocks TCP/IP port 80 which is the HTTP Protocol but I think BZFlag uses UDP instead of TCP/IP.
Any other suggestions?
Thanks,
Sir Lance-A-Lot
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
ok Viper.
public address: 151.201.0.38:5154 ~unsure how to open this~
public description: Test Server by Sir Lance-A-Lot
free-style mode
10 shots
random map for now
10 peeps
no limit on observers
rougues are allowed
teamkilling kills the killer and the victim
password *(mypass)*
16 superflags
30 regular flags?
add messege: This Server is under heavy construction.
flags on buildings
jumping
richocet
lagdrop: 3
lagwarn: 300
idle: 300
allow antidote flags
opening messege: "Welcome to Sir Lance-A-Lot's server!
\nPlease play fair, no cheating and no swearing"
anything else?
public address: 151.201.0.38:5154 ~unsure how to open this~
public description: Test Server by Sir Lance-A-Lot
free-style mode
10 shots
random map for now
10 peeps
no limit on observers
rougues are allowed
teamkilling kills the killer and the victim
password *(mypass)*
16 superflags
30 regular flags?
add messege: This Server is under heavy construction.
flags on buildings
jumping
richocet
lagdrop: 3
lagwarn: 300
idle: 300
allow antidote flags
opening messege: "Welcome to Sir Lance-A-Lot's server!
\nPlease play fair, no cheating and no swearing"
anything else?
- Sir Lance-A-Lot
- Private First Class
- Posts: 503
- Joined: Tue Jun 29, 2004 12:49 am
- Location: Amongst my Computers
- Contact:
firewall
The firewall is disabled.