TGP - Merged

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

mart3p wrote:
Darkvater wrote:All I can say about the crashes is that they happen in GetSlopeZ(), landscape.c:163.
Could this be the aircraft shadow (off edge of map) bug that was introduced in the trunk at r5794 and fixed at r5841?
That is probably the case; did you play with: disasters on or with an airport close to the edge of the map? If so, it is the shadow bug.
MGSteve
Traffic Manager
Traffic Manager
Posts: 133
Joined: 11 Aug 2002 15:07
Location: Walsall, England

Post by MGSteve »

Just found a minor bug.

I had a ship setup with a route to a set of docks, which I then moved to another location, keeping the same station name. (built a few truck stops & moved it to the other end of the truck stops).

However, one ship still went to the old location & unloaded its cargo, even though the dock had gone!

Don't know it if makes a difference, but the ship had a couple of buoys in its route.

Only a couple did this, the rest went to the new docks ok.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

MGSteve wrote:Just found a minor bug.

I had a ship setup with a route to a set of docks, which I then moved to another location, keeping the same station name. (built a few truck stops & moved it to the other end of the truck stops).

However, one ship still went to the old location & unloaded its cargo, even though the dock had gone!

Don't know it if makes a difference, but the ship had a couple of buoys in its route.

Only a couple did this, the rest went to the new docks ok.
This is a bug in trunk; it only happens if the ships are currently heading to a dock (maybe also a depot/buoy) and you change the location of the dock. Please make a bug report at http://bugs.openttd.org as it is not TGP related.
Last edited by Rubidium on 16 Aug 2006 14:04, edited 1 time in total.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7597
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Rubidium wrote:Please make a bug report at bugs.openttd.org as it is not TGP related.
Gotta have a http:// to be a url
Image
MGSteve
Traffic Manager
Traffic Manager
Posts: 133
Joined: 11 Aug 2002 15:07
Location: Walsall, England

Post by MGSteve »

Born Acorn wrote:
Rubidium wrote:Please make a bug report at bugs.openttd.org as it is not TGP related.
Gotta have a http:// to be a url
And is the bug that the town doesn't build on slopes known?

i.e. if you have a town and a road which ends next to a slope which the player can build on (i.e. a corner), the town won't build on it.

Only noticed this in the scenario editor, rather than the game as I noticed that a town wouldn't expand when I clicked the expand button! But if I built the road and clicked Expand, it was fine.

Also, towns don't respect hills when expanding, they'll expand at the same level all the time. To get them to expand up a hill you need to lay the road down first - but shouldn't the town just grow up the hill?
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

That is AFAIK also the case in trunk, so it is not seen as a bug of TGP; TGP rather inherited the bug from trunk. It might be the case that the bug shows itself more in TGP as the landscape is more rough, i.e. less flat than the original generator generated.
xB
Engineer
Engineer
Posts: 5
Joined: 15 Aug 2006 11:37
Location: Mars
Contact:

Post by xB »

Rubidium wrote:
mart3p wrote:
Darkvater wrote:All I can say about the crashes is that they happen in GetSlopeZ(), landscape.c:163.
Could this be the aircraft shadow (off edge of map) bug that was introduced in the trunk at r5794 and fixed at r5841?
That is probably the case; did you play with: disasters on or with an airport close to the edge of the map? If so, it is the shadow bug.
Yeh, played with disasters on, on Hard difficulty, i don't really have any airport near the edge of the map, so i don't think thats the case.

So.. there's no way to solve it? Or no time for it?
Wuzaaaaaaaaaaa
User avatar
glx
OpenTTD Developer
OpenTTD Developer
Posts: 623
Joined: 02 Dec 2005 15:43
Location: Drancy(93) - France
Contact:

Post by glx »

xB wrote:So.. there's no way to solve it? Or no time for it?
Indeed it is already fixed in trunk and in TGP, but if you want it in TGP you need to compile it yourself (for trunk, there are nightly builds).
xB
Engineer
Engineer
Posts: 5
Joined: 15 Aug 2006 11:37
Location: Mars
Contact:

Post by xB »

glx wrote:Indeed it is already fixed in trunk and in TGP, but if you want it in TGP you need to compile it yourself (for trunk, there are nightly builds).
Guess I'll just wait until next tgp (test)release, if there is going to be any, though. All I can compile is a pile of survey-sheets :D
Wuzaaaaaaaaaaa
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

TGP has been merged with trunk. The next nightlies will therefor contain TGP.

Any bugs found in TGP can be reported at http://bugs.openttd.org

Thanks for testing!

Rubidium & TrueLight
Mateo
Engineer
Engineer
Posts: 11
Joined: 04 Aug 2006 23:21
Location: Espoo, Finland

Post by Mateo »

Great work! :)

Is it just me or is the VS8 project file broken? At least I managed to fix it by adding two missing closing "File" XML-tags.
Bot_40
Engineer
Engineer
Posts: 105
Joined: 27 Jan 2005 18:56
Contact:

Post by Bot_40 »

Well I don't really have anything constructive to say other than amazing work! This is a massive improvement to OpenTTD. Combined with building on steep slopes, this has made it a very happy week for me :p
User avatar
Gorre
Transport Coordinator
Transport Coordinator
Posts: 322
Joined: 03 Jan 2004 10:28
Location: Somewhere over the rainbow
Contact:

Post by Gorre »

You guys have my greatest respect for all the work you've done for this is something I was always dreaming of since the release of old daddy TT.
Thank You.
User avatar
Henkie
Engineer
Engineer
Posts: 46
Joined: 09 Oct 2004 14:37
Location: Zeelst, Veldhoven, Netherlands
Contact:

Post by Henkie »

Very nice feature, there is al most no need more for major terraforming. Which makes the game more realistic.

The landscape has improved also.

Great job, keep up the good work.
Houdoe

Henkie

P.S. I like playing with trains.
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

How can I determine a random seed of a savegame?
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

getseed in the in-game console
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Thank you.
User avatar
electricmonk
Engineer
Engineer
Posts: 50
Joined: 11 Aug 2006 08:20
Location: Earth

Post by electricmonk »

skidd13 wrote:
electricmonk wrote:
Darkvater wrote:You need dbghelp.dll 5.1 the least. You can get this from http://www.microsoft.com/whdc/devtools/ ... llx86.mspx
I just went to the microsoft page, but you can only download the entire debugging tools package that comes with an installer, and not the individual dll.
Try this one:
http://www.dlldump.com/download-dll-fil ... nload.html
OK. I tried it and it worked. Thanks. :D
User avatar
electricmonk
Engineer
Engineer
Posts: 50
Joined: 11 Aug 2006 08:20
Location: Earth

Random maps based on a heightmap.

Post by electricmonk »

Hi,

Nice work! 8)

The landscapes TGP generates are certainly a lot more interesting - in fact, tempting enough for me to consider abandoning the map I've been playing for the past 6 months (although I'll probably wait until 0.5 comes out before I do that).

Just a small feature-request. Would it be possible to be able to use the TGP map-generation algorithm to make deviations to an existing height-map? That way, I can define which areas I want to be the high-altitude areas, and which areas I want to be low-altitude areas.

One of the reasons I like playing the Arctic landscape is because it encourages me to build long lines to distant food-processing plants that are miles away from the nearest farm (and also for saw-mills that are miles away from a forest). Using the original map-generator, one half is low-lying land, and the other half is high-altitude land (my preference is "hilly"). Using the new TGP, the only way I can get large areas of high or low and is by creating a "mountainous" landscape with the "Very smooth" setting. This does give large areas of low and high land, but the resulting landscape is too smooth, and there's virtually no terraforming to be done. With a height-map that defined low and high areas, I could get the effect I wanted with "Hilly" or "Flat" with a "Very rough" setting.

The height-maps could leave land alone that is at height 0 - that way, you can define the shape of your islands and roughly where the high and low areas are going to be.

I think that the original map-generation algorithm for Arctic landscapes uses something similar with a 1-bit height-map with a triangular shape.

Also, is it possible to export a map as a heightmap?
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 2 guests