an error when launching a server

All things BZFlag - no [OT] here please
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

an error when launching a server

Post 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
Attachments
untitled.JPG
screenshot
(145.49 KiB) Downloaded 36 times
Image
User avatar
eagle
Private First Class
Private First Class
Posts: 510
Joined: Tue Jan 25, 2005 10:29 pm
Location: Round Hill, VA

Post 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?
~~~~~
I do know everything, just not all at once. Its a virtual memory problem.
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

ahh. cause i have checked my conf over and over and it is flawless.
Image
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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
Image
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post 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.
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

no that isnt it. because if u look at the screenshot it says "-" is the bad argument
Image
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

I'm clueless. Sorry :(
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

you tried... thats all that counts ;)
Image
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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]
Image
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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?
Image
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post 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... :?
Image
Sig Made By AlliedArmour

TGPH
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post 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
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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
Image
temporal distraction
Sergeant
Sergeant
Posts: 250
Joined: Wed Jan 05, 2005 3:12 pm

Post by temporal distraction »

Tanner's first question is a good one.
What is the box character in that error?
See screenshot:
Attachments
Matt_config.jpg
Matt_config.jpg (34.62 KiB) Viewed 2696 times
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

what can i do to fix?
Image
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner »

Matt? wrote:what can i do to fix?
Try getting rid of the box characters, and retry.

-Tanner
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

so gwet rid of this "#!name box-0"
Image
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post 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
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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
Image
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post 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
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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:
Image
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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
Image
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post 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
Image
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post 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:
User avatar
Matt?
Private First Class
Private First Class
Posts: 281
Joined: Sun Jan 09, 2005 10:15 pm
Location: st. john wa
Contact:

Post by Matt? »

ill try this later thanks alot! hope this works
Image
Post Reply