RoLExport
Description
RoLExport is a small addon to do a small job - provide XML formatted output used to update my guilds roster.
Right now it outputs:
Guild Roster:
- Guild name
- Guild members name, level, class, guild rank (numeric) and public note
- Guild ranks, indexed by ID set to equal the rank
Players:
- Name, Level, Class, Sex (numeric), Race, Guild
- Talent Tree spec
- Tradeskill name, current level and max level (First Aid, 340/375)
- Tradeskill specialization (Goblin/Gnome Eng, Moon/Spell/Shadow cloth, etc)
- Craftable items, organized under each tradeskill heading listing:
- Item or Spells Name
- Item or Spell ID
- Icon texture
- Item Quality (Poor/Common/etc)
- Craft type (Item or Spell)
Slash Commands
Commands
Options:
- reset - Reset saved values.
- guild - Guild export.
- player - Player export.
- guildupdate / update - Queue a roster update.
- status - Check which skills/guilds have been scanned.
Exports are in XML, you can change the output format by changing functions
dialogOutPlayers and
dialogOutGuild.
Changes:
Version 1.1
- Added some commenting on some functions/variables my guildies wanted clarification about
- Moved around functions and variables so there's a more logical flow to the code when reading it
- Guild updates are now queued.
Originally we would capture guild data whenever GUILD_ROSTER_UPDATE was fired, this turned out to be very memory expensive over a few hours (got it up to 4mb). Now we queue an update and the next time GUILD_ROSTER_UPDATE fires our guild info function is run and we get a status message stating the roster has been updated. If the update is taking a while just open up the in-game roster (Social Pane, usually bound to the "O" key) and it should fire immediately - in-game note included.
- Added in secondary skills, only works for the English client, if you want your language supported alter line 73 changing first aid, riding and cooking to whatever your client spits out
- Removed the need for 2 functions I stole from LZProfiler which in-turn made the addon 2.4 compatible, strsplit makes me feel all happy
- Changed the XML output for guild members and items, lines were commented and XML tag names, in some cases, were re-named