Installing and compiling with MSYS/MinGW is no problem, have fullversion of Win 7 64-Bit and everything worked fine.Gremnon wrote:Time varies with how fast you can download.
As to it not working, I've never had a problem on any Windows system yet, though I've not tried it on Windows 7, but I've heard rumors suggesting it works normally if you're using a beta version.
Another Daylength patch
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 24
- Joined: 14 Oct 2009 08:47
Re: Another Daylength patch
Re: Another Daylength patch
full version of win 7? already? at 7:30 in the morning of the release date?
or was the release date different in america and thats where you are?

or was the release date different in america and thats where you are?

AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
-
- Engineer
- Posts: 24
- Joined: 14 Oct 2009 08:47
Re: Another Daylength patch
No I am from Germany, but MSDNAA came out much earlierLord Aro wrote:full version of win 7? already? at 7:30 in the morning of the release date?![]()
or was the release date different in america and thats where you are?

Re: Another Daylength patch
Same for me, MSDN AA had full release of Win 7 when I came first to school (21st september).
Update in first post. A monkey would do the update.
Update in first post. A monkey would do the update.
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
-
- Engineer
- Posts: 24
- Joined: 14 Oct 2009 08:47
Re: Another Daylength patch
pavel1269 wrote:Same for me, MSDN AA had full release of Win 7 when I came first to school (21st september).
Update in first post. A monkey would do the update.
I have updated the patch, will try to get a .diff/patch file. I made it for trunk that came yesterday over the day (r17837). Everything works fine, some commands have changed, so I had to change them in the code, too. Copying it to my server that I can run the ded. Server on newer version.
Edit: Did see that a newer version has already been uploaded (r17838) one version newer than mine.
-
- Engineer
- Posts: 24
- Joined: 14 Oct 2009 08:47
Re: Another Daylength patch
We did find out same problem like this. We have balance on 4 on pile with the single tool 270 two 2.160 if I selct normal drag and drop tool one part cost 1080 and two normal 2160.Gedemon wrote:please Pavel, can you check the cost of building railway tracks ?
looks like when you use the draging tool the cost is not the same per tile when making 1 tile or 2 tiles.
for example:
- with a balance factor of 1 building 1 tile of railway cost 180$ and 2 cost 360$ (and with the single section tool 1 tile cost 180$)
- with a balance factor of 2 building 1 tile of railway cost 210$ and 2 cost 840$ (and with the single section tool 1 tile cost 420$)
- with a balance factor of 5 building 1 tile of railway cost 300$ and 2 cost 3000$ (and with the single section tool 1 tile cost 1500$)
Edit: Can someone tell me where I can find the function, that does change the cost value of the tiles?
-
- Engineer
- Posts: 24
- Joined: 14 Oct 2009 08:47
Re: Another Daylength patch
I have found another bug:
If you build a rail with balance on 1, you get less money back than you spent for the rail, if you have balance on 2 you get same money back as you spent for it if you have the balance on 3 or higher you get more money back than you spent for the rail. So it is like a cheat you could build rails and then destroy them again and get more money back.
But this is only if you destroy the rails (with dynamite symbol) but not with the bulldozer.
Maybe there is a way to fix this also the bug with the single rail thing I posted.
If you build a rail with balance on 1, you get less money back than you spent for the rail, if you have balance on 2 you get same money back as you spent for it if you have the balance on 3 or higher you get more money back than you spent for the rail. So it is like a cheat you could build rails and then destroy them again and get more money back.
But this is only if you destroy the rails (with dynamite symbol) but not with the bulldozer.
Maybe there is a way to fix this also the bug with the single rail thing I posted.
Re: Another Daylength patch
I can not get AI to work. What can the problem be?
Re: Another Daylength patch
What do you mean the AI doesn't work? Do you have any type of error message? Maybe its associated with the AI itself.
Re: Another Daylength patch
Yes. I get this 2 message.
Re: Another Daylength patch
Looks, based on the second image at least, very much like the packager of the binary has missed some important files.
Re: Another Daylength patch
Here, I will build one in 5 minutes, check if it still doesn't work.
daylength_r17838_win32.zip
daylength_r17838_win32.zip
Last edited by petert on 14 Nov 2009 15:22, edited 1 time in total.
Re: Another Daylength patch
petert> What do you mean?
Re: Another Daylength patch
Check the post above you again, see if you have the same errors.
Re: Another Daylength patch
Thank you. I get it to work but:
> I get a message about too many vehicles in the game. Change the number of ships dont work if I change it in openttd.cfg
> In Pavels1239 edition the selection is "frossen". Ex. if I choose the tunnel, I can just click the number of tunnels without having to choose again.
Willy
> I get a message about too many vehicles in the game. Change the number of ships dont work if I change it in openttd.cfg
> In Pavels1239 edition the selection is "frossen". Ex. if I choose the tunnel, I can just click the number of tunnels without having to choose again.
Willy
Re: Another Daylength patch
It looks as though it is only disc I can not build more of (?)
Re: Another Daylength patch
I mean: It looks as though it is only ship I can not build more of (?)
Re: Another Daylength patch
i quote out of the ECS questions / problems topic:
now i do understand the ECS vectors to a check every x days, is it also possible to do something within the daylenth patch to fix this above problem ?
or is this already be set by the option "reduce industry changes by daylength factor" ? didnt this only affect the normal economical changes ? (this function doesn't seem to change much with the above problem)
**EDIT**
maybe there is some that can be done within the patch to support the ECS vectors ?
now understanding a bit what the page is telling where he is referring to, i understand the daylength is set by "ticks".George wrote:I can't do anything with day length patch now http://bugs.openttd.org/task/2363Dante123 wrote:well there do is 1 more thing with the ECS vectors, let me explain:
to be honest, i dont like playing Ottd without the ecs any more, so on every game i play i have them all turned on. (totally love them)
but here is the catch, i also think timeflow go's to fast in ottd, so i use the "another daylength patch" to slow the timeflow down a bit.
now i know to make the ecs vectors work i just let the first 1 or 2 months pass on normal game speed, so the industries like animal farms can start.
after the first 1 or 2 months i enable the daylength functions. (daylength factor 6, and i do not slow down industry changes with daylength factor, so these should be the default)
but now, after playing in huge maps, after about 7 to 8 gameplay years (around the 7 to 10 gameplay hours). a whole bunch of industries just shut down, all at the same time.
example of this is the tinning factory, textile mill, and so on. they drop from 16 factories around the map to 0 within 1 day.
now my question is, is there some way i could prevent this from happening ? i already tryed with the current parameters (like set it to 11) but they still close down all at the same time after X years.
i dont know how difficult it can be, but is it possible for you to implant some extra parameter for this to prevent this from happening ?
At least one tinning factory should stay, provide a save game before closure to see it (but in game without day length patch of cause)
Currently I do not have a plan to change protection period. But if you have any idea about how large should it be and why - let me know.
now i do understand the ECS vectors to a check every x days, is it also possible to do something within the daylenth patch to fix this above problem ?
or is this already be set by the option "reduce industry changes by daylength factor" ? didnt this only affect the normal economical changes ? (this function doesn't seem to change much with the above problem)
**EDIT**
one more quote from the ecs topic.George wrote:Currently you have 8 or 9 cycles. With factor of 2, you do not simply get 8*2=16 and 9*2=18, but value 17 is also possible.
So yes, it is mathematical thing, but there is no good way for such calculation by GRF. The patch code should do the calculation instead.
maybe there is some that can be done within the patch to support the ECS vectors ?
Last edited by Dante123 on 26 Nov 2009 16:39, edited 3 times in total.
Re: Another Daylength patch
While this topic is bumped, can I ask for a update to the patch?
Re: Another Daylength patch
Does this day lenght patch (r17838) work with the version 0.7.3 and newest nightly pack (r18309) installed?
If so, how is it supposed to be installed? There is a zip file and a .patch file in the first post by Pavel.
As I try to install this the zip file creates a new folder under my OpenTTD folder. It's called "ottd day lenght r17838" and under it there are lot's of files and an exe file which starts the game. I copied the needed files in the data folder of this "ottd day lenght r17838" folder and when I try to start the game it gives me lot's of errors conserning graphic files. After error messages the game starts but there are no sounds and the language is in chech(?) and changeing it doesn't do the trick. The day lenght works as I start the game the time does not go by so fast as in a raw 0.7.3 version game with the newest nightly.
All the help is much appreciated.
If so, how is it supposed to be installed? There is a zip file and a .patch file in the first post by Pavel.
As I try to install this the zip file creates a new folder under my OpenTTD folder. It's called "ottd day lenght r17838" and under it there are lot's of files and an exe file which starts the game. I copied the needed files in the data folder of this "ottd day lenght r17838" folder and when I try to start the game it gives me lot's of errors conserning graphic files. After error messages the game starts but there are no sounds and the language is in chech(?) and changeing it doesn't do the trick. The day lenght works as I start the game the time does not go by so fast as in a raw 0.7.3 version game with the newest nightly.
All the help is much appreciated.
Who is online
Users browsing this forum: No registered users and 2 guests