Forums » Suggestions

Lua Tab instead of Error Window

Mar 16, 2008 smittens link
Instead of that annoying error window could we get a separate chat tab, a la the old mission text tab? The chat would only appear tabbed if their was an error or if someone typed a specific command, IE /luatab or whatever. Otherwise it looks like it does now. Then if there was an error, the tab would appear, flashing red (although chat would still be on normal/channel mode), until someone switched tabs. This way an unexpected bug doesn't severely inhibit gameplay, and it's easier to review error messages than with the console.
Mar 16, 2008 Lord~spidey link
[Stamp of Approval]™
Mar 17, 2008 SilentWave link
[Stamp of QuickFix]™
Mar 18, 2008 blacknet link
quick fix? you plan on adding this yourself?
Mar 18, 2008 SilentWave link
No, blacknet, I'm suggesting that it falls under that category.
Mar 18, 2008 smittens link
I doubt it would be but I still think it's a good idea...
Mar 18, 2008 MSKanaka link
It's not a quick fix in any sense of the phrase.

As far as I know, we don't have any way to catch the messages and stack traces generated by Lua errors, much less redirect them somewhere else than the standard pop-up window.

Even if we could redirect the error messages to a new tab in the chat interface (another project on its own), I don't think we have access to the code that would allow us to prevent the appearance of the pop-up windows.

It'd be awesome if we had this, but it's nowhere near a 'quick fix', and so I think it'll be a while before we have anything like this ingame.

In the meantime, I'll add my name to the list of people who'd like this feature.
Mar 18, 2008 blacknet link
the feature itself is a good idea and well sound. Adding this feature is not going to be easy by no means. Quick fix is out of the question as there will be nothing quick about this at all.

Some of the downfalls about the user *NOT* viewing error messages as they happen, they get pushed onto a tab and forgotten and the code does not get updated properly like it should and thus affecting everyone in the game. Because of this the user should see the errors as they occur.
Mar 20, 2008 SilentWave link
Would a script be able to redirect the error messages?
Mar 21, 2008 blacknet link
Perhaps some but not all.