View Single Post
11-02-10, 04:40 PM   #7
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Your OnEvent is a couple parameters short too:
xml
Code:
<OnEvent>GuildLevelUp.OnEvent(self, event, ...);</OnEvent>
lua
Code:
function GuildLevelUp.OnEvent(self, event, ...)
Secondly it looks like the script handler in the xml are trying to call functions that are out of scope.

You have 'local GuildLevelUp' on top of your .lua file.

Try changing the function names in the .xml to GLUA.OnEvent and GLUA.OnLoad
The whole getting a local reference to a global table deal is pointless for this particular case btw.

Last edited by Dridzt : 11-02-10 at 04:42 PM.
  Reply With Quote