• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin]AlertMe - (whisper/player notifications)

    Discussion in 'Uncataloged' started by parrot, Sep 12, 2012.

    1. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      AlertMe


      What it does:

      This plugin will play a sound if you get a whisper or if a player is nearby. It can also be configured to disconnect you after a set amount of whispers or after a certain time. Incoming whispers can also be logged so you can read them later.

      Known problems

      • If used together with my paranaoia plugin: please be aware that whisper notifications will be delayed if you're currently in waiting/afk mode.
      • Real id and other battlenet whispers don't log the the correct author name. The wow api wont allow you to correctly retrieve real id names so I will probably replace this with a battletag when i update the plugin. This only affects the senders name, otherwise it works fine.


      Installation
      Extract the folder into your plugins directory. Dont change the name of any directories or files.


      Changing the alert sound
      If you want to change the alert sound you can swap beep.wav (AlertMe/Sounds/beep.wav) with any other .wav sound file of your choosing. Other formats like mp3 etc are not supported. Audacity is a free audio editor which you can use to edit and convert you soundfiles to .wav .


      Please report any bugs or problems in this thread.

      Credits:

      Zenlulz - provided code to properly shutdown wow. Ive also learned a lot from studying his plugin.
      Honorbuddy team - For providing the styx library, its fantastic.
       

      Attached Files:

      Last edited: Oct 21, 2014
      soussi likes this.
    2. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Changelog:

      Code:
      1.5
      - Updated the plugin to accommodate a change in the hb api, will no longer fail to compile.
      - Received is now spelled correctly ;)
      
      1.4
       - Updated the plugin to accommodate a minor change in the hb api, will no longer fail to compile.
       - Now prints active settings on bot start.
       - Will no longer log date if no whisper has been received (whisper log).
      
      1.3
       - Fixed a bug where lua events didnt re-attach after being disposed.
       - Added an option to disable whisper logs
       - Added a button to clear the whisper log
       - Adjusted the whisper log entries
       
      1.2
       - Added a separate whisper log. Whisper details are now logged in AlertMe\Log.txt.
       - Removed option to not log player names.
       - Added a form view of the whisper log in the menu.
      1.1
       - Added an option to disable the logging of player names when receiving whispers. 
       - If the senders (whisper) name matches your own (character) it will now be logged as "Me".
      1.0 - release.
      
       
      Last edited: Oct 21, 2014
    3. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Reserved
       
      Last edited: Sep 19, 2012
    4. xittalon

      xittalon New Member

      Joined:
      Jan 9, 2012
      Messages:
      81
      Likes Received:
      0
      Trophy Points:
      0
      plz add a function to push notify to iphone.. like pushnotify did ;)
      that would be great ;)
       
    5. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      sorry im not going to add that functionality for several reasons, the foremost being that i dont own an iphone :p. Im sure someone else will make (or update) a plugin like that at one point or another.
       
    6. xittalon

      xittalon New Member

      Joined:
      Jan 9, 2012
      Messages:
      81
      Likes Received:
      0
      Trophy Points:
      0
      k ;) no prob thx 4 a clear answer
       
    7. Kylling

      Kylling Member

      Joined:
      Jan 28, 2012
      Messages:
      132
      Likes Received:
      0
      Trophy Points:
      16
      Sounds like a epic plug-in should probably get it ;)!
       
    8. RoloTomasi

      RoloTomasi New Member

      Joined:
      Jun 8, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      It's seems your pluggin hung current HB.
       
    9. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      ok, i am currently away and wont be able to have a look at it until sunday or monday. Is anyone else experiancing this aswell?

      Please attach a log and describe the problem. Were you doing something in particular that makes you suspect the plugin to be the culprit?

      update:

      Ive returned home and given it a go. The plugin still runs well on my machine and I cant observe anything which seem to have broken. There can be a million reasons why your client hung but without more info theres nothing i can do about it and have to assume that it was probably caused by something else. If there is a bug i want to fix it but if i cant recreate the problem solving it becomes alot like looking for a needle in a haystack without knowing if its even there :p
       
      Last edited: Sep 16, 2012
    10. soussi

      soussi Member

      Joined:
      May 4, 2011
      Messages:
      432
      Likes Received:
      1
      Trophy Points:
      16
      Hey thanks for this awsome plugin!

      I tried it and when i only toggled to alert for incomming whisper and reload all the pluggings and it starts up and immediately sais it exceeded numerous whispers so it will log off in x seconds.
      I havent even checked that option and if i dont stop the bot it will shut down wow.
      Anyone else experienced it?
       
    11. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Hi, im sorry you're having problems :/

      I can think of a couple things which might cause this.

      1: if you just installed the plugin the default setting is to logout after 0 whispers. This would result in an immediate shutdown if you didnt change the number of required whispers for logout or didnt uncheckeck "shutdown after X whispers"

      2: If you changed the settings while the bot was running you will have to stop the bot for them to get loaded. Settings are reloaded everytime you click on [start]. Look for "[AlertMe] Settings loaded, great success!" in the hb log window.

      Could you explain what you meant by reloading the plugin? Ive found through testing that clicking on the recompile all button can cause some problems. If you have to recompile i recommend restarting honorbuddy instead.

      edit: Also, if you rename the AlertMe folder, saving will no longer work and the plugin will fallback on the default settings (see nr 1). If this happens it will be visible in the log ("loading settings failed" or something similar).
       
      Last edited: Sep 17, 2012
    12. Gomer

      Gomer New Member

      Joined:
      Jul 26, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      With latest version
       
    13. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      thx. There was apparantly a small change in the api. ive uploaded a fix.
       
    14. monkeybollox

      monkeybollox New Member

      Joined:
      May 10, 2012
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      Is it possible for you to make this send a message to notify my android when you recieve a whisper?
      Notify My Android - Home
      Thanks
      :)
       
    15. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Hi, i will happily leave phone notifications to some other dev.

      Although i cant imagine it being very difficult to accomplish, the problem for me lies in my total lack of android coding experience. I would have to spend more time than I can afford getting familiar with the platform and brush up on my networking knowledge.

      Due to financial reasons i will also take a break from wow when my playtime runs out

      edit: Missed your link. there could be problems with using a third party library (i dont know it was just something i remember reading in the dev section). It would make the process easier though. I may have a look at that when i come back if its still needed and i feel like doing it. Probably not though, im in my last year of uni and behind on my studies which require more of my focus.
       
      Last edited: Sep 20, 2012
    16. monkeybollox

      monkeybollox New Member

      Joined:
      May 10, 2012
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      No problem, thanks for taking a look :)
       
    17. Jentlebe

      Jentlebe New Member

      Joined:
      Oct 7, 2012
      Messages:
      126
      Likes Received:
      0
      Trophy Points:
      0
      Hi im totally new at hb. great plugin. Is it possible to change the Alter sound? I copy another file there and changed the name, but its the original soundfile.

      greetz
       
    18. Jentlebe

      Jentlebe New Member

      Joined:
      Oct 7, 2012
      Messages:
      126
      Likes Received:
      0
      Trophy Points:
      0
      I managed to change the sound on my own way.
      Heres what i did( Sorry 4 bad english)
      1) Open AlterMe/Sounds
      2) Delete the File "beep" or skip "(2)
      -> Skip Step (3) + (4), if you have a ".wav" file
      3) Go to google and search: mp3(or whatever) to ".wav" converter download
      4) Convert the file to .wav
      5) Change name to "beep"
      6) Put it there , where you deleted in Step 2 the file "beep" or , if skipped (2) just copy and replace
      7) Start HB and it should work

      Tested but doesnt work:
      1) Open in AlertMe the File "Alert.cs"
      2) search for
      sp.SoundLocation = Application.StartupPath + @"\Plugins\AlertMe\Sounds\beep.wav";
      3) Edit the Order, where the sound is OR
      3a) Change "beep.wav" to "beep.mp3"

      -> For me it doesnt work, when i changed it to "beep.mp3"

      Thanks for the gread plugin.

      quote
      "
      * Notes: This release has had very limited testing *
      * You use this at your own risk.
      "
      ---> tested it for about 6hours , worked well.
      Does it support GM whisper?
       
    19. parrot

      parrot Community Developer

      Joined:
      Feb 5, 2012
      Messages:
      222
      Likes Received:
      7
      Trophy Points:
      18
      Hi sorry for the late reply, i seldom get any notifications when someone replies to the thread.

      As you discovered you can change the alert sound by replacing beep.wav (AlertMe/Sounds/beep.wav) with any other .wav sound file of your choosing. Other formats like mp3 etc are not supported.

      Audacity is a free audio editor which you can use to edit and convert your soundfiles to .wav .

      I haven't tested it but i highly doubt it will trigger, so no.


      Awesome :)
       
      Last edited: Oct 7, 2012
    20. james7360

      james7360 New Member

      Joined:
      Jul 13, 2010
      Messages:
      140
      Likes Received:
      0
      Trophy Points:
      0
      good job works perfect. maybe add normal chat also? but i think its grate was waiting for this thanks
       

    Share This Page