[bug r2783] Covoi doesn't keep loading when changed schedule October 17, 2009, 06:28:44 am I don't know why, but all things what I had implemented are broken.They don't keep loading and go to next stop.[EDIT]Ok, I found some problems in check_pending_updates().It doesn't work well, if I change from 2 entry to 3 entry.If a line has A-B, and insert C before A, convoi will go to different stop.But it is Okay, I don't want to break all, so I will continue to discuss after next stable release. Quote Selected Last Edit: October 17, 2009, 07:41:08 am by z9999+
Re: [bug r2783] Covoi doesn't keep loading when changed schedule Reply #1 – October 17, 2009, 11:24:17 am If something is inserted in the schedule, then the aktuell position is not the same any more. I.e. the first is_same fails. However, it finds the second position (i.e. the new halt) as matching one, and all is good again. All also for the other positions. In my tests with two stops I could not provoke skipping of a stop. Quote Selected
Re: [bug r2783] Covoi doesn't keep loading when changed schedule Reply #2 – October 17, 2009, 11:38:14 am Line A-B.Next stop is B.Insert C before A, C-A-BFirst C gets 6 points and aktuell to A.Second A will gets 1 points.Third B will gets 3 points.Finally convoi go to A.[EDIT]But please don't change code before release.If you changed something, it may cause different problem.There is no time left to test new one. Quote Selected Last Edit: October 17, 2009, 11:47:37 am by z9999+
Re: [bug r2783] Covoi doesn't keep loading when changed schedule Reply #3 – October 17, 2009, 12:03:44 pm I tried this single step in debugger and it was fine for a convoi waiting at a stop. A got the most points. But I agree about not changing. Quote Selected