Crash related to Routing Restrictions using r1518
Moderator: TTDPatch Moderators
- Carlo Ghega
- Engineer
- Posts: 92
- Joined: 07 Jan 2007 19:37
- Location: Vienna
Crash related to Routing Restrictions using r1518
Get a crash when I trie to use routing restrictions in signalling as seen on the screenshot SCR1-crash.png: The moment I try to pull down the open menu to get the word "Passagiere" (german for passengers, the first word in the menu) on the screen, ttdlx crashes down. Found no crashlog, using Olly the game freezes.
Olly-Screenshot and savegame attached, cfg-files in the next reply...
Olly-Screenshot and savegame attached, cfg-files in the next reply...
- Attachments
-
- TRT00.SV1
- (221.16 KiB) Downloaded 126 times
-
- Screenie_OllyDbg.PNG (58.34 KiB) Viewed 401 times
-
- SCR1-crash.png (71.55 KiB) Viewed 2203 times
E pur si muove!
- Carlo Ghega
- Engineer
- Posts: 92
- Joined: 07 Jan 2007 19:37
- Location: Vienna
...thank you for your efforts and for keeping this the most exiting game anyway!
Best regards
CG
Best regards
CG
- Attachments
-
- newgrfw.cfg
- (1.05 KiB) Downloaded 113 times
-
- ttdpatch.cfg
- (36.3 KiB) Downloaded 106 times
E pur si muove!
Can you count how many cargos you have enabled?
I suspect that you have more than 19, and I if so will need to refactor the code to support this... TTDs original drop down code only supports 19 entries and an end marker.
Oskar's GUI code should work... I will see about fixing this, thanks for pointing it out. I may not be able to fix it today, but probably tomorrow or later this week...
JGR
I suspect that you have more than 19, and I if so will need to refactor the code to support this... TTDs original drop down code only supports 19 entries and an end marker.
Oskar's GUI code should work... I will see about fixing this, thanks for pointing it out. I may not be able to fix it today, but probably tomorrow or later this week...
JGR
- Carlo Ghega
- Engineer
- Posts: 92
- Joined: 07 Jan 2007 19:37
- Location: Vienna
O.K: This really turned out to be hard work. Counted it twice and am quite sure about the right result now. And the winner is: 32. This is the number of cargos you get in temperate clima, when you install all the ECS-vectors from George. Might slightly differ in the other climates as there are some changes in special sets therefore.
I confess that trying that out with a (very amazing!) new experimental feature could emerge as a tiny little bit optimistic. All the more thanks a lot for your fast and kind answer! If you need the complete cargo-list, I can post it here - but I've to translate it to English first, so it might take a sec or two.
Not daring to give it all together another try if this seems to be admissible. Thank you once again - not least for your exiting implementation,
best regards,
CG
I confess that trying that out with a (very amazing!) new experimental feature could emerge as a tiny little bit optimistic. All the more thanks a lot for your fast and kind answer! If you need the complete cargo-list, I can post it here - but I've to translate it to English first, so it might take a sec or two.
Not daring to give it all together another try if this seems to be admissible. Thank you once again - not least for your exiting implementation,
best regards,
CG
E pur si muove!
Carlo Ghega: An experimental, partially untested fix for this was committed and will be available in the next nightly. You have the dubious honour of testing it with the max of 32 cargos...
Oskar: Thanks for conviently committing some very useful documentation at a very pertinent time... Your code appears to work flawlessly.
Note though that it chokes on the TTD default of dx=-1 as no default item selected... You have to set dx to the index of the end marker for no default selection... Just thought I'd mention it.

Oskar: Thanks for conviently committing some very useful documentation at a very pertinent time... Your code appears to work flawlessly.
Note though that it chokes on the TTD default of dx=-1 as no default item selected... You have to set dx to the index of the end marker for no default selection... Just thought I'd mention it.
- Carlo Ghega
- Engineer
- Posts: 92
- Joined: 07 Jan 2007 19:37
- Location: Vienna
An experimental, partially untested fix for this was committed and will be available in the next nightly. You have the dubious honour of testing it with the max of 32 cargos...
Will get through with imperturbable grit


A fortiori a whole lot of thanks to you and oscar, will give feedback and await the things to come in patient purposefulness.
All the very best to you!
CG
E pur si muove!
Sure, I seen your plan and so made the documentation the best I can,JGR wrote: Oskar: Thanks for conviently committing some very useful documentation at a very pertinent time... Your code appears to work flawlessly.
Note though that it chokes on the TTD default of dx=-1 as no default item selected... You have to set dx to the index of the end marker for no default selection... Just thought I'd mention it.
could you explain me what do you mean with chokes? Consindering the code I am unsure how it could fail....
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...


Who is online
Users browsing this forum: No registered users and 20 guests