WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite: Maps (Main AddOn) (https://www.wowinterface.com/forums/forumdisplay.php?f=119)
-   -   Command /played not working (https://www.wowinterface.com/forums/showthread.php?t=58080)

Rimiky 07-08-20 11:16 AM

Command /played not working
 
Hi,

I installed Carbonite Maps a few days ago and noticed that the ingame command /played to show the total time played and on the current level is not working any more. When I deactivate Carbonite Maps it works instantly, and when Carbonite Maps is the only activated addon it doesn't work any more.
There's no error message in the chat, just the output is missing.
I tested it with the latest version 8.3.1.1 back to the first version 8.3.0.1 for WoW 8.3.0 and this issue can be reproduced with all versions.
Thanks in advance!

Kanegasi 07-08-20 11:40 AM

Carbonite.lua line 956 disables the function that would display the time played in chat.

Lua Code:
  1. function Nx:OnPlayer_login (event, ...)
  2.     Nx:OnParty_members_changed()   
  3.     Nx.Com:OnEvent (event)
  4.     Nx.InitWins()
  5.  
  6.     Nx.BlizzChatFrame_DisplayTimePlayed = ChatFrame_DisplayTimePlayed       -- Save func
  7.     ChatFrame_DisplayTimePlayed = function() end
  8.  
  9. --  RequestTimePlayed()     -- Blizz does not do anymore on login???
  10.     Nx.RequestTime = true;
  11. end

Not sure why anyone would disable or otherwise ruin functionality the player or other addons would want and/or rely on.

Rimiky 07-08-20 03:24 PM

Hi,

I commented out the line you mentioned and the /played command works again!
Thanks a lot for the solution :)

ircdirk 07-08-20 10:59 PM

Quote:

Originally Posted by Kanegasi (Post 336304)
Carbonite.lua line 956 disables the function that would display the time played in chat.

Lua Code:
  1. function Nx:OnPlayer_login (event, ...)
  2.     Nx:OnParty_members_changed()   
  3.     Nx.Com:OnEvent (event)
  4.     Nx.InitWins()
  5.  
  6.     Nx.BlizzChatFrame_DisplayTimePlayed = ChatFrame_DisplayTimePlayed       -- Save func
  7.     ChatFrame_DisplayTimePlayed = function() end
  8.  
  9. --  RequestTimePlayed()     -- Blizz does not do anymore on login???
  10.     Nx.RequestTime = true;
  11. end

Not sure why anyone would disable or otherwise ruin functionality the player or other addons would want and/or rely on.

I think i will make fix for it. I did not disabled it ;)


All times are GMT -6. The time now is 04:05 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI