Page 1 of 1

Adding Sound on Mods Start

Posted: Wed Nov 24, 2010 6:00 pm
by Achille
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision 4425:
L2JDP Revision 7669:

Hello everybody,

I want to add sound of a defined list (i.e: 5 sounds in the list and one of them is ramdomly choosed) when an Event Mods (Elpies Spawn, Chest...) start. I tried several things, and I admit that this is the first time that i have problem to code something. I can't call the music to be played.

Thank you, in advance :)

Re: Adding Sound on Mods Start

Posted: Wed Nov 24, 2010 8:47 pm
by JIV
check packet com.l2jserver.gameserver.network.serverpackets.PlaySoundand and its examples.

Re: Adding Sound on Mods Start

Posted: Tue Nov 30, 2010 12:46 pm
by Achille
Hello, Thank you JiV, but still not work, it's really strange with sound name etc...

I will try again.