Integrated Nightly Build

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

User avatar
Maverick
Traffic Manager
Traffic Manager
Posts: 175
Joined: 08 Dec 2002 15:20
Location: West Ryde, Australia.
Contact:

Post by Maverick »

It still amazes and pleases me at just how active the INTG nightly is :)
Thanks.

Question though, as I seem to ask every 3 months or so
Has the limit on vehicles been increased?
For those who aren't familiar with my 3-monthly posting of this...
The limit as of about 5 months ago was 32768 vehicles. Any more than this, and the save/load code would corrupt the game, but still loadable, with corupt vehicles for any vehicles numbered over 32768, and up to 33792.
Above 33792 vehicles however, it would be un-loadable.
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Well - we or rather FoxAlpha do(es) our/his best. :)

I don't know about the vehicle limit, would have to check the code...
Interesting observation though. BTW - do you think 32k vehicles is too little? :D
csuke
Transport Coordinator
Transport Coordinator
Posts: 361
Joined: 05 Jun 2004 18:48
Location: London UK

Post by csuke »

yeah i was about to ask the same thing, im in about the year 2200 and i've only got 300 ish trains lol
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

So that's about 3000 vehicles. (A train constitutes one vehicle for each engine or wagon.[0]) But still, that's an order of mangitude from the 32k limit.

(Also: planes count as 2 vehicles; choppers count as 3.)

[0] Articulated vehicles count as one for each part.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

DaleStan wrote:Also: planes count as 2 vehicles; choppers count as 3.
Why is that? Excuse my unwiseness, but that's really interesting and I'd like to learn more about it.
User avatar
webfreakz.nl
Director
Director
Posts: 627
Joined: 11 Aug 2005 08:22
Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
Contact:

Post by webfreakz.nl »

DaleStan wrote:So that's about 3000 vehicles. (A train constitutes one vehicle for each engine or wagon.[0]) But still, that's an order of mangitude from the 32k limit.

(Also: planes count as 2 vehicles; choppers count as 3.)

