Has anyone ever seen something like this? Something that would press a key or run a command if it hears a certain sound?
Has anyone ever seen something like this? Something that would press a key or run a command if it hears a certain sound?
These ads disappear when you log in.
Yup, definitely possible to do. I believe some fishing bots have used that method. I'd guess you would have the user select the audio output the game is using, grab the data, then process it using some sort of pattern recognition.
I'm using pixel detection on Windows Volume Mixer. Once the loudness passes a certain threshold it will trigger. It's as primitive as it gets, but it's simple to set up in AHK.
Thats a pretty good, but hacky approach. Would likely break if anyone ends up walking around you. I've noticed and messed with a few botters who were clearly doing similar things. Could maybe play around with in-game volume sliders to reduce the likelyhood.
Don't have a sub right now so I can't check. But I am pretty sure that the sound API is not protected.
system Sound (C_Sound)
Functions
function C_Sound.GetSoundScaledVolume(soundHandle)
function C_Sound.IsPlaying(soundHandle)
function C_Sound.PlayItemSound(soundType, itemLocation)
Events
event Event.Sound.SoundDeviceUpdate ->
event Event.Sound.SoundkitFinished -> soundHandle
/api
It would probably be easier to just display a weak aura to screen read on the fishing bobber sound
Fishing Hooked - Sound - World of Warcraft