mooreatv / DynamicBoxer

Multiboxing with dynamic teams wow addon
8 stars 4 forks source link

events when logging in/out other toons - how to get our own BNet toon list #5

Open mooreatv opened 5 years ago

mooreatv commented 5 years ago

login of another toon

BN_INFO_CHANGED BN_FRIEND_INFO_CHANGED x 2

at log out of 1 toon

BN_FRIEND_INFO_CHANGED x 2 BN_INFO_CHANGED

mooreatv commented 5 years ago

https://wow.gamepedia.com/API_BNSendGameData

https://wow.gamepedia.com/BN_CHAT_MSG_ADDON

mooreatv commented 5 years ago

kinda stuck at the fact the self presence id is nil (BNGetInfo)... can enumerate all bnet friends toon but not self which seems like a blizzard oversight... or I haven't found how yet

for other bnet: BNGetNumFriends BNGetFriendGameAccountInfo BNGetFriendInfo BNGetGameAccountInfo

some data on https://us.battle.net/forums/en/wow/topic/20742784697#post-1 (old but somewhat relevant)

mooreatv commented 5 years ago

unanswered posts I made: https://us.forums.blizzard.com/en/wow/t/enumerating-your-own-logged-in-toons-like-you-can-for-any-bnet-friend/199834 https://www.wowinterface.com/forums/showthread.php?t=57204 https://us.battle.net/forums/en/bnet/topic/20771947002 (that one would be for some workaround using an echo style service like you could do with classic games chat api https://s3-us-west-1.amazonaws.com/static-assets.classic.blizzard.com/public/Chat+Bot+API+Alpha+v3.pdf ) https://solidice.com/forums/1/topic/bnsendgamedata-and-multiple-clients-open-at-once

it's mysteriously not possible/blocked by design by blizzard ?

mooreatv commented 5 years ago

fun addition... it seems you can't send AddonMessages either cross realm if SAME bnet (works with different ones!!)

mooreatv commented 5 years ago
07.98 Mama-DBox DBG[8]: OnEvent called for "DynBoxer","Mama-DBox" e="CLUB_MESSAGE_ADDED" 358718281
07.98 Mama-DBox DBG[3]: On ev "CHAT_MSG_COMMUNITIES_CHANNEL" , "|Kv1|k" , "|Kq16|k" , "" , "4. Community:358718281:1" , "" , "" , 0 , 4 , "Community:358718281:1" , 0 , 0 , nil , 1 , false , false , false , false
07.98 Mama-DBox DBG[8]: OnEvent called for "DynBoxer","Mama-DBox" e="CHAT_MSG_COMMUNITIES_CHANNEL" "|Kv1|k"

for image