Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Tue Jun 18, 2013 5:20 am

All times are UTC




Post new topic Reply to topic  [ 1017 posts ]  Go to page Previous  1 ... 36, 37, 38, 39, 40, 41, 42 ... 51  Next
Author Message
PostPosted: Mon Jun 23, 2008 10:38 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 12, 2008 7:38 pm
Posts: 2010
Location: Euxton, Lancashire, UK
cmoiromain wrote:
the problem is surely due to the fact that YAPP is based on YAPF, which doesn't handle 90° turns IIRC. Therefore the is no other solution than disabling 90° turns, and change your network to delete them. An that will only be benefic for your trains, who will have to slow down less.


Right thank you for telling me that thats the only method, i just keep getting people telling to use the 90 degrees method, but i wanted another method but nobody thought to tell there wasn't one.

Thank you :D

_________________
Previously Known As Beardie27
Check out my Railway Photography and Deviant Account


Image


Top
 Profile  
 
PostPosted: Mon Jun 23, 2008 11:07 pm 
Offline
President
President
User avatar

Joined: Sun Jun 18, 2006 6:18 pm
Posts: 951
Location: Switzerland
Sorry Beardie

Didn't see what you really want, maybe a entrance like that would solve your problem:
Attachment:
beardie27.png
beardie27.png [ 22.79 KiB | Viewed 3805 times ]


Michi, I have quickly tested the new release, you fixed the assert with driving in a reserved path, but there are still some problems, Check it tomorrow further.

Greets
Ammler

_________________
Image
Town Names: Image Portuguese Image Belarusian Image French Image Swiss · Image Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!


Top
 Profile  
 
PostPosted: Tue Jun 24, 2008 9:01 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 12, 2008 7:38 pm
Posts: 2010
Location: Euxton, Lancashire, UK
Ammler wrote:
Sorry Beardie
Didn't see what you really want, maybe a entrance like that would solve your problem:


Thanks mate, wow never really thought of that and it works, lol.

_________________
Previously Known As Beardie27
Check out my Railway Photography and Deviant Account


Image


Top
 Profile  
 
PostPosted: Wed Jun 25, 2008 6:54 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1465
Michi_cc wrote:
@Rubidium: For your playing style (i.e. very large spread out stations), setting pf.yapf.rail_pbs_station_penalty to a high value like 4000 gives a better distribution of trains over the platforms.

What affect does that have on smaller stations?

_________________
He's like, some kind of OpenTTD developer.


Top
 Profile  
 
PostPosted: Wed Jun 25, 2008 8:03 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon Jun 14, 2004 11:27 pm
Posts: 567
Location: Hannover, Germany
peter1138 wrote:
What affect does that have on smaller stations?

On the resulting path probably nothing, but it will make YAPF search more tiles before giving up. This means you'll get more CPU burn without getting a better path as result, because on smaller stations without several separated parts the best path will normaly be found even without the extra searching.

-- Michael Lutz

_________________
-- Michael Lutz


Top
 Profile  
 
PostPosted: Wed Jun 25, 2008 8:12 am 
Offline
Director
Director

Joined: Sun Mar 11, 2007 4:50 pm
Posts: 542
Ammler wrote:
Didn't see what you really want, maybe a entrance like that would solve your problem:


Perhaps place the exit signal a little further?


Top
 Profile  
 
PostPosted: Wed Jun 25, 2008 9:58 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1465
Hmm, could the value then be variable based on the size or layout of the station, somehow?

_________________
He's like, some kind of OpenTTD developer.


Top
 Profile  
 
PostPosted: Wed Jun 25, 2008 9:33 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 12, 2008 7:38 pm
Posts: 2010
Location: Euxton, Lancashire, UK
Draakon wrote:
Ammler wrote:
Didn't see what you really want, maybe a entrance like that would solve your problem:


Perhaps place the exit signal a little further?


In what sense

_________________
Previously Known As Beardie27
Check out my Railway Photography and Deviant Account


Image


Top
 Profile  
 
PostPosted: Thu Jun 26, 2008 9:50 am 
Offline
Director
Director

Joined: Sun Mar 11, 2007 4:50 pm
Posts: 542
Beardie27 wrote:
Draakon wrote:
Ammler wrote:
Didn't see what you really want, maybe a entrance like that would solve your problem:


