quest::ding();
actually,this simulates a 'ding' sound when used,I hope it helps,it can be very useful sometimes.We will need to add some changes.
in client.cpp,add this new function: Code:
void Client::SendSound(){//-Cofruben:Used for ding sound. Code:
void Client::SendSound(); Code:
"sub ding{push(@cmd_queue,{func=>'ding',args=>join(',',@_)});}"//-Cofruben:makes a sound in the client Code:
else if (!strcmp(strlwr(command),"ding")) {//-Cofruben:makes a sound. |
Great work corf, not sure if it works, but great work all the same! So by changing the send sound function , any sound can be simulated, as long as it is on the clients pc?
-imagines having a patcher, and making it play "Celebration" every time someone dings. Mwahaha! - Thanks once again. |
thanks dave,I don't think you can change the sound.That opcode,sends that specified sound,so unless there is another opcode,we can't change the sound sent.Sure there should be a way to change the sound on the client by a patcher,but you need to find that sound in your client folder.Probably is on any .xmi file,I use ssplayer to open these xmi files and play the music in.
Anyways,I'll be looking for another opcodes.If you can give me a live quest which plays another sound,better.Thanks Dave. |
All times are GMT -4. The time now is 06:32 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.