Issues with loading plugin
Alright, i have done as much as i can to figure this out but have come up dry.
In game return: Quote:
__init__.lua Quote:
Quote:
|
Whatever the problem is, it's not in Main, but in your ReportWindow class. When you get that kind of an error message it means basically...
It can't import the package (class) because there's something wrong with it - usually a typographical error as opposed to a logic error. |
Tried reviewing this file more than a few hours and even rebuilt it several time just in case.
FrameworkReportWindow.lua Quote:
|
have you tried changing:
Turbine.UI.Extensions.Window.Constructor( self ); to Turbine.UI.Extension.SimpleWindow.Constructor(self ); ? |
Quote:
Code:
function FrameworkReportWindow:Refresh() Code:
function self:Refresh() |
Quote:
At first it was a semi-colon but still reported same error. Problem so far seems to be the MouseEnter and MouseLeave functions being declared with a delta function inside the constructor. Pulled them out into the body of the file and worked just grand. Side Note: What is the name of the control that acts like a Drop-Down List box? |
Quote:
|
Ah, try changing them to self.MouseEnter = function(sender,args) and self.MouseLeave = function(sender,args) ?
This is what I have in my plugin: Code:
self.MouseEnter = function(sender, args) |
when doing that signature do i need to have it all on one line or can i split it up across several lines as long as the end tag is there?
I borrowed the code from their Plugis templates provided by the packages. For some reason it didnt like them in my plugin. Thinking im missing some Import or something. |
OK, I have to go back a step here and ask. Is there really a space between the r and t in your __init__.lua file? As in
Code:
FrameworkReport.FrameworkRepor tWindow |
All times are GMT -5. The time now is 01:33 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI