Page 1 of 2

an error when launching a server

Posted: Mon Dec 26, 2005 9:49 pm
by Matt?
hey i am on windows xo and wen i try to launch a server via the cmd prompt i get an error. ill attach thepicture. hope this is in the right place

Posted: Mon Dec 26, 2005 10:07 pm
by eagle
i think what the bad argument means in that there is somthing in the map file that it doesnt like, like a stray symbol maybe?

Posted: Mon Dec 26, 2005 10:12 pm
by Matt?
ahh. cause i have checked my conf over and over and it is flawless.

Posted: Mon Dec 26, 2005 10:19 pm
by Matt?
can someone check this to make sure this is all right

map is here

Code: Select all

#**********************************************************************
#  Built with bzfed version: 0.1
#  http://www.bzfed.org/
#**********************************************************************
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU Library General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#!name box-0
box
position 35 35 20
rotation 0
size 25 25 10
end

#!name box-1
box
position -35 -35 20
rotation 0
size 25 25 10
end

#!name box-2
box
position 35 -35 20
rotation 0
size 25 25 10
end

#!name box-3
box
position -35 35 20
rotation 0
size 25 25 10
end

#!name box-4
box
position 0 350 0
rotation 0
size 50 50 10
end

#!name box-5
box
position 0 -350 0
rotation 0
size 50 50 10
end

#!name base-6
base
position 350 350 0
rotation 0
size 50 50 10
color 1
end

#!name box-7
box
position 55 55 0
rotation 0
size 45 45 10
end

#!name box-8
box
position 0 0 10
rotation 0
size 80 80 10
end

#!name box-9
box
position -55 55 0
rotation 0
size 45 45 10
end

#!name box-10
box
position -55 -55 0
rotation 0
size 45 45 10
end

#!name box-11
box
position 55 -55 0
rotation 0
size 45 45 10
end

#!name pyramid-12
pyramid
position 350 -350 27
rotation 0
size 50 50 0
end

#!name pyramid-13
pyramid
position -350 350 27
rotation 0
size 50 50 0
end

#!name pyramid-14
pyramid
position -350 -350 27
rotation 0
size 50 50 0
end

#!name pyramid-15
pyramid
position 350 350 27
rotation 0
size 50 50 0
end

#!name teleporter-16
teleporter
position 0 350 10
rotation 90
size 0.125 10 10
border 1
end

#!name teleporter-17
teleporter
position 350 0 10
rotation 180
size 0.125 10 10
border 1
end

#!name teleporter-18
teleporter
position -350 0 10
rotation 0
size 0.125 10 10
border 1
end

#!name teleporter-19
teleporter
position 0 -350 10
rotation 90
size 0.125 10 10
border 1
end

#!name link-20
link
from 4
to 2
end

#!name link-21
link
from 5
to 3
end

#!name link-22
link
from 3
to 5
end

#!name link-23
link
from 2
to 4
end

#!name link-24
link
from 0
to 7
end

#!name link-25
link
from 1
to 6
end

#!name link-26
link
from 6
to 1
end

#!name link-27
link
from 7
to 0
end

#!name base-28 purple
base
position -350 350 0
rotation 0
size 50 50 10
color 4
end

#!name pyramid-29
pyramid
position 140 -280 0
rotation 0
size 25 25 15
end

#!name pyramid-30
pyramid
position -280 140 0
rotation 0
size 25 25 15
end

#!name pyramid-31
pyramid
position 280 140 0
rotation 0
size 25 25 15
end

#!name pyramid-32
pyramid
position 280 -140 0
rotation 0
size 25 25 15
end

#!name pyramid-33
pyramid
position -280 -140 0
rotation 0
size 25 25 15
end

#!name pyramid-34
pyramid
position -140 280 0
rotation 0
size 25 25 15
end

#!name pyramid-35
pyramid
position 140 280 0
rotation 0
size 25 25 15
end

#!name pyramid-36
pyramid
position -140 -280 0
rotation 0
size 25 25 15
end

#!name box-37
box
position -350 0 0
rotation 0
size 50 50 10
end

#!name box-38
box
position 350 0 0
rotation 0
size 50 50 10
end

#!name box-39
box
position 0 0 2000
rotation 0
size 20 20 1
end

#!name box-40
box
position -35 25 30
rotation 20
size 2 2 25
end

#!name box-41
box
position -35 25 45
rotation 20
size 12 2 2
end

#!name box-42
box
position 0 5 45
rotation 0
size 12 2 2
end

#!name box-43
box
position 0 5 30
rotation 0
size 2 2 25
end

#!name base-44
base
position -350 -350 0
rotation 0
size 50 50 10
color 3
end

#!name base-45 green
base
position 350 -350 0
rotation 0
size 50 50 10
color 2
end

#!name box-46
box
position 35 25 30
rotation -20
size 2 2 25
end

#!name box-47
box
position 35 25 45
rotation -20
size 12 2 2
end

#!name box-48
box
position -350 0 150
rotation 0
size 10 100 10
end

#!name box-49
box
position -200 0 150
rotation 0
size 10 100 10
end

#!name box-50
box
position -317 7 150
rotation 20
size 10 95 10
end

#!name box-51
box
position -233 7 150
rotation -20
size 10 95 10
end

#!name box-52
box
position -275 -82.5 150
rotation 0
size 19 3.5 10
end

#!name box-53
box
position 75 0 150
rotation 0
size 10 100 10
end

#!name box-54
box
position 125 0 150
rotation 90
size 10 45 10
end

#!name box-55
box
position 125 100 150
rotation 90
size 10 60 10
end

#!name box-56
box
position -100 0 150
rotation 0
size 10 100 10
end

#!name box-57
box
position 0 0 150
rotation 0
size 10 100 10
end

#!name box-58
box
position -50 90 150
rotation 90
size 10 50 10
end

#!name box-59
box
position -50 -90 150
rotation 90
size 10 50 10
end

#!name box-60
box
position 250 0 150
rotation 0
size 10 100 10
end

#!name box-61
box
position 350 0 150
rotation 0
size 10 100 10
end

#!name box-62
box
position 300 90 150
rotation 90
size 10 50 10
end

#!name box-63
box
position 300 -90 150
rotation 90
size 10 50 10
end

#!name box-64
box
position 0 0 10
rotation 0
size 100 100 0
end

#!name box-65
box
position 0 0 20
rotation 0
size 80 80 0
end

#!name box-66
box
position 0 0 30
rotation 0
size 60 60 0
end


Config

Code: Select all

-a 50 50 

-admsg "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*"  
-admsg "* * * * * * Welcome to Planet Mofo: The Passion Free For All!* * * * * * *"  
-admsg "* * * Lots of Wing Jumps, No Shot Limits, and Cussing is allowed here * * *"  
-admsg "* * * * * * * *No Team Killing, spamming, and *NO CHEATING* * * * * * * * *"  
-admsg "* Registered players get more love - Register at http://my.bzflag.org/bb/ *" 
-admsg "* * Server owner email: *nitrosport_5@hotmail.com* Use Subject: *BZ Flag* *"  
-admsg "* Brought to you by Matt?! It's Planet MoFo! /report to leave a msg *" 
-admsg "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*" 
-admsg "...This Space For Rent" 

-banfile C:\program files\bzflag\banlist.txt 

+f L{3}
+f SW{3}
+f SB{3}
+f PZ{3}
+f ST{3}
+f GM{3}
+f G{5}
+f TR{1}
+f WG{5}
+f BY{1}
+f RC{1}
+f CL{3}
+f IB{3}
+f SH{3}
+f N{3}
+f QT{3}
+f T{3}
+f ID{3}
+f BU{3}
+f SR{3}
+f F{3}
+f MG{3}
+f SE{3}
+f US{3}
+f V{3}
+f A{3}
+f OO{3}
+f TH{3}
+f WA{3}
+f NJ{1}
+f CB{1}
+f JM{1}
+f B{1}
+f JP{1}
+f R{1}
+f MQ{3}
+f O{1}
+f M{1}
+f LT{1}
+f RT{1}
+f FO{1}
+f RO{1}

-sb 

-groupdb C:\programfiles\bzflag\groups.txt 

-j 

-lagdrop 3 
 
-lagwarn 500  

-maxidle 250  

-mp 6,1,1,1,1,5 
 
-ms 20  

-p 4200 

-password blabla 

-public "Planet MoFo: The Passion Of The Free For All! 20 SHOT!"

-publicaddr nitrosport.servegame.org:4200 
 
+r 
 
-reportfile C:\program files\bzflag\bzreports.txt 
 
-sa 
 
-spamtime 10 
 
-spamwarn 3 
 
-srvmsg "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*" 
-srvmsg "* * * * * Welcome to Planet Mofo: The Passion of the Free For All ! * * * *" 
-srvmsg "* * * Lots of Wing Jumps, No Shot Limits, and Cussing is allowed here * * *"  
-srvmsg "* * * * * * * *No Team Killing, spamming, and *NO CHEATING* * * * * * * * *"  
-srvmsg "* Registered players get more love - Register at http://my.bzflag.org/bb/ *" 
-srvmsg "* * *Server owner email: *nitrosport_5@hotmail.com* Use Subject: *BZ Flag* *"  
-srvmsg "* Brought to you by Matt?! It's Planet MoFo! /report to leave a msg *"  
-srvmsg "*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*" 
-srvmsg "...This Space For Rent" 
 
-st 4 

-sw 1 

-tkkr 35 

-world "c:/program files/bzflag/mofo4.bzw" 
 
-set _thiefAdShotVel 50
-set _wingsJumpCount 5000
-set _skyColor black
-set _tankSpeed 35
-set _mirror none
-set _tankExplosionSize 100
-set _burrowSpeedAd 1.5
-set _burrowAngularAd 1
-set _endShotDetection 6
-set _rainSpread 600
-set _explodeTime 0
-set _squishTime 7
-set _jumpVelocity 19.8
-set _mGunAdLife .1
-set _mGunAdVel 4
#-set _rFireAdLife .3
#-set _rFireAdVel 5
-set _radarLimit 650
-set _tinyFactor .2
-set _shockOutRadius 40
-set _shockInRadius .01

Posted: Mon Dec 26, 2005 10:50 pm
by ducatiwannabe
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
That USA might be a problem.

Hmm. I'm not sure what else. Check to make sure you have the PATHS of stuff such as your conf and bzw correct.

Posted: Mon Dec 26, 2005 11:05 pm
by Matt?
no that isnt it. because if u look at the screenshot it says "-" is the bad argument

Posted: Mon Dec 26, 2005 11:07 pm
by ducatiwannabe
I'm clueless. Sorry :(

Posted: Mon Dec 26, 2005 11:20 pm
by Matt?
you tried... thats all that counts ;)

Posted: Mon Dec 26, 2005 11:22 pm
by Matt?

Code: Select all

#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place [b]-[/b] Suite 330, Boston, MA 02111-1307, USA. 
ah ha this mite be it. cause it has the - in it hmmmm lemme try it[/quote]

Posted: Mon Dec 26, 2005 11:25 pm
by Matt?
Matt? wrote:

Code: Select all

#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place [b]-[/b] Suite 330, Boston, MA 02111-1307, USA. 
ah ha this mite be it. cause it has the - in it hmmmm lemme try it
[/quote]

nope that didnt work. anyone else got any ideas?

Posted: Mon Dec 26, 2005 11:34 pm
by The Knights Who Say Ni
I think the next thing you should try is to comment out your srvmsg and admsg because it sais something - is the bad command and mabey it thinks that *- is a separate command

Just a thought... :?

Posted: Tue Dec 27, 2005 1:00 am
by Tanner
Why is there strange characters in front of the "name" tags?

Code: Select all

#!name box-0
Try this for your CMD command:

Code: Select all

cd C:\program files\bZFlag\
bzfs -conf conf.conf
Maybe...

