Server browser and connection timeout

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32

Server browser and connection timeout

by trukoil » Thu Oct 25, 2012 03:57

Like i wrote in the title, what do you think about a server browser instead of manual copying ip/url from the forum? You could open the multi-player tab, wait for the download of the server list and view a list of active and inactive server to choose (the client could ping each server on the lists to determinate the server availability), clicking on a server and just type a master password, because passwords could be stored encrypted on a KeePass like/compatible database, so you can use multiple user/password for more servers. To insert a server on the server list (hosted on minetest.net, for example) will be enough to ask in the server thread to be added. Maybe a integrated browser would be nice, for posting comments on the server topic (forum user credentials managed by the database talked above) or to see crafting and smelting guide based on the server mod, this should be possible using QtWebKit but it would need to rewrite the client in Qt.
And last, and maybe the easy thing, should be to have a timeout on server connection.

Some code regarding mod and server management could be used from OpenTTD.
I don't always sign a post
but when i do, i dig.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Thu Oct 25, 2012 08:35

This thread is slightly related to your post. It might be interesting for you: http://minetest.net/forum/viewtopic.php?id=2643
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Oct 25, 2012 09:10

I like the idea of a server list, but there shouldnt be a master server. If the master server is down nobody can play MT on servers.
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32

by trukoil » Thu Oct 25, 2012 10:30

My idea is use a master server just for have a server list, like OpenTTD does. List that can be cached on the client if the server is down. The server could make two files, the server list and a hash file of the list, so the client would download the hash file and if it's the same or the server is down, it will use the cached list.

Downloading the hash file would reduce the bandwidth needed.
I don't always sign a post
but when i do, i dig.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Thu Oct 25, 2012 10:46

No need for central server, get inspiration from some torrent clients.
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

Iqualfragile
Member
 
Posts: 160
Joined: Tue Sep 18, 2012 22:11

by Iqualfragile » Thu Oct 25, 2012 15:51

nomohakon wrote:No need for central server, get inspiration from some torrent clients.

this in fact makes me feel some pain…
Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cr8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32

by trukoil » Thu Oct 25, 2012 18:41

A central server used only to download a list of servers that will be contacted by the client versus a p2p network, much more easy the first.
I don't always sign a post
but when i do, i dig.
 

irksomeduck
Member
 
Posts: 224
Joined: Tue Aug 28, 2012 21:45

by irksomeduck » Sat Nov 03, 2012 13:10

Yes, this is a good idea, but PilzAdam raises a very good point
I love exploring minetest worlds :D
If you have a good seed let me know
--------------------------------------------------
My world/house pack- http://minetest.net/forum/viewtopic.php?id=3066
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Tue Nov 06, 2012 02:19

minetest.ru has a neat server list. Maybe we could write something so a text-based version of the site is displayed in the main menu? Or have it pull from a .xml file any idiot can host - then we can have MANY meta-servers!
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

trukoil
Member
 
Posts: 145
Joined: Mon Oct 22, 2012 03:32

by trukoil » Tue Nov 06, 2012 05:14

irksomeduck wrote:Yes, this is a good idea, but PilzAdam raises a very good point


That's easy to resolv, the installer could pack a copy of the server list, and to make it updated the installer should be updated nearly every 2 weeks.

tinoesroho wrote:minetest.ru has a neat server list. Maybe we could write something so a text-based version of the site is displayed in the main menu? Or have it pull from a .xml file any idiot can host - then we can have MANY meta-servers!


OpenTTD has an integrated server search feature, based on a main list from their server, and even a mod manager that updates mods when new versions come around. I mention OpenTTD not because it's better (it's a different game and it has more years of development and many many active developers) but because of its license, GPL 2, that should be compatible with the LGPL of Minetest, and maybe some code could be taken from it, and adapted for Minetest.
I don't always sign a post
but when i do, i dig.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 1 guest