Tremulous Forum

General => General Discussion => Topic started by: Evlesoa on June 04, 2007, 04:08:45 am

Title: 255 Servers Max...
Post by: Evlesoa on June 04, 2007, 04:08:45 am
It seems there is a limit allowed by Tremulous, and 255 is a max because it is divisible by some random numbers or something that the computers have... Like by bytes, 4 bytes is something like 64,700 something like that... here it seems to be 255. I am guessing the master server doesnt accept more? or there is no room? But i noticed it NEVER goes higher than 255!
Title: 255 Servers Max...
Post by: kevlarman on June 04, 2007, 06:07:42 am
there are currently 1631 servers listed on id software's q3 master server.
Title: 255 Servers Max...
Post by: Rabbitt on June 04, 2007, 12:26:41 pm
Just look at it like this : You wont have to scroll thru 1500 empty noob servers still called tremulous 1.1.0 server or My Very First Server
Title: 255 Servers Max...
Post by: David on June 04, 2007, 01:58:13 pm
The default value for servername should be "My Very First Server".
With cool rainbow colours.
Title: 255 Servers Max...
Post by: Timbo on June 04, 2007, 05:00:20 pm
Code: [Select]

// Maximum number of servers in all lists by default
#define DEFAULT_MAX_NB_SERVERS 256


Oops. :oops:
Title: 255 Servers Max...
Post by: rdizzle on June 04, 2007, 05:13:35 pm
Quote from: "Timbo"
Code: [Select]

// Maximum number of servers in all lists by default
#define DEFAULT_MAX_NB_SERVERS 256


Oops. :oops:


if this is real, please submit it is as a daily WTF.

omg.
Title: 255 Servers Max...
Post by: David on June 04, 2007, 05:22:08 pm
So, the master has been dropping servers all this time?

lol.  Filter out all the servers with odd chars at the start of there names, and problem solved :)

Edit:
Shows how popular you were expecting tremulous to be.
Should have had faith and set it to 10k.
Title: 255 Servers Max...
Post by: Nux on June 04, 2007, 05:39:35 pm
Any particular reason why you set it to two to the power of eight?
Title: 255 Servers Max...
Post by: -:GoDz:-Devil on June 04, 2007, 05:47:49 pm
Quote from: "Timbo"
Code: [Select]

// Maximum number of servers in all lists by default
#define DEFAULT_MAX_NB_SERVERS 256


Oops. :oops:

Timbo why dont you edit that to atleast 300 Max. :)
Title: 255 Servers Max...
Post by: sleekslacker on June 04, 2007, 06:30:18 pm
Should I write a patch for this so it can go into 1.2 ?  :P


Code: [Select]

#define DEFAULT_MAX_NB_SERVERS 1024


should be fine for another year or two.
Title: 255 Servers Max...
Post by: Timbo on June 04, 2007, 06:59:06 pm
In my defense I didn't write the master server, I stole it from dpmaster. Even if I had noticed the constant I probably wouldn't have changed it though, as 256 would have been regarded as somewhat optimistic when we released 1.1. In reality there aren't 256 usable servers anyway; many of them are behind NAT or firewalls. There are patches to fix this that I need to get around to reviewing and apply...

Anyway, the master server has now been restarted with a larger constant :). Well done for noticing.
Title: 255 Servers Max...
Post by: gareth on June 04, 2007, 07:08:29 pm
509 servers now :D
Title: 255 Servers Max...
Post by: doomagent13 on June 04, 2007, 07:18:19 pm
Quote from: "Nux"
Any particular reason why you set it to two to the power of eight?
That is the largest value you can have in 1 byte.
Title: 255 Servers Max...
Post by: Nux on June 04, 2007, 09:35:19 pm
Oh yeah! Though it's 255 actually :P but I guess 0 is first in this case.

Were they so strapped for memory space that a single byte is all they could afford? ^^ (Don't answer that, I understand :P)
Title: 255 Servers Max...
Post by: AKAnotu on June 04, 2007, 09:50:32 pm
Quote from: "Timbo"
In my defense I didn't write the master server, I stole it from dpmaster. Even if I had noticed the constant I probably wouldn't have changed it though, as 256 would have been regarded as somewhat optimistic when we released 1.1. In reality there aren't 256 usable servers anyway; many of them are behind NAT or firewalls. There are patches to fix this that I need to get around to reviewing and apply...

Anyway, the master server has now been restarted with a larger constant :). Well done for noticing.
actually credit pwnstar, who told me, and i think i told people who told evlosa, or i told ev :)
Title: 255 Servers Max...
Post by: A_Total_noob on June 04, 2007, 11:49:32 pm
Yeah, but Evlesoa is a haxx0r, so ban him from all those servers  :wink:


On a side note, good job, whoever noticed this hiccup.
Title: 255 Servers Max...
Post by: Evlesoa on June 05, 2007, 12:49:39 am
Actually i noticed this myself a few days ago... when I saw no new servers and it was stuck at 255... to be precise i noticed this exactly 4 days before the topic...