-Tanner

Posted: Tue Dec 27, 2005 2:25 am
by Matt?
Tanner wrote:Why is there strange characters in front of the "name" tags?

Code: Select all

#!name box-0
Try this for your CMD command:

Code: Select all

cd C:\program files\bZFlag\
bzfs -conf conf.conf
Maybe...

-Tanner
tried ur cmd promped idea and that didnt work. i know the map and the conf actually work because i had the exact ones running on a different machine. hmmmmmmmmmmmmmmmmm i am gunna try to use the configureation builder and maybe that will make a difference. i will report back after some troubleshooting.




btw can someone give me a sample batch file to use for launching a server? thanks

Posted: Tue Dec 27, 2005 3:07 am
by temporal distraction
Tanner's first question is a good one.
What is the box character in that error?
See screenshot:

Posted: Tue Dec 27, 2005 3:09 am
by Matt?
what can i do to fix?

Posted: Tue Dec 27, 2005 3:44 am
by Tanner
Matt? wrote:what can i do to fix?
Try getting rid of the box characters, and retry.

-Tanner

Posted: Tue Dec 27, 2005 3:46 am
by Matt?
so gwet rid of this "#!name box-0"

Posted: Tue Dec 27, 2005 3:47 am
by Tanner
Matt? wrote:so gwet rid of this "#!name box-0"
Get rid of the "#!".

So:

Code: Select all

#!name box-0
Would become:

Code: Select all

name box-0
-Tanner

Posted: Tue Dec 27, 2005 3:58 am
by Matt?
i did that to every thing in ther so that thay all looked some what like this

name box-0

i still got the same error afterwards. i wunder is it a bug in the bzfs version i am running

Posted: Tue Dec 27, 2005 4:01 am
by Tanner
Matt? wrote:i did that to every thing in ther so that thay all looked some what like this

name box-0

i still got the same error afterwards. i wunder is it a bug in the bzfs version i am running
Try getting rid of the hyphen (-) in the name.

So it would become:

Code: Select all

name box 0
-Tanner

Posted: Tue Dec 27, 2005 4:15 am
by Matt?
nope it is still doing the same thing........


now for the ot. i think i have been smokeing somehting b/cx i am like super hyper and i am tryping really fast!!!!!! :twisted: :twisted: :twisted: caffine :twisted: :twisted: :twisted:

Posted: Tue Dec 27, 2005 4:17 am
by Matt?
oh and thaks tanner for helping me. you are haveing isome good idea's. io think i am gunna try and take out what world to use so it will use a random map and that will tell us if it is my map or my conf :D

Posted: Tue Dec 27, 2005 4:19 am
by Matt?
ok it wasnt my map. i just deleted the whole like in the conf that said -world blah blah. so do you think it is in my conf or is it in my bzfs......

p.s. and if this helps i am using a compiled bzfs :D sorry i didnt state that earlier if that maters

Posted: Tue Dec 27, 2005 10:06 am
by JPT
Let me say, you were all wrong.
It's just a simple syntax error:

Code: Select all

-groupdb C:\programfiles\bzflag\groups.txt  <-- Here are the " missing.
it should look like this:

Code: Select all

 -groupdb "C:\programfiles\bzflag\groups.txt" 
You've to correct the following lines :

Code: Select all

-banfile C:\program files\bzflag\banlist.txt

Code: Select all

-groupdb C:\programfiles\bzflag\groups.txt

Code: Select all

 -password blabla 

Code: Select all

-reportfile C:\program files\bzflag\bzreports.txt 
They should look thislike:

Code: Select all

-banfile "C:\program files\bzflag\banlist.txt"

Code: Select all

-groupdb "C:\programfiles\bzflag\groups.txt"

Code: Select all

 -password "blabla" 

Code: Select all

-reportfile "C:\program files\bzflag\bzreports.txt"
The smallest stone can stop a machine. :wink:

Posted: Tue Dec 27, 2005 2:47 pm
by Matt?
ill try this later thanks alot! hope this works