dillonml
02-16-2002, 05:14 PM
Well I've spent considerable time working on getting the sound alerts to work and FINALLY noticed whats going on.
And for the select few no-life people who scan these forums to reply only "use the search feature duh" I did use the search and I found many posts on this topic. All of which only asked why it wont work and suggested things to try but I never once saw anyone say "it's working for me" so i'm fairly sure this is a problem across the board.
Anyway on to whats happening.
When you enable:
SpawnFilterAudio 1
some wierd things happen right now with the newest code. The next time you load an EQ zone that has mobs pop up that are *suppose* to trigger a sound it changes the line in the config from:
LocateSpawnAudioCommand "/root/locate.sh &" (or anything else that you put in here)
to
LocateSpawnAudioCommand /usr/bin/esdplay spawn.wave &" &"
Notice the now non existant quotation mark at the start of the command and now there is an extra space ampersand and quotation at the end.
What's happening is anytim the sound alert is triggered showeq is not just reading this line from the config, it's actually writing the line back (which is very poor coding btw for any config setup.. should be reading ONLY) it's also running into a memory overlap and/or error where random sized small portions of the previous existing entry are left behind/combined wih the line as it gets written back.
Follow me here?
Go enable the spawnfilteraudio and change the line to be your custom sound file setting then restart showeq and check the file again you'll see what I mean.
This is why it never works, it's not your settings, it's simply a bug. So stop wracking your brains trying to make it work guys :)
Just wanted ot save everyone some time.
And for the select few no-life people who scan these forums to reply only "use the search feature duh" I did use the search and I found many posts on this topic. All of which only asked why it wont work and suggested things to try but I never once saw anyone say "it's working for me" so i'm fairly sure this is a problem across the board.
Anyway on to whats happening.
When you enable:
SpawnFilterAudio 1
some wierd things happen right now with the newest code. The next time you load an EQ zone that has mobs pop up that are *suppose* to trigger a sound it changes the line in the config from:
LocateSpawnAudioCommand "/root/locate.sh &" (or anything else that you put in here)
to
LocateSpawnAudioCommand /usr/bin/esdplay spawn.wave &" &"
Notice the now non existant quotation mark at the start of the command and now there is an extra space ampersand and quotation at the end.
What's happening is anytim the sound alert is triggered showeq is not just reading this line from the config, it's actually writing the line back (which is very poor coding btw for any config setup.. should be reading ONLY) it's also running into a memory overlap and/or error where random sized small portions of the previous existing entry are left behind/combined wih the line as it gets written back.
Follow me here?
Go enable the spawnfilteraudio and change the line to be your custom sound file setting then restart showeq and check the file again you'll see what I mean.
This is why it never works, it's not your settings, it's simply a bug. So stop wracking your brains trying to make it work guys :)
Just wanted ot save everyone some time.