The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: MoTw on January 30, 2009, 06:10:45 pm

Title: Simutrans crashes with map size x*0
Post by: MoTw on January 30, 2009, 06:10:45 pm
looks very good! I haven't downloaded it yet, but:
are there planes? :o

EDIT: when i started pak.contrast 808 with simutrans 100.1, simutrans generated such strange maps (see screenshot there: http://www.((Site not allowed - serves viruses))/view-1419168/simscr10.jpg.html (http://www.((Site not allowed - serves viruses))/view-1419168/simscr10.jpg.html) (in german)). then simutrans crashed (mac os x). is it not compatible with 100.1?
Title: Simutrans crashes with map size x*0
Post by: VS on January 30, 2009, 07:41:44 pm
Erm, map size 1024*0 ? No wonder it crashed. Sure, it should not allow such number to be used, and catch it before doing anything - it is a bug. But chances are if you change this 0 to something normal, it might work.

In other words: the program is buggy but you could fix this problem all by yourself ;)

Also note that the preview is always square, and maps of any size are stretched on it. If for some reason map 0*n is considered as having only one row, it degrades to stripes just like in the picture, because they are stretched in preview. Actual map is a "noodle" as we would say here :)
Title: Re: Simutrans crashes with map size x*0
Post by: Kristian on January 30, 2009, 10:57:46 pm
looks very good! I haven't downloaded it yet, but:
are there planes? :o

Allow me to split this thread. :) In answer to your question, yes, there are. :)


Edit: anyone, is this a real bug; should we be able to set map size 0 in the menu?
Title: Re: Simutrans crashes with map size x*0
Post by: DirrrtyDirk on January 30, 2009, 11:03:43 pm
Edit: anyone, is this a real bug; should we be able to set map size 0 in the menu?

In the latest versions, you can't do that, so it is - if at all - a bug report that's already been closed.



@MoTw:

You could try deleting "default.sve" and "settings.xml" and try again...
Title: Re: Simutrans crashes with map size x*0
Post by: IgorEliezer on January 31, 2009, 02:05:31 am

How to call it...?

Simutrans has divided by zero (http://en.wikipedia.org/wiki/Division_by_zero#Modern_popular_culture_uses)..... resulting in a Not-A-Map (http://en.wikipedia.org/wiki/NaN). ;D