Adding Sound on Mods Start

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Achille
Posts: 18
Joined: Wed Jan 09, 2008 4:13 pm

Adding Sound on Mods Start

Post 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 :)
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: Adding Sound on Mods Start

Post by JIV »

check packet com.l2jserver.gameserver.network.serverpackets.PlaySoundand and its examples.
Achille
Posts: 18
Joined: Wed Jan 09, 2008 4:13 pm

Re: Adding Sound on Mods Start

Post by Achille »

Hello, Thank you JiV, but still not work, it's really strange with sound name etc...

I will try again.
Post Reply