Perhaps place the exit signal a little further?


In what sense


In that sense by making PBS working properly to not have jams.


Top
 Profile  
 
PostPosted: Thu Jun 26, 2008 10:25 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 12, 2008 7:38 pm
Posts: 2010
Location: Euxton, Lancashire, UK
Draakon wrote:
Draakon wrote:
Perhaps place the exit signal a little further?


In that sense by making PBS working properly to not have jams.


Sorry i wanted a screenshot or how or were to place the signals what not, unless i didn't understand what you said.

_________________
Previously Known As Beardie27
Check out my Railway Photography and Deviant Account


Image


Top
 Profile  
 
PostPosted: Thu Jun 26, 2008 10:42 am 
Offline
Director
Director

Joined: Fri Jan 05, 2007 3:50 pm
Posts: 611
Location: Poland
Just read this: http://wiki.openttd.org/index.php/YAPP
It explains, why YAPP signals should not be placed right after junction.


Top
 Profile  
 
PostPosted: Thu Jun 26, 2008 4:25 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Apr 12, 2008 7:38 pm
Posts: 2010
Location: Euxton, Lancashire, UK
Mchl wrote:
Just read this: http://wiki.openttd.org/index.php/YAPP
It explains, why YAPP signals should not be placed right after junction.


Right thanks that has been some help :D

_________________
Previously Known As Beardie27
Check out my Railway Photography and Deviant Account


Image


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 4:13 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Thu Feb 09, 2006 7:15 pm
Posts: 3712
Remove the rail piece as described in the save and you'll get a YAPF assertion when the train reaches the removed tile.


Attachments:
preyapfcrash.sav [152.73 KiB]
Downloaded 30 times
Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 7:53 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon Jun 14, 2004 11:27 pm
Posts: 567
Location: Hannover, Germany
Rubidium wrote:
Remove the rail piece as described in the save and you'll get a YAPF assertion when the train reaches the removed tile.

Thank you Rubidium, here is YAPP 8.2 without this particular bug. Download as usual in the last release post.

Changes:
Don't crash when removing a reserved track belonging to a train currently leaving a station. Also fix the path reroute to work in all cases.

Performance optimization: Setting the value of pf.path_backoff_interval to 255 will disable train look-ahead, improving performance a tiny bit when YAPP is not in use. No real setting 'cause I don't want to break savegame compatibility. (Besides, if you don't want YAPP signals, why'd you use this patch anyway? :wink:)

@Rubidium: It'll shave a bit off of TrainController, even though my profiling didn't show a 10% penalty with YAPP applied. But this will probably be highly compiler dependant.


-- Michael Lutz

_________________
-- Michael Lutz


Top
 Profile  
 
PostPosted: Mon Jul 07, 2008 11:42 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sun Jun 26, 2005 8:12 pm
Posts: 126
Location: Cincinnati, OH
I've got an odd crash I keep running into.

I started using the Russian Community patchpack, which includes YAPP among many others. So far it's been working wonderfully, but when I went to expand one of my stations it started crashing inexplicably. Through some testing I managed to narrow it down.

I've attached a screenshot of the problem area. The station is off to the left, around back of Birmingham and next to a steel mill (currently transparent). When I first built it, I had a straightforward entrance/exit circling around north of the city (from A to B), which currently goes through a pair of tunnels. One track in, one track out, YAPP junction for the station entrance to allow trains to flow more easily. (D and E are the southbound and northbound main lines, respectively).

When expanding it, I added two new exit tracks across a pair of bridges (C, currently invisible), and wanted to turn the old exit track into a second entrance track. However every time I hooked it up, after a little bit of playing the game crashed with the following error message:

Code:
*** OpenTTD Crash Report ***
Date: 2008-07-07 19:35:43
Build: r13437 - Russian Community patchpack 1.2.0 built on Jun 10 2008 13:07:44
Reason: Assertion failed at d:\nazarov\open\src\src_13437\src\yapf\yapf_base.hpp:273: 0
Exception C0000005 at 004F7970
Registers:
 EAX: 04BA0908 EBX: 07470944 ECX: 0012F548 EDX: 04BA0958
 ESI: 0012F8D0 EDI: 0012F8C4 EBP: 0012F80C ESP: 0012F760
 EIP: 004F7970 EFLAGS: 00010206

