Making server public...

Questions and answers about the how and why of making maps.
Post Reply
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Making server public...

Post by Steven Gerrard »

Hmm, i have question: how to make my server public??
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted »

add:

Code: Select all

-public "some text"
and

Code: Select all

-publiccaddr IPAdress
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

I maked it, but it don't work.. I have disabled firewalls... But what i must write in option: "List servers to register with" (-publiclist)??
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Read the section on the Wiki called "Getting your server on the public list" at http://bzflag.org/wiki/CreatingAServer . Everything you should need is there...
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

Ok, i made my server... But it don't have name what i want, but I'll change it... Problem is: what i must do to be registered on this map??
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

well if its youre server then you type in /password then the password you set in youre configuration file
that will make you the administrator
Image
Sig Made By AlliedArmour

TGPH
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

It's much better to use groups, preferably global. Request them, add players, create a groupsdb file and call it in your server config.
Search the forums, wiki, etc for more help.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair »

Yes, read through the wikis.

One gotcha: have you forwarded the appropriate port from your router to your server?
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

The Knights Who Say Ni wrote:well if its youre server then you type in /password then the password you set in youre configuration file
that will make you the administrator
i did it, but i'm not an administrator...
CannonBallGuy wrote:It's much better to use groups, preferably global. Request them, add players
Groups??
CannonBallGuy wrote:I create a groupsdb file and call it in your server config
i did it...
Longhair wrote:One gotcha: have you forwarded the appropriate port from your router to your server?
yes...


Just tell me what i must do to be registered on this map, i can't find it anywhere... (I read wiki)...
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

Do what i said and a @ sign will apear against youre name in the player list (if the password is right) you will then be an administrator nothing will look diffrent (apart from youre name) but you will be able to use all the / commands
Image
Sig Made By AlliedArmour

TGPH
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

I maked it, but i don't have @ next to nick... And can you see at list of servers server: oem-73d25e23970.mshome.net:5154 ?? (without the decription next to it) I can see it on second computer, but i can't join ("Server not found")
And when i start server, it show it:
"File transfer terminated with error from libcurl 6 :"
What does it mean?
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

You should use your public IP-Adress or your DynDNS as public address in order to have the server working.

Check your Firewall /Router for Port forwarding.

You'll get the @,

if you added yourself to the local.admin group.
Therefore, you need to enter /password serverpass
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

JPT wrote: if you added yourself to the local.admin group.
Therefore, you need to enter /password serverpass
huh?
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

I'll explain a bit...

You start your server with a batchfile or with a long command.

I do it thislike:
C:\bzflag\bzfs.exe -conf "C:\bzflagstuff\configs\config.conf"
If you want to have log files, use this:
C:\bzflag\bzfs.exe -ts -dd -conf "C:\bzflagstuff\configs\config.conf" > C:\bzflagstuff\log\Log.txt
-ts is for Timestamp
-dd is the Debuglevel (Higher = mor information)

Now to the configfile:
#Public description for the server
-public "JPTs BZFlag Server"

#Public network address for the server
-publicaddr jpt.homeip.net:5154

#Bad Words filter file specification
-badwords C:\bzflagstuff\data\language.lan

#File to which to write user reports
-reportfile "C:\bzflagstuff\data\Reports.txt"

#Administrator's password
-password "serverpass"

#File that stores group privileges
-groupdb "C:\bzflagstuff\data\GroPriv.txt"

#File that stores user privileges
-userdb "C:\bzflagstuff\data\UserPriv.txt"

#Capture the flag game style
-c

#World file to load
-world "C:\bzflagstuff\worlds\world.bzw"

#Tanks can spawn on buildings
-sb

#Maximum number of players n, or max players per team n,n,n,n,n,n
-mp 0,6,3,3,0,10

#Tanks can jump
-j

#Maximum concurrent shots
-ms 5
In this example, i use a User and Group DB.
The User DB will be managed by the Server, an empty textfile is enough.

The Group DB contains the rights for personal groups.
You can create them.

Here is mine:
JPT.ADMIN: ACTIONMESSAGE ADMINMESSAGERECEIVE ADMINMESSAGESEND BAN BANLIST FLAGHISTORY FLAGMOD MUTE PLAYERLIST POLL REJOIN SAY SPAWN SETALL UNMUTE VETO VOTE ANTIKICK ANTIBAN ANTIPOLL HOSTBAN HOSTBANLIST KILL LAGWARN SET KICK

JPT.COP: ACTIONMESSAGE ADMINMESSAGERECEIVE ADMINMESSAGESEND SHORTBAN BANLIST FLAGHISTORY FLAGMOD MUTE PLAYERLIST POLL REJOIN SPAWN UNMUTE VETO VOTE ANTIKICK ANTIBAN ANTIPOLL KICK SAY

