Skip to main content
Topic: Line management window (Read 7152 times) previous topic - next topic

Line management window

There is a bug in the line management window. Some of my busses are wrong place in this window after i load my saved game. I'm using the latest nightly and pak128.

Re: Line management window

Reply #1
OK. How exactly wrong place? Different order? Image moved away?

And Dirk is going to eat you alive... "latest" :D

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!


Re: Line management window

Reply #3
Then it must a program bug, not pak bug.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: Line management window

Reply #4
Yes, I didnt want to write it to this topic, sorry

Re: Line management window

Reply #5
No problem. I think you are both reporting something similar, so it can be all moved at once.

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!


Re: Line management window

Reply #7
And Dirk is going to eat you alive... "latest" :D

He's lucky - I'm not hungry right now.  :-X

And I'm not that hard on first time "offenders" - I just ask them for the exact numbers. Only when that is (repeatedly) ignored, I start ripping heads off.  ;D

But I might even change that behaviour and simply ignore incomplete help requests and bug reports - after all, it's not like there's nobody else around here, able and willing to help - and with a little more patience as well. ;) 8) You see, it's just that I'd rather spend my time on the real problem, instead of spending it on getting the necessary information to even begin solving the problem...
  
***** PAK128 Dev Team - semi-retired*****

Re: Line management window

Reply #8
I'm using the latest nightly and pak128.

While your message carries the posting date, so we can deduce which "latest" night you might mean (****uming the one of previous night to your posting date), it definitely is better to tell the version and revision number, since "latest nightly" is a different thing each day ;)

Re: Line management window

Reply #9
Ok, I don't forget it!  ;D

Re: Line management window

Reply #10
When I made a new line, id is always 12345.

Quote
Message: simlinemgmt_t::add_line():   id=2
ERROR: simlinemgmt_t::add_line():   Line id 0 doubled! (0x1)
Please report all errors to

Message: simlinemgmt_t::add_line():   new line id 12345!
Message: simline_t::prepare_for_update():   line 12345 (05C05768)


[attachment deleted by admin]

Re: Line management window

Reply #11
Please retest.

Re: Line management window

Reply #12
Tested in r2266.

First, if I delete a line and save this game, restart simutrans and load this game, make a line, line number will be duplicate.

How to reproduce:
- Load attached savegame
- Make a line

Result:
(6) Line is duplicated.

And also deleted line number is not be re-used.

Second, after reading a game without restart simutrans, line number isn't initialized.

How to reproduce:
- Make 2 lines and save this game.
- Load this game and made a line.

Result:
In this case, new line number is 5.
I think this should be 3.


Re: Line management window

Reply #13
The problem was, that old ID and internal handle IDs are different. But I changed set_id routine to update also the name.

Re: Line management window

Reply #14
Other line management win problem.

Populated lines break window buttons (though it may be just pak96) in the 26 Jan 09 river patched windows one at least. (It may have been fixed since though I guess)

Example: amend existing line - no buttons (as pictured)
create a new line - buttons disappear as soon as a station is added.

Also, no buttons in any windows if any line management windows with a populated line is open.

EDIT: only in windows that are opened since. Or maybe only the buttons with curved corners - the square cornered ones pictured seem fine?

Re: Line management window

Reply #15
Maybe this is still the error with the crosscompiled nightly?

Re: Line management window

Reply #16
Cloud be ....

I see that I compile with the mingw32-4.3.1, that was bad in the past
Change to mingw32-3.4.6 today .. so look tomorow

P.S. I don't know the time, the server change the compiler
I hope you understand my English