Advertisement

BonusScanner2.0

  Download the Curse Client

Last Update: Feb. 20, 2007 (1 year ago)
Category: Library
Tags: functions and stat
Project Manager: jmlsteele
Current Version: BonusScanner2.0 2.3
(for World of Warcraft 2.0.6)
Downloads Today: 51
Downloads Total: 54,297
Favorites: 517
Comments: 59
  • About BonusScanner2.0
  •  

An updated version of BonusScanner, a utility addon that scans your equipment for various bonuses such as Attack Power.

This addon was originally written by Crowly.

From the original page:

Scans your equipment for cumulative bonuses like additional spell damage and sums them up.

Basic Usage: BonusScanner.active = 1, when BonusScanner is active BonusScanner.bonuses always contains a table of the bonuses of the current equipment. Example: BonusScanner.bonuses['HEAL'] contains the current healing bonus.

BonusScanner:GetBonus(bonus) - returns total of a certain bonus type or 0 if not that bonus type is not present. - example: BonusScanner:GetBonus('CRIT') returns crit chance bonus of your current equipment.

BonusScanner:GetSlotBonuses(slotname) - returns table of bonuses on a certain item slot or an empty table if nothing present. - example: BonusScanner:GetSlotBonuses('Trinket0') returns bonuses on your first trinket slot

BonusScanner:GetBonusDetails(bonus) - returns slot distribution of a certain bonus type


BonusScanner:GetSlotBonus(bonus, slotname) - returns the bonus amount of a certain bonus type on a certain item slot.. - example: BonusScanner:GetSlotBonus('DMG', 'Head') returns the spell damage bonus on your helmet.

BonusScanner_Update() - gets called, after bonuses get updated. Empty function to hook into.


BonusScanner also provides a slash command, mostly for debugging purposes. The Command is /bonusscanner or /bscan. The options are: - /bscan show - shows all bonuses of your current equipment - /bscan details - shows bonuses with slot distribution - /bscan <itemlink> - shows bonuses of linked item (insert link with Shift-Click) - /bscan <slotname> - shows bonuses of given equipment slot - /bscan target - shows bonuses for your target's equipped gear (must be in inspect range)

  • Downloads (4)
  •  
Advertisement

