And an error I experienced last night; current r56651, standalone libraries, USEng server/client.
In a 5-man party, running towards the entrance of the Crypts instance (set to heroic), the following error occurred:
SilverDragon-2.0.56651\\Core.lua:310: attempt to perform arithmetic on local 't' (a string value)\nSilverDragon-2.0.56651\\Core.lua:334: in function `OnNoteTooltipRequest'\nCartographer_Notes-2.0\\Notes.lua:2281: in function `OnTabletRequest'\nCartographer-r56557\\Cartographer.lua:804: in function `runChildren'\nTablet-2.0-55567 (TabletLib):2355: in function `children'\nTablet-2.0-55567 (TabletLib):2399: in function `Open'\nCartographer-r56557\\Cartographer.lua:1014: in function <Interface\\AddOns\\Cartographer\\Cartographer.lua:1011>\n(tail call): ?:\nCartographer_Notes-2.0\\Notes.lua:2271: in function <Interface\\AddOns\\Cartographer_Notes\\Notes.lua:2270>
The map (Cartographer) was not open and I was not aware of mousing over any rare (as I was inside the "pre-entrance" area to Crypts).
One change made before this error happened, though: I had a couple hours earlier enabled Cartographer_Noteshare's automatic note reception via its filters. I normally don't have it on; only normally have automatic outgoing sharing (to guild) on.
I am now experiencing the following error. When I saw this this morning, I logged out, trashed my SilverDragon data from the WTF folder and logged back in (just in case it was corrupt data causing it). I saw the same error again.
Date: 2007-12-10 13:26:46
ID: 51
Error occured in: Global
Count: 1
Message: ..\AddOns\SilverDragon\Core.lua line 401:
attempt to index field '?' (a nil value)
Debug:
Ace2\AceEvent-2.0\AceEvent-2.0.lua:365:
Ace2\AceEvent-2.0\AceEvent-2.0.lua:342
A quick question on SilverDragon. Is it possible(for a user like me) to easily add in a mob for SilverDragon to trigger on? There is a mob I'd like to be notified of that is not tagged as rare. The Etherium Jailor is uncommon and can spawn in a range of areas. Just wondering. Thanks.
Sorry if i'm being dim here but what exactly does this do?
i know it tracks rare mobs but how? does it track them in the way that blizz trackers work or does it have like map icons like gatherer/cartographer??
Cheers
Any chance of committing a change to make the FuBar icon hidable? I can do that on my local version easily, but of course then I have to make sure it's never updated. ;)
as of 3.02 the addon is broken:
----------------------
[2008/11/24 11:21:44-48-x1]: SilverDragon-2.0.65654\Core.lua:137: AceHook-2.1: Attempt to hook a non-existant function "ShowNameplates"
AceAddon-2.0-91091 (AtlasLootFu):983: in function <...ddOns\AtlasLootFu\Libs\AceAddon-2.0\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (AtlasLootFu):260: in function `TriggerEvent'
AceEvent-2.0-91091 (AtlasLootFu):910: in function <...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:903>
---------------------------------------
Does somebody know how to fix it - or a possible replacement ?
Yeah... Seems to still track when it sees the rare mobs (as time in the tooltip updates), but I get no chat message or Parrot output any longer when one's spotted. Would be nice if it could be updated. :)
as of 3.02 the addon is broken:
----------------------
[2008/11/24 11:21:44-48-x1]: SilverDragon-2.0.65654\Core.lua:137: AceHook-2.1: Attempt to hook a non-existant function "ShowNameplates"
AceAddon-2.0-91091 (AtlasLootFu):983: in function <...ddOns\AtlasLootFu\Libs\AceAddon-2.0\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (AtlasLootFu):260: in function `TriggerEvent'
AceEvent-2.0-91091 (AtlasLootFu):910: in function <...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:903>
---------------------------------------
Does somebody know how to fix it - or a possible replacement ?
In core.lua, comment lines 137-139 and 264-266. The mod will load cleanly, including hooking into cartographer2. However, I haven't yet seen a rare mob since modifying the addon, so I cannot verify if it actually works beyond loading.
Can someone who has a free minute scan the code and check to see if something else needs to be adjusted? Total coder newb here ;P
WoW 3.0 replaced the ShowNameplates and HideNameplates functions with console variables; depending on what SilverDragon used those functions for, it needs to be updated to either change the cvars, or watch for the event that's fired when a cvar is changed.
WoW 3.0 replaced the ShowNameplates and HideNameplates functions with console variables; depending on what SilverDragon used those functions for, it needs to be updated to either change the cvars, or watch for the event that's fired when a cvar is changed.
If my interpretation of the code is correct, it was checking if nameplates were displayed, and if so to enable some additional parsing. With the Nameplates functions disabled, it should fall back on only parsing target and mouseovers.
I'm guessing to scan nameplates for rares as they come into view, as I recall seeing notifications in the past without having moused over or targeted anything when I got near one.
Well, I finally came across a rarespawn mob, and with the nameplate code modifications, Silverdragon worked as intended. Fired a Parrot note and everything.
Granted, It lost a little bit of functionality since it can't scan nameplates, but at least it's working again.
(I never even knew that it would scan for nameplates. When I would be looking for rares, I normally have the Nameplates off anyway.)
and it would then work for the nameplate scanning..?
Granted, I'm a Lua noob, so I'm not sure if it's that simple or would require something else. :p
Edit: Well, I guess (if I'm following correctly) that there would need to be more to it, as I'm guessing that wouldn't handle toggling nameplates mid-game... But in any event, to me that looks like the CVar that it would need to leverage.
No. Your replacement would only set the nameplatesShowing variable once on loading. You'd need to register for the event that's fired when a cvar changes:
self:RegisterEvent("CVAR_UPDATE")
and then define a handler for it:
function SilverDragon:CVAR_UPDATE(cvar, value)
if cvar == "nameplateShowEnemies" then
nameplatesShowing = value == "1"
end
end
CVar boolean values are returned as strings of "1" or "0", so you need to translate that into an actual boolean value of true or false.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In a 5-man party, running towards the entrance of the Crypts instance (set to heroic), the following error occurred:
SilverDragon-2.0.56651\\Core.lua:310: attempt to perform arithmetic on local 't' (a string value)\nSilverDragon-2.0.56651\\Core.lua:334: in function `OnNoteTooltipRequest'\nCartographer_Notes-2.0\\Notes.lua:2281: in function `OnTabletRequest'\nCartographer-r56557\\Cartographer.lua:804: in function `runChildren'\nTablet-2.0-55567 (TabletLib):2355: in function `children'\nTablet-2.0-55567 (TabletLib):2399: in function `Open'\nCartographer-r56557\\Cartographer.lua:1014: in function <Interface\\AddOns\\Cartographer\\Cartographer.lua:1011>\n(tail call): ?:\nCartographer_Notes-2.0\\Notes.lua:2271: in function <Interface\\AddOns\\Cartographer_Notes\\Notes.lua:2270>
The map (Cartographer) was not open and I was not aware of mousing over any rare (as I was inside the "pre-entrance" area to Crypts).
One change made before this error happened, though: I had a couple hours earlier enabled Cartographer_Noteshare's automatic note reception via its filters. I normally don't have it on; only normally have automatic outgoing sharing (to guild) on.
i know it tracks rare mobs but how? does it track them in the way that blizz trackers work or does it have like map icons like gatherer/cartographer??
Cheers
This is one mod that is the first to be activated on any of my characters.
Not only handy, but it is sort of fun to find all of the rares in a given zone.
Having some sort of sound, even a quick beep upon scanning of a Silver Dragon-listed Rare would be great.
Thank you,
Nikk
----------------------
[2008/11/24 11:21:44-48-x1]: SilverDragon-2.0.65654\Core.lua:137: AceHook-2.1: Attempt to hook a non-existant function "ShowNameplates"
AceAddon-2.0-91091 (AtlasLootFu):983: in function <...ddOns\AtlasLootFu\Libs\AceAddon-2.0\AceAddon-2.0.lua:976>
<in C code>: ?
AceEvent-2.0-91091 (AtlasLootFu):260: in function `TriggerEvent'
AceEvent-2.0-91091 (AtlasLootFu):910: in function <...ddOns\AtlasLootFu\Libs\AceEvent-2.0\AceEvent-2.0.lua:903>
---------------------------------------
Does somebody know how to fix it - or a possible replacement ?
In core.lua, comment lines 137-139 and 264-266. The mod will load cleanly, including hooking into cartographer2. However, I haven't yet seen a rare mob since modifying the addon, so I cannot verify if it actually works beyond loading.
Can someone who has a free minute scan the code and check to see if something else needs to be adjusted? Total coder newb here ;P
Spy
If my interpretation of the code is correct, it was checking if nameplates were displayed, and if so to enable some additional parsing. With the Nameplates functions disabled, it should fall back on only parsing target and mouseovers.
But I could be mistaken, heh.
Spy
Granted, It lost a little bit of functionality since it can't scan nameplates, but at least it's working again.
(I never even knew that it would scan for nameplates. When I would be looking for rares, I normally have the Nameplates off anyway.)
Spy
could be replaced by:
and it would then work for the nameplate scanning..?
Granted, I'm a Lua noob, so I'm not sure if it's that simple or would require something else. :p
Edit: Well, I guess (if I'm following correctly) that there would need to be more to it, as I'm guessing that wouldn't handle toggling nameplates mid-game... But in any event, to me that looks like the CVar that it would need to leverage.
and then define a handler for it:
CVar boolean values are returned as strings of "1" or "0", so you need to translate that into an actual boolean value of true or false.