Page 11 of 14
Re: Gonozal_VIII patchpack r12180
Posted: 17 Mar 2008 12:44
by chrissicom
- I can't click on an intercontinental Airport without a hard crash of openttd.
That sounds very similar to my clicking on train station crash. I couldn't figure out yet what's the cause because I can't get the .diff from here to compile to a clean debug build.
Re: Gonozal_VIII patchpack r12180
Posted: 17 Mar 2008 12:54
by PhilSophus
Indiana wrote:Bugs on Multiplayer Session:
- I can't click on an intercontinental Airport without a hard crash of openttd.
Maybe
this can help you.
Re: Gonozal_VIII patchpack r12180
Posted: 17 Mar 2008 13:00
by chrissicom
Could you post a pre-built version with this patch built-in? That would be awesome!
Re: Gonozal_VIII patchpack r12180
Posted: 19 Mar 2008 12:04
by Indiana
Don't need to be prebuild, just include the new PAXDest

Re: Gonozal_VIII patchpack r12180
Posted: 21 Mar 2008 11:12
by broodje
I'm trying to build a version of my own, including only Daylenght, YAPBS, Timetable separation and distant join stations. For some reason Visual express 2008 keeps trowing up errors when I try to build:
Code: Select all
..\src\economy.cpp(1224) : error C2666: 'OverflowSafeInt::operator /' : 4 overloads have similar conversions
with
[
T=int64,
T_MAX=0x7fffffffffffffff,
T_MIN=0x800000000
]
e:\source\src\core/overflowsafe_type.hpp(92): could be 'OverflowSafeInt OverflowSafeInt::operator /(const uint) const'
with
[
T=int64,
T_MAX=0x7fffffffffffffff,
T_MIN=0x800000000
]
e:\source\src\core/overflowsafe_type.hpp(91): or 'OverflowSafeInt OverflowSafeInt::operator /(const int) const'
with
[
T=int64,
T_MAX=0x7fffffffffffffff,
T_MIN=0x800000000
]
e:\source\src\core/overflowsafe_type.hpp(90): or 'OverflowSafeInt OverflowSafeInt::operator /(const OverflowSafeInt &) const'
with
[
T=int64,
T_MAX=0x7fffffffffffffff,
T_MIN=0x800000000
]
or 'built-in C++ operator/(int64, byte)'
while trying to match the argument list '(Money, byte)'
Is there a way I can find out what is causing this problem?
Re: Gonozal_VIII patchpack r12180
Posted: 21 Mar 2008 22:44
by PhilSophus
broodje wrote:
Is there a way I can find out what is causing this problem?
The compiler does not find a division operator matching exactly the types given, but 4 operators it can reach by a conversion, but it doesn't know which of them to take. Try casting the second argument of the division (i.e. the divisor) to either uint, int or Money. All of them should work. The fourth (which would require casting the first argument to int64) is no good choice. I wonder why gcc can resolve it and whether VE2008 or gcc is right according to the C++ standard.
Re: Gonozal_VIII patchpack r12180
Posted: 22 Mar 2008 03:17
by trainmaster611
Is it possible that someone could release the full r12180 package with this patch already applied, or is there something that prevents that from happening?
Re: Gonozal_VIII patchpack r12180
Posted: 22 Mar 2008 08:23
by leno4
trainmaster611 wrote:Is it possible that someone could release the full r12180 package with this patch already applied, or is there something that prevents that from happening?
It is possible, i would love that too.
Re: Gonozal_VIII patchpack r12180
Posted: 22 Mar 2008 08:30
by Trond
what patch? The patchpack have already a win32 binary fro r12180 on page 1... Or did you want just one patch of the lot or?
Re: Gonozal_VIII patchpack r12180
Posted: 22 Mar 2008 12:11
by Two5Kid
I need to ask this, if I were to add one of the nightlies onto this patch, (in order to play with the Canadian Set for OTTD), would I remove any of Gonozal's features, most importantly the PBS and dynamic engines?
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 04:08
by trainmaster611
Trond wrote:what patch? The patchpack have already a win32 binary fro r12180 on page 1... Or did you want just one patch of the lot or?
Ok, I'm a little confused. Are you saying that that link that says r12180 built with BOTTD, already has the patch applied to it?
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 04:52
by Trond
trainmaster611 wrote:Ok, I'm a little confused. Are you saying that that link that says r12180 built with BOTTD, already has the patch applied to it?
Yes. All the patches listed in the 1st page.
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 06:05
by Tekky
Two5Kid wrote:I need to ask this, if I were to add one of the nightlies onto this patch, (in order to play with the Canadian Set for OTTD), would I remove any of Gonozal's features, most importantly the PBS and dynamic engines?
I'm afraid it won't be easy to apply the patch to the latest nightly build, because I'm afraid automatic patching will fail in several places so you will have to patch these places manually, which requires programming knowledge and is a lot of work.
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 11:23
by sickie
Tekky wrote:...I'm afraid automatic patching will fail in several places so you will have to patch these places manually,...
It's time that Gonzal_VIII would do it, apply his patchpack to fresh nightlies and update patches that has been updataded in the meantime.
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 11:44
by broodje
Thanks PhilSophus, unfortunately I can't code in c++. I guess I will try out GCC someday to apply the patches.
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 11:55
by zypa
Will new patches be integrated in this patchpack? I'd love to see the grassgrowth patch in here

Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 20:59
by Tekky
sickie wrote:Tekky wrote:...I'm afraid automatic patching will fail in several places so you will have to patch these places manually,...
It's time that Gonzal_VIII would do it, apply his patchpack to fresh nightlies and update patches that has been updataded in the meantime.
I don't consider your tone appropriate. Instead of demanding that Gonozal should invest more work into his patchpack ("It's time that..."), it would be more meaningful that you thank him for his previous work and kindly ask if he or someone else could update the patchpack, or do it yourself if you have the programming knowledge.
Re: Gonozal_VIII patchpack r12180
Posted: 23 Mar 2008 21:28
by leno4
Downloaded the already compiled rar. Got this error.
Re: Gonozal_VIII patchpack r12180
Posted: 24 Mar 2008 14:25
by glx
Easy to fix. Modify difficulty settings in intro, and exit openttd. It will be ok on next start.
Re: Gonozal_VIII patchpack r12180
Posted: 26 Mar 2008 12:01
by el koeno
Tekky wrote:sickie wrote:Tekky wrote:...I'm afraid automatic patching will fail in several places so you will have to patch these places manually,...
It's time that Gonzal_VIII would do it, apply his patchpack to fresh nightlies and update patches that has been updataded in the meantime.
I don't consider your tone appropriate. Instead of demanding that Gonozal should invest more work into his patchpack ("It's time that..."), it would be more meaningful that you thank him for his previous work and kindly ask if he or someone else could update the patchpack, or do it yourself if you have the programming knowledge.
Well, non-native speakers sometimes get the intonation wrong, perhaps that was the problem. And of course he's thankful for Gonozal's work, other wise he wouldn't be back for a new version!
I do sort of agree with sicky though; I would like to see new versions of several patches (PAXdest and YAPP) to be included. But I guess I can wait, as it would only break my current savegame which I would like to continue playing a bit more. I could of course use that time to learn to code and do it myself, but I get distracted from uni by playing ttd, I don't think learning to code would work any differently.
