BadBoy: Spam Blocker & Reporter

BadBoy: Spam Blocker & Reporter

14M Downloads

BCC Generate.lua:5 attempt to index a nil value

HxxxxxS opened this issue ยท 3 comments

commented

Describe the problem

Hello, badboy does not work on the tbc client. Addon throws error on launch and does not run after.

What steps will reproduce the problem?

  1. install addon
  2. enable lua errors
  3. ???
  4. profit

What version of the addon are you using? (Stating 'latest' is not useful)

v9.0.6 downloaded from latest github release

Do you have an error log of what happened?

Message: Interface\AddOns\BadBoy\Generate.lua:5: attempt to index a nil value
Time: Fri Jun  4 13:10:02 2021
Count: 1
Stack: Interface\AddOns\BadBoy\Generate.lua:5: attempt to index a nil value
[string "@Interface\AddOns\BadBoy\Generate.lua"]:5: in function `gnt'
[string "@Interface\AddOns\BadBoy\BadBoy.lua"]:3: in main chunk

Locals: u = 1350
(*temporary) = <function> defined =[C]:-1
(*temporary) = <function> defined =[C]:-1
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 1350
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index a nil value"
t = <table> {
 clickToReport = "Click to report, Alt-Click to dismiss."
 noAnimate = "Disable button pulse animation"
 is = <function> defined @Interface\AddOns\BadBoy\Generate.lua:34
 frequentButton = "Show the button more frequently"
 spamTooltip = "Show spam in button tooltip"
 spamBlocked = "BadBoy: Spam blocked"
 gnt = <function> defined @Interface\AddOns\BadBoy\Generate.lua:4
 frequentButtonTip = "To reduce player annoyance the report button will not always show.
Enable this to always show the button asking to report and show it faster."
}
commented

Please use the CurseForge app to install and maintain the correct versions of addons for different copies of WoW. You've installed the wrong version.

commented

You are right, sorry. I had retail version installed.-

commented

@HxxxxxS No problem :)