I keep getting this error message since the last update. Any idea what it is?
I have had a few errors as well but i haven't been out to figure out exactly what causes it. I haven't been able to reproduce them outside raids either.
So if you or anyone else experience this error (or one with UnitClass too) please describe if someone outside the raid was ressed, someone who just came online or basically just if there was anything special about what happened when the error occured.
I got it once and I could have sworn it was when I moused over a dead enemy mob. Is there any onmouseover code? I definitely was not spamming the keybinding to try rez or even trying to rez at all. Maybe an error in picking up someone else's rez? Oh and I had just zoned in after a partial wipe.
I got it once and I could have sworn it was when I moused over a dead enemy mob. Is there any onmouseover code? I definitely was not spamming the keybinding to try rez or even trying to rez at all. Maybe an error in picking up someone else's rez? Oh and I had just zoned in after a partial wipe.
There is some onmouseover code to be able to determine people who have released but i don't think that is it. I think i have experienced my errors when i was dead and someone else was resurrecting.
Running r47082.7, "SmartRes" stopped working for me.
On login I was getting some error with a deDE-translation (I think it was in Babble). There are no options available for me right now, the only thing I can configure is the FuBar-/Minimap-settings. I doesn't show up in my keybindings either. Unfortunately, I forgot to take a screenshot of the exact error. I will catch up on todays raid, and post the screenie here afterwards.
function SmartRes:CollidingRes(player, target)
for p, t in pairs(self.RessingTable) do
if UnitIsUnit(target, t) and not UnitIsUnit(player, p) then
return true
end
end
here p, t in RessingTable are all player names, not UnitId, so we cannot use UnitIsUnit().
maybe we can use a table to store all raid plaer names and UnitId of them.
also at SmartRes.lua line 213:
self:SendAddonMessage("RES " .. target)
here if target equals to nil, then will produce an error.
[2007/08/26 09:12:41-706-x1]: SmartRes\SmartRes-deDE.lua:2: AceLocale(SmartRes): Improper translation exists. "Set the bar background alpha." is likely misspelled for locale deDE.
Ace2\AceLibrary\AceLibrary.lua:100: in function `error'
AceLocale-2.2-40629 (Ace2):220: in function `RegisterTranslations'
SmartRes\SmartRes-deDE.lua:2: in main chunk
---
[2007/08/26 09:12:41-706-x1]: SmartRes-4.0\SmartResOptions.lua:371: AceConsole-2.0: args.broadcast: "desc" must be a string
AceAddon-2.0-46764 (Ace2):483: in function <Interface\AddOns\Ace2\AceAddon-2.0\AceAddon-2.0.lua:460>
<in C code>: ?
AceEvent-2.0-44693 (Ace2):299: in function `TriggerEvent'
AceEvent-2.0-44693 (Ace2):955: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:948>
---
function SmartRes:CollidingRes(player, target)
for p, t in pairs(self.RessingTable) do
if UnitIsUnit(target, t) and not UnitIsUnit(player, p) then
return true
end
end
here p, t in RessingTable are all player names, not UnitId, so we cannot use UnitIsUnit().
maybe we can use a table to store all raid plaer names and UnitId of them.
Actually Unit function also support using player names but the downside is when a player name doesn't exists, an error is thrown. So what is causing the error here isn't actually that i use UnitIsUnit on player names but that a situation occur where one of the names compared isn't valid which an error i would prefer to correct too :)
Quote from biggates »
also at SmartRes.lua line 213:
self:SendAddonMessage("RES " .. target)
here if target equals to nil, then will produce an error.
I'll add a check for this :)
Edit: I added biggates new translations and looked over the german ones again to fix the errors. Is there any way i can load the game as a different localization to test? So Farook and Borsch let me know if the problems are fixed or not. :)
local L = AceLibrary("AceLocale-2.2"):new("SmartRes")
L:RegisterTranslations("deDE", function() return {
["Auto Res Key"] = "Auto-Rezz-Taste",
["Key Binding for automated resurrection."] = "Tastenbelegung f\195\188r automatisiertes Wiederbeleben.",
["Normal Res Key"] = "Normal-Rezz-Taste",
["Key Binding for normal resurrection. Used to target people who have released when dead."] = "Tastenbelegung f\195\188r normales Wiederbeleben. Wird verwendet um Leute anzuvisieren, die ihren Geist freigelassen haben nachdem sie gestorben sind.",
["Anchor"] = "Anker",
["Show a dragable anchor."] = "Einen verschiebbaren Anker anzeigen.",
["Resurrection Bars"] = "Wiederbelebungsbalken",
["Options for resurrection statusbar."] = "Optionen f\195\188r Wiederbelebungs-Statusbalken.",
["Bar Texture"] = "Balkentextur",
["Change the texture of the timer bars."] = "Die Textur der Balken \195\164ndern.",
["Bar Color"] = "Balkenfarbe",
["Set the bar color for resurrects."] = "Die Farbe der Balken festlegen.",
["Collision Bar Color"] = "Farbe Kollisionsleiste",
["Set the bar color for colliding resurrects."] = "Die Leistenfarbe f\195\188r kollidierende Wiederbelebungen festlegen.",
["Background Color"] = "Hintergrundfarbe",
["Set the bar background color."] = "Die Hintergrundfarbe der Balken festlegen.",
["Text Color"] = "Textfarbe",
["Set the bar text color."] = "Die Farbe des Textes auf den Balken festlegen.",
["Text Size"] = "Textgr\195\182\195\159e",
["Set the bar text size."] = "Die Gr\195\182\195\159e des Textes auf den Balken festlegen.",
["Bar Scale"] = "Balkenskalierung",
["Set the bar scale."] = "Die Skalierung der Balken festlegen.",
["Bar Height"] = "Balkenh\195\182he",
["Set the bar height."] = "Die H\195\182he der Balken festlegen.",
["Bar Width"] = "Balkenbreite",
["Set the bar width."] = "Die Breite der Balken festlegen.",
["Bar Growth"] = "Balkenanstieg",
["Toggle the bar growing upwards or downwards."] = "Legt fest ob die Balken nach oben oder nach unten wandern sollen.",
["Reverse"] = "Umkehren",
["Toggle the bar fill direction."] = "Legt fest in welche Richtung die Balken sich f\195\188llen sollen.",
["Short Bar Text"] = "Kurzer Balkentext",
["Enable short text for bars."] = "Kurzen Text auf den Balken aktivieren.",
["Enable Bars"] = "Balken aktivieren",
["Enable timer bars."] = "Die Timer-Balken aktivieren.",
["Start Test Bars"] = "Testbalken starten",
["Start a few test bars."] = "Einige Testbalken starten.",
["Config"] = "Konfig",
["Show the GUI configuration menu."] = "Das Konfigurationsmen\195\188 anzeigen.",
["SmartRes"] = "SmartRes",
["Broadcast"] = "Senden",
["Broadcast resurrections to different chats."] = "Wiederbelebungen an verschiedene Chats senden.",
["Notify Yourself"] = "Selbst benachrichtigen",
["Show notifications for your resurrects."] = "Benachrichtigungen f\195\188r eigene Wiederbelebungen anzeigen.",
["Whisper Target"] = "Ziel anwhispern",
["Whisper your target when resurrecting."] = "Das Ziel anwhispern, welches du wiederbelebst.",
["Chat Type"] = "Chat Type",
["Set the chat to output to."] = "Den Chatkanal festlegen, in welchen gesendet werden soll.",
["Custom Channel"] = "Benutzerdefinierter Kanal",
["Send the Resurrection Message to a custom chat channel."] = "Wiederbelebungsnachrichten an einen benutzerdefinierten Chatkanal senden.",
["Resurrection Message"] = "Wiederbelebungsnachricht",
["Change the Resurrection Message."] = "Die Wiederbelebungsnachricht \195\164ndern.",
["You're not in a group."] = "Du bist in keiner Gruppe.",
["No one in range to res."] = "Niemand in Reichweite zum Wiederbeleben.",
["Not enough mana to res."] = "Nicht genug Mana zum Wiederbeleben.",
["Coudnt't find any dead (non-released) units."] = "Keine toten (nicht freigegebene) Charaktere gefunden.",
["All dead units are already being ressed."] = "Alle toten Charaktere werden bereits wiederbelebt.",
["Can't res while in combat."] = "Kann nicht wiederbeleben wenn im Kampf.",
["Can't res right now."] = "Kann jetzt nicht wiederbeleben.",
["Failed to res %s"] = "Wiederbeleben auf %s fehlgeschlagen.",
["Resurrecting %s"] = "Wirke Wiederbelebung auf %s",
["%s is resurrecting %s"] = "%s belebt %s wieder",
["%s: %s"] = "%s: %s",
} end)
There errors repeat themselves. Most of the time, it's after recovering from a wipe with another healer ressing someone.
The first one i haven't quite been able to figure out why it happens. However i should have fixed it temperarily by removing the color of player names according to their class. I think i have fixed the second one which i think could happen when players interrupted their resurrect right after casting it.
Besides the SmartRes:585 UnitIsUnit problem we're all having I'm also seeing:
SmartRes:673: bad argument #3 to 'format' (string expected, got nil)
I've been getting the same thing. I've even gotten it at least once when WoW wasn't even the foreground application, so I'm doubting it's directly related to what I'm doing.
Glancing briefly at the code, my bet is that it's happening when some broken addon sends a 'res' addon message without supplying a player name. I only looked for about two minutes, so I may be *way* off, but it seems plausable.
It's really hard to find the error that causes UnitIsUnit to cause a problem but my best guess is someone using oRA2/SmartRes/Addon using castcommlib targets a player that is invalid to us. I don't get any errors myself atm so until i get loads of time or somebody is able to describe who might have been resurrected when the error happened, it will be hard to correct it.
I updated the mod again last Thursday and raided extensively with it. Before an update about 3 weeks ago or so, I never ever had an error appear.
From what I could tells a good portion of these error messages comes from people who have "released" that are being ressed or when I'm not in the people's immediate range. I've seen this error more than 5 times (more like 25-30 times) and I don't see it related to a specific class ressing or class being ressed.
To reply to the post above, I do use oRA2.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So if you or anyone else experience this error (or one with UnitClass too) please describe if someone outside the raid was ressed, someone who just came online or basically just if there was anything special about what happened when the error occured.
On login I was getting some error with a deDE-translation (I think it was in Babble). There are no options available for me right now, the only thing I can configure is the FuBar-/Minimap-settings. I doesn't show up in my keybindings either. Unfortunately, I forgot to take a screenshot of the exact error. I will catch up on todays raid, and post the screenie here afterwards.
at SmartRes.lua line 576:
here p, t in RessingTable are all player names, not UnitId, so we cannot use UnitIsUnit().
maybe we can use a table to store all raid plaer names and UnitId of them.
also at SmartRes.lua line 213:
here if target equals to nil, then will produce an error.
Actually Unit function also support using player names but the downside is when a player name doesn't exists, an error is thrown. So what is causing the error here isn't actually that i use UnitIsUnit on player names but that a situation occur where one of the names compared isn't valid which an error i would prefer to correct too :)
I'll add a check for this :)
Edit: I added biggates new translations and looked over the german ones again to fix the errors. Is there any way i can load the game as a different localization to test? So Farook and Borsch let me know if the problems are fixed or not. :)
Yes, after tested in game I found that also support languages other than enUS. My misunderstood of the API function. Thanks.
There errors repeat themselves. Most of the time, it's after recovering from a wipe with another healer ressing someone.
I will as soon as possible.
For the sake of completeness, this is the error I was talking about yesterday:
Don't know if it has anything to do with the recent problem(s), as it seems to be only a missing/wrong localization.
Also updated the german localization.
thanks a lot :)
SmartRes:673: bad argument #3 to 'format' (string expected, got nil)
I've been getting the same thing. I've even gotten it at least once when WoW wasn't even the foreground application, so I'm doubting it's directly related to what I'm doing.
Glancing briefly at the code, my bet is that it's happening when some broken addon sends a 'res' addon message without supplying a player name. I only looked for about two minutes, so I may be *way* off, but it seems plausable.
Great addon, BTW. :)
I updated the mod again last Thursday and raided extensively with it. Before an update about 3 weeks ago or so, I never ever had an error appear.
From what I could tells a good portion of these error messages comes from people who have "released" that are being ressed or when I'm not in the people's immediate range. I've seen this error more than 5 times (more like 25-30 times) and I don't see it related to a specific class ressing or class being ressed.
To reply to the post above, I do use oRA2.