Download
(26Kb)
Download
Updated: 03-27-10 08:36 AM
Pictures
File Info
Updated:03-27-10 08:36 AM
Created:03-14-10 11:57 AM
Downloads:3,948
Favorites:44
MD5:

Possessions (WotLK 3.3)

Version: 3.1
by: thisapimp [More]

I love this addon and it broke a few patches ago. I decided to clean it up to remove most of the errors. While I was at it I added a feature to filter out items from any guild bank (a checkbox above the search button).

My goal with this update was to make Possessions usable again. I'm not an addon expert so if someone wants to take over maintenance and clean up every feature (specifically the slots filter), feel free to post in the comments forum or provide a link and I'll add the link to this description. Here is the old description for anyone new to Possessions:


Possessions is an AddOn to keep track of all your... possessions.

It will keep track of the items on all your alts (per server), including worn items, items in your inventory, items in your bank and even items in your mailbox (that you've seen).

In the Possessions window you can then filter the list to show items from a certain player or a certain location.

The items are grouped together and the tooltip will show you how many you have of the item at each location.

So, if you want to see if you have any silk cloth anywhere you can just do '/poss silk cloth', and Possessions will show, in its window, all items matching 'silk cloth'. Mouseover that, and you'll see, for example, that you have 10 silk cloth in your bank, 50 silk cloth in your alt's inventory, and 5 silk cloth in your mailbox.

Additionally, Possessions will keep track of items you mail to known alts (so, if you mail an additional 5 silk to your alt, Possessions will know an additional 5 silk is in your alt's inbox, without relogging).

Optional Files (0)


Post A Reply Comment Options
Unread 10-16-10, 04:52 PM  
Kewi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
Thanks

Thanks for the work guys.

Since no one has yet, I compiled all the changes and uploaded a 4.0.1 version for those that don't want to edit the files themselves...

http://www.wowinterface.com/download...4.0.1Cata.html
__________________
-Kewi
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 11:12 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 139
Uploads: 0
Thank you Tobao for pointing that out...please note I have fixed my OP so it is now complete.
Last edited by Szyarah : 10-14-10 at 11:12 PM.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 08:25 PM  
possessionshelp
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Still to no avail.

Sorry, I tried to do it all over again (delete possession folder, re-downloaded the file, did all the lua/xml modifications). When i type /poss ruby for example, nothing happens. No window pops up. Any help would be gladly appreciated. Have several alts and been highly dependent on this addon since the addon's conception lol thanks.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 08:01 PM  
Toabo
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Originally posted by Szyarah

2. Zidomo's mod:

A. Comment out the existing lines 1542-1547 and put changes below them so that lines 1542-1556 now look like the following. Those line numbers will change after doing modifications 2) & 3) below, but don't worry about it:

Code:

--elseif( event == "VARIABLES_LOADED" ) then
-- Possessions_VarsLoaded(self)
-- elseif( event == "PLAYER_ENTERING_WORLD" ) then
-- Possessions_PlayerLogin(self)
-- end
-- end
elseif( event == "PLAYER_LOGIN" ) then
Possessions_PlayerLogin(self)
elseif( event == "ADDON_LOADED" ) then
if arg1 == "Possessions" then
self:UnregisterEvent("ADDON_LOADED")
if IsLoggedIn() then Possessions_PlayerLogin(self) else self:RegisterEvent("PLAYER_LOGIN") end
You missed a few "ends" at the end of this step. Starting with the final line, it'll look something like this.
self:RegisterEvent("PLAYER_LOGIN") end
end
end
end
Aside from that, excellent work collecting all the fixes into 1 post.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 06:51 PM  
decordas
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Originally posted by Szyarah
alrighty I wiped my possessions folder, reinstalled, backed up lua and xml files and put in everyone's changes, in the following order:

-snip-

The above changes WORK when done in the order specified.

Thank you ALL for your help with this, Possessions is too good to lose to a patch.
I'm having problems with these changes. I removed all Possessions files from my WoW directory, unzipped a fresh "Possessions 3.1.zip" download, and went through and made the replacements, but I cannot bring up any sort of Possessions window or anything ingame. It's like I don't have the addon at all.

That's all that needs to be done, right? Just change out some lines of code? Maybe someone who has theirs working could send me via Private Message the full Possessions.lua and Possessions.xml code so I can copy and paste it in? I don't think I did anything wrong but...it's not working, so... :S
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 04:39 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 139
Uploads: 0
Originally posted by coani
hmm strange. Did you by chance also apply the fixes Zidomo pasted below many months ago? Those are necessary too (especially the one's related to player login).
alrighty I wiped my possessions folder, reinstalled, backed up lua and xml files and put in everyone's changes, in the following order:

1.Gello's Mod:
open Possessions.lua and go to line 874. Change
Code:

elseif ChatFrameEditBox:IsVisible() then
ChatFrameEditBox:Insert(itemLink)
end

to
Code:

elseif ChatFrame1EditBox:IsVisible() then
ChatFrame1EditBox:Insert(itemLink)
end

Change both occurances of ChatFrameEditBox to ChatFrame1EditBox


2. Zidomo's mod:

A. Comment out the existing lines 1542-1547 and put changes below them so that lines 1542-1556 now look like the following. Those line numbers will change after doing modifications 2) & 3) below, but don't worry about it:

Code:

--elseif( event == "VARIABLES_LOADED" ) then
-- Possessions_VarsLoaded(self)
-- elseif( event == "PLAYER_ENTERING_WORLD" ) then
-- Possessions_PlayerLogin(self)
-- end
-- end
elseif( event == "PLAYER_LOGIN" ) then
Possessions_PlayerLogin(self)
elseif( event == "ADDON_LOADED" ) then
if arg1 == "Possessions" then
self:UnregisterEvent("ADDON_LOADED")
if IsLoggedIn() then Possessions_PlayerLogin(self) else self:RegisterEvent("PLAYER_LOGIN") end
end
end
end

B. Comment out the existing lines 1502 & 1503 and add a new line immediately below them so that lines 1501-1505 now look like the following. Again, those line numbers will change after doing 3) below, but don't worry about it:

Code:

function Possessions_OnLoad(self)
-- self:RegisterEvent("VARIABLES_LOADED")
-- this:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("ADDON_LOADED")
table.insert(UISpecialFrames, "Possessions_Frame")

C. After line 1170, put a new line below it so that lines 1170-1172 now look like the following:

Code:

function Possessions_PlayerLogin(self)
Possessions_VarsLoaded(self)
Possessions_ScanMoney()

3. Coani's mods:

A. in Possessions.lua (approx around line 1522)
change:
Code:

function Possessions_OnEvent(self, event, arg1)

to:
Code:

function Possessions_OnEvent(self, event, ...)
local arg1 = ...;

B.in Possessions.xml (approx line 846, near end)
change:
Code:

<OnEvent>Possessions_OnEvent(self, event, arg1);</OnEvent>

to:
Code:

<OnEvent>Possessions_OnEvent(self, event, ...);</OnEvent>


The above changes WORK when done in the order specified.

Thank you ALL for your help with this, Possessions is too good to lose to a patch.
Last edited by Szyarah : 10-14-10 at 11:11 PM.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 03:37 PM  
coani
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 40
Uploads: 3
Originally posted by Szyarah
Since I pasted your text directly into the file, I fail to see how I could possibly have entered it "wrong." It just didn't work.

I never had trouble bringing up the addon window, but it displays NOTHING on any character.
hmm strange. Did you by chance also apply the fixes Zidomo pasted below many months ago? Those are necessary too (especially the one's related to player login).
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 02:24 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 139
Uploads: 0
Originally posted by coani
Works fine for me, you must have entered it wrong somehow.
But I do agree, it would be nice to see a proper release for a change
Since I pasted your text directly into the file, I fail to see how I could possibly have entered it "wrong." It just didn't work.

I never had trouble bringing up the addon window, but it displays NOTHING on any character.
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 01:50 AM  
possessionshelp
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
still need help

I tried the fixes mentioned, tried the 2 fixes first then yours zidomo, but still to no avail. Even typing /poss does nothing. Is there any way that you could upload your version of possession with the fixes that you say works for you?
Thanks
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 11:26 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Coani's 4.0 fix below works here without issues or errors on 4.x live.

At least in the 5 minutes of testing have given it so far...heh. And after Gello's (06-30-2010 10:23 AM) & my (05-19-2010 09:57 AM, modified from someone else's) earlier fixes below were put in first. Need to do those two first.

Can open the Possessions frame via /poss and search for & mouse over found items to get tooltips for them without problems. The tooltips also contain the Possessions text showing who has the item.

Make sure you are changing the correct lines and make sure you have implemented the earlier 2 fixes as well.
Last edited by Zidomo : 10-13-10 at 11:26 PM.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 08:55 PM  
chwolfgang
A Defias Bandit

Forum posts: 2
File comments: 70
Uploads: 0
I tried the posted fix as well, twice in fact, and I am still getting an error. If you would like me to post it, I would be happy to. TY for your time and efforts.

I would love an official update as well.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 03:26 PM  
coani
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 40
Uploads: 3
Works fine for me, you must have entered it wrong somehow.
But I do agree, it would be nice to see a proper release for a change
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 10:58 PM  
Szyarah
A Defias Bandit

Forum posts: 2
File comments: 139
Uploads: 0
Fix doesn't work.

To the author: would dearly love a cata update for possessions
Report comment to moderator  
Reply With Quote
Unread 09-14-10, 10:54 AM  
coani
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 40
Uploads: 3
Broken in 4.0 beta.

NinjaEdit:
Seems simple to fix actually:

in Possessions.lua (approx around line 1522)
change:
Code:
function Possessions_OnEvent(self, event, arg1)
to:
Code:
function Possessions_OnEvent(self, event, ...)
   local arg1 = ...;
in Possessions.xml (approx line 846, near end)
change:
Code:
<OnEvent>Possessions_OnEvent(self, event, arg1);</OnEvent>
to:
Code:
<OnEvent>Possessions_OnEvent(self, event, ...);</OnEvent>
Last edited by coani : 09-24-10 at 07:28 PM.
Report comment to moderator  
Reply With Quote
Unread 09-10-10, 02:21 PM  
handvprice
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
Success!

You guys are frickin' geniuses! I made the changes in possessions.lua as prescribed by Zidomo and Gello and (after correcting my mis-types....) I haven't had the error message when starting poss, and it works! Gosh, I love this addon.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: