PDA

View Full Version : Gathering Zone Stattistic break down


Mafoo
11-21-2004, 01:29 PM
Thease are the priliinary results just finnished writeing a script to process my log file


Aged Arbor, severed elm, 9, 100%
Badger Den, a lion meat, 21, 21%
Badger Den, a pig meat, 26, 26%
Badger Den, a sullied low quality badger pelt, 12, 12%
Badger Den, a sullied medium quality badger pelt, 42, 42%
Blemished Ore, a tin cluster, 9, 100%
Callous Ore, iron cluster, 20, 100%
Compound Ore, a tin cluster, 7, 100%
Critter Den, a elephant meat, 10, 36%
Critter Den, a sullied average quality badger pelt, 13, 46%
Critter Den, a vulrich meat, 5, 18%
Damp Roots, a roots, 6, 100%
Felled High Plains Arbor, severed ash, 73, 100%
Grizzled Arbor, severed elm, 9, 100%
Mesquite Catch Weed, belladonna root, 71, 99%
Mesquite Catch Weed, dandelion fiber, 1, 1%
Molerat Den, a sullied low quality mole rat pelt, 14, 100%
Moss Encased Stone, a rough malachite, 2, 100%
Muddy Roots, a roots, 6, 100%
Plains Roots, tuber strands, 28, 100%
Rigid Stone, a rough malachite, 3, 100%
Sandwashed Rock, Rough Turquoise, 5, 26%
Sandwashed Rock, electrum cluster, 14, 74%
Stonecrest Ore, carbonite cluster, 100, 100%
Unearthed Stones, a lead cluster, 5, 45%
Unearthed Stones, a rough malachite, 6, 55%
Wind Felled Tree, severed maple, 31, 100%
Wind Swept Stones, Rough Agate, 18, 67%
Wind Swept Stones, gold cluster, 9, 33%
a hover of freshwater trout, an averaged sized freshwater trout, 49, 100%
high plains fungi, Beetleweed, 10, 17%
high plains fungi, Bellflower, 7, 12%
high plains fungi, Poison Oak, 9, 15%
high plains fungi, Wild Birch, 15, 25%
high plains fungi, Wild Garlic, 4, 7%
high plains fungi, Wild Hyacinth, 6, 10%
high plains fungi, Wild Leek, 9, 15%
high plains shrubbery, almond, 13, 13%
high plains shrubbery, cinnamon, 14, 14%
high plains shrubbery, fayberry, 13, 13%
high plains shrubbery, oolong tea leaf, 19, 19%
high plains shrubbery, raw marjoram, 14, 14%
high plains shrubbery, rye, 12, 12%
high plains shrubbery, steppes mountain bean, 8, 8%
high plains shrubbery, sweet onion, 6, 6%
natural garden, a black coffee bean, 1, 12%
natural garden, a jumjum, 1, 12%
natural garden, a raw basil, 2, 25%
natural garden, a raw nutmeg, 1, 12%
natural garden, a raw pecan, 2, 25%
natural garden, a raw white tea leaf, 1, 12%
natural herb garden, a Sassafras, 1, 33%
natural herb garden, a Silverberry, 1, 33%
natural herb garden, a Snakeroot, 1, 33%
plains fungi, Fig, 5, 28%
plains fungi, Soapweed, 2, 11%
plains fungi, Spoonleaf Yucca, 1, 6%
plains fungi, Sycamore, 5, 28%
plains fungi, Tree Fern, 1, 6%
plains fungi, Withered Mushroom, 4, 22%
plains shrubbery, murdunk orange, 3, 20%
plains shrubbery, raw black tea leaf, 1, 7%
plains shrubbery, raw black walnut, 2, 13%
plains shrubbery, raw carrot, 3, 20%
plains shrubbery, raw vanilla, 3, 20%
plains shrubbery, raw wheat, 3, 20%
variety of fish, coldwind flounder, 6, 50%
variety of fish, frog leg, 4, 33%
variety of fish, sunfish, 2, 17%

Mafoo
11-21-2004, 06:13 PM
I was havesting in The Thundering stepps today, i useually clearcut all nodes i find excludeing fish.
Here are the results so you can see your chances of getting each resource

The Thundering Steppes

Badger Den, a lion meat, 16, 26%
Badger Den, a pig meat, 11, 18%
Badger Den, a sullied medium quality badger pelt, 34, 56%
Felled High Plains Arbor, severed ash, 72, 100%
Mesquite Catch Weed, belladonna root, 54, 98%
Mesquite Catch Weed, dandelion fiber, 1, 2%
Stonecrest Ore, carbonite cluster, 55, 100%
Wind Swept Stones, Rough Agate, 10, 48%
Wind Swept Stones, gold cluster, 11, 52%
high plains fungi, Beetleweed, 5, 18%
high plains fungi, Poison Oak, 5, 18%
high plains fungi, Wild Birch, 4, 14%
high plains fungi, Wild Garlic, 6, 21%
high plains fungi, Wild Hyacinth, 4, 14%
high plains fungi, Wild Leek, 4, 14%
high plains shrubbery, almond, 8, 16%
high plains shrubbery, cinnamon, 6, 12%
high plains shrubbery, fayberry, 3, 6%
high plains shrubbery, oolong tea leaf, 4, 8%
high plains shrubbery, raw marjoram, 9, 18%
high plains shrubbery, rye, 8, 16%
high plains shrubbery, steppes mountain bean, 10, 20%
high plains shrubbery, sweet onion, 2, 4%

Flendon
11-21-2004, 06:51 PM
Thats a nice little script you have there. Any kind of statistics is best done over a much longer period of time however. That parsing is a nice beginning though. If your willing to share the parser more people can begin posting results for a more accurate list.

TyrDrakul
11-22-2004, 01:34 AM
i agree if you hook it up i will get the parser going for it too, i spend hours and hours at a time harvesting.


chow
Jatz

Mafoo
11-22-2004, 12:52 PM
This is actually written in Perl and bash i run it under Cygwin (http://www.cygwin.com)
Please you need a fundimental understanding of either cygwin or linux and a understanding of perl or bash to figure out what they do. if you want to be gungho and just try to run them good luck i am NOT going to support you i wrote them for myself not other people.
Maybe when i have some more time i will write a compiled version with pritty front end for all you gui users!. for now here is the syntax and source
here is a warning before you try to do this you must observe
You must have your logging enabled to actually have somethign to process
when logged on type /log on
you have to do this everytime you log in it does not seem to work when placed in the eq2_client.ini

you must put the scripts in a place that is in your path! (e.g. ~/bin and have that in your path env)
open your shell and move to a directory you want the zonefiles processed to
eq2-zone-gather-stats /cygdrive/c/Games/EverQuest\ II/logs/mafoo/steamfront/eq2log_Mafoo.txt
it will then process your log split it up and give you the stats to screen

#!/usr/bin/perl -wl
use warnings;
use strict;

my %items;

while (<>) {
next unless /\blooks slightly lessened./;
next if /\bfailed\b/;

if (/\A\(\d+\)\[.*?\]\s+(?:\S+\s+){2}(.*?)\s+from the\s+(.*?)\./) {
$items{$2}||={};
$items{$2}->{$1}||=0;
$items{$2}->{$1}++;
}
}

foreach my $item (sort keys %items) {
my $tot = 0;
foreach my $si (values %{$items{$item}}) {
$tot+=$si;
}
foreach my $si (sort keys %{$items{$item}}) {
my $v = $items{$item}->{$si};
print sprintf(q(%s, %s, %d, %0.0f%%),$item,$si,$v,(($v/$tot)*100));
}
}


#!/usr/bin/perl -wl
use warnings;
use strict;
open STDOUT,">>","Split-Unknown Zone.txt";

while (<>) {
if (/You have entered (.*?)\s*\d*\s*\.\s*$/) {
open STDOUT,">>","Split-$1.txt";
next;
}
print;
}


#!/bin/bash
ls | while read each; do
echo $each | cut -d. -f1 | cut -f2 -d-
echo
eq2-gatherstats "$each"
echo
echo
done