TGP - Merged

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

Moderator: OpenTTD Developers

hertogjan
Director
Director
Posts: 560
Joined: 03 Jan 2006 20:45
Location: Netherlands

Post by hertogjan »

It's not a bug, as far as I can observe. When creating a savegame, the settings are stored in the savegame file. If you save your game again, and load it, then the problem should be solved. (If not, then it is a bug).
Note that changing a setting in-game does not affect the "global" settings (which are stored in the openttd.cfg file and are used for new games). You can change those "global" setting before you start a new game in the opening screen. Those settings do not affect settings that are stored in a savegame.

I hope that this clarifies the problem a bit.
Pot Head
Engineer
Engineer
Posts: 6
Joined: 09 Aug 2006 23:25

Cheers

Post by Pot Head »

Thanks for the explaniation hertogjan.

Yep changing and saving was all fine.

Just a bit annoying for me as I expected it to save in the global.
I guess this is done this way for the sake of scenarios.

Maybe someone could add a button in the ingame menu for the game option to save as default. Would be a nice touch.

If I could I would. LOL ;-)

Thanks for the help.

Regards,
Rob
PoshSpod
Engineer
Engineer
Posts: 1
Joined: 10 Aug 2006 23:59

Oil Refineries

Post by PoshSpod »

All of this discussion about oil well and platforms is a bit academic since the maps TGP come up with hardly ever seem to have any oil refineries. A quick test seems to suggest that they only ever come up on about half the time - and if you set the water level to high then they virtually never appear.

Looks like TGP maps never have any land close enough to the edge of the map.
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Looks like you missed the "max distance from edge for oil refineries" option in the Construction panel of configure options. Unlike original OTTD (distance 16), TGP allows a distance up to 48 tiles in from the map edge. But you can choose what that distance is. Personally I prefer about 24-32.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
User avatar
MacLir
Engineer
Engineer
Posts: 48
Joined: 10 Aug 2006 18:07
Location: Marion, OH

Post by MacLir »

Darkvater: File has been attached to my original post on the third page.
User avatar
electricmonk
Engineer
Engineer
Posts: 50
Joined: 11 Aug 2006 08:20
Location: Earth

Post by electricmonk »

Hi,

I just tried the Windows version ( OTTD-win32-TGP-r5818-TGP.zip ) under Windows 2000 and got the following error-message when I attempted to start:
openttd.exe - Entry Point Not Found
The procedure entry point MiniDumpWriteDump could not be located in the dynamic link library dbghelp.dll
After that, the program ended.

