Thread Tools Display Modes
08-28-07, 04:48 PM   #1
Soltaker
A Kobold Labourer
Join Date: Aug 2007
Posts: 1
attempt to index global 'QuestGenie' (a nil value)

I am getting my feet wet on this whole mod thing and have found an example @ wowace.com in the tutorials that doesn't seem to work all that well. It gives me the following error when loading.

Message: ..\AddOns\WelcomeHome\WelcomeHome.lua line 6:
attempt to index global 'QuestGenie' (a nil value)

And here is the code.

-- Start
WelcomeHome = AceLibrary("AceAddon-2.0"):new("AceConsole-2.0", "AceEvent-2.0")

function WelcomeHome:OnEnable()
-- Called when the addon is enabled
self:RegisterEvent("ZONE_CHANGED")
end

function WelcomeHome:ZONE_CHANGED()
self:Print("You have changed zones!")
end
--End

Any assistance would be appreciated.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » attempt to index global 'QuestGenie' (a nil value)


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