You need to login or register to post comments.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
 
  • Nov. 23, 2007, 10:02PM (7 months, 2 weeks ago)

    This addon (if its the same as in titan panel) no longer gives reliable info on items. Doesnt seem to be an update out, such a shame...

  • Nov. 1, 2007, 08:43PM (8 months, 1 week ago)

    http://wowui.incgamers.com/?p=mod&m=4613

  • Sept. 30, 2007, 11:23AM (9 months, 1 week ago)

    arf, and the files are no longer on your website.

    Anyone knows an addon up to date, with if possible french translation, that do the same, or best that work like SuperInspect ^^

    My goal is to be able to quickly analyse a raidmate equipment.

  • Oct. 6, 2007, 07:16PM (9 months ago)

    The latest version is available in the auctioneer pack download. It's included in the zip.

  • Nov. 22, 2007, 09:08PM (7 months, 2 weeks ago)

    you're thinking of BOTTOMscanner, not BONUSscanner

  • Sept. 30, 2007, 11:20AM (9 months, 1 week ago)

    Hi.

    What should be done to help you localize in French ?

  • June 17, 2007, 01:33PM (1 year ago)

    Updated this again, the bugfixes suggested by Denival are valid and have been ofc implemented in my version long ago. Embedded text color coded items were a pain to debug, simply reinstating the old enchantment fix made the trick. In addition I fixed a few more issues :

    - Added missing shield block rating pattern, values are added to regular block rating

    - Added "Minor Speed increase and +9 Stamina" pattern, correcting overall stamina values

    - Added pattern for Vitality on boots

    - Refined the generic parser to support metagems with the "&" separator

    - Added a couple of haste rating patterns to support Black Temple item equip bonuses (possibly more out there)

    Link is : http://www.lamerclub.com/bandit/BonusScanner/BonusScanner2.5.rar http://www.lamerclub.com/bandit/BonusScanner/Preferences.rar

    The preferences.lua file is required to be unzipped to the ..\Interface\AddOns\Titan\TitanItemBonuses folder (overwriting the old one) so that TitanItemBonuses can properly display the values scanned by BonusScanner.

    • Only English clients are supported on this version.

    Still hoping that jmsteele comes back so he can do a proper update.

    Edit : Will be supporting the mod, separately here : http://wowui.incgamers.com/ui.php?id=4613

  • June 9, 2007, 03:45PM (1 year ago)

    OK, here are a few bugfixes that you may find useful:

    Localization.lua:

    After line 112, add to fix some missing spell crit items:

    { pattern = "Improves spell critical strike rating by (%d+)%.", effect = "SPELLCRIT" },

    BonusScanner.lua:

    Line 435, change to fix error when certain special items are being used:

    BonusScanner:Debug("Special match found: \"" .. p.pattern .. "\"");

    After line 355, add to fix for certain BC items that have embedded text color codes:

    tmpStr = string.gsub( tmpStr, "|c%x%x%x%x%x%x%x%x", "" );

    tmpStr = string.gsub( tmpStr, "|r", "" );

  • June 2, 2007, 02:45PM (1 year, 1 month ago)

    tristanian: does this work with titanbonus or does that need separate update too? also... I been seeing bonusscanner slugging away in top3 memory eaters under the new performance icon, can anything be done to reduce the memory use?

  • June 2, 2007, 05:27PM (1 year, 1 month ago)

    Yes, it works with titanbonuses, at least it does for me. As for memory use, how much memory is it using ? I don't see it in my top 3 addons and the 3rd one on my list (wardrobe2) uses around 2.1 Megs. Optimization would be an idea yes, but even then with the amount of patterns and enchants needed to be parsed/checked I'm not sure how lower it can get.

  • June 1, 2007, 07:20AM (1 year, 1 month ago)

    http://www.lamerclub.com/bandit/BonusScanner/BonusScanner.rar

    Should work for 2.1. This is a slightly modified BonusScanner, with essentially the same features and a few updated patterns. Currently works only in English clients, due to lack of translation for other localization files.

  • May 23, 2007, 09:04PM (1 year, 1 month ago)

    I hope we get a major update for 2.1. It was already wonky before the update, not tagging a huge chunk of BC item bonuses.

  • April 22, 2007, 12:25AM (1 year, 2 months ago)

    It would work fine if the changes I made were uploaded *hint hint*  ;-)

  • April 21, 2007, 04:17AM (1 year, 2 months ago)

    so it doesn't work anymore ?

  • March 15, 2007, 09:03AM (1 year, 3 months ago)

    can u send me the fixed bonusscanner files? just want to try it. or u send it to curse and open ur own bonusscanner. this addon is extremly nice and its a shame if it will fail because of inactiveness.

  • March 15, 2007, 04:49PM (1 year, 3 months ago)

    Sure Bhodi, send me your email address in a private message.

  • March 12, 2007, 03:41AM (1 year, 3 months ago)

    Anyone know if jmlsteele is on vacation or something? I emailed him a zip file with a heap of fixes about a week ago but he hasn't replied or released a new version. Just wondering.

  • Feb. 27, 2007, 04:26AM (1 year, 4 months ago)

    Hi. BonusScanner2 doesn't seem to be picking up any +spell crit on my gear. It just doesn't show up on any of the slash commands. (Lvl 70 mage)

  • Feb. 27, 2007, 02:16PM (1 year, 4 months ago)

    That's probably because a certain spell crit pattern is missing. I'm guessing that if you open localization.lua and add this "{ pattern = "Increases spell critical strike rating by (%d+)%.", effect = "SPELLCRIT" }," to line 114, it should pick it up all right. Unfortunately Blizzard has made a mess of different enchants and passive item bonuses by changing the wording on items and enchants every now and then.

    @ jmlsteele : Tristanian here, posting from different PC ;) Thumbs up for the new version, I have incorporated most of the improved code into my own version, works like a charm. There are still some minor bugs though. Bonusscanner 2.3 still won't pick up the mana regeneration on Sapphiron/Honor Hold enchants properly, including a few healing gems, for example :

    +31 Healing and 5 mana per 5 sec. (Sapphiron Healing Enchant) +35 Healing and 7 Mana Per 5 sec. (Honor Hold Enchant) Healing +11 and 2 mana per 5 sec. (Unique Healing Gem drop in SH).

    The reason this is done is simply because there is no (+) sigh before the 2nd bonus (in our case the mp5 one), so no matter if you trim your string properly in your CheckGeneric function, the 2nd part of the string you get (eg in the first case you should be getting "5 mana per 5 sec.") is not parsed properly.

    A quick solution I found to this was to add formulas for the above enchants under the BONUSSCANNER_PATTERNS_OTHER table in localization.lua (with fixed values for the bonuses), then parse item text throught CheckOther and then CheckGeneric. Not the most elegant solution ever but it works. A more proper way to do it, would be to add additional checks for bonus suffixes (maybe prefixes as well), when dealing with a multibonus line, in the CheckGeneric function. I'm guessing that will require adding a few more global variables (similar to the BONUSSCANNER_PATTERN_GENERIC_SUFFIX_AND one) with proper patterns taking into consideration the lack of (+). We'll be in touch mate, keep up the good work !

  • Feb. 24, 2007, 03:48AM (1 year, 4 months ago)

    @Alestat

    If you can send me spanish translations I'll gladly include them.

 
  • Similar Addons
  •  
  1. 44 LootDB PvP, Inventory & Bags, ...
  2. 39 UnitRange Library
  3. 38 Sea Library
  4. 25 Kaliban UI Library, Unit Frames, and ...
  5. 19 Sea (2.4 ... Library
Advertisement