Jump to content

Welcome to our forums!

Sign In or Register to gain full access to our forums. By registering with us, you'll be able to discuss, share and private message with other members of our community.

Photo

How to: Public Server

Build 27

  • Please log in to reply
42 replies to this topic

#1 RobertJohnson

RobertJohnson

    French Developer

  • PZ Dev
  • PipPipPip
  • 1626 posts

Posted 03 June 2014 - 09:58 AM

Hello everyone,

 

With the upcoming Build 27 you'll be able to set your server as Public, so every client could see it in the new Public Server list, just like this :

 

Spoiler

 

Please note : This doesn't meant PZ.com will host servers, this only mean you can share your server info with everyone, so either you have a public server, or even you want some coop-4 players max server and doesn't find friends to play with you :)

 

1) As a client, seek for server

 

With the build 27, when you click on "Join Server" in the main menu, you'll notice at the bottom of the server list screen a "Public Servers" button, click on it, all the public server will be refreshed (refresh allowed only 1 time per minute).

Then click on the server you want, select a username and click on "save", it'll add this server to your favorite, send you back to your saved servers list and select the new saved server, then you'll just have to join it like you do with any other servers.

 

The servers are sorted by players connected, you also have a name filter to search in the server list (it may change with tags and stuff, but for now you can search for [FR] or [COOP] etc.)

 

Servers are updated every 2hours or when a player connect/disconnect, and if a server is inactive for 3 hours, it'll disapear from the list, this mean some server can be in the list but not available (we'll balance it after some testing ;))

 

 

The following part is for server owner :

 

2) Setup the Server Options

 

After launching your server, you'll have some new Server Options (by default in users/YOU/Zomboid/server/servername.ini, default servername = servertest)

You'll have to modify 3 of this options to become public, this is what I've done for my server (which is only local, dev's trick :D) :

Public=true
PublicName=[COOP][RP] RJ Server
PublicDescription=Have fun with RJ ! Yay !

Public = true // Enable the public list

PublicName = thing // MANDATORY TO BE IN PUBLIC LIST !

PublicDescription = server public desc // Optionnal

 

But also new :

MaxPlayers=64 // The number of players on your server

 

IMPORTANT : YOUR SERVER NEED TO BE OPEN (no registration needed) TO BE IN PUBLIC LISTING (we'll see how we can setup an in game registration later if needed)

 

3) Other infos shown

 

The public server also show the players connected, the mods used and the last update time.

 

4) Info sent to PZ.com

 

Everytime you start your server and every 2 hours, all the infos (name, desc, mods..) of your server will be sent to PZ.com, then every 5min a .xml file is generated with all the into on all servers

But also everytime a player connect/disconnect (max 1 time per 10min), it'll update your server (so the last update time will be 0minute) and the players connected.

This mean your server will stay up to date pretty easily ;)

If your server hasn't been updated for 3hours, it'll disapear from the list (it'll come back once your server will be up !)

 

5) Shutdown

 

This service can be shutdown VERY quickly and easily by us, if we see anyone who try to hack (like what, hacking the public server list ? what's the point anyway ?) or too much data sent, we'll shutdown it without any warning (a post will be open on the forum tho), so please don't be THAT asshole trying to hack (even if we put a lot of anti-hacking stuff) just to piss off everyone (ook, I may feel angry there, but I know someone will try, Internet is full of troll), cheers :)

 

 

 

If you have other idea for it (more infos..) or any question, please post them here, I'll do my best to answer ;)


  • Footmuffin, Walther and Kaioken like this

When the power of love overcomes the love of power the world will know peace. - Jimi Hendrix.

 

@rj_pz


#2 Connall

Connall

    [Hivemind] Biographer of Spiffo, Master of The Server

  • Moderators
  • PipPipPip
  • 2081 posts

Posted 03 June 2014 - 10:02 AM

"Have fun with RJ."

 

Sold me on your server right there.

 

 

Looks bloody brilliant man. :D


Project Zomboid Wiki Manager, TIS Forum and Steam PZ Moderator. RJ's and nasKo's protege and beholder to Kirrus and EnigmaGrey


#3 Aricane

Aricane

    Eater of the Stone

  • Members
  • PipPipPip
  • 435 posts

Posted 03 June 2014 - 10:34 AM

It does look brilliant. However I think this kills it for me. I really need to start finding something else to do with my spare time.

 

Edit: to clarify I just used weeks on making a server list and now that time is spent for nothing. That won't happen again.


Edited by Aricane, 03 June 2014 - 12:49 PM.


#4 mads232

mads232

    Burning World Observer

  • Members
  • PipPipPip
  • 113 posts

Posted 03 June 2014 - 11:19 AM

Great addition! Keep up that great development. ;)

No, my avatar isn't Spiffo.. It's Spiffo inspired... :3


#5 Walther

Walther

    Greater Bunny-man

  • Members
  • PipPipPip
  • 754 posts

Posted 03 June 2014 - 11:36 AM

amazebawls. I couldnt get hamachi to work properly so this will make things way easier for friends to play together.


there’s an awful lot of excited new survivors scurrying around West Point and Muldraugh and dying horribly – which is great news!

#6 RobertJohnson

RobertJohnson

    French Developer

  • PZ Dev
  • PipPipPip
  • 1626 posts

Posted 03 June 2014 - 12:05 PM

amazebawls. I couldnt get hamachi to work properly so this will make things way easier for friends to play together.

 

It doesn't meant PZ.com will host your server, only the informations, so you'll have to setup Hamachi and make your server works, this is not really for server-of-friends thing, it's more for public server or guys who want coop but doesn't have friends connected :)


When the power of love overcomes the love of power the world will know peace. - Jimi Hendrix.

 

@rj_pz


#7 Walther

Walther

    Greater Bunny-man

  • Members
  • PipPipPip
  • 754 posts

Posted 03 June 2014 - 12:08 PM

 

amazebawls. I couldnt get hamachi to work properly so this will make things way easier for friends to play together.

 

It doesn't meant PZ.com will host your server, only the informations, so you'll have to setup Hamachi and make your server works, this is not really for server-of-friends thing, it's more for public server or guys who want coop but doesn't have friends connected :)

 

 

ah ok I misread. will hosting my own server on my pc and playing on that pc work properly? better a public server with friends and strangers than no server at all I'd say


there’s an awful lot of excited new survivors scurrying around West Point and Muldraugh and dying horribly – which is great news!

#8 nasKo

nasKo

    Community Manager

  • Administrators
  • PipPipPip
  • 2277 posts

Posted 03 June 2014 - 12:09 PM

ah ok I misread. will hosting my own server on my pc and playing on that pc work properly? better a public server with friends and strangers than no server at all I'd say

Only way to tell is to try it yourself.
Others are doing it, so it's up to you.

TT


#9 Viceroy

Viceroy

    [Bearded] One with the Ice Flows, King of the Bugs

  • Members
  • PipPipPip
  • 1143 posts

Posted 03 June 2014 - 12:35 PM

Might wanna put in some safeguards against obscene names and words within the public server list, can already see people abusing that for their own enjoyment.

 

Can't wait to see it in action though, gonna make playing MP alot less frustrating to be able to locate lively servers in-game. :)


  • Walther likes this

Pop up and do less!


#10 RobertJohnson

RobertJohnson

    French Developer

  • PZ Dev
  • PipPipPip
  • 1626 posts

Posted 03 June 2014 - 01:22 PM

Might wanna put in some safeguards against obscene names and words within the public server list, can already see people abusing that for their own enjoyment.

 

Jeez really ? Well, what it surprise me, some people also mess with gnu licence.. Bah.

 

Do you have some example ? So I can add some filter (and maybe a warning, if obscene things -> ip banned to be a public server), some day we'll link it to Steam account to permanently ban them for creating server if this is so dumb...


When the power of love overcomes the love of power the world will know peace. - Jimi Hendrix.

 

@rj_pz


#11 nasKo

nasKo

    Community Manager

  • Administrators
  • PipPipPip
  • 2277 posts

Posted 03 June 2014 - 01:42 PM

Might wanna put in some safeguards against obscene names and words within the public server list, can already see people abusing that for their own enjoyment.

 
Jeez really ? Well, what it surprise me, some people also mess with gnu licence.. Bah.
 
Do you have some example ? So I can add some filter (and maybe a warning, if obscene things -> ip banned to be a public server), some day we'll link it to Steam account to permanently ban them for creating server if this is so dumb...

Steam account linking without Steamworks could prove itself kinda hard, considering the game can be run without Steam.

We can work out a basic swearwordfilter, if need be (which I doubt). Maybe together with peeps who work out translations for other languages.
  • magnum2016 likes this

TT


#12 Viceroy

Viceroy

    [Bearded] One with the Ice Flows, King of the Bugs

  • Members
  • PipPipPip
  • 1143 posts

