hmm doubled in master server list

Post here if you need help setting up your server, etc.
Post Reply
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

hmm doubled in master server list

Post by epsy »

my servers are 2 times in master server list

entries:
all from epsy.is-a-geek.org
82.227.65.72

there is four entries but there should be only two...you'ill saw
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Hmm, I see two on my master, and they look different. The server browser should filter out double entries. Where do you see duplicates? On your client? Which version is it?
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

hum, my client is a snapshot ^^ from beta.armagetronad.net (running on same machine as the servers)

servers are from same installation and they both have talk_to_master activated

on the LAN server browser i see only the right two servers
but on the internet server browser, i see two of each that points to the same game(with same players etc etc)
User avatar
wrtlprnft
Reverse Outside Corner Grinder
Posts: 1679
Joined: Wed Jan 04, 2006 4:42 am
Location: 0x08048000
Contact:

Post by wrtlprnft »

That's a but in the browser then ;)
There's no place like ::1
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Well, if your client runs on the same machine as the servers, then you have two ways of contacting them, via your public internet IP and your private LAN IP. The browser can't tell both lead to the same server. Somehow, due to network glitches, both IPs landed in your browser. I spare you my usual speculation of how it happened. But I'm quite sure you're the only one affected by that (meaning only you can see your servers double, others may see their own servers double). Try deleting frommaster.srv, that will give the system a fresh start. If both copies are shown as reachable, that should eliminate one of them. If not, send a recording and give your full version number.
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

i did deleted frommaster.srv from my ~/.armagetronad/var/ and looked into the server list...in the console (armagetronads)i saw that there was only ~90 servers...there was only one (the other one wasn't started)

i did closed it..then reopened it...and now there's two

see on the record files...
http://www.box.net/public/i8s2j3cgih

ps: phpbb doesn't let me attachit, saying me that The Extension array is not allowed
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Which version was this recorded with? It's displayed in the main menu.
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

nothing in main menu; it's a snapshot

Code: Select all

armagetronad -v    
This is Armagetron version 0.3.0.
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Ah, french.txt is broken :) It's not using the correct code to show the version in the menu.

To you real problem: The explanation is simple. Some master admin is running servers on the same machine as the master itself. To the master, those servers are known as 127.0.0.1. Everything's fine, and the master tells you about those super servers. Only for you, 127.0.0.1 points to your own server. That's the false entry you're seing. The bug is on the master server side, but I don't know whether it's worth fixing.
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

worth fix:

if(server.ip == "127.0.0.1") break; // <-- noob error inside™

:lol: :P
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Well, 127.0.0.1 is not the only possible problem, all private IPs could cause this. A PC on the master's LAN could have the same IP than a PC on your LAN. And of course, you don't want to filter all private IPs out, LAN games wouldn't work any more, and you would never see your own servers in the internet server browser (if the filtering is done on the client, on the master, it may work).
User avatar
DDMJ
Reverse Outside Corner Grinder
Posts: 1882
Joined: Thu Jun 08, 2006 12:15 am
Location: LA, CA, USA, NA
Contact:

Post by DDMJ »

Speaking of multiple appearances of a server...look at how many times this server by Luke-Jr. was on the master list :P

P.S. He fixed it by the way.
Attachments
Wow...10 times o_O
Wow...10 times o_O
Post Reply