Git Product home page Git Product logo

openttd's People

Contributors

alberth289346 avatar egladil avatar frosch123 avatar glx22 avatar matthijskooijman avatar michicc avatar orudge avatar petern avatar planetmaker avatar rubidium42 avatar truebrain avatar ulfhermann avatar yexo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openttd's Issues

No reservation after autorefit

After autorefit the refitted vehicle doesn't reserve cargo in case of improved loading. This may lead to a later vehicle "stealing" cargo that should be loaded by the just refitted one.

Crash after whole map screenshot

Please send me e-mail via private message, then I'll send you crash.* files.

Crash encountered, generating crash log...
*** OpenTTD Crash Report ***

Crash at: Sun Jul 10 20:57:56 2011
In game date: 2421-08-25 (49)

Crash reason:
Signal: Segmentation fault (11)
Message:

OpenTTD version:
Version: gf679f163M (2)
NewGRF ver: 12005874
Bits: 32
Endian: little
Dedicated: no
Build date: Jul 10 2011 22:48:31

Stacktrace:
[00] bin/openttd(_ZNK12CrashLogUnix13LogStacktraceEPcPKc+0x43) [0x82fdab3]
[01] bin/openttd(_ZNK8CrashLog12FillCrashLogEPcPKc+0x102) [0x8219d82]
[02] bin/openttd(_ZNK8CrashLog12MakeCrashLogEv+0xa0) [0x821a040]
[03] bin/openttd() [0x82fda01]
[04] [0xb7749400]
[05] /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base+0x12) [0xb76a3fc2]
[06] /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base+0x1b) [0xb76a401b]
[07] bin/openttd(_ZNK16LinkGraphOverlay9DrawLinksEPK13DrawPixelInfo+0x30) [0x82705e0]
[08] bin/openttd(_ZNK16LinkGraphOverlay4DrawEPK13DrawPixelInfo+0x1f) [0x827079f]
[09] bin/openttd(_Z14ViewportDoDrawPK8ViewPortiiii+0xb1b) [0x83fc18b]
[10] bin/openttd() [0x8369f71]
[11] bin/openttd() [0x8369bcd]
[12] bin/openttd(_Z14MakeScreenshot14ScreenshotTypePKc+0x1c4) [0x836aae4]
[13] bin/openttd() [0x83b6f37]
[14] bin/openttd() [0x83b6fbd]
[15] bin/openttd(_ZN17MainToolbarWindow16OnDropdownSelectEii+0x15) [0x83b9025]
[16] bin/openttd(_ZN14DropdownWindow11OnMouseLoopEv+0x6e) [0x84113be]
[17] bin/openttd(_Z9InputLoopv+0x1d8) [0x8415838]
[18] bin/openttd(_Z8GameLoopv+0xd4) [0x82eeae4]
[19] bin/openttd(_ZN15VideoDriver_SDL8MainLoopEv+0x1cd) [0x83f8c6d]
[20] bin/openttd(_Z8ttd_mainiPPc+0xfbc) [0x82ed5fc]
[21] bin/openttd(main+0x48) [0x8141d58]
[22] /lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb6186e46]
[23] bin/openttd() [0x815d86d]

Operating system:
Name: Linux
Release: 2.6.39-2-686-pae
Version: #1 SMP Wed Jun 8 11:33:14 UTC 2011
Machine: i686
Compiler: GCC 4.6.1 "4.6.1"

Configuration:
Blitter: 8bpp-optimized
Graphics set: OpenGFX (672)
Language: /home/matma6/openttd-cargodist/bin/lang/polish.lng
Music driver: extmidi
Music set: OpenMSX (96)
Network: no
Sound driver: sdl
Sound set: OpenSFX (87)
Video driver: sdl

AI Configuration (local: 0):
0: Human

Libraries:
FontConfig: 2.8.0
FreeType: 2.4.4
ICU: 4.4.2
LZMA: 5.0.0
LZO: 2.04
PNG: 1.2.44
SDL: 1.2.14
Zlib: 1.2.3.4

