• Visit Rebornbuddy
  • [Plugin 2.0] AlerterReloaded

    Discussion in 'Archives' started by toNyx, Aug 30, 2015.

    1. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Hello, it's me, your brother...

      Nah, jk, this plugin is the rework (for new beta) of the initial Alerter by Exvault

      The major changes :

      - Mobile notifications
      - Group messages detection
      - Trade chat mentions (if someone says your name in trade chat)
      - Unique (stashed) notifications (includes name of the item)
      - Masters notifications & Pending invites !

      Have fun !

      BREAKING NEWS : Project discontinued, may still work after 2.4.X updates

      Note : This plugin requires latest CommunityLib

      Changelog :
      You need to register and have one post to see spoilers!
       

      Attached Files:

      Last edited: Aug 28, 2016
    2. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18

      I KNEW YOU COULD DO IT ! ty! (waiting for a unique to be stashed ... to see if it works !)
       
      Last edited: Aug 30, 2015
    3. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      it woooooooorks !!!!! ty ty ty ty ty
       
    4. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      Ummm... one more thing... and i won't bother you again(on this topic ;-) ). Do you think it's possible for the NMA to notify when the EB stops(for any reason)? And a slight problem with the notifications... it gives like 8 notifications for a unique(the free trial for NMA offers only 5 per day(as i remember)-lukely i have premium on that from a long time ago-), but for the free users it would be sort of a pain in the arss...
       
    5. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      It's only for the uniques right? I'll add a fix for that. And also add the stop thingy
       
    6. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      The chat thingie... encountered smth also... the EB were stopped but on, i was doing trade chats, pm's to ppl, etc... after i started the bot my phone went wild :D... n* notifications with all the chats, all the trade chats that i had and PM's. Thx, you are the best!!!
       
    7. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Encountered the same problem lol, bot was stopped and my computer yelled "NEW PRIVATE MESSAGE" fuck, I was scared. need to figure out why it works even when the bot is stopped
       
    8. OneStopMMO

      OneStopMMO New Member

      Joined:
      Jul 29, 2013
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      U know i didnt need another alerter besides the basic one below this post a few levels. But today my alerter stopped telling me when i got a PM ... so here we go!
       
    9. OneStopMMO

      OneStopMMO New Member

      Joined:
      Jul 29, 2013
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      Code:
      Reloading AssemblyLoader<Loki.Bot.IPlugin> - Initializing
      Compiler Error: warning CS2029: Invalid value for '/define'; '' is not a valid identifier
      Compiler Error: c:\Users\I3\Desktop\CRap\W*indows Update\Plugins\AlerterReloaded\AlerterReloaded.cs(18,32) : error CS0118: 'Alerter' is a 'namespace' but is used like a 'type'
      just happened
       
    10. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Dont have the 2 plugins installed, only 1
       
    11. ripcurl2269

      ripcurl2269 New Member

      Joined:
      Jun 25, 2010
      Messages:
      27
      Likes Received:
      3
      Trophy Points:
      3
      I don't know if it is useful, but I like to manually do the masters quests, and I am not always in my room so I wanted an option to receive the notification on my phone if I want. I replaced the AlertMaster function with the following in Alerter.cs within the classes folder
      Code:
       private static void AlertMaster(string mastername)
              {
                  AlerterReloaded.Log.WarnFormat("[AlerterReloaded] Detected: {0}", mastername);
                  PlaySound(mastername + ".wav");
                  bool shouldNotify = NotificationHelper.MobileNotificationsEnabled && AlerterReloadedSettings.Instance.NotifyChatMessages;
                  if (shouldNotify)
                          {
                              
                              NotificationManager.AddNotificationToQueue(string.Format("Master Found {0}", mastername), "Master Found", NotificationHelper.ProwlNotificationPriority.High);
                          }
      
              }
      So this option depends on whether or not chat messages are enabled. PS Tony, incredibly well written code and logical layout. Made it really interesting to follow!
       
    12. OneStopMMO

      OneStopMMO New Member

      Joined:
      Jul 29, 2013
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      thanx man all fixed :)
       
    13. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Well, I'm the author of DB's Trinity mobile notifications so the work was pretty much already done, tho the ChatManager class (by pushedx) helped me a lot to rework it, took me less an hour to figure it out.
      I'm gonna add notification on bot stop/start really soon. The fun thing about how the stuff is coded now, it'll take 10mn to implement it :D
       
    14. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      New version is up, with start/stop not sure it works, untested

      Also added unique notification cooldown to avoid spamfest
       
      Last edited: Sep 2, 2015
    15. criticalanarchy

      criticalanarchy Member

      Joined:
      May 5, 2014
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      6
      So how exactly do I get pushbullet notifications working?
       
    16. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      will come with a reply... when the EB will work. TY tony, you're awesome :)
       
    17. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Check the box, enter your key, have fun
       
    18. criticalanarchy

      criticalanarchy Member

      Joined:
      May 5, 2014
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      6
    19. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      i get an error now... something i'm doin wrong?


      Exception during plugin Stop.System.NullReferenceException: Object reference not set to an instance of an object.
      at AlerterReloaded.AlerterReloaded.Stop() in c:\Users\Alba\Desktop\New folder (2)\Plugins\AlerterReloaded\AlerterReloaded.cs:line 104
      at Loki.Bot.PluginManager.***​‎​‫‪**‫‫‎​*‎‏**(IPlugin )
       
    20. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Nothing harmful, gonna fix it later this week
       

    Share This Page