ID:268367
 
Is it possible to snag runtime errors and save them to a text file for later perusal? If so, how would it be done?
If you are using a shell server like one from zetanet, then at the end put -logself

No idea for normal hosting.
In response to DeathAwaitsU
This will save your world log as text like runtimes or whatever you want to add,like the example i have there which puts everyone who joins in the log.The only draw back is that you wont see your runtimes in game with this in because it goes directly to the text file
mob/Login()
world.log="WorldLog.txt"
world.log<<"[src] joined the world"
In response to Brokenleg
Nice, thanks.

I don't mind that the runtime isn't displayed to the host, cause my purpose here is to catch these errors and save them for myself to look at later. No matter how well one codes, there's almost always a runtime error somewhere waiting to happen, and most hosts just ignore it. The fact that these errors aren't displayed is a plus.