Paste this code into the AddonSpamFu:AddMessage( function just before the local dataLen = strlen(origPrefix) + strlen(msg) line.
if self.recordToSavedVariables then
if not self.db.profile.AddonSpamLog then
self.db.profile.AddonSpamLog = {}
elseif #self.db.profile.AddonSpamLog == 500 then
table.remove(self.db.profile.AddonSpamLog, 1)
end
table.insert(self.db.profile.AddonSpamLog, ((showRenamedPrefix and prefix..": [") or "[")..origPrefix.."]["..msg.."]["..msgtype.."]"..destination.."["..name.."]")
end
To enable logging, type this into your Chat window:
/script AddonSpamFu.recordToSavedVariables=true
To disable, type this:
/script AddonSpamFu.recordToSavedVariables=nil
The information is only stored in memory until you log out or reload your UI, then you can view the logged information by opening up the AddonSpamFu savedvariables file with a text editor and looking for the start of the "AddonSpamLog" table. This is the only way for an addon to record information for view outside of the game.
You should empty this log when you don't need its contents anymore by running the following command:
/script AddonSpamFu.db.profile.AddonSpamLog = nil
Otherwise the log will keep only the 500 most recent entries.
Unfortunately, there's no really good way to determine what addon is sending the "k?" prefixed message without help from the user sending it.
Since the prefix appears to be random characters, it is probably an Ace2 addon using AceComm.
I don't think it would be such a good idea to record all messages to a file since it could get very large very fast. Perhaps a screenshot of an expanded chat window would suffice?
Quote from Funkydude »
I think it might be gladiator using a blank prefix, or what seems to be blank.
I also had to disable QuestsFu. Its syncing logic is messed up and it seems to go spam crazy sometimes. It also frustrated me that it still tried to sync even when party sharing was disabled.
If you have a single resource hungry addon such as Recount, and you let it run for a long time, its memory usage will become huge. Recount should be reset regularly. If you're using Recount with embedded libraries, its resource usage could be attributed to any other addon which is using the same libraries.
0
0
To enable logging, type this into your Chat window:
To disable, type this:
The information is only stored in memory until you log out or reload your UI, then you can view the logged information by opening up the AddonSpamFu savedvariables file with a text editor and looking for the start of the "AddonSpamLog" table. This is the only way for an addon to record information for view outside of the game.
You should empty this log when you don't need its contents anymore by running the following command:
Otherwise the log will keep only the 500 most recent entries.
This is all drycoded and untested code
0
http://www.wowwiki.com/HOWTO:_Use_Pattern_Matching
0
0
Since the prefix appears to be random characters, it is probably an Ace2 addon using AceComm.
I don't think it would be such a good idea to record all messages to a file since it could get very large very fast. Perhaps a screenshot of an expanded chat window would suffice?
Thanks, got it.
0
0
0
Or turn off the Automatic Dependency Download option in WowAceUpdater.
0
0
http://www.wowwiki.com/Object_Oriented_Programming#Metatables
Note the part about functions (methods) with colons.
function.method(self,parameter1,parameter2) is the same as function:method(parameter1,parameter2)
self is still available in the latter, but hidden. It's just syntax.
(Forgive me if I'm wrong, I can't find the right link)
0
0
Thanks :) It seems to use UnT and VER also.
0
0
I doubt that it still works with the recent changes to Cartographer's communications.
Constantly communicating your position among guild mates is inefficient.
0