View Single Post
09-01-05, 10:50 AM   #5
Devla
A Cobalt Mageweaver
 
Devla's Avatar
AddOn Compiler - Click to view compilations
Join Date: Mar 2005
Posts: 206
Hmm

Yea I've been working on exporting a 'member list' for my guildmaster. Since our DKP system is a bit different than normal, the GM takes note of everyone online after every boss kill. Pen & paper works ok, and may be the only way...since a forced reloadui would be needed to parse any of the data into an external text file.

The setup I have right now is a custom version of the Guild Roster mod that I hacked up. Then, use the java applet at http://rezzed.com/ to parse the data and export it to an html friendly file.

Now, I've been playing with a script to pull this data myself locally using the lua compiler and a batch file. However I can't seem to pull the proper data. Below is the bit from the mod that pulls the data and saves it into SV:

Code:
	for i=1, numGuildMembers do
		name, rank, rankIndex, level, class, zone, group, note, officernote, online = GetGuildRosterInfo(i);
		year, month, day, hour = GetGuildRosterLastOnline(i); 
		
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name] = {};
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name]["Name"] = name; 
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name]["Level"] = level; 
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name]["Class"] = class;
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name]["Note"] = note;
		GuildInfo_GuildRoster[RealmName]["Guild"]["Members"][name]["Online"] = online;
			
		num=i;
	end
And below is a sample of the SV data:

Code:
GuildInfo_GuildRoster = {
["Servername"] = {
		["Guild"] = {
			["NumMembers"] = 12,
			["Name"] = "Blahguild",
			["Members"] = {
				["String"] = {
					["Note"] = "",
					["Name"] = "Blahblah",
					["Class"] = "Warlock",
					["Online"] = 1,
					["Level"] = 29,
				},}
If anyone could help me with the actual code for a compiler script to pull this data, it would be greatly appreciated.

Thanks
__________________
RETIRED Author
  Reply With Quote