What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[REQ] Sound notification

bend1

Member
Joined
Aug 30, 2011
Messages
109
Hi,

is it possible to make a plugin for getting a sound notification when a player (same and other faction) is nearby?
 
I know that plugin but this one stops every time too ;) i need only sound notification ^^
 
I know that plugin but this one stops every time too ;) i need only sound notification ^^

its an easy mod, 5-10mins of coding. if you havent found something in a couple of days ill make you one, probably add an option in my paranoia plugin as well for the next release.

Im short on cash and havent got any playtime atm though so youll have to wait until that gets solved (hopefully soon, I wanna play :P ).
 
An option would be nice love your plugin ;)
i have modifed your code a bit but its not working properly :p
 
well, if you're already playing with the code you can try this (locate "public override void Pulse()" in ppp.cs and replace the method with the code below):

Code:
        private bool played_sound = false; 
        public override void Pulse()
        {
            
            if (!Styx.StyxWoW.IsInWorld)
                return;


            if (playersNear(true))
            {
                if (!played_sound)
                {
                    SndPlayer.Beep();
                    played_sound = true;
                }
            
            }
            else
            {
                if(played_sound)
                    played_sound = false; 
            }



        }
 
Last edited:
Back
Top