Mac OS X public server hosting problem (Video Provided)

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
Bacon
Private First Class
Private First Class
Posts: 20
Joined: Mon May 04, 2009 3:30 pm

Mac OS X public server hosting problem (Video Provided)

Post by Bacon » Thu Jun 30, 2011 12:05 am

Here is the youtube video I made recording my step by step process on how I attempt to host a server:
http://www.youtube.com/watch?v=U6YApudKUrU

This is the guide I followed:
http://my.bzflag.org/bb/viewtopic.php?t=3702#p86167

I hope this will help identify my mistakes so I can fix 'em! My main problem is the my server isn't running publicly and I can't find it on the server list, I'm also not sure if I portfowarded correctly.

This is the config file I used:

Code: Select all

#This is a bzfs configuration file.
#Copy and paste into a simple text file and name it like sample.conf.
#Use it like bzfs -conf sample.conf

-p 5154

#Public description for the server
-public "TESTING FIRST TIME HOSTING BY BACON”

#Public network address for the server
-publicaddr bacon.dyndns-mail.com

#Public List server to register with
-publiclist http://my.bzflag.org:81/db/

#Server Message displayed when player joins
-srvmsg "Welcome! Please follow standard rules of no swearing and cheating. Thanks for playing!"

#Lag Warning threshold time [ms]
-lagwarn 300

#Drop player after this many lag warnings
-lagdrop 5

#Ban File
#-banfile "/Users/Gabe/Desktop/Bzflag_Server/Bad-Word-File.txt"

#Idle Kick Threshold [s]
-maxidle 6000

#Team killer to wins percentage (1-100) above which player is kicked
#-tkkr 20

#Bad Words filter file specification
#-badwords /Users/Gabe/Desktop/Bzflag_Server/Ban-list.txt

#Message that is broadcast every 15 minutes
-admsg "Thanks for playing!"

#Write score to stdout whenever it changes
-printscore

#Disable robots and the ROGER autopilot
#-disableBots

#Help Messages file specification
#-helpmsg "/Users/Gabe/Desktop/Bzflag_Server/Help-File.txt" about 

#File to which to write user reports
-reportfile "/Users/Gabe/Desktop/Bzflag_Server/Report-File.txt"

#Program to which to pipe user reports
#-reportpipe "/Users/Gabe/Desktop/Bzflag_Server/Report-pipe.txt"

#Increase debugging level
-dd

#Administrator's password
-password “abc123”

#File that stores user passwords
#-passdb "/Users/Gabe/Desktop/Bzflag_Server/Password-database.txt"

#File that stores group privileges
#-groupdb "/Users/Gabe/Desktop/Bzflag_Server/Group-Privilege-Database.txt"

#File that stores user privileges
#-userdb "/Users/Gabe/Desktop/Bzflag_Server/User-Privilege-Database.txt"

#Filter callsigns to disallow inappropriate user names
-filterCallsigns

#Filter chat messages
-filterChat

#Perform simple exact matches with the bad word list
-filterSimple

#World file to load
-world "/Users/Gabe/Desktop/Teleporter test map.bzw"

#Flags can exist on buildings
-fb

#Tanks can spawn on buildings
-sb

#World size in meters
-worldsize 800

#Insert antidote superflags
-sa

#File that stores world parameter variable overrides
#-vars "/Users/Gabe/Desktop/Bzflag_Server/World-Property-Variables-file.txt"

#Tanks can jump
-j

#Weaker tanks are given a handicap advantage
-handicap

#Ordinance richochets
+r

#Maximum concurrent shots
-ms 4

#Limit Acceleration
-a

#Bad Flag shake time [s]
-st 10

#Mandatory flags
+f good{10} +f bad{10} 

#Forbidden flags
-f bad -f good 

-mp 20,20,20,20,20,20

This is the .command text:

Code: Select all

/Applications/BZFlag-2.0.16.app/Contents/MacOS/bzfs -conf /Users/Gabe/Desktop/myfirstconfig.cfg
This is my test map:

Code: Select all

world
  size 400.000000
end

dynamicColor
  name LinkMaterial
  red limits 0 0.25
  red sinusoid 2 0 1
  green limits 0 0.25
  green sinusoid 2 0.666667 1
  blue limits 0 0.25
  blue sinusoid 2 1.33333 1
  alpha limits 0.75 0.75
end

textureMatrix
  name LinkMaterial
  shift 0 -0.05
end

material
  name LinkMaterial
  dyncol LinkMaterial
  diffuse 0 0 0 0.5
  nolighting
  addtexture telelink
    texmat LinkMaterial
end

options
  -c
  +r
  -j
  -set _tankSpeed 100.000000
  -ms 5
  -mp 2,2,2,0,0,2
end