Bytes at CS:EIP:
 C6 05 00 00 00 00 00 E9 9F 00 00 00 56 8B C3 E8 04 49 00 00 85 C0 74 20

Stack trace:
 0057AE40 0012F8C4 00000000 00000000 0012F948 0001956D 0000000B 00000001
 00000000 0259A758 0001956E 0000000A 0001916E 00000A00 00000003 00000000
 00000000 00000000 0012F924 00000003 0001956D 0000000B 00000001 00000000
 0012F924 00000064 0012F948 0012F784 0259A758 04FAA740 0001956E 0000000A
 00000001 00000000 000012B2 00000000 0012F8C4 00000000 00000047 004F65FE
 0012F868 0055AD21 FFFFFFFF 0012F874 004F1BBC 0012F8C4 00000000 0000000A
 00000000 07470918 0012F8C4 0259A758 0001956D 0000000B 0001956E 00000500
 00000002 00000000 00000000 00000000 00000000 00000003 0000000A 04BBEA58
 00000400 014F1934 0012F9A8 0055AD80 FFFFFFFF 0012F8B0 004EF86A 07470918
 000000FF 0012F978 00000003 07470918 00000000 00000000 00000000 00000003
 8741D41E 000010E8 0012F978 004EFB6E 0012F9B4 004ED873 0259A758 00000003
 0001E565 04BBEA58 04E8B008 00000014 04FD05E8 0000001A 00000014 00032000
 073A0020 07470944 07470290 07470314 0062261C 00002710 0259A758 0000003A
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 0000001B 0043504D 00000000 04B78328 00430000 04CDBFC0 006D6108
 0001E965 00000009 FFFFFFFF 000000FF 00000001 0049C601 00000003 00018172
 0000FFFF 0012001B 0044F131 00000015 000007A0 006A5650 0001E965 00000009
 00001600 004ED80C 0012FAB4 0055AEAA 00000000 0012FA48 004BD0E3 00000003
 0000000A 0012FACF 0001F101 0012FA94 0012FAA0 0001E565 0259A758 000000FF
 004C93B8 0048C4C9 0001E565 0042BD15 00431622 0001E565 00000A0A 004BD3F6
 00000003 005A406C 0259A758 00000002 0259A758 0001E965 00000009 0001E565
 00000A00 00000003 02000000 00000000 00000000 00000000 00000003 0001F165
 00000009 00431801 0012FAC0 004BD81A 0000000A 0012FACF 0001F101 0012FA94

