How many players.

Development discussion about Transport Empire. Other discussion to General forum please.

Moderator: Transport Empire Moderators

Locked
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2134
Joined: 10 Jan 2003 12:21
Location: Wroclaw, Poland / Katowice, Poland

How many players.

Post by uzurpator »

This seems to be a trivial question but...

How many players do we allow on a single game?

8? 16? Dynamically set? 2000?

Discuss...
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.

User avatar
Arathorn
Tycoon
Tycoon
Posts: 6939
Joined: 30 Nov 2002 17:10

Post by Arathorn »

What would be the arguement against dynamicly?

User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2134
Joined: 10 Jan 2003 12:21
Location: Wroclaw, Poland / Katowice, Poland

Post by uzurpator »

Usually dynamic solutions impose certain overhead and require using 'tricky' data structures - like hash tables.
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.

User avatar
DominionSpy
Tycoon
Tycoon
Posts: 1429
Joined: 03 Oct 2003 23:59
Location: Lancashire, UK
Contact:

Post by DominionSpy »

I don't think we need to think about this until much later on. For now we could plan to simply have the max number of players set as a constant somewhere. When we have a working netcode we can then tweak the values depending on the bandwidth use.
Image
You're saying I'm a Dominion spy, and don't even know it! - Dr. Bashir
That's the Joker in my avatar, not me. No wait it is me.

User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2134
Joined: 10 Jan 2003 12:21
Location: Wroclaw, Poland / Katowice, Poland

Post by uzurpator »

COnsidering that I currently write client-server tcp-ip uplink - i kinda need it now...
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.

User avatar
Arathorn
Tycoon
Tycoon
Posts: 6939
Joined: 30 Nov 2002 17:10

Post by Arathorn »

Could it be a soft limit? So that you set it on 16 for now (wich is plenty I think). but if there is, much later in devlopment (after first playable releases a possibility of raising that limit? How do other games do that? Like OTTD or certain multiplayer RTS games?

User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2134
Joined: 10 Jan 2003 12:21
Location: Wroclaw, Poland / Katowice, Poland

Post by uzurpator »

Well - for now I'm going for dynamic limit, but once we start implementing data structures - we will have to impose some limits.

And we cannot use vectors or lists for some of the bigger data structures (like ownership matrices)
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.

Grunt
Route Supervisor
Route Supervisor
Posts: 449
Joined: 03 Oct 2003 20:22
Location: Edmonton, Alberta
Contact:

Post by Grunt »

uzurpator wrote: And we cannot use vectors or lists for some of the bigger data structures (like ownership matrices)
Those can just be matrices of pointers to possible owners, which will use comparatively little memory.
Grunt
(aka Stephan Grunt, CEO of Grunt Transport Inc. since 1994.)

User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2134
Joined: 10 Jan 2003 12:21
Location: Wroclaw, Poland / Katowice, Poland

Post by uzurpator »

Grunt wrote:
uzurpator wrote: And we cannot use vectors or lists for some of the bigger data structures (like ownership matrices)
Those can just be matrices of pointers to possible owners, which will use comparatively little memory.
Yes - i was speaking in general terms.

And I really would like to play a game of 64000x64000 with 1000 players in it. Altho it would require this for the server :))
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.

User avatar
Arathorn
Tycoon
Tycoon
Posts: 6939
Joined: 30 Nov 2002 17:10

Post by Arathorn »

Perhaps in 20 years time, that will be common. ;)

Who's gonna be the server by the way, one of the players with a fast connection?

User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4554
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Post by Zuu »

Arathorn wrote:Perhaps in 20 years time, that will be common. ;)

Who's gonna be the server by the way, one of the players with a fast connection?
At that time, we'll would have faster internet connections too. ;) So I guess thats not something we have to care about now.

For enormous maps a variant could be to split the map among several servers, perhaps along at the maps natural borders as rivers etc, to minimize the inpact, or maybe eaven make separate islands. Perhaps the only way to transport stuff between islands would be by ship and airplane. Meaning that the 'islands' would not be islands, but rather continents.


But I guess that lays long time in future. As we first need to be able to play one contintent. :)
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)

User avatar
Arathorn
Tycoon
Tycoon
Posts: 6939
Joined: 30 Nov 2002 17:10

Post by Arathorn »

My comment about the server was meant for the current generation. So who's the server?

User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4554
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Post by Zuu »

I have a 10/10 Mbit boardband (soon I'll get 100 down and 10 up) and my old computer (got a new one a few weeks ago) which I won't mind to set up a TE server on. It has a 1.33 Gz celeron processor and 768 MB SDRAM. The harddrive is unfortanly rather slow, 4200 rpm, but if the TE server wont need to use the harddrive when it is runing that should not be a big problem.

I have yet to make a new frech and clean installation of linux on the machine and setup some virtual machines before I would open it for access from the internet. It might take up to some months untill that is done.


That machine would have a primary task that is fileserver for my university work. Storing work so that I can access it from uni and from home, compile a latex doc from uni once a while or so.


Oh.. and I am on dynamic IP, but IP changes rarely.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)

User avatar
orudge
Administrator
Administrator
Posts: 24821
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I can help out with servers if need be, when we get to that point...

User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13199
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

It's all well to discuss 16 players but I think the amount of players sustainable by a server should be the limit. The limit for amount of multiplayer should be the map size. It's ridiculous to play with 16 players on a 1024x1024 map. In OTTD that map size works well for 6-8 players but that's about it. I suggest we keep games with 16 multiplayer slots as the maximum.

User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

I think 16 is about perfect, I can't imagine that you can get more than 16 players to play on a server at the same time, or you must have a very popular server. Note that his limit will (probably) also count for single player games, which means you can have up to 15 AIs, which would be plenty.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image

User avatar
aarona
Traffic Manager
Traffic Manager
Posts: 221
Joined: 26 May 2006 15:54
Location: Perth, Australia
Contact:

Post by aarona »

I do not see the need to impose limits. (Thats not to say we can't use a "suggested" number)
The code will allow as many or little. (It's not that hard...)
Other external factors should then determine practical limits.

User avatar
Purno
Tycoon
Tycoon
Posts: 16663
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Hyronymus wrote:It's ridiculous to play with 16 players on a 1024x1024 map.
Well, if someone wants to play that way, he should have the possibility, IMO.

Locked until the DD discussion arrives at this issue.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."

Locked

Return to “Transport Empire Development”

Who is online

Users browsing this forum: No registered users and 0 guests