box
  name BZBox_1
  position 370.000000 30.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy
  position 340.000000 0.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy
  position 375.000000 20.000000 0.000000
  size 15.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position 360.000000 0.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy
  position 380.000000 -20.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy
  position 365.000000 -30.000000 0.000000
  size 25.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position 350.000000 0.000000 8.000000
  size 30.000000 10.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy
  position 380.000000 -25.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position 380.000000 25.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position 395.000000 20.000000 8.000000
  size 5.000000 0.100000 7.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position -375.000000 -20.000000 0.000000
  size 15.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position 20.000000 -375.000000 0.000000
  size 15.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 20.000000 380.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position -20.000000 -380.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position -20.000000 375.000000 0.000000
  size 15.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -380.000000 20.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -395.000000 -20.000000 8.000000
  size 5.000000 0.100000 7.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position -20.000000 395.000000 8.000000
  size 5.000000 0.100000 7.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position 20.000000 -395.000000 8.000000
  size 5.000000 0.100000 7.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -360.000000 0.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 0.000000 -360.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position 0.000000 360.000000 0.000000
  size 20.000000 0.100000 15.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position -365.000000 30.000000 0.000000
  size 25.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -365.000000 30.000000 0.000000
  size 25.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -30.000000 -365.000000 0.000000
  size 25.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 30.000000 365.000000 0.000000
  size 25.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy
  position -340.000000 0.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position 0.000000 -340.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 0.000000 340.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy
  position -370.000000 -30.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy
  position -30.000000 370.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position -380.000000 -25.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position -25.000000 380.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy_Copy
  position 25.000000 -380.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -380.000000 25.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 25.000000 380.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position -25.000000 -380.000000 8.000000
  size 20.000000 5.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position 30.000000 -370.000000 0.000000
  size 30.000000 0.100000 8.000000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy
  position -350.000000 0.000000 8.000000
  size 30.000000 10.000000 0.100000
  rotation 90.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy
  position 0.000000 -350.000000 8.000000
  size 30.000000 10.000000 0.100000
  rotation 0.000000
end

box
  name BZBox_1_Copy_Copy_Copy_Copy_Copy
  position 0.000000 350.000000 8.000000
  size 30.000000 10.000000 0.100000
  rotation 0.000000
end

pyramid
  name BZBox_1_Copy
  position 380.000000 0.000000 22.000000
  size 20.000000 20.000000 10.000000
  rotation 0.000000
end

pyramid
  name BZBox_1_Copy_Copy
  position -380.000000 0.000000 22.000000
  size 20.000000 20.000000 10.000000
  rotation 0.000000
end

pyramid
  name BZBox_1_Copy_Copy_Copy
  position 0.000000 -380.000000 22.000000
  size 20.000000 20.000000 10.000000
  rotation 0.000000
end

pyramid
  name BZBox_1_Copy_Copy_Copy_Copy
  position 0.000000 380.000000 22.000000
  size 20.000000 20.000000 10.000000
  rotation 0.000000
end

base
  name BZBox_1
  color 4
  position 380.000000 0.000000 0.000000
  size 20.000000 20.000000 0.100000
  rotation 0.000000
end

base
  name BZBox_1_Copy
  color 3
  position -380.000000 0.000000 0.000000
  size 20.000000 20.000000 0.100000
  rotation 0.000000
end

base
  name BZBox_1_Copy_Copy
  color 2
  position 0.000000 380.000000 0.000000
  size 20.000000 20.000000 0.100000
  rotation 0.000000
end

base
  name BZBox_1_Copy_Copy_Copy
  color 1
  position 0.000000 -380.000000 0.000000
  size 20.000000 20.000000 0.100000
  rotation 0.000000
end

teleporter b1
  position 393.000000 -393.000000 0.000000
  size 0.560000 5.000000 14.000000
  rotation 135.000000
  border 1.100000
end
teleporter b2
  position 393.000000 -393.000000 15.000000
  size 0.560000 5.000000 10.000000
  rotation 135.000000
  border 1.100000
end
teleporter a1
  position -393.000000 -393.000000 0.000000
  size 0.560000 5.000000 14.000000
  rotation 45.000000
  border 1.100000
end
teleporter a2
  position -393.000000 -393.000000 15.000000
  size 0.560000 5.000000 10.000000
  rotation 45.000000
  border 1.100000
end
link
  from b1:f
  to b2:f
end

link
  from b1:b
  to b2:b
end

link
  from a1:f
  to a2:f
end

link
  from a1:b
  to a2:b
end

link
  from a2:f
  to a1:f
end

link
  from a2:b
  to a1:b
end

link
  from b2:f
  to b1:f
end

link
  from b2:b
  to b1:b
end

And this is the text shown in my terminal after my server is running:

Code: Select all

Last login: Wed Jun 29 13:54:00 on console
/Users/Gabe/Desktop/Server_hosting.command ; exit;
gabe-lavails-macbook:~ Gabe$ /Users/Gabe/Desktop/Server_hosting.command ; exit;
set variable: _tankSpeed = 100.000000
using world size of "1600"
LIBCURL version:  libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3
ColDet Octree obstacles = 53
  grid extent[0] = -400.000000, 400.000000
  grid extent[1] = -400.000000, 400.000000
  grid extent[2] = 0.000000, 800.000000
  world extent[0] = -400.000000, 400.000000
  world extent[1] = -400.000000, 400.000000
  world extent[2] = 0.000000, 32.000000
