[solved]v101 - pure virtual function call when building a station building January 14, 2009, 06:23:48 pm How to reproduce:1. Load attached savegame2. select "Big modern terminal 2" on airport tool.3. move cursor to (44,46)4. clickQuoteMessage: karte_t::interactive_event(event_t &ev): calling a toolMessage: wkz_station_building_aux(): building mail office/station building on square 44,46FATAL ERROR: unknownpure virtual function callAborting program execution ...[attachment deleted by admin] Quote Selected Last Edit: February 10, 2009, 03:39:08 pm by z9999
Re: v101 - pure virtual function call when building a station building Reply #1 – January 29, 2009, 12:25:23 pm Crash still occurs in rev.2266 (win-SDL). Quote Selected
Re: v101 - pure virtual function call when building a station building Reply #2 – January 29, 2009, 02:40:09 pm I get "tile not empty" error message. Quote Selected
Re: v101 - pure virtual function call when building a station building Reply #3 – January 29, 2009, 04:09:31 pm I get the same message for other (occupied) tiles, but for (44,46), the crash definitely happens in my setup with r2266 (pak64: r127 +f+w). Quote Selected
Re: v101 - pure virtual function call when building a station building Reply #4 – February 08, 2009, 07:52:55 am Tested in r2310.Didn't crash but ...[edit]Ahh, this is still dangerous.If there is a factory or a cityhall at there, we will lost it.Maybe we might lost savegame.Why this routine changes the position after checking empty tile.In this case, checking empty tile is completely meaningless. Quote Selected Last Edit: February 08, 2009, 01:19:23 pm by z9999
Re: v101 - pure virtual function call when building a station building Reply #5 – February 09, 2009, 10:56:43 am Actually there is first a check (Ist_platz_frei()) only then further checks are done. So there is at least on but probably several bugs. Quote Selected
Re: [solved]v101 - pure virtual function call when building a station building Reply #6 – February 10, 2009, 03:39:21 pm Solved in r2316. Thank you. Quote Selected