bzfs window closes instantly

Questions and answers about the how and why of making maps.
Post Reply
slon02
Private First Class
Private First Class
Posts: 148
Joined: Sat Jun 04, 2005 9:27 pm

bzfs window closes instantly

Post by slon02 »

When i tried to host my map the bzfs window closed right after i opened it. It didn't close instantly before i added the map file. Any reasons? :?
Current Server: hosting.BZADDICT.net:5173
Former Server: Fairserve.bzflag.org:5259
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Open it in the command line. Most likely there is an error and since you start it from an icon the window closes on exit of the app, making it so you cannot see the error.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r »

There's probably something wrong with your map.

Assuming you're using Windows... if you use a shortcut to launch bzfs, the window will go away once the program is done, so if it errors out, it will close immediately.

If you want to see the actual error, open the command prompt, go to the appropriate directory, and launch bzfs that way. It will tell you the line number so you can fix your map, I believe.
Optimism is just a milder alternative to denial.
slon02
Private First Class
Private First Class
Posts: 148
Joined: Sat Jun 04, 2005 9:27 pm

Post by slon02 »

umm...what exactly do you mean? :? :?
when i type in the cd c:/program files/bzflag2.0.8 it says cannot find the path specified and then with bzfs.exe -world c:/filename.bzw c:/filename.txt it says bzfs isnt recognized as an internal or external command, operable program or batch file.
Last edited by slon02 on Fri Jun 29, 2007 11:34 pm, edited 1 time in total.
Current Server: hosting.BZADDICT.net:5173
Former Server: Fairserve.bzflag.org:5259
charg
Private First Class
Private First Class
Posts: 36
Joined: Thu Jun 28, 2007 11:11 pm

Post by charg »

Why are you opening the bzfs window in the first place? Just drag your map and your config file into your c:\drive , then open your command prompt which can be found in start menu ---> accecories ---->command prompt

Type in this:

cd c:\program files\bzflag2.0.8

a bunch of text should come up, now type this in:

bzfs.exe -world c:\filename.bzw -conf c:\filename.txt

Hit enter, a bunch of frequencys shuold come up , dont close the screen just minimize it, open bzflag and localhost is the server, port 5154.

If you need further instructions take a look at my website which can be found on my signature :D good luck
Make sure you get my new Map Editor!: http://my.bzflag.org/bb/viewtopic.php?p=115526#115526
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

What is your OS?

If windows read this post
http://my.bzflag.org/bb/viewtopic.php?t=11045
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F »

charg wrote:now type this in:

bzfs.exe -world c:\filename.bzw -conf c:\filename.txt
You can also type

Code: Select all

bzfs -conf filename.txt
And in that .txt file just add in

Code: Select all

-world path/to/map/slon02.bzw
Not a big difference but it's just another way of doing it.
Image
Image
slon02
Private First Class
Private First Class
Posts: 148
Joined: Sat Jun 04, 2005 9:27 pm

Post by slon02 »

Ok, big_daddy2 found out the problem. It doesn't like my world weapon trigger (flagcap- it was the default). :cry:
Current Server: hosting.BZADDICT.net:5173
Former Server: Fairserve.bzflag.org:5259
Post Reply