max_companies more than 15
Moderator: OpenTTD Developers
max_companies more than 15
Hello
This is possible to set max_companies more than 15?
I got in config:
max_companies = 30
max_clients = 50
max_spectators = 20
but he ignore this max_companies, game set after start only 15 companies.
Anyone can help me?
Thanks
This is possible to set max_companies more than 15?
I got in config:
max_companies = 30
max_clients = 50
max_spectators = 20
but he ignore this max_companies, game set after start only 15 companies.
Anyone can help me?
Thanks
Re: max_companies more than 15
It isn't possible to have more than 15 companies, mainly due to the limited number of company colours (i think)
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: max_companies more than 15
... that's by far not the only limit.
Re: max_companies more than 15
I realise that, but that was the only obvious one that i know of
At the risk of going off topic, what are the other reasons?
At the risk of going off topic, what are the other reasons?
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: max_companies more than 15
UDP packet size afaik
Re: max_companies more than 15
So how to change to TCP connection and modify to more than 15 companies???Alberth wrote:UDP packet size afaik
Thanks
Re: max_companies more than 15
Rewrite the network protocol.
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: max_companies more than 15
What Albert means, in case you have not figured it out yet, is that the code dealing with the companies is linked to the networking part, and that it is made in a way that the 15 number is linked to internal structures that are NOT configurable.
So unless you think you can code in C/C++ and unless you are VERY good in networking protocol, there is nothing you can do nor change. And there is more than just network protocol to change...
And by the way, 15 companies, it's already quite a number. We've been at 8 for quite a while, while TTDPatch is still at 2 (last time i've checked... or from what i remember)
So unless you think you can code in C/C++ and unless you are VERY good in networking protocol, there is nothing you can do nor change. And there is more than just network protocol to change...
And by the way, 15 companies, it's already quite a number. We've been at 8 for quite a while, while TTDPatch is still at 2 (last time i've checked... or from what i remember)
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: max_companies more than 15
How big is now UDP packet when there is 15 campanies?
I ask because DNS servers with cert (DNSSEC) do big UDP packet and there is no problem now - after upgrade IOS on Cisco routers/Firewalls all working good with big UDP packet so possible there is option to increase for more than 15 campanies?
If possible tell me where in source there is that limit 15 campanies i change and we will see i got new IOS on all routers/firewalls so i check that.
Thanks
I ask because DNS servers with cert (DNSSEC) do big UDP packet and there is no problem now - after upgrade IOS on Cisco routers/Firewalls all working good with big UDP packet so possible there is option to increase for more than 15 campanies?
If possible tell me where in source there is that limit 15 campanies i change and we will see i got new IOS on all routers/firewalls so i check that.
Thanks
Re: max_companies more than 15
That is by no means the only limit. As already mentioned company colors are another one, and don't forget map storage and newgrf compatibility. There is no way to "just change a constant" and make it work.
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: max_companies more than 15
Just for the fun of conversation, how big would you like the number of companies to be?
Not that it's going to happen, but just wondering...
Not that it's going to happen, but just wondering...
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: max_companies more than 15
If 256x256 = 8 companies
then 2048x2048 = 512 companies
??
If 256 = 8
then 2048 = 64
??
I hate math
then 2048x2048 = 512 companies
??
If 256 = 8
then 2048 = 64
??
I hate math
Last edited by Samu on 19 Nov 2010 16:58, edited 1 time in total.
Re: max_companies more than 15
I want check 30 Companies, normal at week there is 10 companies up, but at weekend i see 15 companies and ppl still join to game and please to join to another company...
So for now will be ok 30
Thanks
So for now will be ok 30
Thanks
-
- Engineer
- Posts: 28
- Joined: 29 Dec 2008 22:28
- Location: my own mind
Re: max_companies more than 15
You know, the limit of companies is going to be complained about no matter what it is. What really needs to be done is to change everything so unlimited companies is possible. Or at least, several hundred.
As for the company colors part, add more colors.
of course, a project like this is a long term one. For someone who knows what they are doing.
As for the company colors part, add more colors.
of course, a project like this is a long term one. For someone who knows what they are doing.
Re: max_companies more than 15
Add more colours?
Several hundred companies at least?
OpenTTD is a 256 colour game. To add more would mean a basic rewrite
It's not going to happen!
Several hundred companies at least?
OpenTTD is a 256 colour game. To add more would mean a basic rewrite
It's not going to happen!
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: max_companies more than 15
It is not reason to change it.thegreatpl wrote:You know, the limit of companies is going to be complained about no matter what it is.
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
AIAI - AI for OpenTTD
Re: max_companies more than 15
Don't forget the additional desyncs and connection slowdowns.
Re: max_companies more than 15
Please explain to me why more companies cause additional desyncs.ABCRic wrote:Don't forget the additional desyncs
Re: max_companies more than 15
Never mind, should have thought more before saying that.Rubidium wrote:Please explain to me why more companies cause additional desyncs.ABCRic wrote:Don't forget the additional desyncs
Re: max_companies more than 15
At first, I modify the constant to 255, but found that it is limited by color. Luckily I find this thread before I modify the source code further.
But why don't we support 250 players? As openttd is more and more populare, I even find that there is a book using OpenTTD as a simulation environment for logistics major students. In real world, there are more than 250 transport tycoons.
But why don't we support 250 players? As openttd is more and more populare, I even find that there is a book using OpenTTD as a simulation environment for logistics major students. In real world, there are more than 250 transport tycoons.
Who is online
Users browsing this forum: No registered users and 8 guests