And i knew something was wrong, so I thought i should post about it

Edit - No one really told me, and this is because ive only been playing on 2 servers, that is ATCS Battle, and Our own server, and AKA i havent seen u around at all almost...
Title: 255 Servers Max...
Post by: Nux on June 05, 2007, 01:08:18 am
Is this why some servers I used to visit alot don't appear on my list anymore? (e.g. aliens wrath, satgnu etc.)

I've refreshed and new list-getted and still they've never reappeared.
Title: 255 Servers Max...
Post by: Rabbitt on June 05, 2007, 01:27:54 am
Favorite your servers and *poof* problem solved.
Title: 255 Servers Max...
Post by: Nux on June 05, 2007, 01:44:39 am
Ok! I'll just go tell past Nux to make them favourites!!

>.<

Maybe if someone could gave me those two servers' addresses.. ^^

EDIT:

I can't get either 'Add Favorite' or 'New Favorite' to do anything  :-?  And the sorting by attribute has trouble too  :(  That is the side of tremulous I've long since departed from tinkering with. I'm just glad there are still low ping servers that I can visit on my list.
Title: 255 Servers Max...
Post by: AKAnotu on June 05, 2007, 02:04:20 am
Quote from: "Evlesoa"
, and AKA i havent seen u around at all almost...
yeah, i'm making a map.
Title: 255 Servers Max...
Post by: -:GoDz:-Devil on June 05, 2007, 06:57:16 am
lol now this would explain my server problem I was having.  I would host and not see it on server list, but yet to add it to favorites and see it and play in it, and then give a friend the IP to connect and it still works.

I think the server should be updated to 1000 Servers max I think.
Just my opinion.
Title: 255 Servers Max...
Post by: David on June 05, 2007, 07:17:20 am
Quote from: "gareth"
509 servers now :D


I hope they didn't bump it to 512...
Title: 255 Servers Max...
Post by: Overdose on June 05, 2007, 07:23:11 am
I only get 324 :(

I went to the MG server today and had to download some TJW thing, and now my ping sort doesn't work lol
Title: 255 Servers Max...
Post by: Lord Baxter on June 06, 2007, 12:27:47 pm
whenever i play i get a number of server ranging from 140-200, but im in australia so im probably playing trem while ur all asleep (dont quote me on this, i know shit all about time zones)
Title: 255 Servers Max...
Post by: R1CH on June 06, 2007, 09:54:34 pm
Quote from: "Timbo"
many of them are behind NAT or firewalls. There are patches to fix this that I need to get around to reviewing and apply...

Are you sure this isn't some bug in the master with the new limit? I find it hard to believe there are over 300 unreachable servers out there.
Title: 255 Servers Max...
Post by: Timbo on June 06, 2007, 10:33:22 pm
Quote from: "R1CH"
Are you sure this isn't some bug in the master with the new limit? I find it hard to believe there are over 300 unreachable servers out there.


I strongly suspect it's from people that have run "apt-get install tremulous-server" on a debian or Ubuntu box and forgotten/not understood it. This starts a +set dedicated 2 server at boot time :roll:. I might email the maintainer about that ;).

Oh, committed your patch BTW, cheers.
Title: 255 Servers Max...
Post by: n00b pl0x on June 07, 2007, 03:55:29 am
166 servers?

D:
Title: 255 Servers Max...
Post by: Timbo on June 07, 2007, 10:00:22 am
Yes, 166 actual, real, usable servers. :P
Title: 255 Servers Max...
Post by: Raytray on June 07, 2007, 10:27:39 am
Quote from: "YourMama"
I only get 324 :(

I went to the MG server today and had to download some TJW thing, and now my ping sort doesn't work lol
MG hosts a tjw mod?
Domination and Tjw mod's automatically forces your list to ping sort. At least, those are the two I know.
By default trem, ping sort is broken.
Title: 255 Servers Max...
Post by: Dracone on June 07, 2007, 12:10:07 pm
By default 1.1 standards, servers are listed by server name (not alphabetical, some other way or something), but by tjw's changes, default sorting method appears to be by ping...this have something to do with ti?  :-?
Title: 255 Servers Max...
Post by: David on June 07, 2007, 04:12:47 pm
MGMG is TJW's mod.
MGdom is due back online in a few days.
Title: 255 Servers Max...
Post by: kevlarman on June 07, 2007, 05:16:34 pm
Quote from: "David"
MGdom is due back online in a few days.
no it's not, mg central however is.
Title: 255 Servers Max...
Post by: n00b.pl0x. on June 07, 2007, 09:35:23 pm
I miss }MG{DominationMod.
_________________

Resistance is futile.

Pledge allegiance to the pl0x.
Title: 255 Servers Max...
Post by: David on June 07, 2007, 09:48:27 pm
Quote from: "kevlarman"
Quote from: "David"
MGdom is due back online in a few days.
no it's not, mg central however is.

YAY!