Page 1 of 1

Bot playing sound when whispered.

Posted: Sun Aug 22, 2010 10:01 pm
by zaxahmed
I've gone through the whole forum looking for this and there is very little detail on this. Im well aware of the addon that works to play sound in RoM but I seem to have an issue with the sound in RoM after awhile. It goes away completely. If there is a way to make the bot call an external file to play a userdefined file on a whisper, I would really appreciate your feedback.

Re: Bot playing sound when whispered.

Posted: Sun Aug 22, 2010 11:39 pm
by rock5
If you describe why you need to make a sound it would be easier for someone to suggest a solution. Why do you need to play a specific sound on whisper?

Re: Bot playing sound when whispered.

Posted: Mon Aug 23, 2010 6:12 am
by zaxahmed
Im usually not far from my pc when the bot is running and would like to know if there is a whisper or say pertaining to me in order for me to take appropriate action at that given time. Thank You for your response and query.

Re: Bot playing sound when whispered.

Posted: Mon Aug 23, 2010 7:32 am
by Starrider
Hi, good idea.
Some time ago RoM had an sound like the sound when you got a partyinvite, I don't know hwat for a bug has disabled it.

Then i used kAFK, where you could set a sound played by getting whispered. But this addon doen't work anymore after 3.0.3. because of the removed "os." function.

Maybe someone find a way to fix this addon, but the dev still doesn't support it anymore. Then you had an way to play a sound.

I also would request such a solution, mybe the bot kann give a bios beep?

I play with my mainchar, an the bot is running in background, it would make the gameing more easy because you need not to switch often to check for whispers.

Re: Bot playing sound when whispered.

Posted: Mon Aug 23, 2010 8:41 am
by rock5
The bot is not able to monitor chat so can not send a sound when you receive a whisper. Your best bet is an addon. If the problem is the missing os functions try the d303fix addon. It correctly supplies the os.date(), os.time() and other functions. Then try your addon again.

Re: Bot playing sound when whispered.

Posted: Mon Aug 23, 2010 6:22 pm
by Starrider
KAfK has been fixed. It plays now a sound when you get whispered.
You can download it at http://rom-addonpack.tk/ in the Slayblaze 3.2.1 version.

Re: Bot playing sound when whispered.

Posted: Wed Aug 25, 2010 12:34 am
by sdude13
Is there also a way to get an alert when a magic canvia drops ?
There is a message comming up when it happens.
Like that we could switch to manual input and catch it, then resume the bot...

Re: Bot playing sound when whispered.

Posted: Wed Aug 25, 2010 2:16 am
by rock5
sdude13 wrote:Is there also a way to get an alert when a magic canvia drops ?
There is a message comming up when it happens.
Like that we could switch to manual input and catch it, then resume the bot...
I have a catch cavy script if you are interested. I just posted it for your convenience.
http://www.solarstrike.net/phpBB3/viewt ... =21&t=1566

Re: Bot playing sound when whispered.

Posted: Tue Aug 31, 2010 8:35 pm
by nokirk
I modified kAfk a little so it only plays a sound, but not answer automatically. (Seemed a little strange to me running around doing stuff and answering "I'm afk").

Anyways, after turning off all music effects and ambience noises I was hoping I could extract only the sound when being whispered. Unfortunately that's not possible with in-game settings, it still plays sounds when looting, repairing, throwing stuff away or selling things.

My question is, is it possible to delete those sounds as well? So the only sound that will be played, is the one when being whispered from kAfk. Is that possible? Any advice is much appreciated. Thanks a lot.

Re: Bot playing sound when whispered.

Posted: Thu Sep 02, 2010 11:55 am
by Starrider
can you upload your modified KAFK version?

Re: Bot playing sound when whispered.

Posted: Fri Sep 03, 2010 11:13 am
by nokirk
Starrider wrote:can you upload your modified KAFK version?
Sure, just replace this file with kAFK.lua file in kAFK folder.

Anybody got an idea how to kill all other sounds from the game except the notification from the addon when a whisper comes in? So far it still plays sound when looting, reapiring, selling stuff and so on.

Re: Bot playing sound when whispered.

Posted: Fri Sep 03, 2010 2:17 pm
by Starrider
I tried that not but its theoreticalliy possible - my idea:

load this tool (FDB Extractor), whith this you can look inside the packed files.

Open sound.fdb, extract the files an replace all with empty ones. Copy the files with the same root structe like in the packed fdb into your RoM main directory. Then i am sure no sound is played anymore because the client loads the edited Sound files, and they are empty so no sound XD

Re: Bot playing sound when whispered.

Posted: Fri Sep 03, 2010 2:36 pm
by droppen
Starrider wrote:I tried that not but its theoreticalliy possible - my idea:

load this tool (FDB Extractor), whith this you can look inside the packed files.

Open sound.fdb, extract the files an replace all with empty ones. Copy the files with the same root structe like in the packed fdb into your RoM main directory. Then i am sure no sound is played anymore because the client loads the edited Sound files, and they are empty so no sound XD
if you do this, please share it with the world

Re: Bot playing sound when whispered.

Posted: Fri Sep 10, 2010 5:48 am
by bussdee
am i wrong? Why you dont just use RoM-Audio-Config?
There are different configs for sound. Only activate the one for Interface and it should do what you need.

Re: Bot playing sound when whispered.

Posted: Sat Dec 13, 2014 4:26 pm
by Septh
I tried the FDB Extractor, created the same structure path and replaced few of the mp3 files and it didn't work. The game keep using the FDB for the sound. I finally just deleted the Sound.fdb and just rely on the addon gildenpieps.

The reason why I don't want to turn the interface sound off in the config/audio, it is because the sound used for the whisper alert need the 'interface' volume to be activated/on.

Re: Bot playing sound when whispered.

Posted: Sat Dec 13, 2014 4:29 pm
by Septh
Oh, and I forgot to mention that my char is making all kind of noise from the 'interface' settings, and I can't customize.

Re: Bot playing sound when whispered.

Posted: Sat Dec 13, 2014 10:29 pm
by rock5
It might have something to do with how FDB Extractor (McBens version) converts some file types to a more readable form. So if you extract all of sound.fdb and replace just some files, some of the other files might no longer be compatible with what the game expects. Try only including the files you want to replace.