Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(60 Kb)
Download
Updated: 12-11-06 05:02 PM
Pictures
File Info
Updated:12-11-06 05:02 PM
Created:unknown
Downloads:8,070
Favorites:86
MD5:
CharacterInfo  Popular! (More than 5000 hits)
Version: 0.1.20113
by: wmrojer [More]
New beta version available at http://files.wowace.com/CharacterInfo/ and http://files.wowace.com/CharacterInfoStorage/ (You need both files)

-- Short Description
Shows inventory of all your characters. (Equpped items, bags contents and bank contents)

-- Long Description
CharacterInfo is made up of two modules. CharacterInfoStorage and CharacterInfo

CharacterInfoStorage handles storing all the items so you can access it from all your charactes and is loaded all the time.

CharacterInfo is the module that shows the information to you and it is loaded on demand when you first open the window. (So it doesn't use any memory until you need it)

The window is opend with /cis menu or by binding a key to it in the keybidning interface.

CharacterInfoStorage is required for CharacterInfo to work. CharacterInfoStorage will load CharacterInfo when you open the window.

It shows a simplified character screen with two buttons to toggle the bags and bank windows.
Currently it only shows your character name, class, level and your items. If I get the time i will make it show more stats like attack power, health, mana, factions, guild....

--History
I wrote this addon because I got upset about how CharactersViewer has evolved. The latest version of CharactersViewer that uses rpgoCharacterProfiler is using massive amounts of memory (close to 10MB). CharacterInfoStorage uses around 130KB with 8 characters plus about 600KB for the graphic interface (that is load on demand).
CharacterInfo shows the inventory/bags and bank content for all your characters on the same realm.


-- Release notes
0.1.20113
Changed options for RegisterChatCommand again. If this fixes it, it's definetly an Ace2 bug.

0.1.19875
Added 'handler' to RegisterChatCommand options. Lets see if it works for those that have problem using /cis menu.

0.1.19803
Now stores the first 7 numbers of the itemString instead of only 3.
Upgrades old data so it is displayed correctly.
This should fix so the 'flavor' of items are shown correctly again.
(Blizzard didn't change the itemstring in a way that is compatible, instead they added the new information in the middle.....)

0.1.19718
Fixed item links.

0.1.19419
Updated to account for changed bank size and changed bank bag slotid's.

0.1.19166
Updated for WoW 2.0
Optional Files (0)


Post A Reply Comment Options
Unread 03-03-07, 07:07 AM  
Lywellyn
A Wyrmkin Dreamwalker
 
Lywellyn's Avatar

Forum posts: 53
File comments: 34
Uploads: 0
I agree, I'd like to be able to see all characters someday too...
Lywellyn is offline Report comment to moderator  
Reply With Quote
Unread 03-01-07, 06:40 PM  
DaRkBoZ
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Great you're the man thx for the reply but please don't give up on showing all char someday
Last edited by DaRkBoZ : 03-01-07 at 06:40 PM.
DaRkBoZ is offline Report comment to moderator  
Reply With Quote
Unread 03-01-07, 09:46 AM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Re: Re: Re: DaRkboZ

Originally posted by DaRkBoZ
Oh i see what a shame and what about a scale feature ? thx for your reply
Scale is something I can put in. Should be pretty easy.
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 03-01-07, 05:46 AM  
DaRkBoZ
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
Re: Re: DaRkboZ

Originally posted by wmrojer
Since I use AceDB, and it sees each faction on a realm as a seperate realm, I don't have access the information about the chars of the opposing faction. It's like they are on a different realm.
Oh i see what a shame and what about a scale feature ? thx for your reply
Last edited by DaRkBoZ : 03-01-07 at 05:46 AM.
DaRkBoZ is offline Report comment to moderator  
Reply With Quote
Unread 03-01-07, 04:41 AM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Re: DaRkboZ

Originally posted by DaRkBoZ
Hi very great mod here !

Like Dimo i'll really appreciate if you could add the possibility to see both alliance & horde char in the storage frame and a scale feature too (windows are too big for me ^^), otherwise very nice mod, very light, ace2 compliant, sober & functionnal keep up the good work !
Since I use AceDB, and it sees each faction on a realm as a seperate realm, I don't have access the information about the chars of the opposing faction. It's like they are on a different realm.
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 02-28-07, 09:18 PM  
DaRkBoZ
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 9
Uploads: 1
DaRkboZ

Hi very great mod here !

Like Dimo i'll really appreciate if you could add the possibility to see both alliance & horde char in the storage frame and a scale feature too (windows are too big for me ^^), otherwise very nice mod, very light, ace2 compliant, sober & functionnal keep up the good work !
Last edited by DaRkBoZ : 02-28-07 at 09:19 PM.
DaRkBoZ is offline Report comment to moderator  
Reply With Quote
Unread 02-12-07, 11:54 PM  
zorched
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Quick (and very partial) review of latest beta

Line 23 of CharacterInfo\CharacterInfo.lua uses string.find and only matches the pre-BC itemids.

Line 32 of CharacterInfoStorage\CharacterInfoStorage.lua uses string.find, but matches BC itemids. The rest of the patterns in this file still only match the pre-BC itemids.

Given that my characters now have *many* BC items, there's no way I'll try actually running this code to see how badly it fails.
zorched is offline Report comment to moderator  
Reply With Quote
Unread 02-12-07, 03:47 AM  
Dimo
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi ! Would there be a simple way to show data from toons of opposite faction ? (would like to see my horde & ally toons at the same time). Thanks
Dimo is offline Report comment to moderator  
Reply With Quote
Unread 01-22-07, 09:58 AM  
zorched
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Originally posted by lunafishnz
...Renaming that variable to itemstringx seems to have fixed the error, perhaps itemstring is a reserved name now? I tested this on multiple characters on multiple servers last night, and all seemed ok, but ymmv. The changed lines are as follows.

local itemString = getItemStringFromLink(link);
becomes
local itemStringx = getItemStringFromLink(link);
and
bags[prefix+slot] = itemString.."|"..stack;
becomes
bags[prefix+slot] = itemStringx.."|"..stack;

Post back here if this fixes it for you.
I'm not sure how your fix and my fix could both work - as I've changed getItemStringFromLink's code (slightly) as well as a number of other patterns. Basically, it appears to me the problem is that the last digit that CIS cares about can now be negative. Adding a %-? before the last %d+ in any pattern that went after almost the full item link did it for me. I also changed to using string.match instead of strfind, because we are just throwing the first two arguments of strfind away, and that's string.match.

(Update: my change follows wowwiki's itemString example, except they still use string.find when they want string.match.)

Line 32:
32c32
Code:
   local _,_,itemString = strfind(link,"item:(%d+:%d+:%d+:%d+:%d+:%d+:%d+)")
becomes
Code:
   local itemString = string.match(link,"item:(%d+:%d+:%d+:%d+:%d+:%d+:%-?%d+)")
Lines 459, 475, 490, are all
Code:
                       local _,_,id,i = string.find(val,"(%d+):%d+:%d+:%d+:%d+:%d+:%d+|?(%d*)")
and they become
Code:
                       local id,i = string.match(val,"(%d+):%d+:%d+:%d+:%d+:%d+:%-?%d+|?(%d*)")
Line 503
Code:
               local _,_,itemString,num = string.find(self.db.realm[charName].inventory[slot],"(%d+:%d+:%d+:%d+:%d+:%d+:%d+)|?(%d*)");
becomes
Code:
               local itemString,num = string.match(self.db.realm[charName].inventory[slot],"(%d+:%d+:%d+:%d+:%d+:%d+:%-?%d+)|?(%d*)");
Line 538
Code:
       if not string.find(itemString,"(%d+:%d+:%d+:%d+:%d+:%d+:%d+)(|?%d*)") then
becomes
Code:
       if not string.match(itemString,"(%d+:%d+:%d+:%d+:%d+:%d+:%-?%d+)(|?%d*)") then
Last edited by zorched : 01-22-07 at 10:12 AM.
zorched is offline Report comment to moderator  
Reply With Quote
Unread 01-22-07, 04:50 AM  
Asjaskan
A Kobold Labourer
 
Asjaskan's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Re: Trying to move the frames = frustrating

Originally posted by EvilCrew
Because of the way my UI is set up, the frames always popup with the "title" area of the character window hidden behind a unit frame. Because of this, I can't move the frames and it's frustrating. I've tried moving the unitframe, then move the cis frame, then moved back my unitframe. Next time I log in, the cis frame is back where it was.

Can the main frame please be updated so that it can be dragged/moved by clicking anywhere in the background instead of only on the title portion?
There's a little typo which prevents the main window from appearing in front of everything else (as the bank and bags windows do).
Just open CharacterInfo.xml, search for tolevel="true" and change it to toplevel="true".

Greetings
Asjaskan
Asjaskan is offline Report comment to moderator  
Reply With Quote
Unread 01-21-07, 07:00 PM  
lunafishnz
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Edited and removed, cos further testing revealed my "fix" didn't do anything useful at all.
Last edited by lunafishnz : 01-23-07 at 04:18 AM.
lunafishnz is offline Report comment to moderator  
Reply With Quote
Unread 01-21-07, 02:56 AM  
zorched
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Not quite BC compatible.

Edit: deleted mere confirmation of previously mentioned bug.

In the outland, there are some items with negative values in the link. For example, my Felstone Helm of the Boar has link 24818:0:0:0:0:0:-12:541327398.

This item is quite definitely not unique in this regard.
Last edited by zorched : 01-21-07 at 04:17 PM.
zorched is offline Report comment to moderator  
Reply With Quote
Unread 01-21-07, 02:43 AM  
zorched
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Originally posted by Silent54
Does this work for multiple accounts? In other words can I be on one account and see the inventory of characters on another account?
There are two ways I can see you meaning to ask that question.

1. If you are talking about sharing data between accounts which are accessed from the same computer in series, the answer is 'not possible without external munging.' WoW limits saved variable access to the account that saved the variables.

2. If you are talking about collaborative sharing of data, similar to Gatherer, CT_RaidAssist, and SW_Stats, the answer is 'not currently'. The functionality could be added if the author were so inclined. Note that one would need to be careful in how that was performed. If you were not, you could find yourself storing inventory data for many more people than you anticipated.
zorched is offline Report comment to moderator  
Reply With Quote
Unread 01-18-07, 10:26 AM  
EvilCrew
A Kobold Labourer

Forum posts: 1
File comments: 22
Uploads: 0
Trying to move the frames = frustrating

Because of the way my UI is set up, the frames always popup with the "title" area of the character window hidden behind a unit frame. Because of this, I can't move the frames and it's frustrating. I've tried moving the unitframe, then move the cis frame, then moved back my unitframe. Next time I log in, the cis frame is back where it was.

Can the main frame please be updated so that it can be dragged/moved by clicking anywhere in the background instead of only on the title portion?
EvilCrew is offline Report comment to moderator  
Reply With Quote
Unread 01-13-07, 09:49 AM  
Silent54
A Defias Bandit

Forum posts: 0
File comments: 51
Uploads: 0
Does this work for multiple accounts? In other words can I be on one account and see the inventory of characters on another account?
Silent54 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: