Jump to content

[Share]On Death Custom Music and Red Sky


takhs7

Recommended Posts

  • 2 weeks later...

i use just red sky on pk kill :P not every second is a pk kill so thx just add the red line so that all see the red sky not only the player :P

 

ExRedSky packet = new ExRedSky(7);

Broadcast.toAllOnlinePlayers(packet);

Link to comment
Share on other sites

I have 5 sound and I want that one of them would play on death, how can I do that?

learn a bit java.. thats easy  ::)

 

One more thing that i forgot, I want that only when activeChar kills you you see redsky and music plays, how can I do this?

:/ ........ what? like suicide? ;s i dont get what u mean..

 

i use just red sky on pk kill :P not every second is a pk kill so thx just add the red line so that all see the red sky not only the player :P

 

ExRedSky packet = new ExRedSky(7);

Broadcast.toAllOnlinePlayers(packet);

if u have a server with 20 ppl or its a low rate and not much pvp is going on then ok.. else this will be reallyy .. like really really annoying to players...

Link to comment
Share on other sites

About the first post.. Please tell me how to do that or tell me where to look ;/

Second post: I want that only if player kills you you see redsky and hear music not killed by monsters.

 

Sorry for my bad english.

Link to comment
Share on other sites

i can't find this lines

 

-		// Set dead status if applies
-		if (activeChar.getCurrentHp() < 0.5)
-			activeChar.setIsDead(true);

i have interlude pack...

 

lekino on interlude no work : / i try to many advanced code changes but shit happend:D

Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...

ive added it to my Epilogue client (after some little code modifications) it is working perfectly! tnx you so much bro! ^^ its a great and interesting share, i got only one problem... when you die and another player resurects you, the music does not stop XD if you know any way to do this ill be very very happy hahahaha tnx again! cya!

Link to comment
Share on other sites

  • 10 months later...

Well I added this mod to my compiled Hi5 server and it's working perfectly. The only problem I am having is, where do I add that "Game Over" sound that I added on the java files? The link for the sound file is broken so I have no clue where to add it or what format must it be (either WAV or inside a UAX). I know I can make one from scratch but I have no idea where it goes.

 

[EDIT] Ok got it working. Silly me I just had to add it as a music (ogg) and not as a UAX file. I got confused there since the actual Java thing said "play sound" and that threw me off.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...