LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Debugging client-crash (https://www.lotrointerface.com/forums/showthread.php?t=1820)

Ingaras 05-26-2012 06:13 AM

Debugging client-crash
 
Anyone knows if there's some sort of error log available when the client crashes?

Because I'm starting to suspect my own plugin is causing crashes when switching characters (so far it only happens when loading into a character that's got it on auto-load). Never had this problem before the latest update, I can't see anything 'obviously wrong' in my plugin code either and it has a 10-20% chance of actually crashing, so some error messages that would give a clue where to look would be very welcome.

D.H1cks 05-26-2012 06:22 AM

You can try looking in:

C:\Users\{userid}\AppData\Local\The Lord of the Rings Online (on Vista, may be different for other windows)

Also, there is suppose to be some LUA debug logging available for LOTRO, but I have not played with it at all.

K1R4D3L 05-26-2012 09:22 AM

You could insert some debug messages to see what your plugin is doing prior to a crash, and you may find some other information in there already.

This is the command to write to the script log manually:
Turbine.Engine.ScriptLog(message);

It can be found in the same location as your Plugins folder, called Script.log

There's also a Turbine.Engine.GetCallStack() method, though I've never played with it.


All times are GMT -5. The time now is 06:05 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI