Jump to content
  • 0

How To Add Animation To Enchantments?


Question

Posted (edited)

Hello. I needsome help to add animations to enchantments..

Like, when the enchantment is successful, the server sends a packet with a message to player: "You successfully enchanted your weapon" for example. Together with this packet I want to send a skill animation.

The same when Fails the enchant and the same for skill enchants.

 

Im taking a look at RequestExEnchantSkill and I found the code part where the system sends the message but i cannot figure out how to add the animation from a skill there.

Edited by vecc

Recommended Posts

  • 0
Posted

 

2 packets.

  1. MagicSkillUse
  2. SocialAction

 

This doesnt help,I dont code. I can only copy/paste from existing codes. Thats why im searching im my head if in game there is something similar already So i can copy.

  • 0
Posted (edited)

What logic is this? Try to code lol... Ofc you will not be able to code but if you just searching for codes whats the point? You want server and you dont even try to code? why? wtf people...??

Edited by melron
  • 0
Posted (edited)

This doesnt help,I dont code. I can only copy/paste from existing codes. Thats why im searching im my head if in game there is something similar already So i can copy.

That means that you won't be able to make this work?

player.broadcastPacke*(new MagicSkillU*e(blablabla, read, my, description, kap, pa))
Edited by IpotoniC
  • 0
Posted

That means that you won't be able to make this work?

 

player.broadcastPacke*(new MagicSkillU*e(blablabla read my description))

 

Basically yes. Thats why after searching a lot I found nothing and I came here to create a post and wait if someone with better knowledge could help. Thats why this is help section. Thank you, I will try to fill in the blanks of your line.

 

And melron can gtfo out of here cause he never wanted to help anyway. just a show off guy.

  • 0
Posted

player.broadcastPacket(new MagicSkillUse(1047,4))...

 

MagicSkillUse cannot be resolved as a Type.

 

I got that error

  • 0
Posted

You are wrong... I helped you... the thing is i didnt gave you the whole code you need... what to say m8... if you cant just add 2 fucking lines u dont deserve to open a server srsly now... 

  • 0
Posted

Basically yes. Thats why after searching a lot I found nothing and I came here to create a post and wait if someone with better knowledge could help. Thats why this is help section. Thank you, I will try to fill in the blanks of your line.

 

And melron can gtfo out of here cause he never wanted to help anyway. just a show off guy.

Its better to be carefull with your way...

He gave you 2 answers not one but if you wait ready code and you will never search about this 2 words in your eclipse you will never learn something..

  • 0
Posted

Basically yes. Thats why after searching a lot I found nothing and I came here to create a post and wait if someone with better knowledge could help. Thats why this is help section. Thank you, I will try to fill in the blanks of your line.

 

And melron can gtfo out of here cause he never wanted to help anyway. just a show off guy.

Don't ever talk like that for melron. He told you the 2 packets after ..(new MagicSkillUse is for skills, (new SocialAction .. is for social actions ^^

 

If you can't understand that he helped you then it's your fault. Also he pointed that your logic is totally WRONG. And he is right, so better appreciate cause he replied and stfu if you didn't understood it. Oka?

 

player.broadcastPacket(new MagicSkillUse(1047,4))...

 

MagicSkillUse cannot be resolved as a Type.

 

I got that error

You don't deserve any help

  • 0
Posted (edited)

So it means that you only help ppl that know how to code? If i knew java code I would not need to come here and ask for help lol. now whose logic is broken? 

And why all of u think I want to open a server? Im only having fun with my pack and addind/removing basic things that I can do alone.

 

I already read lots of java codes searching for those lines, like RequestMagicSkillUse etc but didnt help. thats why I came here lol..

Edited by vecc
  • 0
Posted

So it means that you only help ppl that know how to code? If i knew java code I would not need to come here and ask for help lol. now whose logic is broken? 

And why all of u think I want to open a server? Im only having fun with my pack and addind/removing basic things that I can do alone.

 

I already read lots of java codes searching for those lines, like RequestMagicSkillUse etc but didnt help. thats why I came here lol..

You're rude, you don't try to learn, you only c/p ready things w/o knowing the basic stuff. You are attacking ppl cause you can't understand that they helped you.

 

I am NOOB at java and at l2j, but i'm trying and learning every day. You said I DON'T CODE I ONLY COPY PASTE.

 

If you really wanted to learn, then with the 1 word that melron wrote, you would instantly go to search if there's something similar to that word. But instead you said: I NEED THE SPOON TO MY MOUTH.

 

 

So better don't continue it. =)

  • 0
Posted (edited)

I think you missunderstood me... all i want to say is, you are in a "help" section... that means you will get help... not "what ever i need"... look the first line of your first post and then realize your other answer when you got help "This doesnt help,I dont code. I can only copy/paste from existing codes. "...

Edited by melron
  • 0
Posted

