Author Topic: Connecting to servers; servers misrepresenting player number  (Read 5132 times)

sgtmattbaker

  • Posts: 5
  • Turrets: +0/-1
I have been trying to play tremulous but more often than not when I connect to a server I either get a message that my client isn't compatible with the server (I have the latest 1.1.0), I don't have their map (obvious source of the issue there), some weird problems such as server and client don't match /game/trex or something like that and some of the ones I join that say they have 20+ players in them, when I join the server I end up being the only person in there.  This happens even if I refresh the list or get an entirely new one right before I join a server.

Thank you.

Divmax

  • Posts: 197
  • Turrets: +3/-8
Re: Connecting to servers; servers misrepresenting player number
« Reply #1 on: June 13, 2008, 07:30:17 am »
When we define latest, we mean the backported version of Tremulous which would allow a lot more features. And the client would also fix your client mismatch and map downloading as you can download off the server with the new client.

Uh, you sure you are not reading the maximum players??? 7(23), 7 = number of players in the server, (23) = the maximum number of players.
I'm a developer for the following projects(now I'm inactive) :
TremWars's QVMNot updated anymore
TremWars's Client and Server Executable
TremWars's QVM 2

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Connecting to servers; servers misrepresenting player number
« Reply #2 on: June 13, 2008, 08:19:45 pm »
The masterlist is only updated every 5 minutes if I am not mistaken.

So, sometimes servers get deserted rather fast and are empty/near empty, though you might have read 20 players in the serverlist.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Connecting to servers; servers misrepresenting player number
« Reply #3 on: June 13, 2008, 11:14:38 pm »
The masterlist is only updated every 5 minutes if I am not mistaken.

So, sometimes servers get deserted rather fast and are empty/near empty, though you might have read 20 players in the serverlist.

Nope.
The info your client gets is fresh from the server in question.  Every time you refresh the list it asks every server returned for the list.
And from my experience running my own master for testing, it updates with new servers instantly.  The delay is only in de-listing servers that are now off-line.  Its entirely possible that the official master is different, but I doubt it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bissig

  • Posts: 1309
  • Turrets: +103/-131
Re: Connecting to servers; servers misrepresenting player number
« Reply #4 on: June 15, 2008, 08:15:29 pm »
The masterlist is only updated every 5 minutes if I am not mistaken.

So, sometimes servers get deserted rather fast and are empty/near empty, though you might have read 20 players in the serverlist.

Nope.
The info your client gets is fresh from the server in question.  Every time you refresh the list it asks every server returned for the list.
And from my experience running my own master for testing, it updates with new servers instantly.  The delay is only in de-listing servers that are now off-line.  Its entirely possible that the official master is different, but I doubt it.

It does not update instantly.

I have hopped off servers which went from 10 players to 5 and for some time the master list still showed 10 players. Vice-versa too. Instant update maybe if you fetch a new list but not when refreshing. Also, I was under the impression that the servers send a heartbeat from time to time. Is this different from the time to update?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Connecting to servers; servers misrepresenting player number
« Reply #5 on: June 15, 2008, 10:03:27 pm »
The servers send a heartbeat, but it just says "I am here".
The master then sends a getinfo request to the server and when it gets a response the server is added to the list / kept on the list.
If nothing is head from a server for a while it is dropped.  The master server stores nothing but IP and port.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

UniqPhoeniX

  • Spam Killer
  • *
  • Posts: 1376
  • Turrets: +66/-32
Re: Connecting to servers; servers misrepresenting player number
« Reply #6 on: June 16, 2008, 10:31:55 am »
I'm pretty sure I had that once... list showed that there were many players even after getting new list and when I went to server, it was empty and a different map had been running for over 40 minutes.

Divmax

  • Posts: 197
  • Turrets: +3/-8
Re: Connecting to servers; servers misrepresenting player number
« Reply #7 on: June 16, 2008, 12:35:18 pm »
It does not update instantly.

I have hopped off servers which went from 10 players to 5 and for some time the master list still showed 10 players. Vice-versa too. Instant update maybe if you fetch a new list but not when refreshing. Also, I was under the impression that the servers send a heartbeat from time to time. Is this different from the time to update?
It does.
Here is how it works(I think)
Master server keeps a list of servers and their IP+port.
The master server updates the list every time a heartbeat is sent.
You only retrieve the server's IP and port, after that YOUR client will ping the servers itself.

So I do not know why would the client be displaying wrong info.
I'm a developer for the following projects(now I'm inactive) :
TremWars's QVMNot updated anymore
TremWars's Client and Server Executable
TremWars's QVM 2

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Connecting to servers; servers misrepresenting player number
« Reply #8 on: June 16, 2008, 08:58:49 pm »
I've seen this too. It's possible that the server itself, or its QVM, is buggy.
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Connecting to servers; servers misrepresenting player number
« Reply #9 on: June 16, 2008, 10:07:05 pm »
I've seen this too. It's possible that the server itself, or its QVM, is buggy.

Or malicious. They could be trying to artificially inflate player counts to attract people.
If you can find a specific example of a server that is doing so maybe we can bitch about them to the owner of the master server and get them delisted.
benmachine

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Connecting to servers; servers misrepresenting player number
« Reply #10 on: June 16, 2008, 10:08:00 pm »
Malicious is definitely possible. So who does own the master server?
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Connecting to servers; servers misrepresenting player number
« Reply #11 on: June 16, 2008, 10:34:56 pm »
tjw currently runs it.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----