Spring 2013 Patch Pack - English Help (Updated 02/23/2017)

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

pi1985
Engineer
Engineer
Posts: 107
Joined: 16 May 2013 08:22
Location: Ukraine

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by pi1985 »

Alberth wrote:If you run projects/generate at Linux, the same changes will be done as when you run projects/generate.vbs.
:idea:
Thanks a lot!
Image
Image
Image.
Commisdot
Engineer
Engineer
Posts: 10
Joined: 25 Jul 2016 01:48

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by Commisdot »

Thank you guys.

Worked perfectly.

I have learned a lot in the past couple of days !!!!!

Thanks for a great pack Pi, your dedication is much appreciated.
User avatar
STD
Tycoon
Tycoon
Posts: 1810
Joined: 02 Jul 2012 14:53
Location: Russia, Samara

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by STD »

This is a wonderful patchpack. I also really like. I played a lot in previous versions. And new version I will not leave without attention 8) .
[OpenTTD] STD screenshots
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
Commisdot
Engineer
Engineer
Posts: 10
Joined: 25 Jul 2016 01:48

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by Commisdot »

Hi Pi1985,

Is there any chance you would add in the template replacement and collapsible groups patch as well.

I am going to attempt to do this myself now that I know how to compile, it will probably take me 10903982409328409238 days. But if you could add that would be great.

Thanks,
Commisdot
Engineer
Engineer
Posts: 10
Joined: 25 Jul 2016 01:48

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by Commisdot »

Ok,

So I have compiled this patch pack, now when the game ticks over to a new month I get an exception with the error message, The thread has tried to divide an integer value by an integer divisor of zero.

Also my compiled application file size is 300k smaller than the downloadable application file size. I suspect I am doing something wrong at the compile state.

I have attached the crash.dmp file. Any assistance would be greatly appreciated.

Thanks,
Attachments
crash.dmp
(6.81 MiB) Downloaded 148 times
pi1985
Engineer
Engineer
Posts: 107
Joined: 16 May 2013 08:22
Location: Ukraine

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by pi1985 »

Commisdot wrote:Ok,

So I have compiled this patch pack, now when the game ticks over to a new month I get an exception with the error message, The thread has tried to divide an integer value by an integer divisor of zero.

Also my compiled application file size is 300k smaller than the downloadable application file size. I suspect I am doing something wrong at the compile state.

I have attached the crash.dmp file. Any assistance would be greatly appreciated.

Thanks,
Thanks for a bug report.
Could you please post a crash savegame and crash.log.
Image
Image
Image.
Commisdot
Engineer
Engineer
Posts: 10
Joined: 25 Jul 2016 01:48

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by Commisdot »

Here ya go mate.

Attached as requested.
Attachments
OpenTTD.7z
(3.62 MiB) Downloaded 164 times
rashaverak
Engineer
Engineer
Posts: 16
Joined: 23 Jul 2006 23:23

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by rashaverak »

Is there any Ai that would work with this set, all I tried just build a lot of stations and thats it, then the game crash.
pi1985
Engineer
Engineer
Posts: 107
Joined: 16 May 2013 08:22
Location: Ukraine

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by pi1985 »

What ai did you use? Please, post crash log, save etc.
Image
Image
Image.
rashaverak
Engineer
Engineer
Posts: 16
Joined: 23 Jul 2006 23:23

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by rashaverak »

[quote="pi1985"]What ai did you use? Please, post crash log, save etc.[/quote]

By your answer I guess it is not a common problem. I tried about 10, like admiral, aiai, trans, trains, ovi, simpleai, choochoo na others, they just build etiher hundrets of stations or fill whole area with rails and thats it. Nothing more, never buy a train. I tried it without any newGRF activated.

crash added (I think this is version with a few newGRF)
Attachments
crash.png
(557.59 KiB) Not downloaded yet
crash.zip
(3.45 KiB) Downloaded 123 times
pi1985
Engineer
Engineer
Posts: 107
Joined: 16 May 2013 08:22
Location: Ukraine

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by pi1985 »

I make a new build, 2.4.258. Please, try it.
Image
Image
Image.
User avatar
STD
Tycoon
Tycoon
Posts: 1810
Joined: 02 Jul 2012 14:53
Location: Russia, Samara

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by STD »

