Comparer les révisions

...

4 Révisions

Auteur SHA1 Message Date
Albirew 75a6297b97 TOC update
1.13.5
2020-10-29 11:41:23 +00:00
Albirew 01deecbfef bump ToC to 1.13.3 2019-12-14 00:43:23 +01:00
Albirew 35039ecba0 cleaned toc file 2019-10-10 22:12:48 +02:00
Albirew 7ad34c7558 fixed accountInfo bug in retail
fixed "attempt to index local 'accountInfo' (a number value)"
2019-09-27 15:37:54 +02:00
2 fichiers modifiés avec 14 ajouts et 10 suppressions

Voir le fichier

@ -297,7 +297,12 @@ function Postal_BlackBook:OnChar(editbox, ...)
local numBNetTotal, numBNetOnline = BNGetNumFriends()
for i = 1, numBNetOnline do
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
local accountID = toonID
else
local accountID = C_BattleNet.GetFriendAccountInfo(i)
end
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
if strfind(strupper(toonName), text, 1, 1) == 1 then
newname = toonName
break
@ -368,7 +373,12 @@ function Postal_BlackBook:SortAndCountNumFriends()
local numBNetTotal, numBNetOnline = BNGetNumFriends()
for i= 1, numBNetOnline do
local presenceID, presenceName, battleTag, isBattleTagPresence, toonName, toonID, client, isOnline, lastOnline, isAFK, isDND, messageText, noteText, isRIDFriend, messageTime, canSoR = BNGetFriendInfo(i)
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(toonID)) then
if (WOW_PROJECT_ID == WOW_PROJECT_CLASSIC) then
local accountID = toonID
else
local accountID = C_BattleNet.GetFriendAccountInfo(i)
end
if (toonName and client == BNET_CLIENT_WOW and CanCooperateWithGameAccount(accountID)) then
-- Check if already on friends list
local alreadyOnList = false
for j = 1, numFriends do

Voir le fichier

@ -1,12 +1,7 @@
#retail ## Interface: 80200
## Interface: 11302
## Interface: 11305
## Title: Postal
## Version: v3.6.1
## X-Build: 411
## X-ReleaseDate: 2019-09-13T14:55:00Z
## X-Revision: $Revision: 411 $
## Version: v3.6.2a
## Author: Xinhuan
## X-Credits: Ammo, Rabbit, Grennon, Mikk, oscarucb
## X-Category: Mail
## Notes: Postal: Enhanced Mailbox support
## Notes-ruRU: Postal: Расширенная поддержка почтового ящика
@ -20,7 +15,6 @@
## LoadManagers: AddonLoader
## X-LoadOn-Mailbox: true
## X-Email: xinhuan AT gmail DOT com
#@no-lib-strip@
Libs\LibStub\LibStub.lua