Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
No more space for orders #6968
While testing multiple AIs on a 4096x4096 map, some kind of limit has been reached. I was seeing vehicles with no orders and AIs struggling to insert orders to their vehicles. ShipAI hinted me with the error message
I decided to play and right on my first bus service, I could only insert the first order. When attempting to insert the 2nd order it failed with this:
Steps to reproduce:
Result: The limit for how many orders you can have across all vehicles of all companies is 64,000 orders total.
Let's do some more numbers.
At 64,000 orders max and a full game of 15 companies, that gives 4266 order entries to each company. The hard limit is 5000 vehicles of each type, so less than a quarter order per vehicle. However, sensible players use order sharing, and usually don't use all types of transport, so in practice you're probably up to 2-3 orders per vehicle, more if you only use trains or only road vehicles. That's reasonable, especially when playing on sensible map sizes and not 4096 sized maps.
Thanks for the report (and the detailed investigations).
The limit is believed to be non-trivial to increase.
We don't see much failure demand (reports of this being a problem) over the last 10 years.
So I'm closing this one, as it won't be changed. Cheers.