The International Simutrans Forum

Development => Extension Requests => Topic started by: m.vanderwulp on April 15, 2023, 05:53:26 PM

Title: More convoys (than 65536)
Post by: m.vanderwulp on April 15, 2023, 05:53:26 PM
Dear all,
The map that I have been working on for years, now gives the following error: "Maximum number of convoys reached."  ::'( - I am so sad...

I think it is limited to 65536 convoys, i.e. a 16 bits integer.
What would it take to increase that number to 32 bits?
Thanks, regards,
Michiel
Title: Re: More convoys (than 65536)
Post by: Matthew on April 16, 2023, 06:48:55 AM
This deserves some kind of award!

The best I can do is a gif, so here you go:

(https://upload.wikimedia.org/wikipedia/commons/c/cd/Animated_Fireworks.gif)
Title: Re: More convoys (than 65536)
Post by: Dwachs on April 16, 2023, 05:40:12 PM
That is quite an achievement! Could you please upload the savegame somewhere?

It should be possible to lift that 16bit restriction for a custom build.
Title: Re: More convoys (than 65536)
Post by: Yona-TYT on April 16, 2023, 09:37:30 PM
Another user breaking the laws of physics... I mean simutrans . ;D
Title: Re: More convoys (than 65536)
Post by: Isaac Eiland-Hall on April 17, 2023, 02:22:34 PM
Quote from: Dwachs on April 16, 2023, 05:40:12 PMThat is quite an achievement! Could you please upload the savegame somewhere?

And a note to m.vanderwulp: If you don't have a place you can upload but you know how to use FTP, let me know and I'll create a space and PM you credentials :)
Title: Re: More convoys (than 65536)
Post by: m.vanderwulp on April 17, 2023, 03:16:02 PM
Here is the save file:
http://vanderwulp.synology.me/~michiel/simutrans/12201-3200x3200-MaxConvoys.sve

I run it with Simutrans 123.0.1 on OpenSuse with pak128.
Title: Re: More convoys (than 65536)
Post by: Antonin on January 02, 2024, 12:37:09 AM
Wow! I have also been playing Simutrans for years, but I have never come close to that number of convoys!