ID:134882
 
When you "package your game" could it be possible to have an option which'll disable runtime errors from showing up to give the end product a professional look?
Well, you should test your game, and fix those runtime errors.
If your code is causing runtime errors you need to know about them and fix them! Removing them wouldn't be good for development, simple solution, fix the errors!
In response to Nadrew
I know but I know other languages do this so I was hoping DM would do it too.
In response to DeathAwaitsU
I honestly don't see many developers using this feature, runtime errors are one of the largest sources of valuable information when it comes to fixing a bug, especially if you don't know the bug exists!

I see the reasoning, but I don't see the urgent need required to get it added right away.
You can set it to log these to a file rather than display them. Look up world.log in the reference for an example of how to do it.
In response to Nadrew
Nadrew wrote:
I honestly don't see many developers using this feature, runtime errors are one of the largest sources of valuable information when it comes to fixing a bug, especially if you don't know the bug exists!

We get a few players on DMO who look at the run-time errors to try and cheat the system. Most of the time we don't need the information run-time errors produce to fix the bug.
We use a lot of generic stuff, so the real debugging is done by looking at the cards on the field, the actions taken, etc. Knowing that a value is null isn't much use at all.
It also makes it harder to gather detailed reports because we'll get bug reporters simply stating the exact error they got (thinking that we don't need the actual important information).
So we could use the ability to turn them off (rather than log them).
It's better to just set world.log. I myself do that and send the file to my webserver to be added to a collective log on shutdown.
That's partly what hosting with Dream Daemon is good for.

Even so, if the game is giving runtime errors then it's probably not ready to be distributed as professional grade.