Funny thing, both of you started attacking me when I said "I dont code". Many topics other users give the code ready for compilation when the person doesnt know how to code and if its small thing like my request here.

 

The problem is that you are not willing to help someone that doesnt know how to code. you will only give tips so I can search. Guess what? I already searched 10 files but that doesnt help cause I dont understand java logic. Is it to hard to understand? Sorry If I offended you when I said "that didnt help cause I dont know how to code". But I was just being sincere and hopping for a ready line to test.

 

Anyway, I will wait for other guy who doesnt have a problem to paste 1 java line for me to test. 

  • 0
Posted (edited)

Funny thing, both of you started attacking me when I said "I dont code". Many topics other users give the code ready for compilation when the person doesnt know how to code and if its small thing like my request here.

 

You are right actually. I received ready codes many times already when I couldnt solve the problem my self.

Now its my turn to help another user. Here you go:

final SystemMessage sm = new SystemMessage(SystemMessageId.YOU_HAVE_SUCCEEDED_IN_ENCHANTING_THE_SKILL_S1);
sm.addSkillName(_skillId);
player.sendPacket(sm);
+ MagicSkillUser  MSU = new MagicSkillUser(player, player, 2024, 1, 1, 0);
+ player.broadcastPacket(MSU);  

I used firework skill (skill id 2024), but you can change to another skill you wish.

Edited by tiguz
Guest
This topic is now closed to further replies.


  • Posts

    • This post originally appeared on zupyak.   If you're diving into MLB The Show 25, you know how essential stubs are for building a powerhouse team. Whether you're aiming to snag elite players, upgrade your roster, or stock up on packs, stubs are the key to success. The good news? You don't need to spend real money to earn them. With a little strategy and effort, you can rake in stubs and dominate the diamond.  Here are the top five strategies to maximize your MLB The Show stub earnings and create the ultimate team without breaking the bank.    1. Earning Stubs with Diamond Quest Diamond Quest is a goldmine for stubs. By completing challenges in this mode, you can earn Diamond cards, which often have high sell values. Once you've earned these cards, sell them in the in-game Marketplace for a quick influx of stubs. Additionally, the packs you earn from Diamond Quest can be opened for more cards to sell or use in collections.   2. Completing Conquest Maps Conquest Maps are another excellent way to rack up stubs. Focus on capturing territories and completing map-specific goals. Many maps offer hidden rewards, including packs and stubs, which can significantly boost your earnings. You don't always need to conquer Strongholds—simply taking over territories can yield great rewards.   3. Flipping Cards in the Marketplace The Marketplace is your playground for flipping cards. Look for cards with a significant gap between their "Buy Now" and "Sell Now" prices. Place a Buy Order slightly above the current "Sell Now" price, then list the card for a "Sell Order" just below the "Buy Now" price. After the 10% Marketplace tax, you'll still make a profit. This strategy works best with high-value cards but requires patience and consistency.     4. Leveraging Player Exchanges Player Exchanges are an underrated method for earning stubs. Purchase cheap Silver cards near their quick-sell value, then exchange them for Gold players. These Gold players can either be used in your lineup or sold for a profit. This method is especially effective early in the game when Gold cards hold higher value.   5. Selling Things You Don't Need Don't let unused items clutter your inventory. Regularly check for duplicate cards, equipment, or other items you don't need. Sell these through the Marketplace to free up space and earn extra stubs. Even Bronze and Silver cards can add up over time, so don't overlook them. With these strategies, you'll be well on your way to building a dream team without spending real money. Let me know if you'd like to dive deeper into any of these methods!   Final Thoughts Building your dream team in MLB The Show 25 doesn't have to cost real money. With these five strategies—earning rewards through Diamond Quest, conquering Conquest Maps, flipping cards in the Marketplace, leveraging Player Exchanges, and selling unused items—you'll be well on your way to amassing stubs and creating a roster that rivals even the best in the game. Remember, consistency is key! Whether you're grinding through challenges or flipping cards daily, every little bit adds up over time. Stick with these methods, and soon enough, you'll have the stubs you need to dominate the diamond. Let us know which strategy works best for you—or if you've discovered any additional tips that deserve a spot on this list! Happy grinding!   
    • I don't see that ur account got unbanned https://maxcheaters.com/profile/80641-∽ave∽/  
    • Looking for gracia final/gracia epilogue server files including source.
    • Got banned for ALLEGED scamm. Unbaned because I never scammed anyone - I either deliver or refund. So You can cry as much as You like, post as much idiotic and chidlish emotes as You like, but I'm not a scammer. So...get a life kid, and fuck off Cuntw0lf. There is a reason You have "0" in Your nickname. You are a zero 😎
    • talk in the mirror 🖕  🤏 in some of those urls you are banned for scam     definition of scam for you is not include delivery we all know scammer once scammer always i cant understand why you talk to me only and ignore the others? why nobody else triggers you like that
  • Topics

×
×
  • Create New...