Play past 2090 (and now before 1920) (rev t)

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Play past 2090 (and now before 1920) (rev t)

Post by peter1138 »

Yes, it's not really a useful patch, but I was bored...

This patch allows you to play past 2090. Games saved with this version will not load without the patch as it increases the savegame version number. I've now modified it so that you can play before 1920 (back to the mythical year 0 in fact) but you won't get any vehicles yet (newgrfs only start from 1920)

Update: fixes build dates of vehicles and other objects from loaded old savegames, and a makes the date fields in network browsing uint32
Update: changes to network protocol now change version information -- shouldn't crash clients now
Update: now applies to r2495
Update: er, many, and now applies to r3356
Attachments
past2090t.diff
(50.98 KiB) Downloaded 515 times
Last edited by peter1138 on 29 Dec 2005 22:49, edited 5 times in total.
He's like, some kind of OpenTTD developer.
Horse
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 10 Sep 2004 20:25

Post by Horse »

Than you need even Vehicles after 2090.
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post by peter1138 »

I did say it's not very useful :-)
User avatar
Hackykid
Traffic Manager
Traffic Manager
Posts: 157
Joined: 22 Nov 2004 16:04
Location: Eindhoven de Gekste!!! (ongeveer ;P)
Contact:

Post by Hackykid »

but still, its a step in the right direction!
And, sometimes its better to do stuff in little steps, and test those first.

:lol:
DopeFish Lives!!!
Pipian
Engineer
Engineer
Posts: 122
Joined: 10 Jul 2004 02:25
Contact:

Post by Pipian »

You could always turn vehicles persisting on :wink:
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post by Dextro »

Horse wrote:Than you need even Vehicles after 2090.
Yes persisting on and newgrf magic :mrgreen:

Lots of grfs files that already work in openttd (like the DBSet standart, not XL) allready add new vehicles that popup at diferent times. For example in the dbset you have vehicles starting in 1921 (that's when I start my games) :D
Uncle Dex Says: Follow the KISS Principle!
Horse
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 10 Sep 2004 20:25

Post by Horse »

Dextro wrote:
Horse wrote:Than you need even Vehicles after 2090.
Yes persisting on and newgrf magic :mrgreen:

Lots of grfs files that already work in openttd (like the DBSet standart, not XL) allready add new vehicles that popup at diferent times. For example in the dbset you have vehicles starting in 1921 (that's when I start my games) :D
Why is nobody making vehicles they start much earlier so 1830.
And een vehicles for far future.

so you can start in 1830 and build up to in the future after 2090
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

I was thinking about some:

Ships!!
Trains
Road vehicles since about 1910
Before this date, horse-pulled, low capacity carts :D
Aircrafts sice 1920

just need a coder who can make .grfs
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post by peter1138 »

I've just updated the patch so that it will load savegames saved without the patch, and fixes a few places which weren't correct.

So... it's more useful now, but still quite useless ;)
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post by Dextro »

peter1138 wrote:I've just updated the patch so that it will load savegames saved without the patch, and fixes a few places which weren't correct.

So... it's more useful now, but still quite useless ;)
Not that useless, you just need to find some newgrfs that make vehicles appear after that date or get someone to create them but It's a major step foward this patch (if it's merged) ;)
Uncle Dex Says: Follow the KISS Principle!
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Just updated the patch. It'll now start earlier but some without more changes it can't load Newgrfs before 1920. Newgrf stores the introduction date as a byte value starting from 1920 to 2175.
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Just updated this to current svn...
User avatar
White Rabbit
Tycoon
Tycoon
Posts: 1734
Joined: 22 Jun 2005 19:15

Post by White Rabbit »

Hmm? I thought you could play forever with OpenTTD. Or was that just TTDPatch?
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post by peter1138 »

Yes, but it just loops at the end, so there'll never be anything new. Of course, there's nothing new with this patch, but the possibility's there; though newgrf is still tied to a short date range at the moment...
DeletedUser21
Tycoon
Tycoon
Posts: 11501
Joined: 20 Sep 2004 22:45

Post by DeletedUser21 »

useless or not, it's an improvement in reality. :wink:
User avatar
LKRaider
Transport Coordinator
Transport Coordinator
Posts: 360
Joined: 23 Mar 2005 04:05
Location: Brasil
Contact:

Post by LKRaider »

Anything keeping this from going into the trunk?
Horse
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 10 Sep 2004 20:25

Post by Horse »

It is very uselus when new Vehicles made from before 1920 and past 2090 :D
User avatar
DanMacK
Tycoon
Tycoon
Posts: 3906
Joined: 27 Feb 2004 20:03
Location: Ontario, Canada
Contact:

Post by DanMacK »

Once OTTD can handle vehicles prior to 1920, this patch will be awesome. I've always wanted to play with old-time stock like 4-4-0 American types, Sailing ships and horse carts (in a decent game, not Transport Giant) :P

Post 2090 will be cool too, but starting in 1830 would rock :D Be a real challenge, that's for damned sure
DeletedUser21
Tycoon
Tycoon
Posts: 11501
Joined: 20 Sep 2004 22:45

Post by DeletedUser21 »

The 300 year challenge!

Start game: 1830
End game: 2130

That would be a game you dedicate 3 years of your valuable life to. :P
User avatar
MHTransport
Engineer
Engineer
Posts: 97
Joined: 25 Mar 2004 00:32

Great Patch

Post by MHTransport »

I have wanted the ability to start early for ages. I know C, but I never had the vehicle format knowledge.

Specifially it would be great to have low horsepower trains and be forced to route them more relaistically then straight over the mountain.

It would also be nice to have a reason to use ships rather than just to have some.
A better OS: http://ubuntu.com/
Soon an even better OS: http://haiku-os.org/
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Semrush [Bot] and 34 guests