The International Simutrans Forum
September 04, 2010, 01:48:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
The Simutrans Blog
Interesting news about Simutrans World and more.
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: r2130 - Airplane stuck when change line  (Read 776 times)
0 Members and 1 Guest are viewing this topic.
z9999
Devotee
*
Offline Offline

Posts: 849


« on: November 21, 2008, 09:15:21 PM »

simutrans r2130 GDI

When I change a line of airplane,  airplane keep reserving tiles and stuck.

How to reproduce:
1. Load attached game
2. Open line window and change stop position and close

* Air_test_02.sve (10.02 KB - downloaded 15 times.)

* air.png (67.54 KB, 467x1104 - viewed 58 times.)
Logged
z9999
Devotee
*
Offline Offline

Posts: 849


« Reply #1 on: November 22, 2008, 11:06:41 AM »

Thank you. Reservation problem was solved, but stuck is still happen.
Reloading game doesn't solve stuck. (air_stucked.sve)

Similar stuck happens if one start two airplane from depot.
When they overlapped each other, both of them stuck. (start_and_stuck.sve)

* start_and_stuck.zip (10.14 KB - downloaded 16 times.)

* air2.png (6.51 KB, 303x174 - viewed 86 times.)

* air3.png (40.27 KB, 362x759 - viewed 55 times.)
« Last Edit: November 22, 2008, 11:08:50 AM by z9999 » Logged
prissi
Head Developer
*
Offline Offline

Posts: 2988



WWW
« Reply #2 on: November 22, 2008, 09:36:39 PM »

SVN is not working. But changing the following line will solve it.

simvehikel.cc: 3057
Code:
if(route_index<takeoff  &&  route_index>1  &&  takeoff<cnv->get_route()->gib_max_n())
Logged
z9999
Devotee
*
Offline Offline

Posts: 849


« Reply #3 on: November 24, 2008, 06:02:57 AM »

That is working well. thank you.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.168 seconds with 21 queries.