Module information:
 C:\Program Files\OpenTTD\OpenTTD.exe handle: 00400000 size: 972288 crc: DF9B4C6D date: 2008-06-10 18:17:20
 C:\WINDOWS\system32\ntdll.dll handle: 7C900000 size: 708096 crc: A5A50370 date: 2004-08-10 04:00:00
 C:\WINDOWS\system32\kernel32.dll handle: 7C800000 size: 984576 crc: 2CCFBF2B date: 2007-04-16 15:52:53
 C:\WINDOWS\system32\ADVAPI32.dll handle: 77DD0000 size: 616960 crc: 5E7A2F0A date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\RPCRT4.dll handle: 77E70000 size: 584192 crc: B1CE66F6 date: 2007-07-09 13:09:42
 C:\WINDOWS\system32\Secur32.dll handle: 77FE0000 size: 55808 crc: 5A32C057 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\GDI32.dll handle: 77F10000 size: 282624 crc: 18201B20 date: 2008-02-20 06:51:05
 C:\WINDOWS\system32\USER32.dll handle: 7E410000 size: 577536 crc: DF3237C6 date: 2007-03-08 15:36:28
 C:\WINDOWS\system32\WINMM.dll handle: 76B40000 size: 176128 crc: 123646FA date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\WS2_32.dll handle: 71AB0000 size: 82944 crc: 9738CC56 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\msvcrt.dll handle: 77C10000 size: 343040 crc: 5298C0C5 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\WS2HELP.dll handle: 71AA0000 size: 19968 crc: F5DD5AB6 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\IMM32.DLL handle: 76390000 size: 110080 crc: FD65A0DD date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\WINTRUST.dll handle: 76C30000 size: 176640 crc: 88D208BD date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\CRYPT32.dll handle: 77A80000 size: 597504 crc: 971ECFAA date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\MSASN1.dll handle: 77B20000 size: 57344 crc: D5127637 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\IMAGEHLP.dll handle: 76C90000 size: 144384 crc: 714A70BC date: 2004-08-10 04:00:00
 C:\WINDOWS\system32\wdmaud.drv handle: 72D20000 size: 23552 crc: 982E84EE date: 2004-08-04 07:56:58
 C:\WINDOWS\system32\msacm32.drv handle: 72D10000 size: 20480 crc: D5406BAE date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\MSACM32.dll handle: 77BE0000 size: 71680 crc: 6A21891E date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\midimap.dll handle: 77BD0000 size: 18944 crc: 502B5282 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\ole32.dll handle: 774E0000 size: 1285120 crc: AD325A7F date: 2005-07-26 04:39:48
 C:\WINDOWS\system32\uxtheme.dll handle: 5AD70000 size: 218624 crc: 5AA98F22 date: 2004-08-09 21:00:00
 C:\DOCUME~1\HP_ADM~1\LOCALS~1\Temp\IadHide5.dll handle: 10000000 size: 24613 crc: B9D6C6B6 date: 2006-08-20 01:47:23
 C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\ASOEHOOK.DLL handle: 651B0000 size: 123488 crc: 93E978D6 date: 2005-09-23 18:38:24
 C:\WINDOWS\system32\MSVCR71.dll handle: 7C340000 size: 348160 crc: 35563170 date: 2003-02-21 11:42:22
 C:\WINDOWS\system32\SHLWAPI.dll handle: 77F60000 size: 474112 crc: 374E9CDF date: 2008-04-21 06:56:58
 c:\Program Files\Common Files\Symantec Shared\ccL40.dll handle: 6AF90000 size: 379240 crc: C82A7BD8 date: 2008-01-08 22:33:38
 C:\WINDOWS\system32\OLEAUT32.dll handle: 77120000 size: 550912 crc: 18657280 date: 2007-12-04 18:38:13
 C:\WINDOWS\system32\MSVCP71.dll handle: 7C3A0000 size: 499712 crc: 5A3B11D4 date: 2003-03-19 03:14:52
 C:\Program Files\ScanSoft\OmniPageSE4.0\OpHookSE4.dll handle: 129B0000 size: 135168 crc: 5524220A date: 2005-12-19 23:16:10
 C:\WINDOWS\system32\VERSION.dll handle: 77C00000 size: 18944 crc: CFE439BB date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\CLBCATQ.DLL handle: 76FD0000 size: 498688 crc: 9DED030F date: 2005-07-26 04:39:43
 C:\WINDOWS\system32\COMRes.dll handle: 77050000 size: 792064 crc: 5A12B4A2 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\dmime.dll handle: 5C570000 size: 181248 crc: F18E50F8 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\DSOUND.dll handle: 73F10000 size: 367616 crc: F0EFB582 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\dmusic.dll handle: 6C980000 size: 104448 crc: 0C1C73CE date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\KsUser.dll handle: 73EE0000 size: 4096 crc: 519CF22C date: 2004-08-04 07:56:44
 C:\WINDOWS\system32\dmsynth.dll handle: 6C9A0000 size: 103424 crc: ECEFF055 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\dmloader.dll handle: 6CA10000 size: 35840 crc: CCCBFD58 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\msctfime.ime handle: 755C0000 size: 177152 crc: 6A712F98 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\Msctf.dll handle: 74720000 size: 294400 crc: BBD2E653 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\mswsock.dll handle: 71A50000 size: 245248 crc: E2309390 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\hnetcfg.dll handle: 662B0000 size: 344064 crc: 6CF15ACF date: 2004-08-09 21:00:00
 C:\WINDOWS\System32\wshtcpip.dll handle: 71A90000 size: 19968 crc: B88CC0E5 date: 2004-08-09 21:00:00
 C:\WINDOWS\system32\psapi.dll handle: 76BF0000 size: 23040 crc: 97A44A88 date: 2004-08-09 21:00:00

System information:
 Windows version 5.1 2600 S


By now I've figured out that the problem is the signal on the second track--with the tile of track missing in front of it--which used to be the exit. If I let trains onto the second track but divert them to the right so they use the signal that's been an entrance all along, there's no problem. If I let them use that other signal, the game inevitably crashes within a minute or two, and it doesn't even happen when a train reaches the signal. Sometimes it happens the instant I fill in the missing track.

What exactly is going on here? Can I just not use that track, or is it still salvageable?


Attachments:
File comment: Everything possible set to transparent in order to make the setup easier to see.
Nelson & Co., 29th Jul 1933.png [261.61 KiB]
Downloaded 216 times

_________________
If at first you don't succeed, get a bigger locomotive and try again.
Top
 Profile  
 
PostPosted: Tue Jul 08, 2008 1:20 am 
Offline
Tycoon
Tycoon

Joined: Sat Jun 18, 2005 9:08 pm
Posts: 1117
Location: Here
Savegame?

_________________
We Am De Best

Host of ThroughTheTube site


Top
 Profile  
 
PostPosted: Tue Jul 08, 2008 12:28 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sun Jun 26, 2005 8:12 pm
Posts: 126
Location: Cincinnati, OH
...gah. It's too big. Save file is 4.32 MB. >.<

_________________
If at first you don't succeed, get a bigger locomotive and try again.


Top
 Profile  
 
PostPosted: Tue Jul 08, 2008 4:36 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Mon Jun 14, 2004 11:27 pm
Posts: 567
Location: Hannover, Germany
Jim Starluck wrote:
I started using the Russian Community patchpack, which includes YAPP among many others.

If the patchpack thread is correct, the included YAPP version is four releases old, so that might be a long fixed bug. Also possible is an interaction with some other patch, always a problem on such a large number of patches.

If you can reproduce that with a current YAPP, I'll gladly take a look.

-- Michael Lutz

_________________
-- Michael Lutz


Top
 Profile  
 
PostPosted: Tue Jul 08, 2008 9:24 pm 
Offline
Traffic Manager
Traffic Manager

Joined: Thu Jun 29, 2006 8:36 am
Posts: 166
Michi_cc wrote:
Performance optimization: Setting the value of pf.path_backoff_interval to 255 will disable train look-ahead, improving performance a tiny bit when YAPP is not in use. No real setting 'cause I don't want to break savegame compatibility. (Besides, if you don't want YAPP signals, why'd you use this patch anyway? :wink:)


1): this patch is used in a lot of patchpacks, people without the tools/knowledge to build their own, might want a pack without having to use yapp

2): increase chances to get in trunk?
Rubidium wrote:
I don't care if YAPP takes 1000% more CPU when you start actually using YAPP, i.e. building YAPP signals. My main problem is that the YAPP patch introduces 10% more CPU when the signals are not used.

It's like paying 10% more for cellular bill when the cellular company starts implementing a new network with more features (4G?), even when you do not intend to use the features. When someone else wants to use those new features and has to pay 50% more I don't care, as long as I don't have to pay 10% extra when I do not use it.


Top
 Profile  
 
PostPosted: Fri Jul 11, 2008 10:04 am 
Offline
Director
Director
User avatar

Joined: Tue Jan 22, 2008 4:33 pm
Posts: 564
zooks wrote:
2): increase chances to get in trunk?
Rubidium wrote:
I don't care if YAPP takes 1000% more CPU when you start actually using YAPP, i.e. building YAPP signals. My main problem is that the YAPP patch introduces 10% more CPU when the signals are not used.

It's like paying 10% more for cellular bill when the cellular company starts implementing a new network with more features (4G?), even when you do not intend to use the features. When someone else wants to use those new features and has to pay 50% more I don't care, as long as I don't have to pay 10% extra when I do not use it.


IMHO it would be somewhat short-sighted of the devs to deny a hugely significant feature like PBS just on a small detail like this. I always thought that the devs sought parity between the features in OpenTTD and TTDPatch, and the lack of PBS is a biggie!!

_________________
PathZilla - A networking AI - Now with tram support.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1017 posts ]  Go to page Previous  1 ... 36, 37, 38, 39, 40, 41, 42 ... 51  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000-2013 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2013.
Hosted by Zernebok Hosting.