Thread Tools Display Modes
12-08-06, 05:58 PM   #1
Blueleaf
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2
Exclamation Tables Problem Please help

With WOW 2.0 there have been several changes to the way it handles tables?
I am by no means an LUA expert and have several MODs that are no longer supported by the original author but up until now I have been able to maintain the with little effort. but not it appears that blizzard has made big changes and now I get Table call errors on have no idea what is wrong. Is there an expearianced programer out there that would be willing to help? if fo feel free to email me and I will gladly send you a copy of the mods to see if you can fix it.

Thank you
BlueLeaf
  Reply With Quote
12-09-06, 04:15 PM   #2
Dae'lomdel
A Kobold Labourer
Join Date: Nov 2006
Posts: 1
I am by no means an expert, just a user like yourself.

I found the following here on the wowinterface forums. Using it I was able to make some things works....

http://www.wowinterface.com/forums/s...ead.php?t=7141


Goodluck!
  Reply With Quote
12-16-06, 04:33 AM   #3
xbjim
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 58
the mods giving table errors are probally using something like

Code:
		for key,val in TABLE do
			- do something with key and val
		end
the TABLE part needs to be in pairs so it would look like:

Code:
		for key,val in pairs(TABLE) do
			- do something with key and val
		end
atleast thats whats fixed my table errors in mods that werent updated.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Tables Problem Please help


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