Quantcast
Command /played not working - WoWInterface
Thread Tools Display Modes
07-08-20, 11:16 AM   #1
Rimiky
A Defias Bandit
Join Date: Jul 2020
Posts: 2
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!
  Reply With Quote
07-08-20, 11:40 AM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 508
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.
  Reply With Quote
07-08-20, 03:24 PM   #3
Rimiky
A Defias Bandit
Join Date: Jul 2020
Posts: 2
Hi,

I commented out the line you mentioned and the /played command works again!
Thanks a lot for the solution
  Reply With Quote
07-08-20, 10:59 PM   #4
ircdirk
A Molten Giant
 
ircdirk's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 815
Originally Posted by Kanegasi View Post
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
__________________
Carbonite and Carbonite Classic Developer
  Reply With Quote

WoWInterface » Featured Projects » Carbonite » Carbonite: Maps (Main AddOn) » Command /played not working

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off