08/20/14, 08:40 AM | #1 |
Notification Accept and One-Click-Logout [request]
Hello, i think we really need the addon(or we already have?) to automatic accept notification about "Your guildmaster finished AA in **** minutes" really got me
Another additional idea, is it possible to make "one key logout" addon? will be usefull for some types of farm, like food/recipes/motifs farm |
|
QuadroTony |
View Public Profile |
Find More Posts by QuadroTony |
08/20/14, 10:41 AM | #2 |
|
At the risk of sounding like an ass, the search bar is pretty great
LogOut and these functions exist ConfirmCampaignEntry(*integer* _campaignId_, *bool* _queueAsGroup_, *bool* _accept_) RemoveRaidScoreNotification(*integer* _notificationId_) among others along the same lines, so looks like something is doable. Last edited by Randactyl : 08/20/14 at 10:43 AM. |
08/20/14, 12:12 PM | #3 |
Appreciate this! ty
|
|
QuadroTony |
View Public Profile |
Find More Posts by QuadroTony |
08/21/14, 06:03 AM | #4 |
If you want to completely disable raid leaderboard notifications, just unregister notifications provider:
Lua Code:
Right now I'm trying to figure out how to disable notifications just for selected guilds. |
|
08/21/14, 07:40 AM | #5 |
I tried those 2 lines of code Garkin, and it seems they doesn't work (Those notifs are really annoying)
https://www.dropbox.com/s/a3zvv16n1n...%20-%200.1.zip Maybe i make someting wrong Last edited by Ayantir : 08/21/14 at 07:43 AM. |
|
08/21/14, 09:46 AM | #6 | |
I have tried to update Thurisaz Guild Info to block raid notifications, but I didn't have time to test it yet. https://www.dropbox.com/s/349xrkiqwb...dInfo-0.57.zip I'm trying a bit more complex version of this code: Lua Code:
|
||
08/21/14, 12:45 PM | #7 |
I have it disabled ages ago, but never made an addon out of it cause it is just in one of my general utility addon.
Anyways packaged it and uploaded, enjoy. http://www.esoui.com/downloads/info7...otifySpam.html In regards to what Garkin is doing. I never felt the need for it, cause you should know what your guild is doing, anyways |
|
08/21/14, 02:00 PM | #8 |
for example im only 50 lvl
too far from Trials i have one main guild and 4 trade guilds, 3 of the doing trials very often so not neccessary to see this again and again i think and you always can see the leaderboard in the group page for things you interesting in =) Last edited by QuadroTony : 08/21/14 at 02:05 PM. |
|
QuadroTony |
View Public Profile |
Find More Posts by QuadroTony |
08/21/14, 07:29 PM | #9 | |
|
Lua Code:
Grab the raid score notifications yourself & check to see if the person is a guild member (you could also set options for showing friend notifications as well while your here it seems): Lua Code:
If so loop through those or loop through all of the guilds to find out which guildId that characterName is in (or there may be a better way to do this part?). You all ready have the memberIndex so you dont need to check every guild member (just compare the characterNames to see if they match) using: Lua Code:
That would tell you which guild they are in and then decide if you want to show the notification and pass it on to the original function you hooked (or not)....or that might not work...I dont think you can pass single notifications back to the original function it checks all notifications it seems. But, you could just rewrite the function to suit your needs. I'll leave the rest of my post up there though because it would still be the basic idea of how you would want to rewrite ZO_LeaderboardRaidProvider:BuildNotificationList() to do what your looking for. |
|
08/21/14, 07:41 PM | #10 | |
|
Lua Code:
|
|
08/21/14, 07:51 PM | #11 |
I'd like to hook ZO_LeaderboardRaidProvider but it's local to EsoUI\Ingame\Contacts\Notifications.lua.
Lua Code:
By the way did you check code in modified Thurisaz Guild Info which I have linked above? Lua Code:
|
|
08/21/14, 08:17 PM | #12 |
|
I had not looked at it
Oh, yeah your right it is local.
No I hadn't looked at it, but I see you were all ready doing what I suggested. Looks like it would work to me. Although I think you could get rid of one of the loops by doing this:
Warning: Spoiler
Lua Code:
EDIT: Or I may have spoke to soon. I've never done any pvp/raid stuff. I have no idea how any of it even works. I may be wrong about what I said above...I thought this memberIndex: Lua Code:
was refering to the same memberIndex used for a guild members index, Lua Code:
but I read it again and think they might not be the same? Does the first one refer to memberIndex as the "memberIndex" for members of a raid party (people involved in that notification)? If so what I said would not work. Last edited by circonian : 08/21/14 at 08:53 PM. |
08/21/14, 09:43 PM | #13 | |
|
It would be the same result as what you did so this may not be useful for what your doing, but I saw it & thought I would point it out in case you (or anyone else reading this post later) had any reason to hook any other notifications it might be easier to grab them all in one place: Lua Code:
and just intercept self.providers[10] (or whatever provider is needed). Last edited by circonian : 08/21/14 at 09:46 PM. |
|
08/22/14, 02:30 AM | #14 | ||
(global instance of ZO_NotificationManager). But I think that for my purpose is better to hook directly instance of ZO_LeaderboardRaidProvider which is NOTIFICATIONS.providers[10]. |
|||
08/22/14, 02:09 PM | #15 | |
|
Lua Code:
|
|
ESOUI » AddOns » AddOn Search/Requests » Notification Accept and One-Click-Logout [request] |
«
Previous Thread
|
Next Thread
»
|
Thread Tools | |
Display Modes | |
|
|