Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-29-10, 02:26 AM   #23
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,937
If you read the error message it is telling you that key1 happened to have been a string value and not a number. And the line is trying to use it in an arithmetic formula. Bad juju.

Your best bet to identify why that is, is to use the print(type(key1),key1) command just before that line to see what it is currently holding. If it shows a value you were expecting but still not working I think the function is tonumber which converts a string formatted number into an actual number. That might then solve your problem for that line.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Trying to see guild bank transaction information


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