Hello all,
I've been playing on one map for 6 months now and reached 3,861 trains, 4,513 road vehicles, 49 ships and 1,318 aircrafts.
Now when I try to add new order/vehicle I get an error window saying "Can't insert order. No more space for orders".
I guess there is a limit on how many orders can exist but is there any way to increase this limit?
I definitely want to continue playing on the map so any help would be much appreciated!
No more space for orders?
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: No more space for orders?
Does every vehicle have its own orders or do you use shared orders? You can reduce the amount of orders drastically by using shared orders for vehicles which service the same route (and you make yourself your fleet management easier, too).
There's no way I know to increase the order limit except to compile a custom OpenTTD version.
There's no way I know to increase the order limit except to compile a custom OpenTTD version.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: No more space for orders?
Thanks for the reply.
Each vehicle has own orders. I guess only way is to group vehicles using shared orders!
Not sure why there is a limit but I guess it's something to do with hardware performance
Each vehicle has own orders. I guess only way is to group vehicles using shared orders!
Not sure why there is a limit but I guess it's something to do with hardware performance

Re: No more space for orders?
there is a limit on the amount of orders, because the order index has to be used in a lot of places, so once you define a data type for that index, you are limited by the range of this data type.
here it is likely the data type uint16, which has a range of 0-65535. with a maximum of 5000 vehicles that makes over 10 orders per vehicle, which should be enough for anybody (tm).
so if you want to increase this limit, you have to check in a lot of places, whether the new data type fits in (e.g. in formulas involving order indices. or the savegame format) which is probably not worth the effort.
here it is likely the data type uint16, which has a range of 0-65535. with a maximum of 5000 vehicles that makes over 10 orders per vehicle, which should be enough for anybody (tm).
so if you want to increase this limit, you have to check in a lot of places, whether the new data type fits in (e.g. in formulas involving order indices. or the savegame format) which is probably not worth the effort.
Re: No more space for orders?
Now I understand. Thanks for the info 

Who is online
Users browsing this forum: Semrush [Bot] and 5 guests