Gonozal_VIII patchpack r12180

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

chrissicom
Route Supervisor
Route Supervisor
Posts: 415
Joined: 07 Oct 2004 10:05

Re: Gonozal_VIII patchpack r12180

Post 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.
PhilSophus
Chairman
Chairman
Posts: 776
Joined: 20 Jan 2007 12:08
Location: Germany

Re: Gonozal_VIII patchpack r12180

Post 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.
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
chrissicom
Route Supervisor
Route Supervisor
Posts: 415
Joined: 07 Oct 2004 10:05

Re: Gonozal_VIII patchpack r12180

Post by chrissicom »

Could you post a pre-built version with this patch built-in? That would be awesome!
User avatar
Indiana
Engineer
Engineer
Posts: 36
Joined: 07 Feb 2008 09:15

Re: Gonozal_VIII patchpack r12180

Post by Indiana »

Don't need to be prebuild, just include the new PAXDest :bow:
Have a N.I.C.E. day!
Indiana
broodje
Director
Director
Posts: 615
Joined: 13 Jul 2003 12:47
Location: Alphen aan den Rijn
Contact:

Re: Gonozal_VIII patchpack r12180

Post 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?
PhilSophus
Chairman
Chairman
Posts: 776
Joined: 20 Jan 2007 12:08
Location: Germany

Re: Gonozal_VIII patchpack r12180

Post 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.
"The bigger the island of our knowledge, the longer the shore of our ignorance" - John A. Wheeler, Physicist, 1911-2008
User avatar
trainmaster611
Traffic Manager
Traffic Manager
Posts: 222
Joined: 21 Dec 2007 16:33

Re: Gonozal_VIII patchpack r12180

Post 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?
User avatar
leno4
Traffic Manager
Traffic Manager
Posts: 247
Joined: 10 Mar 2008 02:45
Location: Australia

Re: Gonozal_VIII patchpack r12180

Post 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.
Trond
Tycoon
Tycoon
Posts: 973
Joined: 25 Jan 2008 07:32
Location: Gamle Ørnenuten

Re: Gonozal_VIII patchpack r12180

Post 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?
..: Trond :.. because you deserve it! Image

The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell

MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
User avatar
Two5Kid
Chief Executive
Chief Executive
Posts: 654
Joined: 26 Feb 2007 07:10
Location: Kota Bharu, Malaysia

Re: Gonozal_VIII patchpack r12180

Post 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?
Any dream worth having,
Is a dream worth fighting for!
User avatar
trainmaster611
Traffic Manager
Traffic Manager
Posts: 222
Joined: 21 Dec 2007 16:33

Re: Gonozal_VIII patchpack r12180

Post 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?
Trond
Tycoon
Tycoon
Posts: 973
Joined: 25 Jan 2008 07:32
Location: Gamle Ørnenuten

Re: Gonozal_VIII patchpack r12180

Post 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.
..: Trond :.. because you deserve it! Image

The whole problem with the world is that fools and fanatics are always so certain of themselves,
and wiser people so full of doubts.
Bertrand Russell

MyGRFs: Norwegian Funny Town Names 4 | LOTR & WoW Town Names 2 | Islandic Town Names 1 | Random Norwegian Town Names
Favorites: GRFCrawler | ISR | WIKI | Now Playing: OpenTTD 1.3.2 w/YAPP 3.0-RC3.9ish
Tekky
Route Supervisor
Route Supervisor
Posts: 420
Joined: 19 Dec 2006 04:24

Re: Gonozal_VIII patchpack r12180

Post 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.
User avatar
sickie
Engineer
Engineer
Posts: 85
Joined: 15 Sep 2007 00:51
Location: Slovenia
Contact:

Re: Gonozal_VIII patchpack r12180

Post 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.
broodje
Director
Director
Posts: 615
Joined: 13 Jul 2003 12:47
Location: Alphen aan den Rijn
Contact:

Re: Gonozal_VIII patchpack r12180

Post by broodje »

Thanks PhilSophus, unfortunately I can't code in c++. I guess I will try out GCC someday to apply the patches.
zypa
Transport Coordinator
Transport Coordinator
Posts: 329
Joined: 30 Mar 2006 12:05
Location: Germany
Contact:

Re: Gonozal_VIII patchpack r12180

Post by zypa »

Will new patches be integrated in this patchpack? I'd love to see the grassgrowth patch in here ;)
Tekky
Route Supervisor
Route Supervisor
Posts: 420
Joined: 19 Dec 2006 04:24

Re: Gonozal_VIII patchpack r12180

Post 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.
Last edited by Tekky on 23 Mar 2008 21:44, edited 1 time in total.
User avatar
leno4
Traffic Manager
Traffic Manager
Posts: 247
Joined: 10 Mar 2008 02:45
Location: Australia

Re: Gonozal_VIII patchpack r12180

Post by leno4 »

Downloaded the already compiled rar. Got this error.
Attachments
my error!
my error!
error.PNG (6.44 KiB) Viewed 3078 times
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Re: Gonozal_VIII patchpack r12180

Post by glx »

Easy to fix. Modify difficulty settings in intro, and exit openttd. It will be ok on next start.
el koeno
Route Supervisor
Route Supervisor
Posts: 454
Joined: 24 Sep 2004 15:47

Re: Gonozal_VIII patchpack r12180

Post 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. :wink:
Last edited by el koeno on 26 Mar 2008 12:03, edited 1 time in total.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 1 guest