lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 05-26-2012, 06:13 AM
Ingaras Ingaras is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: May 2012
Posts: 1
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.
Reply With Quote
  #2  
Unread 05-26-2012, 06:22 AM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
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.
Reply With Quote
  #3  
Unread 05-26-2012, 09:22 AM
K1R4D3L K1R4D3L is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2012
Posts: 34
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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lotro client crashing?? 4everblue Interface Help (L) 2 11-04-2011 08:50 AM
Crash in ROI with some plugins Eili Interface Requests (L) 35 09-29-2011 12:47 PM
some info from the client wad General Authoring Discussion (L) 0 11-20-2007 07:32 AM
Chat Client blackmote Interface Help (L) 6 04-08-2007 11:14 PM
US client update tomorrow Xukii Chit Chat 3 03-09-2007 02:36 PM


All times are GMT -5. The time now is 11:55 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui