Go Back   WowAce Forums > Official Addon Threads > General AddOns
General AddOns Authors, post your release ready addons here to get feedback or just to let everyone know about it.

Reply
 
Thread Tools
Old 09-19-2009   #1
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default CharScanner

http://www.wowace.com/addons/charscanner/

Code:
-- -------------------------------------------------------------------------- --
--                            CharScanner by kunda                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- CharScanner scans Basic Character Data, Talent Specialization, Equipment,  --
-- PvE/PvP Achievements, PvE Boss Kill Statistics and PvP Statistics from     --
-- single target or group and shows this data in a movable frame. Any scanned --
-- unit data is temporarily saved (in memory not in SavedVariables) and can   --
-- be viewed or deleted any time.                                             --
--                                                                            --
-- ONE click and ONE look shows the most important character data!            --
--                                                                            --
-- CharScanner does not rate, score or measure!                               --
-- CharScanner simply displays available ingame information in a nice way.    --
--                                                                            --
-- What you get in ~0.4 Seconds:                                              --
--  - A complete Talent scan (primary and secondary talent specialization).   --
--  - A complete Gear scan with many additional information.                  --
--  - A PvE dungeon and raid achievement/statistic scan.                      --
--  - A PvP achievement/statistic scan.                                       --
-- What you get in 50 Seconds if you scan your 25 player group:               --
--    ( 40 Seconds for Achievement/Talent scan restriction - Patch 3.3.5 )    --
--    ( 10 Seconds real scan time )                                           --
--  - All from above.                                                         --
--  - A nice Compare Tool.                                                    --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
--      No SendAddonMessage(), no RealID/BN, no SavedVariables madness!       --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- NOTES:                                                                     --
-- - Inspect range IS A MUST!                                                 --
-- - There is NO 'Inspect Glyphs API'! :-(                                    --
-- - NO code is executed if you are in combat (maximum: one OnUpdate cycle    --
--   and one button hide).                                                    --
-- - NO scan/event caching!                                                   --
--   -> If a scan (~0.4sec) is completed, NO more code is executed.           --
-- - Maximum duration for one scan is: 1 Second (default).                    --
--  ! Change this value in the options menu if you have a high latency or   ! --
--  ! if you get a 'Scan incomplete!' status message if you scan yourself.  ! --
-- - GroupScan:                                                               --
--   - Raid roster changes between a 'GroupScan'-Button click and end of      --
--     groupscan are discarded!                                               --
--   - GroupScan will stop if:                                                --
--       All group/raid members has been scanned. or                          --
--       You enter combat! or                                                 --
--       You click on: 'STOP SCAN'                                            --
--   - 'GroupScanMissing'-Button will only scan party/raid members that were  --
--      not scanned before (out-of-range/new/...).                            --
-- - Entering combat OR entering/leaving an instance OR zoning (with loading  --
--   screen) will stop any scan.                                              --
-- - Mainrole: (Lex DRUID)                                                    --
--   - DRUID TANK = Thick Hide + Natural Reaction >= 4                        --
-- - LDB is supported.                                                        --
--     But: LibStub, CallbackHandler-1.0 & LibDataBroker-1.1 is not included. --
--          This is intended and I will not change this!                      --
-- - Scan duration:                                                           --
--  ! Blizzard added a Achievement/Talent scan restriction with Patch 3.3.5 ! --
--  ! Only 6 scans in a row are allowed, than a 10-second break is required ! --
--    Scan duration is mainly latency dependent! My tests:                    --
--    - SINGLESCAN:                                                           --
--      ~0.4 Seconds for one unit.                                            --
--    - GROUPSCAN:                                                            --
--      - A group with 25 player is normally scanned in less than 50 Seconds  --
--        if all members are in inspect range.                                --
--          player  1- 6: ~2.4 Seconds                                        --
--          10-second break: Achievement/Talent scan restriction              --
--          player  7-12: ~2.4 Seconds                                        --
--          10-second break: Achievement/Talent scan restriction              --
--          player 13-18: ~2.4 Seconds                                        --
--          10-second break: Achievement/Talent scan restriction              --
--          player 18-24: ~2.4 Seconds                                        --
--          10-second break: Achievement/Talent scan restriction              --
--          player 24-25: ~2.4 Seconds                                        --
--        40 Seconds for Achievement/Talent scan restriction                  --
--       ~10 Seconds real scan time                                           --
--      =~50 Seconds for a complete 25p-group scan                            --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- TODO:                                                                      --
--  - Some frame improvements (undock/resize/move/scale).                     --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- INCORRECT DATA:                                                            --
-- - Statistic id 4046/4045 (Anub'arak) bug was fixed with Patch 3.3.3.xxxxx, --
--   but the old 4045 statistic value which is returned from the server is    --
--   still the same (old wrong cumulative 4046-one).                          --
--   -> This means:                                                           --
--      The statistic value returned for id 4045 is NOT 100% CORRECT          --
--      (armory too!). Look at function BossStatistic() for a workaround.     --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- NEVER EVER:                                                                --
-- - CharScanner will never ever save scanned data to SavedVariables.         --
--   - Most data will change every day, so it's completely useless to save    --
--     such data to SavedVariables.                                           --
--     The sheer amount of data makes such a feature a no go.                 --
-- - CharScanner will never ever autoscan a character or a group.             --
--   - You must actively initialize a single or group scan by clicking a      --
--     button.                                                                --
--     Triggering INSPECT_READY, INSPECT_TALENT_READY or                      --
--     INSPECT_ACHIEVEMENT_READY without user interaction is very bad and can --
--     cause massive lags.                                                    --
-- - CharScanner will never ever use SendAddonMessage()!!!                    --
--   - I hate SendAddonMessage()!                                             --
--   - SendAddonMessage() can send ANY global data (eg from SavedVariables)   --
--     to anybody without your agreement!                                     --
--   - EVERYBODY can fake any message that is send via SendAddonMessage().    --
--   - A messages from SendAddonMessage() is ALWAYS! an untrustable source!   --
--   - There is only one trustable source: The WoW server!                    --
-- - CharScanner will never ever use any RealID/BattleNet BN...() function!!! --
--   - NEVER EVER!!!                                                          --
--                                                                            --
-- -------------------------------------------------------------------------- --
--                                                                            --
-- slash commands: /cs - /scan - /charscanner                                 --
--        example: /scan         (CharScanner GUI & SINGLESCAN)               --
--        example: /scan options (CharScanner OPTIONS)                        --
--                                                                            --
-- -------------------------------------------------------------------------- --
Screenshots:
example with gear frame:


compare example:


more screenshots: http://www.wowace.com/addons/charscanner/images/


Download: (no JavaScript/Flash required)
http://www.wowace.com/addons/charscanner/files/

Enjoy!
kunda

Last edited by kunda; 08-31-2011 at 03:19 PM. Reason: update
kunda is offline   Reply With Quote
Old 09-19-2009   #2
Farmbuyer
Amazing Member
 
Farmbuyer's Avatar
 
Join Date: Feb 2005
Posts: 1,110
Default Re: PUGchecker

Quote:
-- ONE click and ONE look shows the most important character data!
Now if only Blizzard (and thus, this addon) could tell us
- for the raid kills, was he actively participating or did he get carried?
- for the gear choices, did he have enough knowledge of his class to choose them, or did some website else do the thinking?
- for the quests completed, did the player depend on QuestHelper/Carbonite or does he know how to read?

I bemoan the lack of a timetravel/telepathy API in Blizzard's game client. Ah well. I'll give this addon a try all the same! It looks very useful for those of us who depend on PUGs for our alts.
Farmbuyer is offline   Reply With Quote
Old 09-20-2009   #3
Dridzt
Hero Member
 
Dridzt's Avatar
 
Join Date: Nov 2005
Posts: 872
Default Re: PUGchecker

From one side I can't but applaud it from a development perspective.

From the other.. way to feed the jerks even more.
Dridzt is offline   Reply With Quote
Old 09-20-2009   #4
Nandini
Senior Member
 
Join Date: Nov 2007
Posts: 347
Default Re: PUGchecker

Normally I have a deep philosophical opposition to these types of addons. But in this case I commend you for simply organizing existing data in a way that facilitates easier decision making.

Thank you for not falling into the trap of trying to "rate" or "score" or "measure" players using your own scale.
Nandini is offline   Reply With Quote
Old 09-20-2009   #5
dranor
Full Member
 
Join Date: Feb 2005
Location: Valencia
Posts: 224
Default Re: PUGchecker

Quote:
Originally Posted by Dridzt View Post
From the other.. way to feed the jerks even more.
Yes, there's a lot of people requiring you to show the achievement X to let you enter the raid, even though you could be part of the "fillers" but.. Hey! You did it! You have the right to enter any raid
__________________
Dranor/Etir(dk)/Drektar <Artic Penguins> Zul'Jin EU
dranor is offline   Reply With Quote
Old 09-21-2009   #6
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default Re: CharScanner

I changed the name of this addon to CharScanner (sorry, mods/admins for the trouble). This sounds not so limited

Quote:
Normally I have a deep philosophical opposition to these types of addons. But in this case I commend you for simply organizing existing data in a way that facilitates easier decision making.

Thank you for not falling into the trap of trying to "rate" or "score" or "measure" players using your own scale.
sounds good
kunda is offline   Reply With Quote
Old 12-10-2009   #7
DaemonSambe
Newbie
 
Join Date: Mar 2005
Posts: 7
Default Re: CharScanner

Any chance of getting an autoscan, or scangroup/raid option? Manually doing it is a bit tedious for 25m.
DaemonSambe is offline   Reply With Quote
Old 12-10-2009   #8
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default Re: CharScanner

Quote:
Originally Posted by DaemonSambe View Post
Any chance of getting an autoscan, or scangroup/raid option? Manually doing it is a bit tedious for 25m.
Autoscan? Sorry, no. Never.
But there is a Groupscan Button (look at the screenshots; the second button from the left - it looks like a circle). Click on it and anybody in your group (and in inspect range) is scanned.
kunda is offline   Reply With Quote
Old 12-10-2009   #9
lilsparky
Amazing Member
 
lilsparky's Avatar
 
Join Date: Jun 2007
Location: los angeles
Posts: 1,639
Default Re: CharScanner

i'd love to see something like this for battlegrounds. maybe have the modality change when in a bg to use the battleground stats to report win/loss % for the people in your raid. report hk for the "kills" column and maybe have a 2nd ilevel number that only counts pvp gear (or maybe just give a total resil value).

for the detailed character info, you could report the different win/loss for each bg and maybe reputations with each faction. perhaps some arena info as well.

it seems like all the code is pretty much there, just a matter of tweaking the values it reports.
lilsparky is offline   Reply With Quote
Old 12-10-2009   #10
kunda
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default Re: CharScanner

Yes. lilsparky, good point. I thought about an PvP scan too. The main problem is to integrate it smoothly into the GUI. Think I have some time in the next couple of weeks to find a solution.
kunda is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:10 AM.