ColDet Octree leaf nodes  = 142
ColDet Octree total nodes = 183
ColDet Octree total elements = 327
Collision Octree processed in 0.001 seconds.
Map size: uncompressed = 2218, compressed = 548
style: 1bb
  capture the flag
  super flags allowed
  jumping allowed
  all shots ricochet
  antidote flags
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 12
Running a public server with the following settings:
	public address is bacon.dyndns-mail.com
CURLOPT_URL is : http://bzflag.org/master-bans.txt
Loaded master ban list from http://bzflag.org/master-bans.txt
	listening on 0.0.0.0:5154
	with title of "TESTING FIRST TIME HOSTING BY BACON”"
CURLOPT_URL is : http://my.bzflag.org:81/db/

candy on me head n.n

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Mac OS X public server hosting problem (Video Provided)

Post by JeffM » Thu Jun 30, 2011 12:22 am

you didn't port forward correctly. all you need is -public to show up on the list.

The problem is not with bzfs it is your network.

User avatar
mahem1
Private First Class
Private First Class
Posts: 91
Joined: Thu Jan 14, 2010 2:18 am
Location: Antarctica

Re: Mac OS X public server hosting problem (Video Provided)

Post by mahem1 » Thu Jun 30, 2011 12:49 am

This is the first person I have ever seen who gave 'too much information'!!
I don't even know if you could given more info!!'
More people need to be like this.
Lag makes me miss all of the good stuff.
And random bans..........
Image

User avatar
blast
General
General
Posts: 4735
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: Mac OS X public server hosting problem (Video Provided)

Post by blast » Thu Jun 30, 2011 2:41 am

I see you're using port 81 for the list server which leads me to believe you are behind a proxy of some kind on your ISP, since that is the usual fix for an transparent caching proxy. If so, I'd say it's like that your ISP also prevents you from hosting any services.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Bacon
Private First Class
Private First Class
Posts: 20
Joined: Mon May 04, 2009 3:30 pm

Re: Mac OS X public server hosting problem (Video Provided)

Post by Bacon » Thu Jun 30, 2011 3:49 am

blast wrote:I see you're using port 81 for the list server which leads me to believe you are behind a proxy of some kind on your ISP, since that is the usual fix for an transparent caching proxy. If so, I'd say it's like that your ISP also prevents you from hosting any services.
Is there a possible work around?
candy on me head n.n

Bacon
Private First Class
Private First Class
Posts: 20
Joined: Mon May 04, 2009 3:30 pm

Re: Mac OS X public server hosting problem (Video Provided)

Post by Bacon » Thu Jun 30, 2011 3:51 am

mahem1 wrote:This is the first person I have ever seen who gave 'too much information'!!
I don't even know if you could given more info!!'
More people need to be like this.
Ha-ha It was a good hour long project putting this together but it was for good reason. :P
candy on me head n.n

Bacon
Private First Class
Private First Class
Posts: 20
Joined: Mon May 04, 2009 3:30 pm

Re: Mac OS X public server hosting problem (Video Provided)

Post by Bacon » Thu Jun 30, 2011 3:52 am

JeffM wrote:you didn't port forward correctly. all you need is -public to show up on the list.

The problem is not with bzfs it is your network.
So what did I do wrong when portfowarding? Was I not supposed to use my routers IP? Was I supposed to use my external IP?
candy on me head n.n

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Mac OS X public server hosting problem (Video Provided)

Post by JeffM » Thu Jun 30, 2011 4:26 am

We can't know what you did wrong. What you have to do to port forward is different depending on your network set up. You would have to check with the documentation on your firewall, modem, router, and ISP ( hosting is not for everyone). There are too many combinations of those for us to be experts in, so we don't do network setup support ( also if you screw up you can open security holes in your network and put your machines at risk and we don't want the liability).

http://portforward.com/ has a lot of info on various setups.

But as blast said, your ISP may not even allow you to host. It is more and more common these days with home connections.

As for the bzfs setup to test if you have your forwarding set correctly you don't need all of those fancy options, if you just run bzfs -public "test" then your server will show up on the list server under it's public IP if the networking set up correctly. The other options are just to configure the server the way you want and just bog down the testing process.

User avatar
Gamma Ray
Private First Class
Private First Class
Posts: 22
Joined: Sun Aug 17, 2008 5:29 pm
Location: Nowhere

Re: Mac OS X public server hosting problem (Video Provided)

Post by Gamma Ray » Sat Aug 20, 2011 5:50 am

Hey I watched the video and I think you forgot to port forward both UDP and TCP as well as denying BZFlag on the firewall.
The Mac firewall is configured to keep out inbound traffic, like people trying to contact your bzflag server. Go to firewall and set allow for bzfs.

EDIT: And maybe try port forwarding without your optional remote settings.

Good luck!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest