Friends/Guildmates in Cities error
I noticed this since patch 5.4.7. I was seeing a green dot directly underneath my character direction arrow on the map. Every time I moved, there was a small delay and it would move after me. Like I was being followed. I was starting to get paranoid because I couldn't see anyone else around me in the game. I was being haunted.
Well not really, I guess there was a significant change in the API or this was something that I never noticed before. The problem is replicated by having Show Friends/Guildmates in Cities checked under the map options. This will place a guild dot on your map for your character. I am pretty sure it is not supposed to be there. My uneducated guess is that it might have to do with the way character names are being handled now in game. That little feature broke several other addons, like DBM's Pull Timer. Rythal, the addon still works great. I seriously want to thank you for all the work you have done to this point. |
It didn't do it before the new patch unless I was missing it too so I'm guessing it has to do with changes in the new patch. It was kinda freaking me out until I realized what it was too.
|
I was wrong about that option. It removed the feature in Stormwind, but it is still out in the wild. I tried to disable the chat channels, but that didn't work either.
|
Ok, I thought I disabled it the friends and guild chat messages. I didn't. I unloaded the minimap from the map and then placed it back in there. That seemed to do the trick and removed the green dot under the character arrow.
|
I still got the extra dots (noticed it's also giving me doubles on party members) even after doing that.
Ok I take that back, turning off chat channels seems to have worked and I can still see party members (not sure about guildies right now) |
In NXCom.lua
Add the two following lines : Code:
local rn = GetRealmName(); Code:
function Nx.Com:OnEvent (event) |
i think a better way is the follow:
local pl, rn = UnitFullName ("player") self.PlyrName = pl.."-"..rn so it's faster, i think... from wowpedia: API UnitFullName Returns the player's (unit's) name and server. fullName, realm = UnitFullName("unit") Arguments unit String - unitId to query; the only intended value is "player". Returns name String - unit's name (with no realm suffix), e.g. "Shion". realm String - unit's realm of origin, e.g. "TarrenMill", if different from the player's own, or no value if the same as the player's own realm (see Details). Details This function is equivalent to UnitName if called with any other unitId than "player". When called with "player" as the argument, realm is always returned. |
Just to Summarize the fix that worked for me:
In NXCom.lua Find: Code:
function Nx.Com:OnEvent (event) Code:
function Nx.Com:OnEvent (event) |
All times are GMT -6. The time now is 07:54 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI