r2144, crash when using MAGLEV line tools November 27, 2008, 12:06:07 am Althorough experimental, and must be enabled first by a "hack"...When trying to click on a line, Simutrans crashes. Everytime. Both SDL and GDI versionsHere is a log of the SDL version. Hence, the line dialog needs a little rework (altohorough the whole MAGLEV feature is behaving pretty stable already).Just to mention, this was done with the hack, that MAGLEV was added under monorail, and not the more complicated separate menu version... Quote Selected
Re: r2144, crash when using MAGLEV line tools Reply #1 – November 27, 2008, 12:29:01 am The same happens, when clicking with the mouse on a maglev stop.BTW:The same error like in http://forum.simutrans.com/index.php?topic=883.0 still seems to exist (altorough this is non-fatal)... Quote Selected Last Edit: November 27, 2008, 12:31:24 am by phantom25
Re: r2144, crash when using MAGLEV line tools Reply #2 – November 27, 2008, 12:52:35 am Never mind. Was not an error after all After further investigation and manually adding symbol.MaglevStop.pak both problems disappeared, and in line selection dialog, now MAGLEV is substituted by a dummy monorail symbol... No more crashes. Quote Selected Last Edit: November 27, 2008, 12:56:52 am by phantom25
Re: r2144, crash when using MAGLEV line tools Reply #3 – November 27, 2008, 10:36:52 am Just out of curiosity, since this is a pak error, which version of pak do you use? Quote Selected
Re: r2144, crash when using MAGLEV line tools Reply #4 – November 27, 2008, 11:00:03 am It is the one currently available on nightly page used in conjunction with the current development MLM maglevs pack (PAK128 Version: 243).In PAK128, there does not seem to be the representative graphic for MAGLEV (this filename is missing), which is a new Simutrans nightly function, anyway.As it seems, Simutrans tries to access this file when opening Line managment or clicking on a MAGLEV station. When the code cannot find the file, an exception occurs and Simutrans crashes. Interesting, the Line managment tools will open, and only the text MAGLEV will be displayed. When (mouse)clicked on any MAGLEV line, crash occurs. With the added single .pak file, an icon (a duplicate of monorail) is shown, an line clicking (also other functions) works.AFAIK, Pak128 developers already said that this file would be included in the feature... I have no clue, if it is already in PAK64...Other solution would be for Simutrans code, to make the content of this pak optional (which is probably a bad idea)...So, actually, this is not directly a Simutrans bug, (sorry ), so maybe this whole discussion can be moved to solved bugs for reference in the feature for this nightly and this PAK128 version combined...Otherwise, Simutrans new magnetic levitation trains feature (in combination with corresponding graphic and waytype maglev definitions) seems to work very well, have not (yet) found any other way to crash Simutrans or misbehave So, it would already be possible to include the menu coonfiguration (proper, or the hacked variant) officialy into nighlies... Quote Selected
Re: r2144, crash when using MAGLEV line tools Reply #5 – November 27, 2008, 11:07:16 am It is some kind of bug - I added maglev symbol in r 133 (already!) and if it isn't there, something broke. No idea now if it's about pakset or game.The source data are there.Compiling the set here works and creates symbol.MaglevStop.pak.It is merged into _gui.64.pak.Ditto with nightly.So... wtf? It seems I must install the maglev addon. Quote Selected Last Edit: November 27, 2008, 11:19:43 am by VS
Re: r2144, crash when using MAGLEV line tools Reply #6 – December 05, 2008, 11:23:37 pm Anyhow, in r2153 with pak128-255, there is no problem with crashing.After a clean install of r2153 and pak128, then MLM and modifing menuconf.tab (to enable MAGLEV), everything is working, so problem is solved definetely. Quote Selected
Re: r2144, crash when using MAGLEV line tools Reply #7 – December 06, 2008, 03:21:20 pm Well, it crashes without maglev szmbol< then this is a bug, as it is not intended to do. Quote Selected
Re: r2144, crash when using MAGLEV line tools Reply #8 – December 07, 2008, 07:49:44 pm Just to clearify, I ment after deleting everything (then creating new simutrans 100.x game directory, r2153 and pak128-255, without anything additional, the maglev stop simbol does not seem to be required separately) no crash anymore in r2135.The crash seems not to happen in the same form anymore.So, hence, it is solved. Quote Selected Last Edit: December 07, 2008, 07:52:01 pm by phantom25