News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

r2014 - Crash with AI

Started by z9999, September 11, 2008, 10:53:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

simutrans r2014

AI cause crash.

How to reproduce:
1. Start new game
2. Enable AI
3. Click fast forward

Result:
Crash.

Quote
Message: wkz_halt_aux():   building BusStop on square 50,47 for waytype 1
Message: wkz_halt_aux():   building BusStop on square 43,52 for waytype 1
Message: spieler_t::create_bus_transport_vehikel():   bus at (50,47)
Message: simlinemgmt_t::create_line():   fpl is of type 1
Message: simlinemgmt_t::get_unique_line_id():   free id near 0
Message: simlinemgmt_t::get_unique_line_id():   New id 1
Message: simlinemgmt_t::add_line():   id=1
Message: simline_t::simline_t(karte_t,simlinemgmt,fahrplan_t):   create with 1 (unique 1)
Message: simlinemgmt_t::create_line():   truckline created
Message: fahrplan_t::~fahrplan_t():   Schedule 05C8CBA8 destructed
Message: convoi_t::add_vehikel():   at pos 0 of 4 totals.
Message: automobil_t::setze_convoi():   05CA3478
Message: convoi_t::add_vehikel():   now 1 of 4 total vehikels.
Message: convoi_t::setze_fahrplan():   new=05C8CBA8, old=00000000
Message: vehikel_t::remove_stale_freight():   called
Message: simline_t::register_stops():   2 fpl entries in schedule 05CA3130
FATAL ERROR: vector_tpl<T>::[]
index out of bounds: 0 not in 0..-1

z9999

#1
Solved this problem in r2015. Thank you.