My dbghelp file in C:\WINNT\system32 is version 5.0.2195.6613 . I also have MSVC 6 installed on my machine (this may or may not affect the dbghelp.dll file in some way, but I thought I'd mention it anyway).

Also, OpenTTD 0.4.7 works just fine on my machine.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

electricmonk wrote:Hi,

I just tried the Windows version ( OTTD-win32-TGP-r5818-TGP.zip ) under Windows 2000 and got the following error-message when I attempted to start:
openttd.exe - Entry Point Not Found
The procedure entry point MiniDumpWriteDump could not be located in the dynamic link library dbghelp.dll
After that, the program ended.

My dbghelp file in C:\WINNT\system32 is version 5.0.2195.6613 . I also have MSVC 6 installed on my machine (this may or may not affect the dbghelp.dll file in some way, but I thought I'd mention it anyway).

Also, OpenTTD 0.4.7 works just fine on my machine.
Does the same happen when you try to run the latest nightly (http://nightly.openttd.org/)?
User avatar
electricmonk
Engineer
Engineer
Posts: 50
Joined: 11 Aug 2006 08:20
Location: Earth

Multilingual town names.

Post by electricmonk »

Although I've not been able to get the current TGP version to run on my machine, I have a suggestion for map-generation.

When the town-names are being created, would it be possible for it to generate names of multiple nationalities in the same map depending on the region? For example, it would divide the map into 4 squares. The towns in the top-left square would have English names, the top right square would have towns with Swedish names, the bottom left would have Spanish town-names, and Turkish names in the bottom right. Of course, the map could be divided into any number of squares, or rectangles, or even user-defined shapes. This should be easy to implement (just check the co-ordinates of the town centre when assigning a name). A somewhat harder to implement version of the above is for the map-generator to use rivers, valeys or mountains to divide the nationalities of the town-names, or even give each island (in an island-based map) it's own nationality of town-names.

This would be a good first step in giving each region of the map some form of regional identity. It would give players who like concentrating on a particular area of the map a 'home-area' to chose from. In co-operative multiplayer games, each player can chose the town-name-language of their area of concentration.

On large maps, it is easier to guess the area by being able to tell the nationality of the town-name. If a subsidy offer comes up, I can instantly tell if it's anywhere near where I'm trying to build up a network just by being able to see the nationality of the town-names involved. Otherwise, I'd have to check the mini-map to find out where the towns are (and for large maps, this involves additional scrolling to see where the towns are in relation to the rest of the map).

If we're going to have lots of new town-name-languages, at least let the map generator have some means of mixing them.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

Rubidium wrote:
electricmonk wrote:My dbghelp file in C:\WINNT\system32 is version 5.0.2195.6613 . I also have MSVC 6 installed on my machine (this may or may not affect the dbghelp.dll file in some way, but I thought I'd mention it anyway).

Also, OpenTTD 0.4.7 works just fine on my machine.
Does the same happen when you try to run the latest nightly (http://nightly.openttd.org/)?
You need dbghelp.dll 5.1 the least. You can get this from http://www.microsoft.com/whdc/devtools/ ... llx86.mspx

Or can someone attach his windows XP dbghelp.dll file here? Just download it and put it into your OpenTTD directory.

I added dbghelp to this build of TGP to try and find bugs easier on release builds, but misread that the function only works with the dll file supplied with Windows XP. My apologies for that.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
electricmonk
Engineer
Engineer
Posts: 50
Joined: 11 Aug 2006 08:20
Location: Earth

Post by electricmonk »

Rubidium wrote:Does the same happen when you try to run the latest nightly
I just tried OTTD-win32-nightly-r5836.zip and it works just fine.
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.
Darkvater wrote:Or can someone attach his windows XP dbghelp.dll file here?
I would appreciate it if someone did that. Would using the WinXP dbghelp.dll cause problems on Win2K even if I place it in my OpenTTD directory instead of the WINNT directory?
User avatar
skidd13
OpenTTD Developer
OpenTTD Developer
Posts: 522
Joined: 03 Mar 2005 10:49
Location: Germany

Post by skidd13 »

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
What does that mean - the circumstances? I determine what circumstances prevail. -- Napoleon Bonaparte
---
If we cannot end now our differences, at least we can help make the world safe for diversity. -- John F. Kennedy
---
Our problems are man-made, therefore they may be solved by man. No problem of human destiny is beyond human beings. -- John F. Kennedy
MGSteve
Traffic Manager
Traffic Manager
Posts: 133
Joined: 11 Aug 2002 15:07
Location: Walsall, England

Post by MGSteve »

Well, I've run a few heightmaps through the scenario generator and that side of things seems to work well. Haven't noticed anything seriously wrong though.

btw, if anyone's interested, I've posted the scenario maps I made from the heightmap - a detailed map of the UK.
xB
Engineer
Engineer
Posts: 5
Joined: 15 Aug 2006 11:37
Location: Mars
Contact:

Fatal Application Failure

Post by xB »

The game crashed on 21st September 2051

Code: Select all

*** OpenTTD Crash Report ***
Date: 2006-08-15 13:35:34
Build: r5818-TGP built on Aug  9 2006 23:28:30
Exception C0000005 at 0040CF15
Registers:
 EAX: 100C7BFA EBX: FFFFFFA1 ECX: 01E10020 EDX: FFFFFFA1
 ESI: 00C8CF30 EDI: 00C8CCD8 EBP: 0012FC98 ESP: 0012FC84
 EIP: 0040CF15 EFLAGS: 00010206

Bytes at CS:EIP:
 0F B6 0C C1 C1 E9 04 8B 34 8D A0 3D 4B 00 8B C8 FF 56 04 5E C2 04 00 57

Stack trace: 
 000031F7 00C8CF30 004528A5 000031F7 0012FCB4 0012FCC4 00453400 000031F8
 00000087 004F0940 00C8CCD8 00000000 FFFFFFA1 000031F8 100C7BFA 100C7BFA
 77D3E655 0042AD89 00C2D742 00000000 0041FE2F 00000000 004200BA 77D3C96C
 0043312B 0056C740 00000040 0012FD88 00000001 00000000 00000000 0004022C
 0000000F 00000000 00000000 00C2D706 000001F7 00000168 0041F865 7C80B6A1
 00000001 7FFDB000 003C0178 FFFFFFFF 0012FD9C 004E4638 00000000 7C803500
 7C8043EC 003C0178 00000001 003C3800 00000000 003C37F0 7C800000 003C0100
 0012FD54 003C0178 0012FD8C 00000000 00000000 FFFFFFFF FFFFFFFF 00000000
 0000FE98 0012FE98 00431AAA 0012FD98 00000000 00142371 00000103 7C919AEB
 004A89B0 00000000 0000FFFF 003C0178 002426B8 003C0178 7C80261C 00000006
 002426C8 0012FE98 7C800000 7C913288 003C37F0 0012FDEC 00000011 00006C7B
 00000000 7C80AE2A 73490000 636F7250 6F737365 003C37E8 003C0168 00000000
 00000000 004EA024 0049A12E 0012FE50 0049F00B 003C0000 00000000 0049F014
 0049A12E 004EA024 7C910945 7C91094E 7C80B6A1 00020000 7FFDB000 0012FE7C
 00497DDC 7FFDB000 7C901005 0012FE34 00495A6D 0012FE94 7C90EE18 7C910970
 7C97E4C0 7C8021B5 7C802011 7C80B6A1 00000000 7FFDB000 0049EE46 0012FE88
 004EA004 969CD59F 0049FBC3 00000022 00000000 0012FFC0 00496A3B 00400000
 00000000 00142396 00000001 00000094 00000005 00000001 00000A28 00000002
 76726553 20656369 6B636150 00003220 E3DBF000 E3DC0000 E3DC1000 E3DC2000
 E3DC3000 E3DC4000 E3DC5000 E3DC6000 E3DC7000 E3DC8000 E3DC9000 E3DCA000
 E3DCB000 FFFFFFFF F81BFC08 81C92020 00000300 00015402 00000001 0000000D
 00000000 0000000D 00002DBF 8055E880 F81BFC48 80548FC1 823F6000 004968CF
 00380032 00320034 7FFDB000 00000044 00143870 00143880 00143898 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000C01 00000001

Module information:
 D:\HRY\OpenTTD-0480\TGP\openttd.exe handle: 00400000 size: 1026560 crc: 72837645 date: 2006-08-09 21:46:00
 C:\WINDOWS\system32\ntdll.dll handle: 7C900000 size: 702976 crc: 8AD07FC0 date: 2004-08-17 13:48:58
 C:\WINDOWS\system32\kernel32.dll handle: 7C800000 size: 982528 crc: 72D3E10B date: 2006-07-05 10:57:10
 C:\WINDOWS\system32\WINMM.dll handle: 76B30000 size: 174592 crc: C1DD6CED date: 2004-08-17 13:49:22
 C:\WINDOWS\system32\USER32.dll handle: 77D30000 size: 577024 crc: 190300C9 date: 2005-03-02 18:18:13
 C:\WINDOWS\system32\GDI32.dll handle: 77F10000 size: 280064 crc: 093E7F35 date: 2005-12-29 02:56:05
 C:\WINDOWS\system32\ADVAPI32.dll handle: 77DC0000 size: 683520 crc: 6B3A0E70 date: 2004-08-17 13:49:02
 C:\WINDOWS\system32\RPCRT4.dll handle: 77E70000 size: 581120 crc: 125D007F date: 2004-08-17 13:49:18
 C:\WINDOWS\system32\WS2_32.dll handle: 71A90000 size: 82944 crc: FFA4CF1E date: 2004-08-17 13:49:22
 C:\WINDOWS\system32\msvcrt.dll handle: 77C00000 size: 343040 crc: 6A2686C9 date: 2004-08-17 13:49:14
 C:\WINDOWS\system32\WS2HELP.dll handle: 71A80000 size: 19968 crc: 4AC7C8FE date: 2004-08-17 13:49:22
 C:\WINDOWS\system32\dbghelp.dll handle: 59C50000 size: 640000 crc: 6EE419F1 date: 2004-08-17 13:49:06
 C:\WINDOWS\system32\VERSION.dll handle: 77BF0000 size: 18944 crc: 07A7952F date: 2004-08-17 13:49:20
 C:\WINDOWS\system32\MsgPlusLoader.dll handle: 10000000 size: 58952 crc: 872AF036 date: 2006-05-12 07:29:38
 C:\WINDOWS\system32\WINTRUST.dll handle: 76C20000 size: 176640 crc: 40693C80 date: 2004-08-17 13:49:22
 C:\WINDOWS\system32\CRYPT32.dll handle: 77A70000 size: 600576 crc: E19980D6 date: 2004-08-17 13:49:04
 C:\WINDOWS\system32\MSASN1.dll handle: 77B10000 size: 57344 crc: F07BCC59 date: 2004-08-17 13:49:12
 C:\WINDOWS\system32\IMAGEHLP.dll handle: 76C80000 size: 144384 crc: 20A7ACDC date: 2004-08-17 13:49:10
 C:\WINDOWS\system32\wdmaud.drv handle: 72CE0000 size: 23552 crc: EBECCDA4 date: 2004-08-17 13:49:30
 C:\WINDOWS\system32\msacm32.drv handle: 72CD0000 size: 20480 crc: D2823952 date: 2002-09-23 12:00:00
 C:\WINDOWS\system32\MSACM32.dll handle: 77BD0000 size: 71680 crc: D3683295 date: 2004-08-17 13:49:12
 C:\WINDOWS\system32\midimap.dll handle: 77BC0000 size: 18944 crc: D659D067 date: 2004-08-17 13:49:12
 C:\WINDOWS\system32\ole32.dll handle: 774D0000 size: 1284608 crc: A542E856 date: 2005-07-26 04:42:51
 C:\WINDOWS\system32\uxtheme.dll handle: 5B250000 size: 219648 crc: 6CA0924F date: 2005-12-26 20:23:37
 C:\WINDOWS\system32\MSCTF.dll handle: 746F0000 size: 294400 crc: E1B54328 date: 2004-08-17 13:49:12
 C:\Program Files\Logitech\SetPoint\GameHook.dll handle: 003F0000 size: 45056 crc: 8E798407 date: 2005-01-28 13:31:34
 C:\Program Files\Logitech\SetPoint\lgscroll.dll handle: 10100000 size: 57344 crc: 75AD2F9E date: 2005-01-28 13:34:04
 C:\WINDOWS\system32\MSVCR71.dll handle: 7C340000 size: 348160 crc: 35563170 date: 2005-11-27 12:46:02
 C:\WINDOWS\system32\MSVCP71.dll handle: 7C3A0000 size: 499712 crc: 5A3B11D4 date: 2005-11-27 12:46:02
 C:\WINDOWS\system32\CLBCATQ.DLL handle: 76FC0000 size: 498688 crc: 134E70A0 date: 2005-07-26 04:42:50
 C:\WINDOWS\system32\COMRes.dll handle: 77040000 size: 806912 crc: ECC3A078 date: 2004-08-17 13:49:04
 C:\WINDOWS\system32\OLEAUT32.dll handle: 77110000 size: 553472 crc: 06FB770B date: 2004-08-17 13:49:16
 C:\WINDOWS\system32\dmime.dll handle: 60D60000 size: 181248 crc: F1F24A6B date: 2004-08-17 13:49:06
 C:\WINDOWS\system32\DSOUND.dll handle: 73ED0000 size: 367616 crc: AA126B1F date: 2004-08-17 13:49:06
 C:\WINDOWS\system32\dmusic.dll handle: 6CF00000 size: 104448 crc: A279DE73 date: 2004-08-17 13:49:06
 C:\WINDOWS\system32\KsUser.dll handle: 73EA0000 size: 4096 crc: A00D5272 date: 2004-08-17 13:49:10
 C:\WINDOWS\system32\dmsynth.dll handle: 6CF20000 size: 103424 crc: 0C61433F date: 2004-08-17 13:49:06
 C:\WINDOWS\system32\dmloader.dll handle: 6CF90000 size: 35840 crc: C427F6C0 date: 2004-08-17 13:49:06
 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll handle: 773C0000 size: 1050624 crc: 834CC0E3 date: 2004-08-17 13:48:02
 C:\WINDOWS\system32\SHLWAPI.dll handle: 77F60000 size: 474112 crc: 73470C38 date: 2006-06-23 11:16:56
 C:\WINDOWS\system32\mswsock.dll handle: 71A30000 size: 247296 crc: B38CA7EE date: 2004-08-17 13:49:14
 C:\WINDOWS\system32\hnetcfg.dll handle: 698B0000 size: 345088 crc: 31FEBF7B date: 2004-08-17 13:49:08
 C:\WINDOWS\System32\wshtcpip.dll handle: 71A70000 size: 19968 crc: 1F23F4FE date: 2004-08-17 13:49:22
 C:\WINDOWS\system32\mslbui.dll handle: 60AE0000 size: 25600 crc: 4997855E date: 2004-08-17 13:49:14
 C:\Program Files\CursorXP\CurXP0.dll handle: 01A10000 size: 14848 crc: 9288E862 date: 2005-01-19 15:34:24
 C:\WINDOWS\system32\psapi.dll handle: 76BE0000 size: 23040 crc: 1FA9C6D7 date: 2004-08-17 13:49:16

System information:
 Windows version 5.1 2600 Service Pack 2
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Re: Fatal Application Failure

Post by Darkvater »

xB wrote:The game crashed on 21st September 2051

Code: Select all

*** OpenTTD Crash Report ***
Date: 2006-08-15 13:35:34
Build: r5818-TGP built on Aug  9 2006 23:28:30
Exception C0000005 at 0040CF15[/quote]

save.dmp? eg where is it? Please attach.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
xB
Engineer
Engineer
Posts: 5
Joined: 15 Aug 2006 11:37
Location: Mars
Contact:

Post by xB »

Do you mean this?
Attachments
crash_dmp.zip
(10.65 KiB) Downloaded 192 times
MGSteve
Traffic Manager
Traffic Manager
Posts: 133
Joined: 11 Aug 2002 15:07
Location: Walsall, England

Post by MGSteve »

erm, has anyone else got it to work as a dedicated host, mine won't work, just comes up with a Network error....

"Dedicated server could not be launched. Aborting".

But 0.48RC2 on my machine works fine and I can host a server through the game itself, just can't run it in dedicated...?
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Post by Rubidium »

MGSteve wrote:erm, has anyone else got it to work as a dedicated host, mine won't work, just comes up with a Network error....

"Dedicated server could not be launched. Aborting".
This is a known & fixed fact. If you can compile it yourself; the latest revision of the TGP branch should work.
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

/me hits himself in the head with a big stone...

I did not save the debug database of the windows TGP build, so all crash.dmp files are useless. Mainly because even if I check out branches/TGP r5181 I cannot generate the same binary as I supplied to TrueLight.

Even more, it seems ever build (rebuild all), produces a slightly different binary. Is this normal for a compiler? :?

All I can say about the crashes is that they happen in GetSlopeZ(), landscape.c:163.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
MGSteve
Traffic Manager
Traffic Manager
Posts: 133
Joined: 11 Aug 2002 15:07
Location: Walsall, England

Post by MGSteve »

Rubidium wrote:
MGSteve wrote:erm, has anyone else got it to work as a dedicated host, mine won't work, just comes up with a Network error....

"Dedicated server could not be launched. Aborting".
This is a known & fixed fact. If you can compile it yourself; the latest revision of the TGP branch should work.
Ah, cheers. I would recompile it if I had a C compiler! ;) - If I had the time I'd dust off my C programming skills and have a poke around myself. Problem is time, the lack of it :(
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

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?
Image
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 12 guests