VERIFIED: SPAWN REJOIN SAY VOTE POLL

EVERYONE: SPAWN REJOIN SAY ADMINMESSAGESEND
Verified is the group, which contains registered users.


If your server is running, you have to make yourself admin.

Do:
/password serverpass
Then, you've to add yourself to the Local.Admin group.
The server creates this group automatically.

To give yourself membership of the group, do:
/setgroup YourNick Local.Admin
Then, you can rejoin the server, and you'll have the @.[/quote]

If you're still having questions, ask ;)
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

Ok, questions:
1. Why no one can join to my map, but i know that they see it, becouse i have 2 computers and i can use second PC... I can see it, but i can't go in ("Server not found")
2. When i try to "/setgroup YourNick Local.Admin", it say: "STEVEN GERRARD is not listed"
3. When i run server, in black window it say some things AND "File transfer terminated with error from libcurl 6 :"

Now its enought...

(I maked everything what you said...)
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

number 3 is youre problem that basically means it isnt getting a responce from the list server so its some thing to do with youre firewall or some where between you and the internet i think...
Image
Sig Made By AlliedArmour

TGPH
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

but i sign off all firewalls...
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

yer i wouldnt do that as it leaves you very attackable (hackable) just open one port [5154 is the default] and forward it make sure youre -public is right with the right IP as it may change if its dynamic
just check every thing in youre conf and setup...

after that there isnt much you can do..
Image
Sig Made By AlliedArmour

TGPH
User avatar
Roxport
Private First Class
Private First Class
Posts: 16
Joined: Sun Sep 18, 2005 4:01 pm
Location: Fort Worth, Texas

Update to the latest version?

Post by Roxport »

Steven,

What version of bzfs(the server) are you using? I read (in these forums somewhere) that the latest version fixes some libcurl bugs/errors. You might try to upgrade to the latest version, or at least re-install bzfs.

-- Roxport
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

The Knights Who Say Ni wrote:yer i wouldnt do that as it leaves you very attackable (hackable) just open one port [5154 is the default] and forward it make sure youre -public is right with the right IP as it may change if its dynamic
just check every thing in youre conf and setup...

after that there isnt much you can do..
I did it... :angel: :wink:
Roxport wrote:Steven,

What version of bzfs(the server) are you using? I read (in these forums somewhere) that the latest version fixes some libcurl bugs/errors. You might try to upgrade to the latest version, or at least re-install bzfs.

-- Roxport
Hmm, i have latest version, but ok, i'll try to re-install it... :turtle:
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
Steven Gerrard
Private First Class
Private First Class
Posts: 24
Joined: Sat Mar 18, 2006 10:21 am
Location: Krakow in POLAND =D

Post by Steven Gerrard »

Oh cool... I copied conf, batch and map and groups file, but did't put somewhere... :doh: And i must do everything again... :rip:
Who is the best?? Only THE REDS!!!!
-----------------------------------------------------------
If i can, i play just in red team, or on ffa server - in rouge team...
-----------------------------------------------------------
LFC - Pride of Europe :D
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

I've helped more than a few get their first servers up, and I'm pretty sure you have disabled your firewall, but NOT opened your ports.

Find the exact brand and model number of your router, go to portforward.com and find the default guide for your router, then open port 5154 for both TCP and UDP. You should be able to re-enable your firewall after that.

Another big hint is to keep the .conf as simple as possible, until AFTER you have the server public. You don't need groups, variable settings, you don't even need a map, (it will create a random map for you).
Don't even think about groups, until after you have a public server. #comment all of that out#
Thats right, get rid of all the extras, until it's public. That makes it alot easier to spot any errors, when there's alot less you're attempting to load.
Once the server is public, and on the list, start adding all your options ONE AT A TIME. So when one of the options breaks the .conf, you know which one it is.

All you really need is -public and -publicaddr. That's it.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Longhair
Private First Class
Private First Class
Posts: 330
Joined: Tue Feb 08, 2005 6:06 pm
Location: Lancaster, PA
Contact:

Post by Longhair »

A-delusion's advice here is good. Start with getting 1 thing to work, and add one more thing at a time.

If I recall, libcurl6 errors are due to something in the network not hooking up.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1054
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Post by optic delusion »

Yeah, it seems like every single time they have a whole lot of ideas that go into the server, all set up, and that is a good thing.
But right now all you have to worry about, steven, is getting the server on the list. You can add all of that later.
1. Make your .conf file as simple as possible.
2. Get on the list !!!
3. Work on groups, map, all of that.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Post Reply