Already available for download a new version - OpenTTD Spring 2013 2.4.261 from 08.27.2016 or August 27, 2016. You update please the first message :D .
The list of fixes by pi1985:
Translation from the site
And now to the point.
Gathered a small bugfix. It included a fix for the bug with the rails when they built on the cliff, and added the ability to collapse/expand the group transport.

Russian translation
А теперь по существу.
Собрал небольшой багфикс. Он включил в себя исправление бага с рельсами, когда они строились на обрыве, а так же добавлена возможность сворачивания/разворачивания групп транспорта.
[OpenTTD] STD screenshots
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
ezzeqiel
Engineer
Engineer
Posts: 15
Joined: 02 Mar 2012 04:10

Re: Spring 2013 Patch Pack - English Help (Updated 04/23/2016)

Post by ezzeqiel »

pi1985 wrote:I make a new build, 2.4.258. Please, try it.
Thank you very much !

The collapse/expand feature is very useful.



I can't wait to see the new huge airports implemented.
Nickel_Plate
Traffic Manager
Traffic Manager
Posts: 146
Joined: 27 Dec 2004 19:37
Location: Home of the Big Cat

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by Nickel_Plate »

Running v2.4.261.

Is anybody having any trouble with trains/game slowing down and speeding up again.

Train window shows trains are running at top speed but looking at the screen they are crawling along.
User avatar
balthasar_s
Engineer
Engineer
Posts: 4
Joined: 06 Apr 2010 10:20

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by balthasar_s »

Yesterday I downloaded and compiled v2.4.261. (OS: Debian Wheezy)
This is the first time I tried this patchpack.

Everything seemed to be ok until the AIs started.

Here are some screen shots:
ai_spring_screen.zip
(2.9 MiB) Downloaded 144 times
And a save game:
spring_fail_ai.sav
(300.8 KiB) Downloaded 140 times
Interesting...
So The AIs spammed the map with roads/stations/rails/whatever and ran out of money.

I gave some AIs much money to see what happens.

I think I know what's going on here .(It's most obvious when you see it happening in real time) Looks like there is a bug when the AIs do pathfinding.
Normally, in pathfinding algorithms such as the A*, for example, you start from one end (station) and try the neighbour tiles to see how to get from them to your previous tile. Then you test how to get to those tiles from their neighbours and so on until you reach the other end (I simplified it a little). But in this game it looks like every time the tile is tested the part of the path is actually built! Eventually, the both ends are connnected and the vehicles are built.

Another thing: At start I get a message that there are sprites missing. And there is indeed missing the sprte of the "X" to close a window. A big yellow "?" with weird background appears instead.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by Alberth »

Looks to me asif you have turned on debugging of path finding for trAINS in some way, at least that's what I'd do if I would need to understand what the path finder is doing.
Being a retired OpenTTD developer does not mean I know what I am doing.
User avatar
balthasar_s
Engineer
Engineer
Posts: 4
Joined: 06 Apr 2010 10:20

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by balthasar_s »

But it's not just trAIns.
All the AIs are doing this kind of pathfind spamming.
rashaverak
Engineer
Engineer
Posts: 16
Joined: 23 Jul 2006 23:23

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by rashaverak »

I have the same problem, seems like noone has ever played this pack with AI or we picked some specific settings which is broken.
User avatar
NekoMaster
Tycoon
Tycoon
Posts: 4001
Joined: 16 Aug 2008 22:26
Skype: neko-master
Location: Oshawa, Ontario, CANADA

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by NekoMaster »

I'd also like to confirm weird things with AI's, building crap tons of roads until they're broke, building bus/truck stops on every bit of road they can in towns, and building stupidly designed railroads much like they would with road pieces, covering vast area's (every tile).

I just assumed that AI are incompatible with something in this patch pack.
Image Proud Canadian Image
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
pi1985
Engineer
Engineer
Posts: 107
Joined: 16 May 2013 08:22
Location: Ukraine

Re: Spring 2013 Patch Pack - English Help (Updated 08/12/2016)

Post by pi1985 »

Hmm...
Maybe something had broken after update to current trunk. In 2.2.xx it works fine.
I tried with pathfinder from trunk without any result.
Image
Image
Image.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 15 guests