Page 1 of 1

My third try at running a sever

Posted: Sat Jan 03, 2009 8:05 am
by Anthony
Oh I give up if I can't get this working this time.

Code: Select all

C:\Program Files\BZFlag2.0.10>bzfs -j +r -ms 6 -publicaddr 71.50.186.116:5154 -d
dd -p 5154 -fb -sb -public "Tonywolfe121 test sever" -srvmsg "
This is a ad ratfink had nothing to do with it or did he?" -password "******" -p 5
154 -world "C:\Program Files\BZFlag2.0.10\unknowntown.bzw" -a 50 50  -ms 6
LIBCURL version:  libcurl/7.16.3-CVS c-ares/1.3.3-CVS
ColDet Octree obstacles = 91
  grid extent[0] = -989.000000, 1032.000000
  grid extent[1] = -1000.000000, 1021.000000
  grid extent[2] = 0.000000, 2021.000000
  world extent[0] = -421.000000, 464.000000
  world extent[1] = -432.000000, 453.000000
  world extent[2] = 0.000000, 2021.000000
ColDet Octree leaf nodes  = 352
ColDet Octree total nodes = 425
ColDet Octree total elements = 904
Collision Octree processed in 0.004 seconds.
Map size: uncompressed = 3466, compressed = 926
Compression: 0.002 seconds
MD5 generation: 0.000 seconds
style: 38
  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 public server with the following settings:
        public address is 71.50.186.116:5154
CURLOPT_URL is : http://bzflag.org/master-bans.txt
Banfile: bad ban
Loaded master ban list from http://bzflag.org/master-bans.txt
        listening on 0.0.0.0:5154
        with title of "Tonywolfe121 test sever"
CURLOPT_URL is : http://my.BZFlag.org/db/
Queuing ADD message to list server
File transfer terminated with error from libcurl 28 : Operation too slow. Less t
han 1024 bytes/sec transfered the last 10 seconds

but Its not in the list sever :?

What am i doing wrong? :|

Re: My third try at running a sever

Posted: Sat Jan 03, 2009 2:04 pm
by Longhair
Here's your clue in the command line output:
Queuing ADD message to list server
File transfer terminated with error from libcurl 28 : Operation too slow. Less than 1024 bytes/sec transfered the last 10 seconds
Something's not getting through to the list server in the first place. Since you're on a Windows machine, you might want to check your firewall logs to see if curl or libcurl bounced off the inside of your firewall and never got out of your machine. If you're really stuck, try changing the -dd to -ddd or even -dddd. Usually, you wouldn't run that high a debugging level, but when you're troubleshooting, it can be helpful. It'll tell you practically everything that's going on.

Good luck

Re: My third try at running a sever

Posted: Sat Jan 03, 2009 5:04 pm
by blast
The error occurs when it takes too long to get a reply from the list server. And this almost always occurs because your server is not reachable from the Internet. The list server tries to connect back to your server to make sure that it is running. So the issue is that your router or firewall is not set up properly. Fix those and then it should work.

Adding more debugging might help identify this, but I'm not sure if you'd see the fsockopen timeout error that the list server generates (since your server is timing out, it will probably not show the resulting HTTP request).

Re: My third try at running a sever

Posted: Sun Jan 11, 2009 1:03 am
by Cheese Man
Sorry, but do u need to have a static IP to run a server?

I have the same problem, except im on a Mac and i fixed my firewall settings.

Re: My third try at running a sever

Posted: Sun Jan 11, 2009 1:57 am
by joevano
You do not NEED a static IP, but it makes it a little easier. If you have a dynamic IP it is best to get a host name from DynDns.com (a free one will suffice), or a similar service. Most routers now support this type of service and it is generally best to config your router to take care of the service (easier setup, and hey the router already knows when it's IP changes). So look in your router to see what services it supports and then go to one of the supprted services web site to see what you need to do to sign up and get a hostname. Then you use that hostname in your -publicaddress and it won't matter if your IP changes, people will still get to your server.

Re: My third try at running a sever

Posted: Sun Jan 11, 2009 2:42 am
by blast
If you're talking about a static IP on a computer behind the router, then I would highly recommend it. It makes port forwarding easier as you don't have to keep updating the IP it forwards to.

Re: My third try at running a sever

Posted: Mon Jan 12, 2009 1:53 am
by Cheese Man
The server's gonna be down a lot, cause my parents dont like it when the computer's on at night.

How do i check what my public IP is on my router? i asked my dad and he couldn't tell me. I'm on mac OS X 10.5.5.

Thanks

Re: My third try at running a sever

Posted: Mon Jan 12, 2009 4:23 am
by blast
Get a hostname from something like no-ip.com and run their client. Then you don't have to worry about what IP you have, as you can just provide that hostname as the -publicaddr address.