[alertsound] plugin - plays sounds on certain events

Other plugins for extending OpenKore's functionality. This forum is only for posting new plugins and commenting on existing plugins. For support, use the Support forum.

Moderator: Moderators

Message
Author
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#51 Post by EternalHarvest »

Runifl wrote:No mp3
As expected with the direct interface to sndPlaySound.

gopalbd
Noob
Noob
Posts: 1
Joined: 17 Sep 2011, 03:24
Noob?: Yes
Location: Dhaka
Contact:

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#52 Post by gopalbd »

hi,
Thanks for your valuable information .
Newton

rocknroll
Been there done that!
Been there done that!
Posts: 118
Joined: 19 Sep 2011, 07:30
Noob?: Yes

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#53 Post by rocknroll »

wow thx for sharing, anyway i search for the command about utils Win32 on perl(because openkore use perl i guess), i found utils::win32::sound. it's different, can u tell me where to find the right utils list that working on openkore. sorry for my english :)
Sorry, my english is very bad !

Runifl
Noob
Noob
Posts: 13
Joined: 03 Sep 2008, 13:54
Noob?: No

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#54 Post by Runifl »

EternalHarvest wrote:
Runifl wrote:No mp3
As expected with the direct interface to sndPlaySound.
Well didn't know that, though it just takes simple convert work and here it goes.

Is there any command to stop the sound?
I want to play a sound and e.g. want to pause it 10 seconds afterwards:
something like: do eval Utils::Win32::stopSound ?

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#55 Post by EternalHarvest »

stop the sound
Kore's playSound would stop the previous sound before playing new one, so try to play empty file or maybe just playSound(undef).

Najuri
Human
Human
Posts: 24
Joined: 04 Jul 2012, 18:57
Noob?: No

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#56 Post by Najuri »

Is this still up to date/working with version 2.1?

loydi12345
Noob
Noob
Posts: 11
Joined: 20 Jul 2008, 09:48
Noob?: Yes

Re: Sound alerts plugin [win32] - v1.3 [1.9] by Joseph

#57 Post by loydi12345 »

Hi guys, thanks for sharing this plugin. I would like to ask if this still works currently.

Cheers..

Kamisu
Noob
Noob
Posts: 9
Joined: 10 Mar 2013, 15:20
Noob?: No

Problem with AlertSound plugin

#58 Post by Kamisu »

I read this
http://forums.openkore.com/viewtopic.php?f=34&t=1490

Now the Plugin doesnt play a sound

I made ​​a folder with the name plugins.
Then I have the code saved in alertsound.pl .
In my config.txt i write the code
alertSound 1

alertSound {
eventList public gm chat, public chat
notInTown 1
inLockOnly 1
play D:\Platte\Kram\test.wav
}

alertSound {
eventList emoticon, death, monster Phreeoni, monster Baphomet
notInTown 1
inLockOnly 0
play D:\Platte\Kram\test.wav
}
After I've tested it.
Openkore said : Sound alert: Private Chat
But I do not hear anything
I must have done something wrong
Can any help me please ?

Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Problem with AlertSound plugin

#59 Post by Raider »

Ey, you have set beepDomains 1 in config.txt and installed the macro plugin?

Kamisu
Noob
Noob
Posts: 9
Joined: 10 Mar 2013, 15:20
Noob?: No

Re: Problem with AlertSound plugin

#60 Post by Kamisu »

I forot.
Now i have a error.
Openkore cant load the macro.txt

what do I have to write in?

Post Reply