Stary2001 / friendbot

Bot that automatically gets LFCSes from friend codes for seedhelper. Look mum, no 3DS!
4 stars 4 forks source link

friend completed notifications not always generated #1

Open MechanicalDragon0687 opened 6 years ago

MechanicalDragon0687 commented 6 years ago

bot has been modified heavily but NintendoClients is up to date Events as follows: Bot friends person via "add_friend_by_principal_id" Bot shows that friend is_complete is false Bot is friended by other 3ds bot sometimes does not receive notification of type 7 (FRIEND_REQUEST_COMPLETE) in fact, no notification is seen at all for this interaction.

workaround i have right now is to occasionally client_sync and check the relationship status.

MechanicalDragon0687 commented 6 years ago

2018-10-15 04:25:17,686 Adding friend XXXX-4137-1796 2018-10-15 04:25:18,189 Friends.add_friend_by_principal_id() 2018-10-15 04:25:18,354 Friends.add_friend_by_principal_id -> done 2018-10-15 04:25:27,519 Friends.update_presence(...) 2018-10-15 04:25:27,605 Friends.update_presence -> done 2018-10-15 04:25:57,637 Friends.update_presence(...) 2018-10-15 04:25:57,722 Friends.update_presence -> done 2018-10-15 04:26:10,787 Adding friend XXXX-1544-5022 2018-10-15 04:26:11,288 Friends.add_friend_by_principal_id() 2018-10-15 04:26:11,451 Friends.add_friend_by_principal_id -> done 2018-10-15 04:26:27,754 Friends.update_presence(...) 2018-10-15 04:26:27,819 Friends.update_presence -> done 2018-10-15 04:26:29,678 NintendoNotificationServer.process_notification_event(7, XXXX03486, NintendoNotificationEventGeneral) 2018-10-15 04:26:29,679 LFCS received for XXXX-1544-5022 2018-10-15 04:26:31,764 LFCS processed for XXXX-1544-5022 2018-10-15 04:26:31,765 Friends.sync_friend() 2018-10-15 04:26:31,829 Friends.sync_friend -> done 2018-10-15 04:26:32,367 LFCS uploaded successfully for XXXX-1544-5022 2018-10-15 04:26:33,470 Friends.remove_friend() 2018-10-15 04:26:33,553 Friends.remove_friend -> done 2018-10-15 04:26:57,820 Friends.update_presence(...) 2018-10-15 04:26:57,886 Friends.update_presence -> done 2018-10-15 04:27:27,918 Friends.update_presence(...) 2018-10-15 04:27:28,004 Friends.update_presence -> done 2018-10-15 04:27:48,425 Friend not dumped, refreshing: XXXX-4137-1796 2018-10-15 04:27:48,426 Friends.sync_friend() 2018-10-15 04:27:48,639 Friends.sync_friend -> done 2018-10-15 04:27:48,640 Friend was completed all along: XXXX-4137-1796 2018-10-15 04:27:50,748 LFCS uploaded successfully for XXXX-4137-1796 2018-10-15 04:27:51,851 Friends.remove_friend() 2018-10-15 04:27:51,915 Friends.remove_friend -> done 2018-10-15 04:27:58,040 Friends.update_presence(...)