shirsig / unitscan

Lightweight npcscan clone for classic (1.13). IMPORTANT: The folder name must be "unitscan". IMPORTANT: For vanilla (1.12) use this instead: https://github.com/shirsig/unitscan-vanilla
https://www.curseforge.com/wow/addons/unitscan
30 stars 26 forks source link

Final Stress Test #5

Closed Peetytwist closed 5 years ago

Peetytwist commented 5 years ago

Hey, I get this message while using it in the final stress test of WoW Classic today:

Message: Interface\AddOns\unitscan\unitscan.lua:27: attempt to call a table value Time: Fri Aug 9 16:02:56 2019 Count: 726 Stack: Interface\AddOns\unitscan\unitscan.lua:27: attempt to call a table value Interface\AddOns\unitscan\unitscan.lua:27: in function check_for_targets' Interface\AddOns\unitscan\unitscan.lua:299: in functionUPDATE' Interface\AddOns\unitscan\unitscan.lua:2: in function <Interface\AddOns\unitscan\unitscan.lua:2>

Locals: (for generator) =

{ } (for state) = nil (for control) = nil (temporary) =
{ } (temporary) = nil (temporary) = nil (temporary) = "attempt to call a table value" unitscan = { 0 = UPDATE = defined @Interface\AddOns\unitscan\unitscan.lua:296 print = defined @Interface\AddOns\unitscan\unitscan.lua:304 toggle_target = defined @Interface\AddOns\unitscan\unitscan.lua:319 button = unitscan_button { } flash = { } sorted_targets = defined @Interface\AddOns\unitscan\unitscan.lua:310 LOAD = defined @Interface\AddOns\unitscan\unitscan.lua:50 target = defined @Interface\AddOns\unitscan\unitscan.lua:40 last_check = 318517.982000 play_sound = defined @Interface\AddOns\unitscan\unitscan.lua:15 check_for_targets = defined @Interface\AddOns\unitscan\unitscan.lua:26 }

shirsig commented 5 years ago

Hey. This is not one of the addons I'm trying to port (https://old.reddit.com/r/classicwow/comments/bxf1lc/aux_auction_house_addon_experimental_classic/). It seems they disallowed addons from auto targeting so its mechanism of detection doesn't work. Perhaps one of the later npcscans might be portable but I'll leave that to their developers.