Author Topic: What does crash(); do  (Read 3577 times)

Honestly there's so many ways to crash a program you can't say for sure.

Type deletedatablocks(); in console :3 do it and you'll be cool.

When a program quits, it can either return a 0 or a 1. A 1 means that it shut down properly. A 0 tells the operating system that it had an error and crashed, even though it really didn't.

My guess is that crash() imports some C libraries with syntax errors in them and stuff, and thus crashes when failing to import them.
No.

The crash(); command closes the client.

The crash(); command closes the client.
YES. Thank you for your wisdom!

What OP wants to know it WHAT it does to crash it, not just "lollolo it crashes you"

YES. Thank you for your wisdom!

What OP wants to know it WHAT it does to crash it, not just "lollolo it crashes you"
There is nothing more to say, this is all it does. It crashes the client by crashing it.

Crashing is a form of error recovery. Crash(); just goes into the crashed state without needing an error to cause it. Blockland basically just says "Hey Windows, I've done something bad. Shut down the program to keep it from causing more problems and show an error report on the screen." It doesn't actually have to do anything wrong.
« Last Edit: August 29, 2010, 08:27:53 PM by Wedge »


What does deletedatablocks(); even do?

I'm too frightened to do it.

What does deletedatablocks(); even do?

I'm too frightened to do it.
Hmmmmmmmm...
delete datablocks