TekNoLogic / StealYourCarbon

WoW Addon - Automatically restock items from vendors and your bank
http://www.tekkub.net
12 stars 9 forks source link

LUA error when trying to increase stack size in Classic #19

Open Nixxen opened 4 years ago

Nixxen commented 4 years ago

I managed to get this running in classic ( I was honestly not expecting that). It fills up 1 stack of whatever you add to the list, but you can't increase it further. If you click on the up arrow this error is thrown:

Message: Interface\AddOns\StealYourCarbon\Config_Restock.lua:30: Usage: PlaySound(soundKitID, optional["SFX","Music","Ambience", "Dialog" or "Master"], [forceNoDuplicates, runFinishCallback])
Time: Thu Aug 29 21:13:01 2019
Count: 1
Stack: Interface\AddOns\StealYourCarbon\Config_Restock.lua:30: Usage: PlaySound(soundKitID, optional["SFX","Music","Ambience", "Dialog" or "Master"], [forceNoDuplicates, runFinishCallback])
...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:582: in function <...ce\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:542>
[C]: ?
[C]: in function `PlaySound'
Interface\AddOns\StealYourCarbon\Config_Restock.lua:30: in function <Interface\AddOns\StealYourCarbon\Config_Restock.lua:29>

Locals: errMsg = "Interface\AddOns\StealYourCarbon\Config_Restock.lua:30: Usage: PlaySound(soundKitID, optional["SFX","Music","Ambience", "Dialog" or "Master"], [forceNoDuplicates, runFinishCallback])"
tsmErrMsg = nil
oldModule = nil
private = <table> {
 AddonBlockedEvent = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:334
 num = 0
 ErrorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:116
 hitInternalError = false
 errorFrame = <unnamed> {
 }
 origErrorHandler = <function> defined @Interface\SharedXML\SharedBasicControls.lua:295
 FormatErrorMessageSection = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:349
 SanitizeString = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:342
 errorReports = <table> {
 }
 IsTSMAddon = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:312
 localLinesTemp = <table> {
 }
 GetStackInfo = <function> defined @Interface\AddOns\TradeSkillMaster\Core\Lib\ErrorHandler.lua:280
}
MAX_STACK_DEPTH = 50
TSM = <table> {
}
Nixxen commented 4 years ago

Thanks to some help from Woblight it's working again. Update the line to: PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON)

(I didn't get a response from you on twitter, so hope this is ok).

nicholascowan commented 4 years ago

Thanks to some help from Woblight it's working again. Update the line to: PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON)

(I didn't get a response from you on twitter, so hope this is ok).

Any chance you can fork this repo with your working fixes?

Nixxen commented 4 years ago

Thanks to some help from Woblight it's working again. Update the line to: PlaySound(SOUNDKIT.U_CHAT_SCROLL_BUTTON) (I didn't get a response from you on twitter, so hope this is ok).

Any chance you can fork this repo with your working fixes?

Sadly Tekkub requires authorization to copy / modify and redistribute his mods (due to some limited license from earlier). Or at least I think he does. Read some comments about it from a google code page. I've tried contacting him a while back but didn't get a response.

tekkub commented 4 years ago

I've been pretty radio-silent across the board lately, sorry about that. Unfortunately, I don't have the time these days to play WoW (or rather, maintain my addons and idle in Ironforge making gold on the AH ^^). Humanspace sucks sometimes.

Anyone is welcome to fork my public repos here in this org (TekNoLogic) and submit pull requests. If anyone is interested in taking on a maintainer role for any of them, I welcome the help. I wrote these addons for myself, but I shared them on WoWI, Ace (now curse), and here so that everyone else playing WoW could enjoy the game more and fight the UI less. I still believe that 🐼🐾