[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
Engydoggy
Human
Human
Posts: 33
Joined: 12 Jul 2008, 06:14
Noob?: Yes

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

#11 Post by Engydoggy »

sli wrote:
Makubex wrote:I need to know if this can be used without the macro

And I have the 2.0.5.1 openkore version, but I don't see any "plugins" folder

Ah...and I don't have the SVN version...do I need it?
If only modern operating systems had the capability to create directories. Sigh, I guess we can dream, though. Yeah? :)

Anyway, this plugin is so out of date I can't believe it actually still loads error-free.
lol, people REALLY need to start reading instructions before starting to use their stuff.

"Hello? Yeah, I'm calling to report a faulty microwave oven. It has no sound and the door won't open."

"Sir, there's a button to open the door, and... did you plug it in?"

And actually, the plugin does work, on all events BUT a monster. Which is kinda why I needed it :p

xresilience
Noob
Noob
Posts: 3
Joined: 29 Aug 2008, 16:47
Noob?: Yes

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

#12 Post by xresilience »

my plugin loads correctly and i have it in my config.txt but i still can't get it to work. what's going on?

Here is what's in my config.txt. I tried this with both 2.0.5.1 and SVN and i don't get any sound notification when i have a friend whisper me

Code: Select all

##ALERT SOUND
alertSound 1

alertSound {
	eventList public gm chat, public chat, private chat, private gm chat, GM near, Player near
	notInTown 1
	inLockOnly 1
	play C:\windows\media\tada.wav
}

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

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

#13 Post by Technology »

@ xresilience
Are you using windows vista? If so, i had trouble with that before.

edit:
I did not see the word friend in ur last post...
So only the pm part isn't working for you?
Last edited by Technology on 31 Aug 2008, 00:18, edited 2 times in total.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

xresilience
Noob
Noob
Posts: 3
Joined: 29 Aug 2008, 16:47
Noob?: Yes

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

#14 Post by xresilience »

no, i'm on windows XP home edition

Engydoggy
Human
Human
Posts: 33
Joined: 12 Jul 2008, 06:14
Noob?: Yes

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

#15 Post by Engydoggy »

xresilience wrote:no, i'm on windows XP home edition
Hey, this is the block I'm using:

Code: Select all

alertSound 1

alertSound {
	eventList public gm chat, monster Angeling
	notInTown 1
	inLockOnly 1
	play SystemDefault
}
I didn't use the one with the file path because I'm not using a normal version of XP :P but using this block it does work, for all events BUT monsters.

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

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

#16 Post by Technology »

Oh right, on vista these system messages did work too.
I'll take a look at the monster near trigger later.

[EDIT]
I suspect that you are using servertype 8_2 or 8_4.
In that case, packet switch 0078 is causing the problem.
Its best that this plugin gets a rewrite to support all serverTypes by using more than just the 'parseMsg/pre' hook.
Take a look at Sli's koreSnarl for an example of hook usage that should be used in the rewrite.
koreSnarl
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

koflok
Noob
Noob
Posts: 3
Joined: 03 Apr 2009, 12:32
Noob?: No

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

#17 Post by koflok »

since i didnt find any response for the autoresponse on botkillers.
i thought i would just manually type the code manually.
is there a way to made a sound alert when botkiller began to 'talk'?

elsif ($switch eq "009A") {
# System message/GM message (is this always global?)
alertSound("system message");

is that includes the botkiller messages?

zXSinXz
Noob
Noob
Posts: 1
Joined: 13 May 2009, 11:02
Noob?: Yes

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

#18 Post by zXSinXz »

Hi how do i use this macro in combination with reactOnKillSteal macro plugin
I tried the follow and it doesnt work

alertSound {
eventList public GM chat, private chat, private GM chat, GM near, reactOnKillSteal
notInTown 1
inLockOnly 1
play C:\Windows\Media\AAA.wav
}

any1 knows??

deFT
Noob
Noob
Posts: 2
Joined: 04 Jun 2009, 00:36
Noob?: Yes

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

#19 Post by deFT »

how does the bot recognize when the GM is near? is there a GM list txt file i'm supposed to edit?

ProfessorX
Noob
Noob
Posts: 10
Joined: 12 Apr 2009, 07:56
Noob?: No

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

#20 Post by ProfessorX »

This plugin is not working for me. I'm using version 2.0.7 and every time in a dungeon a message would appear in my console saying Sound Alert: Death. But it never plays the sound. I checked location of the sound file on my computer and everything is fine but it's just not playing the sound.

Any help would be greatly appreciated. Thank you in advance.

Post Reply