Daylength Patch [12/09/2008] Compatibility: r14293
Moderator: OpenTTD Developers
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Here, a windows binary with daylength, r14661.
I can get a linux one if anyone needs that one too.
Also attached, .diff file against r14661.... not tested though, so no guarantees it'll patch alright.
Edit: files removed due to mistake on my part, see updated files a few posts on
I can get a linux one if anyone needs that one too.
Also attached, .diff file against r14661.... not tested though, so no guarantees it'll patch alright.
Edit: files removed due to mistake on my part, see updated files a few posts on
Last edited by Gremnon on 08 Dec 2008 17:15, edited 1 time in total.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Thanks, but when i open the advanced settings this error comes up:
- Attachments
-
- error1.PNG (16.39 KiB) Viewed 3433 times
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Odd. Could just be the way I patched, it, I'll re-patch and make sure of it...
Re: Daylength Patch [12/09/2008] Compatibility: r14293
New version of windows binary and diff, both untested.
It *should* work this time, but can't say for sure on the diff.
It *should* work this time, but can't say for sure on the diff.
- Attachments
-
- r14660-daypatch.diff
- Diff against r14660
- (9.6 KiB) Downloaded 144 times
-
- r14660-daypatch.zip
- r14660 with daylength
- (3.42 MiB) Downloaded 146 times
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
At the moment it works fine, thank you very much!!! Will keep you update if any failure comes up.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
When i try to save it give's the next error:
- Attachments
-
- error2.PNG (15.26 KiB) Viewed 3392 times
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Now that one's strange, since I didn't need to change anything in saveload.cpp, and I don't have any trouble.
I'll experiment a bit more, but I can't guarantee a fix for this one, because I'm not entirely certain what's gone wrong this time.
I'll experiment a bit more, but I can't guarantee a fix for this one, because I'm not entirely certain what's gone wrong this time.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
If i choose ignore in the error he saves it, but loading again is unpossible, savegame broken unknown chunk type is the message then.
-
- OpenTTD Developer
- Posts: 351
- Joined: 03 Oct 2006 18:26
- Location: Prague, Czech Republic
- Contact:
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Attached patch includes the fix for your asserts, but it is based on Gremnon's patch, so it may be broken.
(of course it is broken, the patch misses many places that should be tweaked... and it doesn't fix other problems I mentioned in http://www.tt-forums.net/viewtopic.php?p=748441#p748441 - so expect strange behaviour regarding for example vehicle running costs, AI starting at "random" moments, ... )
(of course it is broken, the patch misses many places that should be tweaked... and it doesn't fix other problems I mentioned in http://www.tt-forums.net/viewtopic.php?p=748441#p748441 - so expect strange behaviour regarding for example vehicle running costs, AI starting at "random" moments, ... )
- Attachments
-
- r14662-daypatch.diff
- (10.76 KiB) Downloaded 146 times
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Ok, i right click SVN map on computer and choose aplly patch, then in the merge window choose patch all and then you see this pic, all file nicelay in black (first time), but then what ???
Sorry, but understand really nothing about this patching...
Sorry, but understand really nothing about this patching...
- Attachments
-
- nowwhat.PNG (78.35 KiB) Viewed 1415 times
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Then you need to compile it... the OpenTTD wiki can tell you everything you need to know about that for any system...
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Ok i'm gonna try with cygwin, but what do i need to compile? Do i need to save the file in tortoisemerge and the compile, or do i need to compile the files in my SVN map that have a red icon in stead of a green one ????
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Ok im halfway point number 9 of the wiki page of cygwin. i made the dir and opened it, but then the commands won't work ???
- Attachments
-
- sofarsogoodbutthen.PNG (34.22 KiB) Viewed 1415 times
Re: Daylength Patch [12/09/2008] Compatibility: r14293
hm... I think you need to get the subversion files, but I'm not sure, I don't use cygwin, I use the msys that comes with BOTTD... updated with a few additions of my own, because I compile other programs with it sometimes too.
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Still not got patching working, not with cygwin and not with Visual CC+ ...
Somebody with a recent working bin with this patch included ?
Somebody with a recent working bin with this patch included ?
Re: Daylength Patch [12/09/2008] Compatibility: r14293
I'll compile one against the current nightly in a moment, check back in 10 and I should have posted it here...
Re: Daylength Patch [12/09/2008] Compatibility: r14293
Windows binary against r14665
Untested, but patched and compiled with no troubles with SmatZ's (hopefully) fixed version of the .diff.
Untested, but patched and compiled with no troubles with SmatZ's (hopefully) fixed version of the .diff.
- Attachments
-
- r14665-daypatch.zip
- (3.42 MiB) Downloaded 177 times
- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
It works! It works! It works! Thank you
(I mean, no error when opening advances settings, no error when saving or loading, like the previous try's)(keeping my fingers crossed)



(I mean, no error when opening advances settings, no error when saving or loading, like the previous try's)(keeping my fingers crossed)

- Hamilton2007
- Transport Coordinator
- Posts: 289
- Joined: 16 Nov 2008 10:57
- Location: Belgium
Re: Daylength Patch [12/09/2008] Compatibility: r14293
I got the following errors when playing. Most of the time it happens when i zoom out maximum and look around then. I save my game every month now, so i can play the savegame, the errors come from time to time, not everytime on the same point in the savegame.
- Attachments
-
- error1.PNG (15.3 KiB) Viewed 3030 times
-
- error2.PNG (15.35 KiB) Viewed 3034 times
-
- error3.PNG (7.16 KiB) Viewed 3035 times
Re: Daylength Patch [12/09/2008] Compatibility: r14293
I solved that one - at least for the moment - by increasing the sprite cache in the openttd.cfg
I'm not entirely certain that's the best fix though, but I'll look into it when I have some time
I'm not entirely certain that's the best fix though, but I'll look into it when I have some time
Who is online
Users browsing this forum: No registered users and 16 guests