Jump to content
  • 0

[Help] Custom Music


Question

Posted

I'm trying to add my own custom music to the game and I'm kinda confused. I know you can go to your Client and change music files manually, but the game just uses chunks of different music files to make a single track. (For Example in Cruma Tower it uses 3 files to create the background music, so If I alter one not only won't it sound right.... but it will be also used on another area that calls for the same file, and I don't want that.)

 

I'm trying to find within the Core SVN's file where can I edit which files does each zone uses to play its Music. Is this possible or is it hardcoded  on the client itself??

 

PS: I'm sorry I forgot to add what version on the Server Files I'm using. I am running High Five Rev. 5034

7 answers to this question

Recommended Posts

  • 0
Posted

Music is pure client side, the server has nothing to do with it.

A good way to figure out next time ask what is happening is ask yourself do you see it or do you calculate it? If you see it, it's mostly like client (also hear too), if it's calculated then it's most likely the server.

  • 0
Posted

Ok, so whatever flag that tells "Play this music at this spot" is on the client?  Boo that sucks.  I was curious since I was tinkering around with some Java AI files and I found the "PlaySound" command that lets me play whatever OGG file I add to the Music folder. I thought that applied to the zones and that the server had a flag that would send the packet of what music to be played.

 

But yes, what you said has some sense to it. I'm also guessing there is no way to work around it, like making a script that will force to play a music file once you enter an area, right?

  • 0
Posted

Ok, so whatever flag that tells "Play this music at this spot" is on the client?  Boo that sucks.  I was curious since I was tinkering around with some Java AI files and I found the "PlaySound" command that lets me play whatever OGG file I add to the Music folder. I thought that applied to the zones and that the server had a flag that would send the packet of what music to be played.

 

But yes, what you said has some sense to it. I'm also guessing there is no way to work around it, like making a script that will force to play a music file once you enter an area, right?

 

Why does it suck? Generally anything on the client like music should be handled only by the client. Any less stress you can take off the server, the much much much better. But, you can just distrbute your content folders as a patch.

  • 0
Posted

Why does it suck? Generally anything on the client like music should be handled only by the client. Any less stress you can take off the server, the much much much better. But, you can just distrbute your content folders as a patch.

 

I am not talking about server stress or whatever. I was just curious if it was possible to add Custom Music to the game (whether was server side or not) different from the current ones in the music folder. Also I do not mean just simply copying over the same files that already exist...only a noob does that.  I want to use a whole new file for a specific Zone so it doesn't share like more than one music files with other zones.  A good example of this is the game Ragnarok Online... each zone has its own music. But L2 uses a shared music file which means the same tune gets recycled on multiple zones.

 

That's why I asked, if it was possible to make a script that would bypass the original music file for a zone and what file in the core should I take a look to change that ?

  • 0
Posted

I am not talking about server stress or whatever. I was just curious if it was possible to add Custom Music to the game (whether was server side or not) different from the current ones in the music folder. Also I do not mean just simply copying over the same files that already exist...only a noob does that.  I want to use a whole new file for a specific Zone so it doesn't share like more than one music files with other zones.  A good example of this is the game Ragnarok Online... each zone has its own music. But L2 uses a shared music file which means the same tune gets recycled on multiple zones.

 

That's why I asked, if it was possible to make a script that would bypass the original music file for a zone and what file in the core should I take a look to change that ?

 

Yes, you can. It's called alaudio.int and musicinfo.dat.

  • 0
Posted

It probably is possible, as you said yourself, the playSound command. The thing is, it stops current music whatever it was and launch the one you have given.

 

Check the "jukebox" from admin panel as example.

 

If you want a particular sound is played in loop on a zone, you got 2 choices :

- make a unique task broadcasting play sound packet to all characters, that task is a repeating one (timer following song duration).

- create one timer per ppl.

 

Problems of each system :

- you have to wait timer is up to listen the music when you enter the zone (and putting it at entering in the zone is wrong too, as if you enter/leave the zone fast that's stupid).

- one timer per ppl means heavy use of ressources for near nothing.

 

General problem :

- both systems work with zones.

 

About client side I don't have enough knowledge to answer 100% to you, but I would say "yes". The fact is, there are stupid customs with counter strike sounds, so...

  • 0
Posted

Wow guys, awesome info you gave me there... thank you very much. This is exactly what I needed. You guys set me up to move to the right path.  :)

 

Again thank you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • 11-29-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • 🔥 Launch was a success! Over 500 players joined L2Elixir on opening day, and we are holding a steady 420–450 online! We faced extortion attempts and heavy DDoS attacks, but our protections held strong — even if the cost was far higher than expected. What matters is we fought back and kept the server online for you. ⚔️ 💙 Our priority is simple: Deliver a stable, fair, and growing server that will evolve for years to come. We continue to invest in protections, advertising, and development — and we won’t stop. All we ask from YOU is one thing: 👉 Keep playing. The more active the community is, the faster the server grows. 💠 Important Note: We have no paid clans or CPs, no “boosted” groups, no unfair benefits. Everyone has an equal chance to progress and compete. Thank you to everyone who joined, supported, and believed in this project. Let’s make L2Elixir great again — even in 2025–2026! 🚀   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs   @Atom Can you please move to Private Servers? Thanks!
    • https://jumpshare.com/share/kIdeKALOhgtMKpBKqxpg Test Equip Armors-> FullPlate, Gloves, Legs, Chest , Boots
    • 黑色星期五 — 为您的流量提供高级福利 仅在11月28日,我们的特别促销码可为您提供13%的商店折扣。 促销码: BLACKFRIDAY (13% 折扣) 您可以通过我们的网站或 Telegram 机器人在商店购物! 有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram Messenger 方便访问商店。 其他服务: 虚拟号码服务: 前往 用于购买 Telegram Stars 的机器人: 前往 – 快速且优惠地在 Telegram 中购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们向您呈现当前的 促销和特惠活动 列表,用于购买我们服务的产品和服务: 1. 您可以在首次购买时使用促销码:SOCNET(15% 折扣) 2. 获取 $1 商店余额或 10–20% 折扣 — 只需在我们网站注册后发送您的用户名,格式如下:“SEND ME BONUS, MY USERNAME IS...” — 您需要在我们的论坛帖子中写下这句话! 3. SMM 面板首次试用可获得 $1:只需在我们的网站(支持)提交主题为“Get Trial Bonus”的工单。 4. 我们的 Telegram 频道和 Stars 购买机器人每周都会举办 Telegram Stars 抽奖活动! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock