Thread Tools Display Modes
02-10-10, 05:34 PM   #1
fuzzylr
A Defias Bandit
Join Date: Feb 2010
Posts: 2
Post Addon error

I followed a couple of different tuts and got no response from wow (3.3.0) but when I tried this method I get the following error...I am real new at this so I'm not sure what went wrong.

Code:
Message: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:2: attempt to index global 'ScriptErrors' (a nil value)
Time: 02/10/10 18:03:43
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:2: in function `message'
Interface\AddOns\PallyUi\PallyUi.lua:1: in main chunk

Locals: text = "Hello World!"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'ScriptErrors' (a nil value)"
Toc file

Code:
## Interface: 30300
## Title: Pally Ui
## Version: 01.00
## Note: First Mod
## Dependencies:

PallyUi.lua
Lua file
Code:
message("Hello World!");
  Reply With Quote
02-10-10, 05:36 PM   #2
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
Unfortunately, message() is still broken in the default UI. I don't think Bliz cares enough to fix it. Addons that use it generally fix it themselves. Basically, if you want to just output text in any random form, you're better off using print()
  Reply With Quote
02-13-10, 08:55 PM   #3
fuzzylr
A Defias Bandit
Join Date: Feb 2010
Posts: 2
Originally Posted by Akryn View Post
Unfortunately, message() is still broken in the default UI. I don't think Bliz cares enough to fix it. Addons that use it generally fix it themselves. Basically, if you want to just output text in any random form, you're better off using print()
Cool, thanks I will try that out.
__________________
Sean
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Addon error


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