What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin - AH - Loots] Loot Statistics

jim87

New Member
Joined
Aug 26, 2011
Messages
445
Reaction score
7
[Plugin - AH - Loots] Loot Statistics v1.5

Project discontinued due to AHSpy.com shutdown

Loot Statistics 2.1 by Jim87​

This plugin has been completely rewritten with Windows Presentation Foundation (WPF) and thread-optimized to avoid slowliness.

All ideas are welcome :)

Logics behind the plugin
When the contents of the bags change, the plugin checks for new items for listing in the GUI. It will automatically filter poor-quality, soulbound or not present in the AH items.

The list view contains three columns: the item's name, the quantity looted/crafted/created within the last bot's session and the harmonic mean, multiplied by the quantity, of the prices in the faction's AH in the last month. Due to its nature, if you craft or sell something, it will automatically update the list: for example if you convert motes in eternals, it will take away the (10) motes from the list and add the eternal.

It uses AHSpy's XML API to get the AH prices, it supports EU and US realms (AHSpy.com's limitation), should be language-indipendent.

TODO LIST:
- Region setting saving [DONE IN 2.1]
- Columns sorting [DONE IN 2.1]

35441d1328799890-plugin-ah-loots-loot-statistics-lootstatistics2.jpg.html

Download: View attachment LootStatistics2.zip
READ THE NOTES BEFORE INSTALLING OR YOU'LL BE DOOMED!

Copy of README_IMPORTANT (in the zip file)
Code:
IMPORTANT NOTES

Before using the provided DLL, please consider building it
from the sources. I hide nothing, it's just a good habit
reading a code running on your computer.

/* - * - * - * - * - * - * - * - * - * - * - * - * - * - */

INSTALL

1. Put LootStatistics2 folder inside Honorbuddy's Plugins one
2. Put LootStatistics2Forms.dll* file inside Honorbuddy's root folder

*: you can build this library compiling the LootStatistics2Forms project

/* - * - * - * - * - * - * - * - * - * - * - * - * - * - */

COMPILING INSTRUCTIONS

If you want to compile LootStatistics2Forms.dll, open the solution file
in Visual C# (LootStatistics2Forms.csproj). You have to add Honorbuddy's
reference (in the Solution Explorer, right click on the project and select
"Add References...", select the Browse tab and locate Honorbuddy.exe).

Once added the reference, click on Build -> Build Solution (F8).

In case Visual C# complains about missing references, be sure that
the following are correctly referenced, in case add them (from the
.NET tab but Honorbuddy):

- Honorbuddy (from Honorbuddy.exe file)
- PresentationCore
- PresentationFramework
- System
- System.Core
- System.Data
- System.Data.DataSetExtensions
- System.Drawing
- System.Window.Forms
- System.Xml
- System.Xml.Linq
- WindowBase

AGAIN: DO NOT INSTALL THE DLL IF YOU DO NOT TRUST IT, YOU CAN STILL COMPILE BY YOUR OWN! INSTRUCTIONS INCLUDED.


Notes:
If you previously installed LootStatistics 1.x, Newtonsoft's dll is not necessary anymore: delete it from the HonorBuddy's directory.

Do you Like this? like it!
 

Attachments

  • LootStatistics2.webp
    LootStatistics2.webp
    16 KB · Views: 1,285
Last edited:
CHANGELOG

2.1
- Added support for column sorting
- Added support for saving the region setting

2.0
- Plugin rewrite.
[TODO]: column sorting and region setting saving

1.4
- Added bot's current action in the bottom of the window

1.3
- Added possibility to sort the grid by auction house earns (ordered by g/s/c)
- Form has now fixed size

1.2
- AHSpy.com API calls are now on a separate thread (should avoid hangs)
- Resolved Cross-Threading making the plugin window unstable when scrollbar active

1.1
- Added a stopwatch (bottom left)
- Added buttons Start/Stop
- Well-formatted AH average earns
 
Last edited:
c'mon, 100+ visits and not a suggestion, a reply, a "Like"? :)
 
Holy Sh-t! I'm gonna check this out this weekend! I like it already! +rep.
 
Can this automatically populate eAuction lists based on what is available in your inventory?
 
I'm sorry, but I don't think I can access eAuction's variables. I'll see what I can do though asking other developers :)
 
1.4 is out.
posion1916, what should exactly my plugin give to eAuction? I've neter used that plugin, so I don't know what you're asking for :)
 
Nice plugin - thanks for coding it!

Could you modify it slightly to sum the averages of the gathered mats?

Cheers.
 
1.4 is out.
posion1916, what should exactly my plugin give to eAuction? I've neter used that plugin, so I don't know what you're asking for :)

It sounds like they want something that just adds the item into eauction. That plugin itself puts up auctions for you for a % (you set) less than lowest current buyout. You just have to set up the items / how many per stack, how many stacks / lowest price and max price, it's not hard to mess with. Just gets tedious when you have a ton of items to sell, the list gets out of hand.
 
Nice plugin - thanks for coding it!

Could you modify it slightly to sum the averages of the gathered mats?

Cheers.

So that the Average is the average cost in AH * quantity looted? It's already as you wish :)

It sounds like they want something that just adds the item into eauction. That plugin itself puts up auctions for you for a % (you set) less than lowest current buyout. You just have to set up the items / how many per stack, how many stacks / lowest price and max price, it's not hard to mess with. Just gets tedious when you have a ton of items to sell, the list gets out of hand.

Thus I should edit the list of items to sell and set their price? Or just the item list?
 
Currently what i do as a human player playing the auction house:

I scan the AH, create bids/buyouts based on arbitrage or resale (from auctioneer) basically it is set to bid or buy items that have been seen 20+ times and are 80% off. Then I buy and resell later.

I use the 3rd 4th and 5th tabs for my ah items in my guild bank
I put items in here that I purchase and then see that there are others in the ah still pretty cheap or there are too many... so i just put excess in the guild bank.

I loot the mailbox of all the auctions i won, or auctions that are expired or auctions i sold and loot everything

I will then place the items back in the ah and then any of the excess items put back in the guild bank for a later time.

xxxx

I think the problem with eauction is that you have to pre define what you are selling...

well the problem with this is that if you play the auction house you dont really know what items you are going to be selling...

I believe this is where your addon will be helpful with eauction.

basically on the fly once it picks up items won for expired etc from ah, your addon (hopefully) will be able to pass this information on to eauction, so that way the loop can continue.

this would be so bad ass if this could work out.
 
No prices for non-English servers [on AHSpy site], sorry.
 
I checked their list, and they do list, for example, Aman'Thul, which is a German server... in which server are you playing HB0587F90?
 
Got it up and running just fine and it tells me my items looted, but nothing appears in the box about the items. I'm herbing and I was hoping to get it show 18x Heartblossom, 2x Twilight Jasmine looted. Am I doing something wrong?
 
What do you exactly mean? If the plugin shows the items looted, it shows the total number too.
 
It only shows total number at the bottom. It shows absolutely nothing in the big white box. It's just a blank white box.
 
In which region/realm/language are you playing in?
 
Is the ahspy.com working? Would the plagin work even if the site is not working?
 
I used it yesterday and it was working. If it's not working, please double check region and server settings...
 
Back
Top