View Full Version : AddOn: Character Profiler [12-20-2004 v0.94]
angarth
11-14-2004, 05:47 PM
This AddOn will extract character profiles for use in guild websites.
The easiest way to see what it does is just install it and run it. After you log out, look at your SavedVariables.lua file for the "myProfile" section.
Keep in mind, this script is not a data-miner. The item information is presented as one string to be parsed in your custom tooltips.
I'm working on getting the item stats added to the character's base stats, so that doesn't have to be done on the outside. But other than that this is pretty functional.
It is pieced together from two different sources. From LootLink (gathering item information) and from Allakhazam's "Wr." I fe't their code was pretty readable and easy to use, and hopefully won't have to be changed much, if at all, in future patches.
http://www.cethinchimera.com/ui/profiler
Exports:
Equipment information (worn)
Talents
Skills
Professions / Secondary Skills
Money
Guild Information
Resistances
Base Stats
Please visit http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=129&s=new&tmp=1#new for a more active thread.
WiZCoke
11-16-2004, 04:11 PM
Very nice, I will follow your progress with great anticipation :-)
Will try to do something with this version to get started (I know no LUA or XML but am good with databases and web applications).
angarth
11-18-2004, 05:42 AM
updated 11-17 to store money (I forgot to add it in before!)
Rosalynne
11-22-2004, 04:09 AM
Very cool sounding mod. I will definitely give this a try when retail starts and see what it would take to integrate that information on my guild's pages. I like the look of Allakhazam's Wowreader profiles, but nobody wants to have to sign up on another site just so we can nab their xml info off it :)
Something I am very very curious about though... Would it be possible for it to also spit out the contents of a character's inventory and bank? :shock:
I'm trying to figure out a way to have a "Guild Vault" character (mule), where guild members can mail their stuff to it to be banked and used by everyone. However the problem comes down to advertising what the character has in its inventory and displaying it somewhere like our guild site so people know what is available and can request it be transferred to their character via the mail system. :D
Please let me know if you think this is viable -- it'd be great to have for tons of guilds until Blizzard implements a Guildhall... or even for personal use to see what your alt has on it or whatever.
Karmond
11-22-2004, 12:10 PM
It may already be able to do this, I'm new to this so I can't read the code as easily as others. But is it possible to be able to extract what a character can create with their tradeskills?
Moreso Professions than Secondary Tradeskills.
Very cool mod though.
angarth
11-22-2004, 04:09 PM
In a future release I'll be adding the inventory and bank inventory to the exported data. No ETA as of yet, because I haven't started it =)
Yes it is possible to export all tradeskill information, but it isn't something on my plans to do for this mod right now. Perhaps in the future, I'll keep it in mind.
Right now this mod is just a character stat/equipment profiler. It isn't that of a data miner, where it extracts everything possible. Just the bare necessaties to create a guild website, not a thottbot/allakhazam website.
Rosalynne
11-24-2004, 05:23 AM
I'm really looking forward to being able to implement this mod to our guild site.
My guildies were very excited at the prospect of having our own nifty character profiles, as well as possibly listing the contents of our guild vault bot on the site.
Looking forward to seeing what you can do, but understandably you want to play WoW first and foremost like the rest of us ;)
Sircasm
11-28-2004, 12:46 PM
Ok I got the zip addded to the Add ons and Nothing. what needs to be done to get it working and where is it sending the data that is extracted Or do we have to tell it where? Does it generate a XML file to display the info like Allakhazam's ? Just curious. I am trying to figure a way of automating a guild roster for websites ( Nuke friendly moreso).
luizofoca
11-28-2004, 09:28 PM
sounds cool this mod.
but i dont realy think money information is a good think to export.
the rest is cool
WiZCoke
11-29-2004, 12:21 AM
Have you updated it to work with the release version yet?
I am eagerly awaiting any updates made :-)
Sircasm
11-30-2004, 03:05 PM
The parser can be found here: http://wow.clockwerx.org/wowparser.zip I found it on the offical forums here: http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=129&p=1&tmp=1#post129
Just thought some would like to have this.
Anonymous
12-10-2004, 06:05 AM
Does anyone have a way to get the profiler data from the SavedVariables file directly into a SQL DB using php or perl? I want to avoid an intermediate conversion into XML, and so far the only way i could think of doing it is to go line by line using string searches, but i was hoping someone has thought of a cleaner way.
Sircasm
12-10-2004, 11:15 AM
There is a larger discussion on this add on here: http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=129&tmp=1#post129
THey are working on a few different ways. Zahn might be the one to ask about doing it.
WiZCoke
12-13-2004, 12:44 AM
I also am working on getting the data to a db and got the knoledge to code a parsing script. However, I got no knowledge on how to make Windows upload the SavedVariables.lua to my webserver and in an ideal world to do it automatically after logging out of WoW.
Kieeps
12-19-2004, 08:41 AM
is it possible to make an "time played" output to this addon?
Sircasm
12-19-2004, 12:40 PM
Well FTP seems to do the upload just fine to webservers there are different ones out there for use in programs to use. They already use it in wowparser, and the wowparserapp (which runs in your systray and makes checks for changes to the savedvaribles.lua not the client at a timed interval. The project now is getting a more friendly way ( via php script) most likely) to make the transition to the sql db. So one could have it upload top the webserver the data then a php script there could convert the data into the sql table. Then the webmaster for the site gets to do what they want with it. I have a feeling that there are some users thatonce it is in sql they will have no problem making scripts to display the data in some pretty cool looking formats. Anyways things are going forward on the project. Check the official WoW forums ( in my previos post there is a link to it).
chuparon
12-20-2004, 08:48 PM
URL no longer exists :(
angarth
12-21-2004, 03:27 AM
URL no longer exists :(
Link updated. http://www.cethinchimera.com/ui/profiler
Anonymous
12-21-2004, 03:54 AM
are we suppost to extract the "Phaser" Program to a spacific folder cause I just extracted it to the foler that the Character Profiler goes to but when I load the phaser I get the following message ...
WARNING: 'editftp.log.level' not found - logging switched off
Anonymous
12-31-2004, 10:13 PM
I have the same problem as the above user.
WiZCoke
01-08-2005, 01:32 AM
Angarth: I added TotalTimePlayed and LevelTimePlayed to ChaacterProfiler and thought you could consider adding that in the next version.
Here are the lines I added - let me know if you need more details:
myProfile_TimePlayed = 1; -- enable time played?
...
this:RegisterEvent("TIME_PLAYED_MSG");
...
if ( event == "TIME_PLAYED_MSG" ) then
TotalPlayed = arg1;
LevelPlayed = arg2;
end
...
if ( myProfile_TimePlayed ) then
RequestTimePlayed();
myProfile_TimePlayed = nil;
end
...
myProfile[GetCVar("realmName")][UnitName("player")]["TotalPlayed"] = TotalPlayed;
myProfile[GetCVar("realmName")][UnitName("player")]["LevelPlayed"] = LevelPlayed;
...
A word of caution - this seem to be very timing critical. When testing on Korean OB it was very hard to get it to actually execute the RequestTimePlayed() but I suppose that was because of latency issues. I move the code pieces around a bit and finally got it working most of the time.
WiZCoke
01-19-2005, 05:17 PM
Angarth back from vacation soon? I am eager to get further with this and I think a lot over at the wowprofiler project on sourceforge are too.
Also I wonder if you could share your dbs scheme for the items. Mail me on wiz_aliens@hotmail.com and also tell me if your own parser is coded in Cold Fusion - I am having a rough time parsing the tooltip lines...
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.