Page 1 of 1

problem with testing my map...

Posted: Thu Jan 01, 2009 7:57 am
by s1n
From what I understand, to test out your map, all you need to do are these steps:

1. Create a map and save it as a bzw.

2. Run CMD and type "cd c:\program files\bzflag2.0.10

3. Type "bzfs -world "yourmap.bzw"

After doing all this, I should be able to run bzflag and test out my map using localhost and port 5154 right? But when I try do so, bzflag says I`m not able to connect...

I have a Windows XP and my bzflag version is 2.0.10.

What am I doing wrong?

Blast's map testing program won't work either.

Re: problem with testing my map...

Posted: Thu Jan 01, 2009 10:55 pm
by blast
Add -ddd after the bzfs and see if you can find any errors.

Re: problem with testing my map...

Posted: Fri Jan 02, 2009 3:33 pm
by s1n

Code: Select all

C:\Program Files\BZFlag2.0.10>bzfs -ddd -world "wgassault.bzw"
set variable: _wingsJumpCount = 25
LIBCURL version:  libcurl/7.16.3-CVS c-ares/1.3.3-CVS
ColDet Octree obstacles = 100
  grid extent[0] = -401.000000, 401.000000
  grid extent[1] = -401.000000, 401.000000
  grid extent[2] = 0.000000, 802.000000
  world extent[0] = -401.000000, 401.000000
  world extent[1] = -401.000000, 401.000000
  world extent[2] = 0.000000, 375.000000
ColDet Octree leaf nodes  = 664
ColDet Octree total nodes = 794
ColDet Octree total elements = 1526
Collision Octree processed in 0.006 seconds.
Map size: uncompressed = 3366, compressed = 570
Compression: 0.001 seconds
MD5 generation: 0.000 seconds
style: 3a
  super flags allowed
  jumping allowed
  all shots ricochet
There is a voting arbiter with the following settings:
        vote time is 60 seconds
        veto time is 2 seconds
        votes required are 2
        vote percentage necessary is 50.099998
        vote repeat time is 300 seconds
        available voters is initially set to 200
Running a private server with the following settings:
        listening on 0.0.0.0:5154
        with title of ""
Ok, I did the -ddd thing and this came up... everything seems to be alright... do you see anything wrong?

Re: problem with testing my map...

Posted: Fri Jan 02, 2009 10:43 pm
by blast
Looks fine to me, assuming that the server was still running when you tried to connect to it.

Re: problem with testing my map...

Posted: Fri Jan 02, 2009 11:18 pm
by Branton
Do you have a firewall on your box? Does XP have one built in or is that just Vista?

Re: problem with testing my map...

Posted: Sat Jan 03, 2009 6:06 am
by s1n
I'm pretty sure the server was still running when I went to go on it... cmd was still open. Also, I've tried turning my firewall off and then trying to get on - still didn't work :(

Re: problem with testing my map...

Posted: Sat Jan 03, 2009 6:08 am
by blast
Try running just bzfs alone without giving any map to it. Start basic and see if you can connect to that.

Re: problem with testing my map...

Posted: Sat Jan 03, 2009 9:28 pm
by s1n
Basically the same thing happens... unable to connect. Doing "Start Server in BZFlag, then connecting with localhost at port 5154 also won't work.

The output after putting -ddd after bzfs is a little different though. It mentions something about acceleration limit and also says "LIBCURL version: libcurl/7.16.3-CVS c-ares/1.3.3-CVS" at the end.

Re: problem with testing my map...

Posted: Sun Jan 04, 2009 12:09 am
by blast
First, before you start, make sure the bzfs.exe does NOT show up in the task manager. If it does, kill it. Then start up your server. Then look in the task manager again and verify that you DO see bzfs.exe running. If so, try connection to the server 'localhost' on port 5154. If that fails, try connection to the server '127.0.0.1'. If that fails, your computer has serious issues that we can't fix.

Note: The "Start Server" menu launches a copy of bzfs, so it's something you are doing wrong in one way or another.