using System.Media;
SoundPlayer simpleSound = new SoundPlayer(@"C:\Windows\Media\Windows Exclamation.wav");
simpleSound.Play();
you'll need to modify Plugins\Trinity\Cache\RefreshUnit.cs
add to the begin:
Code:using System.Media;
find c_unit_IsTreasureGoblin = true; and add below:
Code:SoundPlayer simpleSound = new SoundPlayer(@"C:\Windows\Media\Windows Exclamation.wav"); simpleSound.Play();
OR just replace with the file View attachment 142134
enjoy
btw, if you find a nice wav sound let me know![]()
you'll need to modify Plugins\Trinity\Cache\RefreshUnit.cs
add to the begin:
Code:using System.Media;
find c_unit_IsTreasureGoblin = true; and add below:
Code:SoundPlayer simpleSound = new SoundPlayer(@"C:\Windows\Media\Windows Exclamation.wav"); simpleSound.Play();
OR just replace with the file View attachment 142134
enjoy
btw, if you find a nice wav sound let me know![]()
Hello,
here's a problem, the db play sound when character meet any mob after i set c_unit_IsTreasureGoblin = true; and add code , did i make any mistake?
if (Settings.Combat.Misc.GoblinPriority != 0)[INDENT]{[/INDENT]
[INDENT=2]c_unit_IsTreasureGoblin = true;
System.Media.SystemSounds.Asterisk.Play();[/INDENT]
[INDENT]}[/INDENT]