Posted 03 June 2014 - 01:46 PM

Hmmm I reckon it would probably be better to allow for a server name to be reported for being offensive or obscene than to have the program checking for certain strings, because that could easily be bypassed by a clever human being.

 

DISCLAIMER SWEARING IN SPOILER:

Spoiler

Pop up and do less!


#13 Kaioken

Kaioken

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 03 June 2014 - 02:11 PM

Excellent work! Now hosting will be safer, and the servers will be pretty easy to find. Can't wait to see that in work :D



#14 RobertJohnson

RobertJohnson

    French Developer

  • PZ Dev
  • PipPipPip
  • 1626 posts

Posted 03 June 2014 - 02:27 PM

Well, I'll first trust people (not really trust, I can't trust any person on the Internet anymore, but kinda.) and sometimes check the servers list, if some have innapropriate language I'll ban them from making a public server, and if too much people play this game, we'll shutdown while we find a better solution ;)


When the power of love overcomes the love of power the world will know peace. - Jimi Hendrix.

 

@rj_pz


#15 Connall

Connall

    [Hivemind] Biographer of Spiffo, Master of The Server

  • Moderators
  • PipPipPip
  • 2081 posts

Posted 03 June 2014 - 02:37 PM

Well, I'll first trust people (not really trust, I can't trust any person on the Internet anymore, but kinda.) and sometimes check the servers list, if some have innapropriate language I'll ban them from making a public server, and if too much people play this game, we'll shutdown while we find a better solution ;)

 

Really I think if they make something obscene it just hurts their chances of getting players in. Really, it should be a non problem.


  • Rathlord and Spaniard like this

Project Zomboid Wiki Manager, TIS Forum and Steam PZ Moderator. RJ's and nasKo's protege and beholder to Kirrus and EnigmaGrey


#16 Viceroy

Viceroy

    [Bearded] One with the Ice Flows, King of the Bugs

  • Members
  • PipPipPip
  • 1143 posts

Posted 03 June 2014 - 02:38 PM

Well you can still trust people on the internet, you can just trust in masses of people to always have a few asshats among them also, no need for not being able to trust anyone, just always make preparations for the very worst civilization has to offer also lol

 

EDIT:

 

 

-snip-

 

Really I think if they make something obscene it just hurts their chances of getting players in. Really, it should be a non problem.

 

 

Well unless they merely intend to offend other people of course. Hopefully you are right and it is a non problem, knowing teenagers though... lol


Edited by Viceroy, 03 June 2014 - 02:40 PM.

Pop up and do less!


#17 Connall

Connall

    [Hivemind] Biographer of Spiffo, Master of The Server

  • Moderators
  • PipPipPip
  • 2081 posts

Posted 03 June 2014 - 02:45 PM

Well you can still trust people on the internet, you can just trust in masses of people to always have a few asshats among them also, no need for not being able to trust anyone, just always make preparations for the very worst civilization has to offer also lol

 

EDIT:

 

 

-snip-

 

Really I think if they make something obscene it just hurts their chances of getting players in. Really, it should be a non problem.

 

 

Well unless they merely intend to offend other people of course. Hopefully you are right and it is a non problem, knowing teenagers though... lol

 

I'm not saying there won't be some because there will be, but if server threads are anything to go by then the list will be flooded as it is. It will just be buried away.


Project Zomboid Wiki Manager, TIS Forum and Steam PZ Moderator. RJ's and nasKo's protege and beholder to Kirrus and EnigmaGrey


#18 nasKo

nasKo

    Community Manager

  • Administrators
  • PipPipPip
  • 2277 posts

Posted 03 June 2014 - 02:47 PM

I don't know of any game that had the option to report server names.

I don't think it will be an issue at all.
  • Rathlord and Spaniard like this

TT


#19 kirrus

kirrus

    Wizard of Esoteric Networking Magicks

  • Administrators
  • PipPipPip
  • 1139 posts

Posted 03 June 2014 - 02:55 PM

If it's abused, we can always shut down the server browser and put the relevant patches in to let us block these things at our leisure, but I don't see it's something to worry about now.


[9:14:10 PM] Rathlord: DOUBLE HOOKS


#20 Viceroy

Viceroy

    [Bearded] One with the Ice Flows, King of the Bugs

  • Members
  • PipPipPip
  • 1143 posts

Posted 03 June 2014 - 02:58 PM

Just pre-emptively pointing it out so that it can be considered, you know, trying to help.


Pop up and do less!






Also tagged with one or more of these keywords: Build 27