Page 1 of 1

bzfs window closes instantly

Posted: Fri Jun 29, 2007 11:08 pm
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? :?

Posted: Fri Jun 29, 2007 11:14 pm
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.

Posted: Fri Jun 29, 2007 11:14 pm
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.

Posted: Fri Jun 29, 2007 11:18 pm
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.

Posted: Fri Jun 29, 2007 11:22 pm
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

Posted: Fri Jun 29, 2007 11:24 pm
by joevano
What is your OS?

If windows read this post
http://my.bzflag.org/bb/viewtopic.php?t=11045

Posted: Sat Jun 30, 2007 4:21 am
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.

Posted: Sun Jul 01, 2007 1:54 am
by slon02
Ok, big_daddy2 found out the problem. It doesn't like my world weapon trigger (flagcap- it was the default). :cry: