
Originally Posted by
'Jafula',index.php?page=Thread&postID=166740#post1 66740

Originally Posted by
'antieuclid',index.php?page=Thread&postID=166688#p ost166688
but it would be nice to have this done automatically somehow and even better to find some way of keep track of the fact that char A needs 200 Iron bars, 40 Medium Leather, and 10 Citrine to level Blacksmithing etc.
An addon that writes the required info out to the Saved Variables and a C# .NET 3.5 winforms application with a SQL Server Compact backend could be an interesting project ...
Um.......
PHP Code:
<?php
$chars_1 = array("char1", "char2", "char3", "char4"); //account 1 chars
$chars_2 = array("char1", "char2", "char3", "char4", "char5", "char6"); //account 2 chars
$chars_3 = array("char1", "char2", "char3"); //account 3 chars
$chars = array_merge($chars_1, $chars_2, $chars_3);
sort($chars);
$realm = "Eonar";
echo "<table border=\"1\" cellpadding=\"5\"><tr>";
foreach ($chars as $char) {
echo "<tr><td>[b]" . utf8_encode($char) . "[/b]</td>";
$input_file = file('http://eu.wowarmory.com/character-sheet.xml?r=" . $realm . "&n=' . rawurlencode(utf8_encode($char)));
$sect_copy=0;
echo "<td>";
foreach ($input_file as $line) {
if (preg_match('/^.*?Primary Professions:.*?$/', $line)) {
$sect_copy=1;
} else if (preg_match('/^.*?Health:.*?$/', $line)) {
$sect_copy=0;
} else {
if ((preg_match('/^<h4>(.*?)<\/h4>$/', $line, $found)) && ($sect_copy==1)) {
echo $found[1]. ":";
}
if ((preg_match('/^[img]\/images\/pixel.gif[/img]<b style=" width:.*?<span>(.*?)<\/span>$/', $line, $found)) && ($sect_copy==1)) {
echo $found[1] . "
";
}
}
}
echo "<td></tr>";
}
echo "</table>";
?>
Just harvests all the trade skill data from each character's armory page, and displays it in one place. I should really change it to update a locally stored file instead of querying armory every time it's run. Besides this, all I use is the Ten Ton Hammer trade skill levelling guides, and I make tracking mats for trade skills easy by having dedicated bankers for each kind of item (twinks do come in handy, not having any other use for their bank slots).
I do wish bank contents was available through armory, as I'm not inclined to learn LUA to make an addon to copy the data out. If you're swimming in gold though you could always get a guild bank for each bank char, as the contents can be seen in armory.
Connect With Us