Re: JGR's Patch Pack
Posted: 20 Jan 2018 15:00
There is a bug in 0.22.2: real running costs are scaled with daylength, but in vehicle window they are as for 1:1, which is ambiguous.
The place to talk about Transport Tycoon
https://www.tt-forums.net/
McZapkie wrote:There is a bug in 0.22.2: real running costs are scaled with daylength, but in vehicle window they are as for 1:1, which is ambiguous.
Tintinfan wrote:Greetings,
I'm not really sure if this is a bug report or an unfortunate side effect of using daylength, not really noticed this till I started playing with the value at 7 and 14. The values for "running cost" shown in the purchase/train information windows remain fixed, while the actual running cost and "train running costs" in the finances window differ. It appears that daylength either scales actual running cost up or down, making a game harder or easier - but the expected running cost remains the same.
A quick test shows that you get the following results, which make even less sense to me;
Daylength 1 = Actual: 878 / Displayed: 878 (x1)
Daylength 3 = Actual: 2525 / Displayed: 841 (x3)
Daylength 5 = Actual: 1286 / Displayed: 832 (x1.54)
Daylength 7 = Actual: 66 / Displayed: 825 (x0.07)
Is this strange behaviour to be expected, is it a bug or is there a way to keep all the running costs values the same I am missing?
EDIT: Added some savegames, might help anybody that wants to observe in-game.
Should be the same issue and reportedJGR wrote:Thanks for reporting this issue, this is fixed now and will be in the next release.
Friendly reminder, if you haven't changed your mind yetandythenorth wrote:I can compile for Mac OS, remind me later this week. This is a one time offer, not a repeat service.
Not quite.ISA wrote:Should be the same issue and reported
Before 0.22.2, the real running costs were scaled linearly for day lengths 1 - 3. For day lengths > 3 the running costs were incorrectly calculated.McZapkie wrote:In previous versions, running cost were the same regardless of daylength factor
In both cases the value displayed in the GUI has been left unchanged.McZapkie wrote:vehicle window show value for 1:1.
Not sure if it is bug or feature?
Code: Select all
*** OpenTTD Crash Report ***
Crash at: Sat Jan 27 15:38:19 2018
In game date: 1942-10-31 (65, 0)
Crash reason:
Exception: E1212012
Location: 00007FFB910C3FB8
Message: Assertion failed at line 203 of /home/jgr/openttd/cross-win64/src/train_cmd.cpp: u->First() == this
OpenTTD version:
Version: jgrpp-0.22.2 (0)
NewGRF ver: 18006d3b
Bits: 64
Endian: little
Dedicated: no
Build date: Jan 14 2018 23:47:46
Configure: ./configure --host=x86_64-w64-mingw32 --prefix=/home/jgr/mingw64/ CFLAGS=-I/home/jgr/mingw64/include LDFLAGS=-L/home/jgr/mingw64/lib --without-sdl --without-icu --with-lzo2=/home/jgr/mingw64/lib/liblzo2.a
Stack trace:
00000000 00000000 0000002F 00000000 037FAA30 00000000 037FAA5F 00000000
E1212012 00000000 00000000 00000000 910C3FB8 00007FFB 00000000 00000000
00000001 00000000 007DEDA7 00000000 A0073F57 0000595B 037FA9E0 00000000
00000000 00000000 928CA41A 00007FFB 037FA9D8 00000000 4CC23915 00000004
FFFFFFFE FFFFFFFF 00001FD0 00000000 037FAA30 00000000 0060AB27 00000000
00000000 00000000 00004030 00000000 037FAA30 00000000 0054527D 00000000
86930034 0000B18F 037FAA30 00000000 037FAA5F 00000000 005797D5 00000000
00000016 00000000 037FAA30 00000000 00000000 00000000 0000004F 00000000
00004774 00002BAC 00200002 00004000 00000000 00000000 09009C26 4396F4BE
99B89C9F D7CA40EF 00000000 00007FFB 2A7E1BE0 00000000 878FFFBD 00007FFB
0780B250 00000000 00000000 00000000 64616F4C 20676E69 72756F79 76617320
6D616765 61632065 64657375 65704F20 4454546E 206F7420 73617263 540A2E68
20736968 70207369 61626F72 20796C62 73756163 62206465 20612079 72726F63
69747075 69206E6F 6874206E 61732065 61676576 0A2E656D 61656C50 66206573
20656C69 75622061 65722067 74726F70 646E6120 74746120 20686361 73696874
76617320 6D616765 000A2E65 00000004 00000004 00000004 00000005 00000005
00004774 00002BAC 00200002 00004000 00000000 00000000 09009C26 4396F4BE
99B89C9F D7CA40EF 00000002 00000004 00000004 00000004 00000046 0000000A
00000004 00000000 00330000 00000000 07810190 00000000 037FAB90 00000000
00000000 00000000 037FA940 00000000 00000005 00000000 3000000C 7FFFFFFF
20000000 00000009 00000000 00060001 000B2290 00000000 94A367D6 00007FFB
000B5640 00000000 000B3260 00000000 2ADDCC20 00000000 7FC67DB0 00007FFB
001A0FC0 00000000 00000000 00000000 001A0000 00000000 2ADEF0C0 00000000
00000000 00000000 00000000 00000000 00200005 00004000 00002BAC 00000000
Registers:
RAX: 00007FFB7FACB498 RBX: 000000000000002F RCX: 0000000007812FF0 RDX: 0000000007845060
RSI: 00000000037FAA30 RDI: 00000000037FAA5F RBP: 000000002A82DAF0 RSP: 00000000037FA8E0
R8: 00000000037FA520 R9: 0000000000000000 R10: 0000C00000200003 R11: 0000000000000078
R12: 0000000000000016 R13: 0000000000D520A8 R14: 00000000005795B0 R15: 0000000000000001
RIP: 00007FFB910C3FB8 EFLAGS: 00000206
Bytes at instruction pointer:
48 8B 8C 24 C0 00 00 00 48 33 CC E8 98 E6 06 00 48 81 C4 D8 00 00 00 C3
Operating system:
Name: Windows
Release: 6.2.9200 ()
Compiler: GCC 5.3.1 "5.3.1 20160211"
Configuration:
Blitter: 32bpp-sse2-anim
Graphics set: OpenGFX (5580)
Language: F:\Games\OpenTTD-jgrpp\lang\dutch.lng
Music driver: win32
Music set: NoMusic (0)
Network: no
Sound driver: win32
Sound set: NoSound (2)
Video driver: win32
Fonts:
Small: sprite
Medium: sprite
Large: sprite
Mono: sprite
AI Configuration (local: 0) (current: 0):
0: Human
Libraries:
FreeType: 2.6.0
LZMA: 5.2.1
LZO: 2.09
PNG: 1.5.23
Zlib: 1.2.8
Module information:
F:\Games\OpenTTD-jgrpp\openttd.exe handle: 0000000000400000 size: 39178136 crc: 2E39BC6F date: 2018-01-14 23:48:43
C:\WINDOWS\SYSTEM32\ntdll.dll handle: 00007ffb94a10000 size: 1954048 crc: 32E2C889 date: 2018-01-01 12:48:26
C:\WINDOWS\System32\KERNEL32.DLL handle: 00007ffb94460000 size: 702568 crc: 26053BED date: 2017-09-29 13:42:04
C:\WINDOWS\System32\KERNELBASE.dll handle: 00007ffb910b0000 size: 2514944 crc: FB3E3347 date: 2017-09-29 13:41:43
C:\WINDOWS\System32\ADVAPI32.dll handle: 00007ffb94120000 size: 649304 crc: 1EA4BBC8 date: 2018-01-01 12:47:06
C:\WINDOWS\System32\msvcrt.dll handle: 00007ffb92890000 size: 630752 crc: D96A352D date: 2017-12-07 23:28:09
C:\WINDOWS\System32\sechost.dll handle: 00007ffb94980000 size: 371424 crc: 5F5ADC2E date: 2017-09-29 13:41:43
C:\WINDOWS\System32\RPCRT4.dll handle: 00007ffb941d0000 size: 1173576 crc: 05459EFD date: 2018-01-01 12:43:31
C:\WINDOWS\System32\GDI32.dll handle: 00007ffb91f50000 size: 154008 crc: 988E7AE4 date: 2017-09-29 13:41:28
C:\WINDOWS\System32\gdi32full.dll handle: 00007ffb91470000 size: 1636376 crc: 7EBC1C7F date: 2017-11-26 13:38:37
C:\WINDOWS\System32\msvcp_win.dll handle: 00007ffb91320000 size: 628632 crc: 7A1C439F date: 2017-09-29 13:41:43
C:\WINDOWS\System32\ucrtbase.dll handle: 00007ffb91610000 size: 1003104 crc: 464ECC4B date: 2017-12-07 23:22:55
C:\WINDOWS\System32\USER32.dll handle: 00007ffb94510000 size: 1634288 crc: AB65005C date: 2017-12-07 23:34:35
C:\WINDOWS\System32\win32u.dll handle: 00007ffb90ec0000 size: 119440 crc: 7CB2506F date: 2017-09-29 13:41:31
C:\WINDOWS\System32\IMM32.dll handle: 00007ffb947f0000 size: 173640 crc: D95A028D date: 2017-09-29 13:41:45
C:\WINDOWS\System32\combase.dll handle: 00007ffb91f80000 size: 3180720 crc: 87207CC3 date: 2017-09-29 13:41:44
C:\WINDOWS\System32\bcryptPrimitives.dll handle: 00007ffb91e60000 size: 464408 crc: E51422D3 date: 2017-11-26 13:27:43
C:\WINDOWS\System32\SHELL32.dll handle: 00007ffb92930000 size: 21352144 crc: C9F04755 date: 2018-01-01 12:23:58
C:\WINDOWS\System32\cfgmgr32.dll handle: 00007ffb90e10000 size: 287944 crc: B2701D08 date: 2017-09-29 13:41:44
C:\WINDOWS\System32\shcore.dll handle: 00007ffb93d70000 size: 671024 crc: 34F13DE7 date: 2017-09-29 13:41:37
C:\WINDOWS\System32\windows.storage.dll handle: 00007ffb91710000 size: 7676296 crc: 027970F2 date: 2018-01-01 12:41:18
C:\WINDOWS\System32\shlwapi.dll handle: 00007ffb94790000 size: 327008 crc: 6A326994 date: 2017-09-29 13:41:57
C:\WINDOWS\System32\kernel.appcore.dll handle: 00007ffb90db0000 size: 54368 crc: 292B0640 date: 2017-09-29 13:41:30
C:\WINDOWS\System32\powrprof.dll handle: 00007ffb90d60000 size: 299688 crc: 2A10AD8C date: 2017-09-29 13:41:43
C:\WINDOWS\System32\profapi.dll handle: 00007ffb90df0000 size: 93640 crc: 37910F15 date: 2017-09-29 13:41:44
C:\WINDOWS\System32\WS2_32.dll handle: 00007ffb946a0000 size: 428352 crc: D6B4E02D date: 2017-09-29 13:41:43
C:\WINDOWS\SYSTEM32\WINMM.dll handle: 00007ffb87af0000 size: 123072 crc: C756E1A2 date: 2017-09-29 13:41:25
C:\WINDOWS\SYSTEM32\winmmbase.dll handle: 00007ffb87880000 size: 159680 crc: 0801FBAD date: 2017-09-29 13:41:25
C:\WINDOWS\system32\uxtheme.dll handle: 00007ffb8f540000 size: 587776 crc: EECA9649 date: 2017-09-29 13:42:00
C:\WINDOWS\System32\MSCTF.dll handle: 00007ffb942f0000 size: 1463856 crc: 8AD1E1B5 date: 2017-10-21 18:10:02
C:\WINDOWS\System32\OLEAUT32.dll handle: 00007ffb94050000 size: 793960 crc: 1C598840 date: 2017-09-29 13:41:43
c:\program files\nvidia corporation\nvstreamsrv\nvinject.dll handle: 00007ffb661a0000 size: 154928 crc: C0CE41BE date: 2018-01-05 21:24:14
C:\WINDOWS\system32\dwmapi.dll handle: 00007ffb8f610000 size: 147864 crc: E074A2FB date: 2017-09-29 13:41:41
C:\WINDOWS\SYSTEM32\TextInputFramework.dll handle: 00007ffb878e0000 size: 617304 crc: EBB7B360 date: 2018-01-01 12:32:30
C:\WINDOWS\SYSTEM32\CoreMessaging.dll handle: 00007ffb8ec10000 size: 898216 crc: D40FE329 date: 2018-01-01 12:46:23
C:\WINDOWS\SYSTEM32\CoreUIComponents.dll handle: 00007ffb7faa0000 size: 3074824 crc: AC875490 date: 2017-09-29 13:41:28
C:\WINDOWS\SYSTEM32\ntmarta.dll handle: 00007ffb8fea0000 size: 187064 crc: BCFBDC90 date: 2017-09-29 13:41:43
C:\WINDOWS\SYSTEM32\wintypes.dll handle: 00007ffb8b7a0000 size: 1269616 crc: 4A31FEED date: 2017-09-29 13:41:44
C:\WINDOWS\system32\mswsock.dll handle: 00007ffb90590000 size: 402992 crc: C9E3ADEF date: 2017-09-29 13:41:44
C:\WINDOWS\SYSTEM32\MMDevAPI.DLL handle: 00007ffb8b970000 size: 438608 crc: 967DA176 date: 2017-09-29 13:41:23
C:\WINDOWS\SYSTEM32\DEVOBJ.dll handle: 00007ffb90b70000 size: 150528 crc: 8531EECF date: 2017-09-29 13:41:44
C:\WINDOWS\SYSTEM32\PROPSYS.dll handle: 00007ffb8d200000 size: 1777848 crc: EB7DC555 date: 2017-09-29 13:41:31
C:\WINDOWS\SYSTEM32\wdmaud.drv handle: 00007ffb66800000 size: 244224 crc: 1C9D0D5D date: 2017-09-29 13:41:23
C:\WINDOWS\SYSTEM32\AVRT.dll handle: 00007ffb7f860000 size: 30048 crc: 8A8EFA03 date: 2017-09-29 13:41:23
C:\WINDOWS\SYSTEM32\ksuser.dll handle: 00007ffb82380000 size: 23352 crc: 92FC8D38 date: 2017-09-29 13:41:25
C:\WINDOWS\SYSTEM32\AUDIOSES.DLL handle: 00007ffb68b40000 size: 1170008 crc: C3576060 date: 2018-01-01 12:35:16
C:\WINDOWS\SYSTEM32\msacm32.drv handle: 00007ffb819b0000 size: 28672 crc: E81668A1 date: 2017-09-29 13:41:23
C:\WINDOWS\SYSTEM32\MSACM32.dll handle: 00007ffb667e0000 size: 106472 crc: BEC2999B date: 2017-09-29 13:41:23
C:\WINDOWS\SYSTEM32\midimap.dll handle: 00007ffb818d0000 size: 24576 crc: AFE10C07 date: 2017-09-29 13:41:23
C:\WINDOWS\System32\clbcatq.dll handle: 00007ffb927f0000 size: 626592 crc: CCEF35B2 date: 2017-09-29 13:41:41
C:\WINDOWS\System32\psapi.dll handle: 00007ffb94820000 size: 18712 crc: DD419C6C date: 2017-09-29 13:41:41
---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.6.1, savegame version 195, not modified, _openttd_newgrf_version = 0x16186bd9
New game mode: 2 landscape: 1
Added NewGRF: GRF ID 454E0101, checksum C1EEEABF84A08839E2AF8607029FC762, filename: modern_maglev_trains-1.1\mmt.grf (md5sum matches)
Added NewGRF: GRF ID 544D0101, checksum 390EA6B640721D3A80200F2A1474B183, filename: 2cc_trainsinnml-2.0alpha1\2ccts.grf (md5sum matches)
Tick 1280: GRF config changed
Added NewGRF: GRF ID 45520C00, checksum FCF4EE39F19C02D9E8603D07621DDD99, unknown GRF
Added NewGRF: GRF ID 52453400, checksum B2E27B74A3894198A00139CFCF09D011, filename: japanese_buildings-3.1\jpbuild.grf (md5sum matches)
Added NewGRF: GRF ID 52453200, checksum A222F0B3BCF0CFE187A7868116A00C49, filename: japanset_landscape-3.2\jpland.grf (md5sum matches)
Added NewGRF: GRF ID 2C320A01, checksum 065916BDB63F43BBB4A686E1B4954004, filename: japanese_signals-3.0\jpsignals.grf (md5sum matches)
Added NewGRF: GRF ID 45530500, checksum D9BE5AFA481FC3E0A96E6EB72B455612, filename: japanese_stations-3.6\jpstations.grf (md5sum matches)
Added NewGRF: GRF ID 44503000, checksum 0BF5A48500990CF4CBFED5D7CC6ED120, filename: japanese_tracks-3.2\jptracks.grf (md5sum matches)
Added NewGRF: GRF ID 52453300, checksum EF6A4519AD4C18B9B9112B8D7083862D, filename: japanese_trees-3.0\jptrees.grf (md5sum matches)
Added NewGRF: GRF ID 74677563, checksum 8A53DE2FF752868097FBE403FACD8DA4, filename: total_bridge_renewal_japan-1.12\total_bridgesw.grf (md5sum matches)
Tick 1280: settings changed
Setting changed: vehicle.road_side : 1 -> 0
Tick 1280: GRF config changed
Removed NewGRF: GRF ID 454E0101, filename: modern_maglev_trains-1.1\mmt.grf (md5sum matches)
Removed NewGRF: GRF ID 544D0101, filename: 2cc_trainsinnml-2.0alpha1\2ccts.grf (md5sum matches)
Added NewGRF: GRF ID 535A0D00, checksum 21AC703CAB2BE6A80FAF2344366FE0C1, filename: japanese_train_set-3.3\jptrains.grf (md5sum matches)
Added NewGRF: GRF ID 44501401, checksum 5B9D588504701CCC2BB14CDB1F18D06B, filename: japanese_maglevs-3.1\jptrainsadd.grf (md5sum matches)
Added NewGRF: GRF ID 474C0000, checksum 1E5E4C815B905749AAE94142C1A67B8B, filename: japanese_faces-3.0\jpfaces.grf (md5sum matches)
Added NewGRF: GRF ID 54420101, checksum A6B5EAE6320FC2C1A3A62D6D7295E029, filename: toei_interconnection_addon_set-1.7alpha\tias.grf (md5sum matches)
Tick 1280: GRF config changed
Removed NewGRF: GRF ID 45520C00, unknown GRF
Added NewGRF: GRF ID 4A4D0101, checksum AFE4E75999A3FF92D4B01DBEE9A803E9, filename: sailing_ships-0.62\ss.grf (md5sum matches)
Added NewGRF: GRF ID 52571203, checksum 7CE88A25DDB058C1BE577B88D049B274, filename: egrvts2-188\egrvts2.grf (md5sum matches)
Added NewGRF: GRF ID 41501202, checksum B13DD8FB0D7C34CACAC2FE68BD137BB9, filename: heqs_heavy_equipment_set-1.5.2\heqs.grf (md5sum matches)
Added NewGRF: GRF ID FBFB0010, checksum 2A0082F909643FFB6624BD510EBDDA4D, filename: 2cc_trams-0.1.0beta2\trams-2cc.grf (md5sum matches)
Tick 1280: game loaded
Revision text changed to jgrpp-0.22.1, savegame version 196, not modified, _openttd_newgrf_version = 0x18006d1f
New game mode: 1 landscape: 1
Tick 61097: game loaded
Revision text changed to jgrpp-0.22.2, savegame version 196, not modified, _openttd_newgrf_version = 0x18006d3b
---- gamelog end ----
Command Log:
Showing most recent 0 of 0 commands
*** End of OpenTTD Crash Report ***
Decoded stack trace:
[00] KERNELBASE 0x00007FFB910C3FB8 RaiseException + 104
[01] openttd 0x00000000005797D5 HandleSavegameLoadCrash (/home/jgr/openttd/cross-win64/src/saveload/afterload.cpp:470)
[02] msvcrt 0x00007FFB928BA786 raise + 518
[03] msvcrt 0x00007FFB928BEBAE abort + 46
[04] openttd 0x000000000053511F error(char const*, ...) + 95 (/home/jgr/openttd/cross-win64/src/openttd.cpp:130)
[05] openttd 0x00000000006406FF Train::ConsistChanged(ConsistChangeFlags) + 399 (/home/jgr/openttd/cross-win64/src/train_cmd.cpp:203)
[06] openttd 0x00000000005AC5E1 AfterLoadVehicles(bool) + 3249 (/home/jgr/openttd/cross-win64/src/saveload/vehicle_sl.cpp:385)
[07] openttd 0x000000000057C68D AfterLoadGame() + 3357 (/home/jgr/openttd/cross-win64/src/saveload/afterload.cpp:919)
[08] openttd 0x000000000059593D DoLoad (/home/jgr/openttd/cross-win64/src/saveload/saveload.cpp:2999)
[09] openttd 0x0000000000599C93 SaveOrLoad(char const*, SaveLoadOperation, DetailedFileType, Subdirectory, bool) + 307 (/home/jgr/openttd/cross-win64/src/saveload/saveload.cpp:3110)
[10] openttd 0x000000000053729F SafeLoad(char const*, SaveLoadOperation, DetailedFileType, GameMode, Subdirectory, LoadFilter*) + 223 (/home/jgr/openttd/cross-win64/src/openttd.cpp:1089)
[11] openttd 0x000000000053744C SwitchToMode(SwitchMode) + 316 (/home/jgr/openttd/cross-win64/src/openttd.cpp:1178)
[12] openttd 0x0000000000538F0E GameLoop() + 78 (/home/jgr/openttd/cross-win64/src/openttd.cpp:1638)
[13] openttd 0x0000000000670089 VideoDriver_Win32::MainLoop() + 457 (/home/jgr/openttd/cross-win64/src/video/win32_v.cpp:1291)
[14] openttd 0x0000000000536AE7 openttd_main(int, char**) + 5479 (/home/jgr/openttd/cross-win64/src/openttd.cpp:918)
[15] openttd 0x0000000000545E7F WinMain + 239 (/home/jgr/openttd/cross-win64/src/os/windows/win32.cpp:469)
[16] openttd 0x00000000004013ED __tmainCRTStartup + 573 (/build/mingw-w64-_1w3Xm/mingw-w64-4.0.4/mingw-w64-crt/crt/crtexe.c:332)
[17] openttd 0x00000000004014FB WinMainCRTStartup + 27 (/build/mingw-w64-_1w3Xm/mingw-w64-4.0.4/mingw-w64-crt/crt/crtexe.c:184)
[18] KERNEL32 0x00007FFB94471FE4 BaseThreadInitThunk + 20
[19] ntdll 0x00007FFB94A7EFB1 RtlUserThreadStart + 33
*** End of additional info ***
Thanks for the bug report.Kaasschaaf wrote:Had a crash on both 0.22.1 and 0.22.2 when loading the same savegame (and every single preceding autosave).
The savegame is the Tohuku JS scenario with a few changed settings (like enabling cargodist). Love your patchpack otherwise.
I have used Template Replacement once in this save (to replace steam hauled trains with EMU's), though it didn't cause problems in other scenarios.JGR wrote:Thanks for the bug report.Kaasschaaf wrote:Had a crash on both 0.22.1 and 0.22.2 when loading the same savegame (and every single preceding autosave).
The savegame is the Tohuku JS scenario with a few changed settings (like enabling cargodist). Love your patchpack otherwise.
Could you also post the savegame/scenario file which causes the crash when loaded, and/or the "Tohuku JS" scenario file?
Have you used the template replacement feature so far?
Several things are broken in the crash savegame, this makes it difficult to return it to a fully working state, or see where the problem originated.Kaasschaaf wrote:I have used Template Replacement once in this save (to replace steam hauled trains with EMU's), though it didn't cause problems in other scenarios.JGR wrote:Thanks for the bug report.Kaasschaaf wrote:Had a crash on both 0.22.1 and 0.22.2 when loading the same savegame (and every single preceding autosave).
The savegame is the Tohuku JS scenario with a few changed settings (like enabling cargodist). Love your patchpack otherwise.
Could you also post the savegame/scenario file which causes the crash when loaded, and/or the "Tohuku JS" scenario file?
Have you used the template replacement feature so far?
Also, it's Tokaido JS, not Tohuku JS, excuse me for that. Also available on BaNaNaS. The original scenario does work, but somewhere in my playthrough it decided to only save corrupted files or something.
romazoon wrote:Hello JGR !
We still enjoy so much your patchpack and (some of us) praise you like an OTTD godthanks for your continuous effort !
Now we just had a server crash, we use the 0.22.1 still, so if the bug is fixed just ignore the rest of this message . Though this time it seems not template related, it seems i had a message about a tunnel that caused the crash, and a player ,Davo Hunter, told me : "I was doing a tram for the small bus company. It had an issue doing the tunnel, but it completed it and I missed a corner piece, so it hitting the end probably broke it"
Also, you can also totally ignore this report if you feel we tinkered a bit too much with the newgrfs list.... (btw you ll need some grfs not publicly available so PM the list of the one you needs and i ll send it asap)
Edit : It was probably a tramway trying to reverse at tunnel's mouth....we ll update our server, sorry for the very probably useless report
Indeed, this should be fixed already.HackaLittleBit wrote:I think JGR fixed that one.
see rev 29445
Fix assertion failure when trams do a short turnaround in a tunnel mouth
Another savegame probably isn't necessary after all. This looks like it was most likely caused by simultaneous use of autoreplace and template replacement on the same train. I've implemented a fix which should prevent this issue in future.JGR wrote:Several things are broken in the crash savegame, this makes it difficult to return it to a fully working state, or see where the problem originated.Kaasschaaf wrote:I have used Template Replacement once in this save (to replace steam hauled trains with EMU's), though it didn't cause problems in other scenarios.
Also, it's Tokaido JS, not Tohuku JS, excuse me for that. Also available on BaNaNaS. The original scenario does work, but somewhere in my playthrough it decided to only save corrupted files or something.
Would you be able to upload one of the autosaves, which when loaded causes the crash? This may have fewer issues.
I uploaded the most recent non-crash save.JGR wrote:Several things are broken in the crash savegame, this makes it difficult to return it to a fully working state, or see where the problem originated.Kaasschaaf wrote:I have used Template Replacement once in this save (to replace steam hauled trains with EMU's), though it didn't cause problems in other scenarios.JGR wrote: Thanks for the bug report.
Could you also post the savegame/scenario file which causes the crash when loaded, and/or the "Tohuku JS" scenario file?
Have you used the template replacement feature so far?
Also, it's Tokaido JS, not Tohuku JS, excuse me for that. Also available on BaNaNaS. The original scenario does work, but somewhere in my playthrough it decided to only save corrupted files or something.
Would you be able to upload one of the autosaves, which when loaded causes the crash? This may have fewer issues.
Thanks for letting me know about this. I'll probably have to forward this to the person who did the integration of scheduled dispatch and departure boards for them to look at however.wjhunt78 wrote:1) When running a (bus) line with multiple vehicles with shared orders and using scheduled dispatch, there seems to be a problem with the departure board sometimes. This only appears when setting the "Delay" in scheduled dispatch on a higher value than 0 (if I put delay on 0, everything works perfectly fine).
The undesired behaviour: when a vehicle arrives (on time) on the starting point and waits for departure until scheduled time, the word "Arrived" appears on the departure board, BUT it appears on a wrong line, not on the line of the real departure time, but on the line of another departure, sometimes 3 or more departures later. When I click on the timetable of the waiting vehicle, the correct departure time is shown and the vehicle leaves at the correct time also. Only the word "Arrived" on the departure board is with the wrong departure time.
Edit: this might be due to vehicles being replaced in depots (automatically or manually) messing up their order and seems solvable by pressing the "Reset last dispatched" button in Scheduled dispatch. But still it would be nice of this would not need to be done everytime a vehicle is replaced.
This is fixed now. It'll be in the next release.wjhunt78 wrote:2) When putting a waiting time of 0 (ticks/minutes) at a station in a timetable, the departure is not shown on the departure board of that station. This annoys me a bit, because I like to use the "travel for 10 minutes, wait for 0 minutes" setup for my timetables. I'm forced now to use ticks, so I use the "travel for 599 ticks, wait for 1 tick", but this is not as convenient.
Thanks, there's a fixed savegame in this post though: viewtopic.php?p=1201948#p1201948Kaasschaaf wrote:I uploaded the most recent non-crash save.
Thanks, I investigated a bit further and I think this problem specifically arises when a vehicles arrives at a stop within the delay margin of an earlier departure, for example: if departures are scheduled at .00, .10. .20 etc. with a permitted delay of 5 minutes and the vehicle that's supposed to leave at .10 arrives at .03 (while the .00 departure left according to schedule), things get strange.JGR wrote:Thanks for letting me know about this. I'll probably have to forward this to the person who did the integration of scheduled dispatch and departure boards for them to look at however.
Love that, thank you so much!JGR wrote:This is fixed now. It'll be in the next release.
Could you also tell me what mode is the departure board in? D only? A and D? Things work much differently internally between modes.wjhunt78 wrote: Thanks, I investigated a bit further and I think this problem specifically arises when a vehicles arrives at a stop within the delay margin of an earlier departure, for example: if departures are scheduled at .00, .10. .20 etc. with a permitted delay of 5 minutes and the vehicle that's supposed to leave at .10 arrives at .03 (while the .00 departure left according to schedule), things get strange.