2.6 nightly/alpha discussion
Moderator: TTDPatch Moderators
Re: 2.6 nightly/alpha discussion
No. The last version I used so far was 1975, and I updated to 2005, which resulted in this warning.
I didn't save the gave there, I just started to find the release that "broke" my game, which turned out to be 1993.
I didn't save the gave there, I just started to find the release that "broke" my game, which turned out to be 1993.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
Can you send me the savegame?
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


Re: 2.6 nightly/alpha discussion
Sure, here it is.
- Attachments
-
- GAME.ZIP
- (721.06 KiB) Downloaded 272 times
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
You had enabled newobjects, the newobjects chunk size has been changed in http://svn.ttdpatch.net/trac/changeset/1989 So your game chunk fails to load.
I will try to add a note about what chunk has failed into the red box
I will try to add a note about what chunk has failed into the red box
Re: 2.6 nightly/alpha discussion
Ok newroutes, so I guess I don't really lose anything when using the latest nightly.
Thanks for looking into it.
Thanks for looking into it.

Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
The next nightly version should display the chunk id that fails. loadsave.asm -> knownextrachunkids can be used to convert it to a meaningful feature to decide yourself 

Re: 2.6 nightly/alpha discussion
Oh, thank you. Don't think I missed much, since I haven't found anything yet.
btw this seems to be a bug which originates also at r1993 as far as I could determine it.
btw this seems to be a bug which originates also at r1993 as far as I could determine it.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
I have my newships carry a lot less cargo lately.
According to the donotreadme for instance the Meyer Livestock Carrier should carry 360 pieces of livestock, which it always did, but now it only carriers 104. Same for the Bulk freighter, which should carry 360 tons, it now only carries 104 tons.
Can't say when it went wrong, only just noticed it but I think it originates somewhere around release 2000. It affects only newly build ships, the old ones still carry the indented amount of cargo.
I now use release 2014.
It also happens when I start a new game.
According to the donotreadme for instance the Meyer Livestock Carrier should carry 360 pieces of livestock, which it always did, but now it only carriers 104. Same for the Bulk freighter, which should carry 360 tons, it now only carries 104 tons.
Can't say when it went wrong, only just noticed it but I think it originates somewhere around release 2000. It affects only newly build ships, the old ones still carry the indented amount of cargo.
I now use release 2014.
It also happens when I start a new game.
- Attachments
-
- ttdpatch.cfg
- My config.
- (39.55 KiB) Downloaded 224 times
-
- image001.png (52.49 KiB) Viewed 7778 times
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
-
- Tycoon
- Posts: 5954
- Joined: 27 Apr 2005 07:09
- Contact:
Re: 2.6 nightly/alpha discussion
Was that not fixed in r2012?
I'll take a look at it sometime, I don't use newgrf ships, so I'll go find a set for testing purposes.
[Edit] Found and fixed the issue, should be fully fixed for the next nightly.
If you read carefully, you'd notice it does alter the hooks for capacity.
~ Lakie
I'll take a look at it sometime, I don't use newgrf ships, so I'll go find a set for testing purposes.
[Edit] Found and fixed the issue, should be fully fixed for the next nightly.
If you read carefully, you'd notice it does alter the hooks for capacity.

~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Re: 2.6 nightly/alpha discussion
This has nothing to do with the fix of the ships speed.
It's about the loading capacity.
The speed fix works very nicely, but I don't rest until I find new bugs for you to crush.
It's about the loading capacity.
The speed fix works very nicely, but I don't rest until I find new bugs for you to crush.

Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
I came across another PBS crash.
Train number 48 will enter station " Heinikenszand Woods" without reserving a path through the tunnel, which of course results in a crash.
Train 48 is the one in the picture from which its lower left corner touches the engine.

