R'n'D crash
Moderators: Flumminator, Zomis
Zomis is exactly right.
If you started R'n'D from a GUI (Fvwm, KDE, Gnome, whatever), just open a terminal window (xterm, konsole, gnome-terminal, whatever), start "rocksndiamonds" and see what's printed into the terminal window! :-)
Cut and paste all that and post it here (or send it to me by mail)!
If you started R'n'D from a GUI (Fvwm, KDE, Gnome, whatever), just open a terminal window (xterm, konsole, gnome-terminal, whatever), start "rocksndiamonds" and see what's printed into the terminal window! :-)
Cut and paste all that and post it here (or send it to me by mail)!
Here's the output from the terminal:Holger wrote:Cut and paste all that and post it here (or send it to me by mail)!
Code: Select all
sascha@ubuntu:~/Desktop/rocksndiamonds-3.1.2$ ./rocksndiamonds
Gleitkomma-Ausnahme
sascha@ubuntu:~/Desktop/rocksndiamonds-3.1.2$
that's the description for the crash in German.

> Gleitkomma-Ausnahme:
OK, so we have a Floating Point Exception here, which is usually caused by the attempt to divide by zero.
Looks like the bug I just fixed.
Could you send me your "graphicsinfo.conf" of that set, please? I would like to check this by myself. Best would be to just send me the whole level set with graphics sub-directory, so I can reproduce this bug.
OK, so we have a Floating Point Exception here, which is usually caused by the attempt to divide by zero.
Looks like the bug I just fixed.
Could you send me your "graphicsinfo.conf" of that set, please? I would like to check this by myself. Best would be to just send me the whole level set with graphics sub-directory, so I can reproduce this bug.
Download it hereHolger wrote:Could you send me your "graphicsinfo.conf" of that set, please? I would like to check this by myself. Best would be to just send me the whole level set with graphics sub-directory, so I can reproduce this bug.
**********
What is a Gleitkomma-Ausnahme?

> Download it here
Thanks!
The crash was caused by this line in your "graphicsinfo.conf":
Then this bug should be fixed now.
> What is a Gleitkomma-Ausnahme?
Just as I wrote:
> OK, so we have a Floating Point Exception here, which is usually caused
> by the attempt to divide by zero.
Thanks!
The crash was caused by this line in your "graphicsinfo.conf":
Code: Select all
exit.closing.frames: 0
> What is a Gleitkomma-Ausnahme?
Just as I wrote:
> OK, so we have a Floating Point Exception here, which is usually caused
> by the attempt to divide by zero.
Then why does it say "Gleitkomma-Ausnahme" instead of "Division by zero"?Holger wrote:> Gleitkomma-Ausnahme:
OK, so we have a Floating Point Exception here, which is usually caused by the attempt to divide by zero.
I think you mean graphicsinfo.conf here.Sascha wrote:Fantastic, a little mistake with writing levelinfo.conf,
and the whole programm crashs!
> Then why does it say "Gleitkomma-Ausnahme" instead of "Division by
> zero"?
Probably this kind of exception summarizes all exceptions that have something to do with internal number formats or any attempt to do "illegal maths"... Anyway, it's just known as "Floating Point Exception" since some decades now (where "Gleitkomma-Ausnahme" is just the German translation if you have a German system), but in 99% of cases it's indeed just trying to divide by zero (so it would make sense to report a "Division by Zero Exception" instead for this case)... ;-)
> zero"?
Probably this kind of exception summarizes all exceptions that have something to do with internal number formats or any attempt to do "illegal maths"... Anyway, it's just known as "Floating Point Exception" since some decades now (where "Gleitkomma-Ausnahme" is just the German translation if you have a German system), but in 99% of cases it's indeed just trying to divide by zero (so it would make sense to report a "Division by Zero Exception" instead for this case)... ;-)
Apparently German systems cause Rocks 'n' Diamonds to return different error messages than English systems would.
The H. World levelset can be downloaded from http://www.bd-fans.com/RnD.html -- search The H. World on that page.