shirsig / aux-addon

Auction House addOn for Classic (1.13) IMPORTANT: The folder name must be "aux-addon" IMPORTANT: The Vanilla (1.12) version moved here https://github.com/shirsig/aux-addon-vanilla
https://www.curseforge.com/wow/addons/aux
196 stars 42 forks source link

Lua error while calling slashcmd #320

Closed MickeyPickey closed 1 year ago

MickeyPickey commented 3 years ago

1x aux-addon\color-Color.lua:8: attempt to concatenate local 'text' (a boolean value) [string "@aux-addon\color-Color.lua"]:8: in functionblue' [string "@aux-addon\core\slash.lua"]:71: in function ?' [string "@FrameXML\ChatFrame.lua"]:4825: in functionChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4488: in function ChatEdit_SendText' [string "@FrameXML\ChatFrame.lua"]:4524: in function <FrameXML\ChatFrame.lua:4520> [string "=[C]"]: in functionChatEdit_OnEnterPressed'

Locals: self =

{ } text = true r = 41 g = 146 b = 255 a = 1 (temporary) = "|c012992FF" (temporary) = true (temporary) = "|r" (temporary) = 41 (temporary) = 146 (temporary) = 255 (*temporary) = "attempt to concatenate local 'text' (a boolean value)" mt =
{ concat = defined @aux-addon\color.lua:13 color =
{ } metatable = false newindex = defined @aux-addon\libs\package.lua:18 call = defined @aux-addon\color.lua:5 } `

sipertruk commented 1 year ago

in core/slash.lua replace

aux.print('- post bid [' .. aux.color.blue(aux.account_data.post_bid or 'off') .. ']')

by

aux.print('- post bid [' .. status(aux.account_data.post_bid) .. ']')

shirsig commented 1 year ago

You have corrupted savedvariables. Running one of /aux post bid unit /aux post bid stack /aux post bid off should fix it.