Train number 48 will enter station " Heinikenszand Woods" without reserving a path through the tunnel, which of course results in a crash.
Train 48 is the one in the picture from which its lower left corner touches the engine.
- Attachments
-
- image001.png (224.97 KiB) Viewed 7570 times
-
- TRP00.zip
- My game in question.
- (742.22 KiB) Downloaded 261 times
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
I am currently looking into this.
It seems to occur only if the advzfunctions and/or trace restrict switches are on.
Will report back later with more news.
It seems to occur only if the advzfunctions and/or trace restrict switches are on.
Will report back later with more news.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: 2.6 nightly/alpha discussion
Important notice for DOS Users and the nightly version:
Since TTDPatch r2039 the dos version of ttdpatch understands the win2k switch and will change or better say disable certain functions in TTD Dos so it may work on 32bit Windows 2000/XP maschines.
Sum up:
Disables the sound playback protect mode call. -> If you hear still some sounds you should disable sound via setup.exe
Changes the way the mouse it drawn, this may result in not the nice cursor, but the chances for a crash may be reduced.
Disables the com port enum code -> no com1..4 errors but may crash the network code.
Reference to problems not solvable by TTDPatch:
http://web.archive.org/web/200704070114 ... em_en.html
This work is based on Marcins tests disabling mouse and sound calls.
If you have a windows9x or dos, you should ensure that win2k is set to off.
Since TTDPatch r2039 the dos version of ttdpatch understands the win2k switch and will change or better say disable certain functions in TTD Dos so it may work on 32bit Windows 2000/XP maschines.
Sum up:
Disables the sound playback protect mode call. -> If you hear still some sounds you should disable sound via setup.exe
Changes the way the mouse it drawn, this may result in not the nice cursor, but the chances for a crash may be reduced.
Disables the com port enum code -> no com1..4 errors but may crash the network code.
Reference to problems not solvable by TTDPatch:
http://web.archive.org/web/200704070114 ... em_en.html
This work is based on Marcins tests disabling mouse and sound calls.
If you have a windows9x or dos, you should ensure that win2k is set to off.
Re: 2.6 nightly/alpha discussion
The bug reported by Rob should be fixed as of r2040.
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: 2.6 nightly/alpha discussion
Thanks, great to hear. Me and my game do thank you. 

Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
With the latest release, 2041, my restrictive signaling seems to have disappeared. Trains just go through the signals as if no restriction has been set.
This happens with the same game and settings as posted earlier.
This happens with the same game and settings as posted earlier.
Wie zich gelukkig voelt met het geluk van anderen, bezit een rijkdom zonder grenzen. (F.Daels)

Still the best OS around
Still the best OS around
Re: 2.6 nightly/alpha discussion
This is turning out to more difficult to fix than it would seem.
My previous commit amongst other things broke trace restriction so that the odd conditions which cause the issue don't arise. Fixed as of r2042.
It seems that this bug is not a new one, as I was able to reproduce it (I had to modify the layout slightly) in r1152, r892 and 2.5 beta 8. I haven't yet tested earlier revisions (don't have them handy ATM).
The PBS code seems to interpret a reserved tunnel exit as an end of route as opclass48hroutemaphnd returns a routemap of zero. If a better route cannot be found by ignoring reserved pieces, the code still opts for the first route. In this circumstance, as all two way entry signals into the station are red, there isn't a "better route".
This seems to be an error somewhere in the tracepath function to me.
chkmarksignalroute seems to be OK AFAICT.
Comments from devs who understand how PBS is supposed to work in these circumstances are welcome...
My previous commit amongst other things broke trace restriction so that the odd conditions which cause the issue don't arise. Fixed as of r2042.
It seems that this bug is not a new one, as I was able to reproduce it (I had to modify the layout slightly) in r1152, r892 and 2.5 beta 8. I haven't yet tested earlier revisions (don't have them handy ATM).
The PBS code seems to interpret a reserved tunnel exit as an end of route as opclass48hroutemaphnd returns a routemap of zero. If a better route cannot be found by ignoring reserved pieces, the code still opts for the first route. In this circumstance, as all two way entry signals into the station are red, there isn't a "better route".
This seems to be an error somewhere in the tracepath function to me.
chkmarksignalroute seems to be OK AFAICT.
Comments from devs who understand how PBS is supposed to work in these circumstances are welcome...
- Attachments
-
- Screenie for patchman
- scbug1.PNG (266.2 KiB) Viewed 2678 times
Ex TTDPatch Coder
Patch Pack, Github
Patch Pack, Github
Re: 2.6 nightly/alpha discussion
Hmm, I do think TTD(Patch) always had an habit to avoid tunnel in routes, so this problem could be a deeper in the TTD(Patch) code. When in doubt with PBS you need to ask Josef.
Re: 2.6 nightly/alpha discussion
DOS TTD starts for me on xp with a clean install. I have not tried starting a game yet though.eis_os wrote:Important notice for DOS Users and the nightly version:
Since TTDPatch r2039 the dos version of ttdpatch understands the win2k switch and will change or better say disable certain functions in TTD Dos so it may work on 32bit Windows 2000/XP maschines.
Sum up:
Disables the sound playback protect mode call. -> If you hear still some sounds you should disable sound via setup.exe
Changes the way the mouse it drawn, this may result in not the nice cursor, but the chances for a crash may be reduced.
Disables the com port enum code -> no com1..4 errors but may crash the network code.
Reference to problems not solvable by TTDPatch:
http://web.archive.org/web/200704070114 ... em_en.html
This work is based on Marcins tests disabling mouse and sound calls.
If you have a windows9x or dos, you should ensure that win2k is set to off.
edit If I start a new random game ttdpatch seems to randomly crash.
- Attachments
-
- CRASH003.TXT
- (1.58 KiB) Downloaded 219 times
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
Who is online
Users browsing this forum: Google [Bot] and 8 guests