lotrointerface.com
Search Downloads


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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 12-01-2010, 08:28 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
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:
...gins\GoldbishopsPlugins\FrameworkReport\__init_ _.lua:1: Failed to import package "GoldbishopsPlugins.FrameworkReport.FrameworkRepor tWindow".
...\Plugins\GoldbishopsPlugins\FrameworkReport\Mai n.lua:2: Failed to import package "GoldbishopsPlugins.FrameworkReport".
Unable to load "frameworkreport".
Code Files
__init__.lua
Quote:
import "GoldbishopsPlugins.FrameworkReport.FrameworkRepor tWindow";
Main.lua
Quote:
import "Turbine";
import "GoldbishopsPlugins.FrameworkReport";

--Setup Framework Report Window
FrameworkReport = FrameworkReportWindow();
FrameworkReport:SetVisible( true );

--FrameworkReport Command
FrameworkReportCommand = Turbine.ShellCommand();

function FrameworkReportCommand:GetHelp()
local h = { query = "used to requery the framework",
help = "returns a list of acceptable commands",
show = "use to show Report Window",
hide = "use to hide Report Window",
toggle = "use to flip visibility of Report Window",
refresh = "use to refresh the Report Window" }
return h;
-- Turbine.Shell.WriteLine
-- for k, v in pairs(h) do
-- help = k .. ": " .. v .. "\n\n"
-- end
end

function FrameworkReportCommand:Execute( command, arguments )
if (arguments == "query") then
--TODO: Add re-querying
-- elseif ( arguments == "help" or arguments == "?" ) then
-- GetCommandHelp;
elseif ( arguments == "show" ) then
FrameworkReport:SetVisible( true );
elseif ( arguments == "hide" ) then
FrameworkReport:SetVisible( false );
elseif ( arguments == "toggle" ) then
FrameworkReport:SetVisible( not FrameworkReport .IsVisible() );
elseif ( arguments == "refresh" ) then
FrameworkReport:Refresh();
end
end

Turbine.Shell.AddCommand( "tob;frameworkreport", FrameworkReportCommand );

--Return the Commands available for the plugin
function GetCommandHelp()

end
Reply With Quote
 



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
issues with setting up UI rawdoggie Interface Help (L) 5 11-19-2010 12:38 PM
Loading creates Error Heta Lua Programming Help (L) 0 11-13-2010 09:38 AM
Help with vital issues... Putnal08 Interface Help (L) 10 10-21-2009 05:21 AM
UI not loading correctly Kiryan Interface Help (L) 5 04-01-2009 08:53 PM
Help with loading multiple UIs Crumby Interface Help (L) 0 07-06-2007 06:45 PM


All times are GMT -5. The time now is 06:11 PM.


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