---- gamelog start ----
Tick 0: new game started
Revision text changed to 1.1.1, savegame version 160, not modified, _openttd_newgrf_version = 0x11185800
New game mode: 1 landscape: 0
Added NewGRF: GRF ID 19060801, checksum 6CFC6328D999C140851BFE6514BA277A, filename: bigger_depots.0.3/bigdepot.grf (md5sum matches)
Added NewGRF: GRF ID 43485053, checksum 8E9EE7C03759548CF6F1D87BB07907B7, filename: chips_station_set-0.5/chips.grf (md5sum matches)
Added NewGRF: GRF ID 54632301, checksum 27C47A20D48022AF9A29B9ECBDD3232D, filename: cs_extras_set-1/stat-cs_extras-win.grf (md5sum matches)
Added NewGRF: GRF ID 54430201, checksum C837D48D657129DD915830D60D68E09F, filename: cs_stationset_v0.1-1/csstationsw.grf (md5sum matches)
Added NewGRF: GRF ID 54430202, checksum 081B62FD686AF2161866A0CF6EA043AC, filename: cs_platforms_set-1/csplatformsw.grf (md5sum matches)
Added NewGRF: GRF ID 44573553, checksum EF7529EBEAF35758EE07E628B25F608D, filename: dwenewobjects-v0.1/dwe_newobj.grf (md5sum matches)
Added NewGRF: GRF ID 44578619, checksum B30A5E35634A59D2BDD9C2389CEDBF2C, filename: dwestationtiles__fences-v1.2/fences.grf (md5sum matches)
Added NewGRF: GRF ID 44573452, checksum 48CF5FC0DEB895136F337A7E563FC66D, filename: dwestationtiles_industrial_ter-v0.7/dwe_stat_r.grf (md5sum matches)
Added NewGRF: GRF ID 37550501, checksum 9C4AB0EBA2C60349FB731DA17F2E655F, filename: esperanto_town_names-1.2/esperanto_town_names.grf (md5sum matches)
Added NewGRF: GRF ID 504E0002, checksum 6E6944E09CE6C3AC130DF72C542EE4B1, filename: generic_buffers.0.1/buffers.grf (md5sum matches)
Added NewGRF: GRF ID 52571208, checksum DC83DAB2933FACCB91678D4F75ABCCC6, filename: generic_cars-0.4/cars.grf (md5sum matches)
Added NewGRF: GRF ID 52570103, checksum EDB2D26F9D81423734CA12412F309CF3, filename: generic_tram_set.0.4/generictrams.grf (md5sum matches)
Added NewGRF: GRF ID 4A430002, checksum 0728ADCB4DF2F1EB9247ABD449296F4E, filename: industrial_stations_renewal.0.8.0/indstatrw.grf (md5sum matches)
Added NewGRF: GRF ID 51560000, checksum BFF369655BCEFB9F4905BB474C05EBE7, filename: polish_pkp_set-1.6/pkp_set_1.6.grf (md5sum matches)
Added NewGRF: GRF ID 52455200, checksum 0E5A9C5ACD2BCAF7FA0658C3F905A660, filename: rural_stations-1/ae_ruraw.grf (md5sum matches)
Added NewGRF: GRF ID 52455300, checksum 37C0B839B13C4B18051580C81EEDF427, filename: suburban_stations-1/ae_subuw.grf (md5sum matches)
Added NewGRF: GRF ID 54560301, checksum ED22416EE087725E4B5A9AF8F0357F29, filename: trolleybus_set-0.2/trolley.grf (md5sum matches)
Added NewGRF: GRF ID 444A5901, checksum 23CEC795D97265752C21EA8F02564A61, filename: vacuum_tube_train-0.22/vactrain.grf (md5sum matches)
Added NewGRF: GRF ID 444E0400, checksum 735D3D74D5DCADBF1FD6EF7A9C5A3519, filename: vast_station_tiles-0.2.0/vast.grf (md5sum matches)
Tick 58757: game loaded
Revision text changed to g4ce231db, savegame version 206, not modified, _openttd_newgrf_version = 0x1200584c
Tick 33353: game loaded
Revision text changed to gf679f163M, savegame version 206, modified, _openttd_newgrf_version = 0x12005874
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Crash log generated.

Writing crash log to disk...
Crash log written to /home/matma6/.openttd/crash.log. Please add this file to any bug reports.

Writing crash savegame...
Crash savegame written to /home/matma6/.openttd/crash.sav. Please add this file and the last (auto)save to any bug reports.

Writing crash screenshot...
Crash screenshot written to /home/matma6/.openttd/crash.png. Please add this file to any bug reports.

Write splitting and joining routines for link graph components

Splitting a link graph component could be done when removing a link.

  1. Check with BFS if both ends, A and B, of the removed link are still in the same component. If yes, nothing has to be done. BFS can be aborted if the other node is found.
  2. Create two new components.
  3. Run a full BFS starting at A and copy each found node into the first new component.
  4. Run a full BFS starting at B and copy each found node into the second new component.
  5. Delete the old component.

This should be fairly cheap if the nodes are still connected. It might be cheaper to "compress" the remaining component after step 3 instead of recreating and deleting it.

Joining two components is simply a matter of concatenating them, adding all edges in the right places and adjusting each node ID in the second component by the size of the first component.

Links between two "neutral" stations will show in the overlay regardless of selected companies

The overlay should only show links the selected companies are serving. However, as that is not detectable by the linkgraph itself, the filtering is done by station owner, assuming that a station can only be served by its owner. However, in the case of neutral stations, the station can be served by anyone and furthermore, the same link can "contain" vehicles of different companies. There is no obvious fix for that. Options include:

  1. When encountering a link between two neutral stations when building the overlay check all vehicles serving that link and then decide which companies it belongs to. This is a hack because for all other links we don't need to check the individual vehicles.
  2. Somehow store ownership of a link or a link graph in the link graph itself. This is complicated as neutral stations can be used as inter-company transfer points for cargo. This is a weird concept, already in trunk, as it allows a company to get the profit for the transporting another company has done. The problem is worsened by the fact that cargodist automatically transfers cargo.

The event of having links between two neutral stations might be so rare and the effect of the bug so insignificant that it may not be worth the extra code to fix it.

(cargo at station - consist capacity) is a bad heuristic for autorefit

WIth Cargodist cargo at the station may be heading in different directions than the vehicle being loaded. So deciding which cargo to refit to based on overall amount of cargo at the station is misleading; there may be a lot of cargo waiting but the vehicle is not necessarily able to load it.

The heuristic should be changed to check for cargo going in the same direction as the vehicle.

Segmentation fault on application start

When starting the latest version of cargodist (commit aeed7eee244168c19577575144eb9cef5d942367), openttd segfaults:

$ gdb ./bin/openttd
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
http://bugs.gentoo.org/...
Reading symbols from /mnt/wfiles/download/linux/openttd/cargodist/bin/openttd...done.
(gdb) run
Starting program: /mnt/wfiles/download/linux/openttd/cargodist/bin/openttd
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeacb5700 (LWP 15681)]
[Thread 0x7fffeacb5700 (LWP 15681) exited]
[New Thread 0x7fffeacb5700 (LWP 15682)]

Program received signal SIGSEGV, Segmentation fault.
GetCustomSignalSprite (rti=, tile=, type=, var=, state=SIGNAL_STATE_RED, gui=true) at /mnt/wfiles/download/linux/openttd/cargodist/src/newgrf_railtype.cpp:144
144 const SpriteGroup group = SpriteGroup::Resolve(rti->group[RTSG_SIGNALS], &object);
(gdb) bt
#0 GetCustomSignalSprite (rti=, tile=, type=, var=, state=SIGNAL_STATE_RED, gui=true) at /mnt/wfiles/download/linux/openttd/cargodist/src/newgrf_railtype.cpp:144
#1 0x0000000000716eda in ResolveRailTypeGUISprites (rti=0xcada60) at /mnt/wfiles/download/linux/openttd/cargodist/src/rail_cmd.cpp:101
#2 0x0000000000716f80 in InitRailTypes () at /mnt/wfiles/download/linux/openttd/cargodist/src/rail_cmd.cpp:116
#3 0x00000000006a09c3 in AfterLoadGRFs () at /mnt/wfiles/download/linux/openttd/cargodist/src/newgrf.cpp:9040
#4 LoadNewGRF (load_index=, file_index=255) at /mnt/wfiles/download/linux/openttd/cargodist/src/newgrf.cpp:9167
#5 0x00000000005f8fbf in LoadSpriteTables () at /mnt/wfiles/download/linux/openttd/cargodist/src/gfxinit.cpp:218
#6 GfxLoadSprites () at /mnt/wfiles/download/linux/openttd/cargodist/src/gfxinit.cpp:261
#7 0x00000000005ebd26 in GenerateWorld (mode=, size_x=, size_y=, reset_settings=true) at /mnt/wfiles/download/linux/openttd/cargodist/src/genworld.cpp:312
#8 0x00000000006d097c in ttd_main (argc=, argv=) at /mnt/wfiles/download/linux/openttd/cargodist/src/openttd.cpp:847
#9 0x00007ffff45b04cc in __libc_start_main (main=0x6e47a0 <main(int, char
*)>, argc=1, ubp_av=0x7fffffffda88, init=, fini=, rtld_fini=, stack_end=0x7fffffffda78) at libc-start.c:226
#10 0x00000000004f2349 in _start ()

(gdb)

Note that it seems to work just fine when it is compiled with CFLAGS=-O0 or -O1.

collect link stats in link graph components

Instead of keeping a separate data structure for link stats they can equally well be directly rwitten to the link graph components. This involves creating and joining link graph components on the fly and updating them where link stats are updated now.

minimum frequency of visits for links to stay active

With the current way of measuring link capacity links have to be visited frequently in order for cargo distribution to consider them. There is a timeout based on the distance the link covers. When that timeout is hit the link is removed. Cargo can only be automatically distributed over links known at the moment when the link graph is created.

Players don't understand that and complain about their cargo not being automatically distributed when links are visited only rarely.

gradual loading doesn't work as expected with reservation

Cargo is always reserved so that each vehicle is filled up in the order they're processed. So the first vehicles in a consist are reserved up to their capacity while the last ones may be left empty. If cargo is loaded from reservations then there is no "gradual loading". This might be fixed by restricting the amount of cargo reserved in ReserveConsist in economy.cpp.

Crash

Game crashed while I was just creating a new Train (but has possibly nothing to do with that)

*** OpenTTD Crash Report ***

Crash at: Tue May 31 11:57:48 2011
In game date: 1970-12-28 (52)

Crash reason:
Exception: E1212012
Location: 000007FEFDE3AA7D
Message: Assertion failed at line 3275 of ..\src\station_cmd.cpp: capacity >= usage

OpenTTD version:
Version: gd799588c-cd (0)
NewGRF ver: 120057dc
Bits: 64
Endian: little
Dedicated: no
Build date: May 27 2011 04:29:13

Registers:
RAX: 0000000077E7FDBD RBX: 0000000000000016 RCX: 00000000002ADB50 RDX: 0000000000000000
RSI: 0000000000000000 RDI: 0000000000000008 RBP: 000000000000000D RSP: 00000000002AE160
R8: 0000000000000000 R9: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286
R12: 000000013FB8D458 R13: 000000013F469E00 R14: 0000000000000001 R15: 0000000077B7F59B
RIP: 000007FEFDE3AA7D EFLAGS: 00000206

Bytes at instruction pointer:
48 81 C4 C8 00 00 00 C3 90 90 90 90 90 90 90 90 90 90 90 48 83 EC 48 83

Stack trace:
00000016 00000000 00000000 00000000 00000008 00000000 002AE198 00000000
E1212012 00000000 00000000 00000000 FDE3AA7D 000007FE 00000000 00000000
00000048 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000070 00000000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 77B8C333 00000000
003C0230 00000000 77CAFBEA 00000000 003C0398 00000000 00000000 00000000
00000000 00000000 77B8A01B 00000000 00000000 00000000 77C936B8 00000000
00000001 00000000 3F563491 00000001 00000016 00000000 16D13AB7 00000000
00459980 00000000 003C0230 00000000 00000000 00000000 77CA77DA 00000000
009B6620 00000000 77B7F59B 00000000 00000000 00000000 02311CE0 00000000
0609B240 00000000 05F83CB0 00000000 0609B420 00000000 3F56277E 00000001
00000001 00000000 023634B0 00000000 00000032 00000000 00000002 00000000
00000000 00000000 77CBF5E5 00000000 00000000 00000000 00000000 00000000
77CF937C 00000000 72000072 00000000 002AE328 00000000 00000030 00000003
77B7F5BA 00000000 72000072 00000000 009B4208 00000000 002AE358 00000000
00000000 00000000 009B6620 00000000 00000016 00000000 00000000 00000000
00000000 00000000 77C936B8 00000000 77CB5810 00000000 77B9764C 00000000
00030520 00000000 009B6620 00000000 00000001 00000000 00000001 00000000
00000001 00000000 AC0A145D FFFFFFFF 00000000 00000000 00000000 00000000
00000001 00000000 00000010 00000000 00444FF0 00000000 003C0000 00000000
00444FE0 00000000 77CC1885 00000000 003C0000 00000000 00444F01 00000000
00000000 00000000 00444FF0 00000000 00030520 00000000 77BE32C4 00000000
00000001 00000000 00030520 00000000 77BE32C4 00000000 002AE760 00000000
00000000 00000000 3FC18B96 00000001 00010003 00000000 00000001 00000000
00000001 00000000 77BE2825 00000000 00444FF0 00000000 00444FF0 00000000

Operating system:
Name: Windows
Release: 6.1.7600 ()
Compiler: MSVC 1500

Configuration:
Blitter: 8bpp-optimized
Graphics set: OpenGFX (622)
Language: C:\games\OpenTTD-Cargodist\lang\english_US.lng
Music driver: win32
Music set: NoMusic (0)
Network: no
Sound driver: win32
Sound set: OpenSFX (87)
Video driver: win32

AI Configuration (local: 0):
0: Human

Libraries:
FreeType: 2.4.4
ICU: 4.4.2
LZMA: 5.0.0
LZO: 2.03
PNG: 1.4.5
Zlib: 1.2.5

Module information:
C:\games\OpenTTD-Cargodist\openttd.exe handle: 000000013F220000 size: 10139648 crc: 6653BBD1 date: 2011-05-27 02:33:44
C:\Windows\SYSTEM32\ntdll.dll handle: 0000000077C70000 size: 1739176 crc: 08AFD0C3 date: 2010-10-27 05:16:01
C:\Windows\system32\kernel32.dll handle: 0000000077A50000 size: 1162240 crc: 822946F0 date: 2009-07-14 01:41:13
C:\Windows\system32\KERNELBASE.dll handle: 000007FEFDE30000 size: 421376 crc: 68F689E4 date: 2009-07-14 01:41:13
C:\Windows\system32\WINMM.dll handle: 000007FEFC880000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
C:\Windows\system32\msvcrt.dll handle: 000007FEFE040000 size: 634880 crc: 7F3E716F date: 2009-07-14 01:41:32
C:\Windows\system32\USER32.dll handle: 0000000077B70000 size: 1008640 crc: 95FA0345 date: 2009-07-14 01:41:56
C:\Windows\system32\GDI32.dll handle: 000007FEFE0E0000 size: 404480 crc: 0F1BAE69 date: 2009-07-14 01:40:56
C:\Windows\system32\LPK.dll handle: 000007FEFF130000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
C:\Windows\system32\USP10.dll handle: 000007FEFFE90000 size: 801280 crc: 32EFA120 date: 2009-07-14 01:41:56
C:\Windows\system32\WS2_32.dll handle: 000007FEFF040000 size: 296448 crc: B9553AFD date: 2009-07-14 01:41:58
C:\Windows\system32\RPCRT4.dll handle: 000007FEFF7B0000 size: 1221632 crc: D5B6358C date: 2009-07-14 01:41:53
C:\Windows\system32\NSI.dll handle: 000007FEFFD00000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
C:\Windows\system32\ADVAPI32.dll handle: 000007FEFE180000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFFF60000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
C:\Windows\system32\SHELL32.dll handle: 000007FEFE260000 size: 14162944 crc: 38C0D5D7 date: 2010-07-27 14:59:11
C:\Windows\system32\SHLWAPI.dll handle: 000007FEFF1E0000 size: 449536 crc: 0BFDF102 date: 2009-07-14 01:41:54
C:\Windows\system32\IMM32.DLL handle: 000007FEFE150000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
C:\Windows\system32\MSCTF.dll handle: 000007FEFFA10000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
C:\Windows\system32\guard64.dll handle: 0000000180000000 size: 360976 crc: 7970B999 date: 2011-05-28 23:06:43
C:\Windows\system32\fltlib.dll handle: 000007FEFDBC0000 size: 19456 crc: C0616299 date: 2009-07-14 01:40:54
C:\Windows\system32\SHFolder.dll handle: 000007FEF5270000 size: 10240 crc: 08A48DE3 date: 2009-07-14 01:41:54
C:\Windows\system32\ole32.dll handle: 000007FEFF4C0000 size: 2085376 crc: 4764DDC2 date: 2010-06-29 05:39:12
C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFBAA0000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
C:\Windows\system32\PROPSYS.dll handle: 000007FEFBF70000 size: 1212416 crc: 98D01BC9 date: 2009-07-14 01:41:53
C:\Windows\system32\OLEAUT32.dll handle: 000007FEFF6D0000 size: 861184 crc: 112732BA date: 2010-04-07 07:37:39
C:\Windows\system32\wdmaud.drv handle: 000007FEFB430000 size: 217088 crc: AB6BC545 date: 2009-07-14 01:38:50
C:\Windows\system32\ksuser.dll handle: 0000000075930000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
C:\Windows\system32\AVRT.dll handle: 000007FEFB6B0000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
C:\Windows\system32\SETUPAPI.dll handle: 000007FEFFB20000 size: 1899520 crc: 91ED5D15 date: 2009-07-14 01:41:54
C:\Windows\system32\CFGMGR32.dll handle: 000007FEFDEC0000 size: 207360 crc: 369326FC date: 2009-07-14 01:40:15
C:\Windows\system32\DEVOBJ.dll handle: 000007FEFDEA0000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
C:\Windows\system32\AUDIOSES.DLL handle: 000007FEF5540000 size: 296448 crc: 07CA71DE date: 2009-07-14 01:40:04
C:\Windows\system32\msacm32.drv handle: 000007FEF5510000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
C:\Windows\system32\MSACM32.dll handle: 000007FEF54F0000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
C:\Windows\system32\midimap.dll handle: 000007FEF54E0000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFDAF0000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFF140000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
C:\Windows\system32\uxtheme.dll handle: 000007FEFBEE0000 size: 332288 crc: B0A13DF9 date: 2009-07-14 01:41:56
C:\Windows\system32\dwmapi.dll handle: 000007FEFBA80000 size: 82432 crc: A459F360 date: 2009-07-14 01:40:34
C:\Windows\system32\mswsock.dll handle: 000007FEFD430000 size: 320000 crc: EA387916 date: 2009-07-14 01:41:34
C:\Windows\System32\wshtcpip.dll handle: 000007FEFCE00000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
C:\Windows\system32\psapi.dll handle: 0000000077E30000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 0: new game started
Revision text changed to gd799588c-cd, savegame version 205, not modified, openttd_newgrf_version = 0x120057dc
New game mode: 1 landscape: 0
Added NewGRF: GRF ID 4D656F95, checksum 3750573263E42B2E6406907429832559, filename: ecs_wood_vector-1.1.118may2011\ecswood.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F91, checksum 0D8931D0CDAAF76B67F3AA29CBD36572, filename: ecs_town_vector-1.1.118may2011\ecstown.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F94, checksum 7F7F0C2C1F417FEFA8640CB1B1ABC6DC, filename: ecs_machinery_vector-1.1.118may2011\ecsmach.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9D, checksum 92BD4FE62E9534747C09A7C7C0DE569F, filename: ecs_houses-1.1.118may2011\ecshouse.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F96, checksum 682C2B4B460032782186BF03AE2C156C, filename: ecs_construction_vector-b527dec2010\ecsconstw.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9C, checksum 3161EF59181D9526A11BCFE3D5325453, filename: ecs_chemical_vector_ii-1.1.118may2011\ecschem2.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F9F, checksum 6544EAC9EE5402CAF46860C8453FF7E1, filename: ecs_basic_vector_ii-1.1.118may2011\ecsbas2.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F92, checksum 623D110A69F1768C7DCD8E9B7DB1D503, filename: ecs_basic_vector.b5__25_nov_2009
\ecsbasicw.grf (md5sum matches)
Added NewGRF: GRF ID 4D656F97, checksum FDE064778117506194C2BFA0FE7B8F7F, filename: ecs_agricultural_vector-1.1.118may2011\ecsagri.grf (md5sum matches)
Added NewGRF: GRF ID 4A530116, checksum 5851D9D288081316D39BF3D3AB6C65F5, filename: ecs_cargoset_for_standard_ttd_ve-2010.12.05\ecsrefit.grf (md5sum matches)
Added NewGRF: GRF ID 4A530117, checksum 89A2A4BFC9BFFE1158A6BBBBEA33975B, filename: ecs__firs_vehicle_set-2011.01.01\efrefit.grf (md5sum matches)
Added NewGRF: GRF ID 11223301, checksum 474A7FF52E675DED3154101B58B3E3C7, filename: 2cc_chimaera_addon.2\chim.grf (md5sum matches)
Added NewGRF: GRF ID 27711003, checksum 1DD625FFF9805756C848E19BDDA162C3, filename: 2cc_trainset-2.0.0beta4.1\2cctrainset.grf (md5sum matches)
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] KERNELBASE 0x000007FEFDE3AA7D RaiseException + 61
[01] openttd 0x000000013F563491
[02] openttd 0x000000013F56277E
[03] openttd 0x000000013F273F11
[04] openttd 0x000000013F363760
[05] openttd 0x000000013F29873A
[06] openttd 0x000000013F378F25
[07] openttd 0x000000013F3797D7
[08] openttd 0x000000013F37B80E
[09] openttd 0x000000013F37BB4A
[10] openttd 0x000000013F295CF1
[11] openttd 0x000000013F277110
[12] openttd 0x000000013F27738D
[13] openttd 0x000000013F468741
[14] openttd 0x000000013F275C84
[15] openttd 0x000000013F46AC0A
[16] openttd 0x000000013F56558D
[17] kernel32 0x0000000077A6F56D BaseThreadInitThunk + 13
[18] ntdll 0x0000000077CA2CC1 RtlUserThreadStart + 33

*** End of additional info ***

Replace moving averages

Instead of constantly visiting all stats to apply moving averages capacities can be constantly incremented without any correction until the link graph jobs are run. A member "start_date" of Edge would tell how long the stats collection is already running.

There should be an additional link graph job which would "compress" all link stats by dividing capacity by a certain factor and setting the start_date to something more recent. It could also handle splitting due to link timeouts.

properly implement order modifications in link graph

When task 4 is done we can construct a meaningful linkgraph on the fly. This means we can add passby (with either loading or unloading allowed), import and export nodes while knowing all orders. Thus we don't need any strange flag collections and extra station IDs any more to signal order modifications to the link graph. We also don't need a normalizing link graph job then.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.