Motivation
I wanted to enjoy all the features in the trunk with some awesome patches, so I took some time to create this patchpack. Thanks to all the OpenTTD developers and patch writers.
Download
Please download the binary and diff file from here. Alternatively, you can clone the project repository if that's what you'd prefer. All bugs should be reported as a reply to this post or even better as an issue to the project site. Please don't report bugs from this patchpack directly to Flyspray.
Because I don't personally play in MP, I have no guarantee this patchpack will always behave as expected, but there shouldn't be too many issues if server/clients all use this patchpack.
Any comments/suggestions are appreciated.
Changelog
Version 0.04a released
Fixed cloning-vehicle-crash bug. Thanks to Juanjo for a quick fix.
thanks for including me and good effort overall. I really like having CargoDist coupled with a separation patch.
I'm planning on releasing a newer version of my patch the next few days, including a whole bunch of improvements.
Are you going to maintain this project in the future ?
This looks like a very nice small patch collection. I have to admit that I do not like playing without some Cargo Distribution patch and as I have no idea about coding or even compiling I have to wait for people to publish nice precompiled patches. So thanks for publishing this one. Will try it out and it seems to be best suited for me as long as CPP gets updated to current trunk.
Everybody can contribute to OTTD!It does not require you to be an IT specialist or designer. And it does not take days or weeks of your time either.
There are many simple yet important tasks like translations, investigating facts and details and many other that need work and if you help a bit then the experienced developers can focus more on making OTTD even more awesome! OTTD = Awesomeness created by a whole lot of volunteers, be one of them if you like the game!
As above, thanks . I was trying to do something similar, but didn't have enough experience with C++ to solve the various conflicts. Now I can use more recent GRFs .
Temporary Permanent signature filling text. Content coming soon delayed indefinitely! Oh, and I have had a screenshot thread.
Linux user (XMonad DWM/KDE, Arch), IRC obsessive and rail enthusiast. No longer building robots; now I ring church bells.
Author of an incredibly boring stickied post about NewGRFs.
Lordmwa wrote:If you were planning to update this the only other patch that i would strongly reccomend is a daylength patch im amazed how fast time goes without it!
I've looked at it but that patch is kind of old (6000 revisions!). I'll have a go at it in a few days. But again, no guarantees
Let me start by saying, good job on the patch set so far.
I just tried applying version 0.02b to trunk r24093. It failed on src/station_gui.cpp and src/timetable_gui.cpp. It's not clear why though I can see the reject files show what appears to be a complete replacement of the files failing.
I'm running this on a linux system but that should not prevent things from working.
lostwizard wrote:Let me start by saying, good job on the patch set so far.
I just tried applying version 0.02b to trunk r24093. It failed on src/station_gui.cpp and src/timetable_gui.cpp. It's not clear why though I can see the reject files show what appears to be a complete replacement of the files failing.
I'm running this on a linux system but that should not prevent things from working.
Try deleting those two files. It may be the case where they exist but are untracked, thus preventing new files from getting generated. Alternatively, you can pull from my repo directly. It's probably easier that way.
Last edited by handrake on 06 Apr 2012 03:39, edited 1 time in total.
Try deleting those two files. It may be the case where they exist but untracked, thus preventing new files being generated. Alternatively, you can pull from my repo directly. It's probably easier that way.
Yeah, I had the same thought. I pulled the repo and set about building. It failed with
...../src/aaa_template_vehicle_func.cpp:69:202: error: cast from ‘const Train*’ to ‘uint32 {aka unsigned int}’ loses precision
(and several other instances of the same error for other pointers)
Looks there is a problem with the code on 64 bit systems. It's dubious to cast a pointer to uint32 in general but it is certainly incorrect on 64 bit platforms. I'd be happy to help you further with this over email or private messaging (to save spamming the forum with it).
Try deleting those two files. It may be the case where they exist but untracked, thus preventing new files being generated. Alternatively, you can pull from my repo directly. It's probably easier that way.
Yeah, I had the same thought. I pulled the repo and set about building. It failed with
...../src/aaa_template_vehicle_func.cpp:69:202: error: cast from ‘const Train*’ to ‘uint32 {aka unsigned int}’ loses precision
(and several other instances of the same error for other pointers)
Looks there is a problem with the code on 64 bit systems. It's dubious to cast a pointer to uint32 in general but it is certainly incorrect on 64 bit platforms. I'd be happy to help you further with this over email or private messaging (to save spamming the forum with it).
Funny, this is from my patch and I looked into the piece of code pointed to by your error.
It is a little printf wrapper function where I didn't care for clean code because I use it only for development, not in the actual game and would have removed it later anyways, when developing the patch is finished.
I would be good if you could post or send me a list of all instances where this happens. Then I can see if it's really only those helper functions or if I have some unclean code somewhere else too.
Try deleting those two files. It may be the case where they exist but untracked, thus preventing new files being generated. Alternatively, you can pull from my repo directly. It's probably easier that way.
Yeah, I had the same thought. I pulled the repo and set about building. It failed with
...../src/aaa_template_vehicle_func.cpp:69:202: error: cast from ‘const Train*’ to ‘uint32 {aka unsigned int}’ loses precision
(and several other instances of the same error for other pointers)
Looks there is a problem with the code on 64 bit systems. It's dubious to cast a pointer to uint32 in general but it is certainly incorrect on 64 bit platforms. I'd be happy to help you further with this over email or private messaging (to save spamming the forum with it).
Funny, this is from my patch and I looked into the piece of code pointed to by your error.
It is a little printf wrapper function where I didn't care for clean code because I use it only for development, not in the actual game and would have removed it later anyways, when developing the patch is finished.
I would be good if you could post or send me a list of all instances where this happens. Then I can see if it's really only those helper functions or if I have some unclean code somewhere else too.
I just got rid of all the printfs in that file and everything was fine.
Downloading right now. I've been working on a smallish patch pack for a few friends and myself, but yours renders mine quite redundant. Thanks for the effort (and for giving my patch a chance in a pack ^_^).