[0] Articulated vehicles count as one for each part.
so how much trains could i have when i have a train with 12 wagons and 1 locomotive and one 'tale' (size=14) would that be 32k / 14 = 2285,714 trains of this size? (okay, 32k was not the limit, it's about 33792 or so?)
# Programming is like sex, one mistake and you have to support it for the rest of your life. (Michael Sinz)
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

MeusH:
Planes are one vehicle for the plane proper, and another for the shadow.
Choppers are the same, except that the rotor also counts as a vehicle.

Webfreak:
That's about right. It may change slightly depending on the exact limit.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

WOW - That's quite many vehicles. I always set the limit in TTDPatch at 40k vehicles and I realise it was totally too much, what with the 256x256 maps and all, but here (OTTD) 32k is more than enough, as we see. :lol:
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

DaleStan, you're so right!
I'd also like to mention disaster vehicles allocate the memory, too (jetplanes and ufos count as two vehicles, helicopter counts as three)
Thank you DaleStan
FoxAlpha
Engineer
Engineer
Posts: 85
Joined: 06 May 2005 18:19
Location: Germany
Contact:

Post by FoxAlpha »

Hi all,
i would start to make a new compilation.

And i would ask you for some sugestions of new patches.

In my list are actually :

Signal GUI
Smooth Economy
Real Acceloration
Smoke Patch
PNG Map Import
Latest Subsidiary
Smallmap Zoom
Past 2090
Pause on no Clients
municipal Airport
bridge highlight
diagonal clearing

If anyone has more suggestions than feel free to post.
But remember, old patches could be imcompatible with latest svn source.

Fox
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

More disasters [almost done]

No tunnels under mines\wells [done, r3070]
Check the comments on the SF or take a look at the forum thread

Belugas and me have found ways to fix small bugs in the more disasters patch, I'll think about it, code it and I hope I'll submit patch on time
FoxAlpha
Engineer
Engineer
Posts: 85
Joined: 06 May 2005 18:19
Location: Germany
Contact:

Post by FoxAlpha »

OK, the next version will take a little bit more.

I have problem to combinate the subsidiaries and municipap airport patch.

When i compile both together, then i become a courrupt file : order_cmd.c

When i take one these two together with all the other patches it works.

I will try tomorrow to fix this problem.

Here is my compilerlog. Maybe someone could help me

Code: Select all

===> Compiling order_cmd.c
order_cmd.c: In function `CmdInsertOrder':
order_cmd.c:180: warning: suggest parentheses around && within ||
order_cmd.c: In function `DecloneOrder':
order_cmd.c:417: warning: old-style parameter declaration
order_cmd.c: In function `CmdInsertOrder':
order_cmd.c:426: warning: ISO C90 forbids mixed declarations and code
order_cmd.c: In function `CmdDeleteOrder':
order_cmd.c:434: warning: old-style parameter declaration
order_cmd.c: In function `CmdSkipOrder':
order_cmd.c:509: warning: old-style parameter declaration
order_cmd.c: In function `CmdModifyOrder':
order_cmd.c:554: warning: old-style parameter declaration
order_cmd.c: In function `CmdCloneOrder':
order_cmd.c:619: warning: old-style parameter declaration
order_cmd.c: In function `BackupVehicleOrders':
order_cmd.c:769: warning: old-style parameter declaration
order_cmd.c: In function `RestoreVehicleOrders':
order_cmd.c:812: warning: old-style parameter declaration
order_cmd.c: In function `CmdRestoreOrderIndex':
order_cmd.c:854: warning: old-style parameter declaration
order_cmd.c: In function `CheckOrders':
order_cmd.c:880: warning: old-style parameter declaration
order_cmd.c: In function `DeleteDestinationFromVehicleOrder':
order_cmd.c:983: warning: old-style parameter declaration
order_cmd.c: In function `VehicleHasDepotOrders':
order_cmd.c:1032: warning: old-style parameter declaration
order_cmd.c: In function `DeleteVehicleOrders':
order_cmd.c:1049: warning: old-style parameter declaration
order_cmd.c: In function `IsOrderListShared':
order_cmd.c:1111: warning: old-style parameter declaration
order_cmd.c: In function `CheckForValidOrders':
order_cmd.c:1129: warning: old-style parameter declaration
order_cmd.c: In function `InitializeOrders':
order_cmd.c:1140: warning: old-style parameter declaration
order_cmd.c: In function `Save_ORDR':
order_cmd.c:1159: warning: old-style parameter declaration
order_cmd.c: In function `Load_ORDR':
order_cmd.c:1171: warning: old-style parameter declaration
order_cmd.c: In function `CmdInsertOrder':
order_cmd.c:1235: error: syntax error at end of input
order_cmd.c:1233: warning: unused variable `_order_chunk_handlers'
make: *** [order_cmd.o] Error 1
User avatar
JimboTG
Engineer
Engineer
Posts: 80
Joined: 08 Sep 2005 10:45
Location: Portsmouth, England

Post by JimboTG »

Fox, if you get this before you go to sleep, send me the diff and I can probably work it out overnight, Im up for a few hours yet
I cant put a signature here, I dropped my pen
FoxAlpha
Engineer
Engineer
Posts: 85
Joined: 06 May 2005 18:19
Location: Germany
Contact:

Post by FoxAlpha »

i have found the error.

It was a missing } thats all.

And know i can compile/link all the patches.

But i thing i will include the more desaster and mybe the no tunnel under mines. For the second i have to look before if it is near bugfree.

And i thing i will post the next release at afternoon.

Fox

But thx for your help anyway
User avatar
JimboTG
Engineer
Engineer
Posts: 80
Joined: 08 Sep 2005 10:45
Location: Portsmouth, England

Post by JimboTG »

Im not trying to step on your toes, just offering a helping hand
I cant put a signature here, I dropped my pen
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

FoxAlpha wrote:i have found the error.

It was a missing } thats all.

And know i can compile/link all the patches.

But i thing i will include the more desaster and mybe the no tunnel under mines. For the second i have to look before if it is near bugfree.

And i thing i will post the next release at afternoon.

Fox

But thx for your help anyway
More disasters 1.6 volcano code needs some more improvements: destroying tunnel/bidges/unmovables and saving whether volcano has erupted or not. I'll see what can I do
Panos
Engineer
Engineer
Posts: 7
Joined: 21 Nov 2004 00:38

Post by Panos »

What happend with the latest version? Is anywhere to download?

Thanks
User avatar
thepizzaking
Traffic Manager
Traffic Manager
Posts: 198
Joined: 08 Aug 2005 07:47
Location: Melbourne, Victoria, Australia
Contact:

Post by thepizzaking »

I'm A Cobra (or so the rumours go) :)
Get OpenTTD, It's awesome!!
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Post by SirkoZ »

Panos wrote:What happend with the latest version? Is anywhere to download?

Thanks
Look closer. :shock:
The link's in every FoxAlpha's post's signature.
Panos
Engineer
Engineer
Posts: 7
Joined: 21 Nov 2004 00:38

Post by Panos »

SirkoZ wrote:
Panos wrote:What happend with the latest version? Is anywhere to download?

Thanks
Look closer. :shock:
The link's in every FoxAlpha's post's signature.
thepizzaking wrote:Isn't it just here: http://www.tt-forums.net/viewtopic.php?p=336676#336676
Ofc I check Fox signature. But last week Fox said that he compiling the r3070.
FoxAlpha wrote: And i thing i will post the next release at afternoon.
And I asked if this version has been posted somewhere else.

Posted at Thu 20 Oct.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 3 guests