postal completely not working on patch 8.2.5 #219


Closed
  • Xelsnap created this issue Sep 25, 2019

    so i login and as soon i open the mail stops working i cannot send or loot from the mail i cannot open my contact list to mail to my other toons please take a look at it if u can :D thank you in advance i love this addon ive been using it for many years!

  • Devileu posted a comment Sep 25, 2019

    same for me 

     

     

  • Devileu posted a comment Sep 25, 2019

    Message: Interface\FrameXML\FriendsFrame.lua:2287: attempt to index local 'accountInfo' (a number value)
    Time: Thu Sep 26 04:10:13 2019
    Count: 1
    Stack: Interface\FrameXML\FriendsFrame.lua:2287: attempt to index local 'accountInfo' (a number value)
    [C]: ?
    Interface\FrameXML\FriendsFrame.lua:2287: in function `CanCooperateWithGameAccount'
    Interface\AddOns\Postal\Modules\BlackBook.lua:370: in function `SortAndCountNumFriends'
    Interface\AddOns\Postal\Modules\BlackBook.lua:457: in function `initFunction'
    Interface\FrameXML\UIDropDownMenu.lua:76: in function `UIDropDownMenu_Initialize'
    Interface\FrameXML\UIDropDownMenu.lua:1060: in function <Interface\FrameXML\UIDropDownMenu.lua:925>
    [C]: in function `ToggleDropDownMenu'
    Interface\AddOns\Postal\Modules\BlackBook.lua:41: in function <Interface\AddOns\Postal\Modules\BlackBook.lua:36>

    Locals:

  • unrealhshh posted a comment Sep 26, 2019

    Workaround,

    Modules\BlackBook.lua, begin on line 366

     

    	if BNGetNumFriends then -- For pre 3.3.5 backwards compat
    		local numBNetTotal = BNGetNumFriends() -- hshh, fix for 8.2.5
    		for i= 1, numBNetTotal do  -- hshh, fix for 8.2.5
    			local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
    			local accountInfo = C_BattleNet.GetFriendAccountInfo(i)  -- hshh, fix for 8.2.5
    			if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountInfo)) then  -- hshh, fix for 8.2.5
    				-- Check if already on friends list
    				local alreadyOnList = false
    				for j = 1, numFriends do
    					if sorttable[j] == toonName then
    						alreadyOnList = true
    						break
    					end
    				end
    				if not alreadyOnList then
    					numFriends = numFriends + 1
    					sorttable[numFriends] = toonName
    				end
    			end
    		end
    	end
    

     

  • Devileu posted a comment Sep 26, 2019

    ok , i will test it now - i hope someone can put a new version up :) thanks alot 

  • Devileu posted a comment Sep 27, 2019

    It is better now , i can use the addon but still get some errors :) - ty anyway

  • kaseyd24 posted a comment Sep 28, 2019

    that worked.. I can never figure out how to fined the error in the code that needs fixing.. do you use a certain debugger?

     

     

  • wollabille posted a comment Sep 29, 2019

    Funny thing is i am experiencing the same. On my shadow priest.. But on my Demon Hunter it works.. WTF??

  • unrealhshh posted a comment Sep 29, 2019

    Another needed to modify, still Modules\BlackBook.lua, begin on line 295. That's fix for receiver name input checking.

     

    	-- Check RealID friends that are online
    	if not newname and db.AutoCompleteFriends then
    		local numBNetTotal, numBNetOnline = BNGetNumFriends()
    		for i = 1, numBNetTotal do -- hshh, fix for 8.2.5
    			local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
    			local accountInfo = C_BattleNet.GetFriendAccountInfo(i) -- hshh, fix for 8.2.5
    			if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountInfo)) then -- hshh, fix for 8.2.5
    				if strfind(strupper(toonName), text, 1, 1) == 1 then
    					newname = toonName
    					break
    				end
    			end
    		end
    	end
    

     

  • verfalla posted a comment Sep 29, 2019
  • 트리스탄님 posted a comment Sep 29, 2019

     

     
    Thanks. very good
     
  • Xelsnap posted a comment Oct 2, 2019

    i just update both codes and they worked perfect workaround is there any way that this will make it into an update of the actual addon?thank a lot for the help @unrealhshh !!!!

  • deathstriker99 posted a comment Oct 17, 2019

    why arent we at least putting the fix into the file and then uploading it as a patch so then we dont have to keep coming back to this page?

     to find this work around always?

  • Zimzarina closed issue Oct 29, 2020
  • Zimzarina posted a comment Oct 29, 2020

    Fixed.


To post a comment, please login or register a new account.