Jump to content
  • 0

Have Some Problem With Adaptation Elfocrash's Menu For L2Jacis


Question

Posted (edited)

I trying adapt elfocrash's menu for l2jacis (rev. 330), change for usercommand, all work fine exсept disabling soulshot's/spiritshots effect. Effect disabling only on weapon, but attack's on npc with effect (if u don't understand me can make video). Pls help, i attach code from handler/itemhandler/soulshots.java , maybe u find problem.  Sry for bad english.  ;)

			return;
		}
		
		final SkillHolder[] skills = item.getItem().getSkills();
		
		weaponInst.setChargedShot(ShotType.SOULSHOT, true);
		activeChar.sendPacket(SystemMessageId.ENABLED_SOULSHOT);
		if (!activeChar.isSSDisabled())
			Broadcast.toSelfAndKnownPlayersInRadiusSq(activeChar, new MagicSkillUse(activeChar, activeChar, skills[0].getSkillId(), 1, 0, 0), 360000);
	}
}
Edited by t4u2d

10 answers to this question

Recommended Posts

  • 0
Posted

guys)) pls help someone)

Hello, t4u2d

 

Please be patience untill someone will help you but also take a look at this,

Bumping rules: You are allowed to BUMP (Bring up your topic/post) your topic only 24 hours after your last post.

You have just to press the following button:

er9y0l.jpg

 

VIPs & Donators can bump 3 topics per day. 

Members can bump 1 topic per day.

 

Note : All BUMP posts (any words like "bump", "up", etc.) are not allowed anymore and they will be DELETED(To avoid post hunting through this kind of topics). We will warn you & remove your bump replies except if they're referring on updates of your server.

If you continue bumping you might get punished by locking/junking your thread.
  • 0
Posted

In your first code, i can see if player disables Shots then Soulshots HE uses cannot be seen by himself or anybody else. 

To continue that practice you should modify parameter "useShots" in Attack constructor.

You can do it in 2 ways:

1. That i think is more dirty:

before

soulshot = useShots;

put

if(attacker.isPlayable() && attacker.getPlayer().isSSDisabled())
soulshot = false;
else

2. Find usages of that constructor and modify soulshot usage before constructor is used. I don't have acis sources on my PC(just using online SVN) so i cannot help you.

 

What i think would be a lot better, is making only player that doesn't want to see Shots to not see them all around. To do that you need to play with who the packet is sent to(take a look at getClient() in writeImpl())

  • 0
Posted

Okay, vampir thx for answer, I'll try to do what you said (and I hope I can do it :D ) . I have one more question. On some interlude/gracia servers i have seen on/off skills animation function for bad computers etc. Maybe you know how to do it?

  • 0
Posted

Okay, vampir thx for answer, I'll try to do what you said (and I hope I can do it :D ) . I have one more question. On some interlude/gracia servers i have seen on/off skills animation function for bad computers etc. Maybe you know how to do it?

You should skip sending Packet MagicSkillLaunched to person who disables it

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

    • AN ALGORITHM FLAGGED HER PHOTO – SHE SPENT NEARLY SIX MONTHS IN CUSTODY  A fake military ID surfaced in a bank fraud case. Facial recognition returned a social media photo of a 50-year-old Tennessee woman as a possible lead. She was arrested.  She spent almost six months in custody, though bank records placed her more than 1,200 miles from the crimes when they happened. She is now seeking $10 million from the city of Fargo and a detective. The lawsuit is still pending.  The system suggested a face. Humans were supposed to establish whether it belonged to the person behind the crime. The cost of getting that wrong was far more than a rejection screen.  Has verification linked you to someone else’s details or locked your account? Don’t keep uploading documents blindly. Message us – we’ll help identify the issue and prepare evidence for an appeal. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #id #photoshop #mistake #news
    • please send normal link not  premium one  
    • First of all, let us get one thing straight. Nobody is forcing you or anyone else on this forum to deal with Kara or buy anything from him. Every single user here has a keyboard and access to the search bar. MaxCheaters has years of archives. All anyone has to do is type "Kara" into the search box, read the history, and make their own informed decision. It takes five seconds to do your own due diligence before opening your wallet.   Second, throwing random insults around and calling me an ass licker just because I do not join your personal witch hunt shows how weak your argument actually is. Staying objective or not taking your side does not mean backing a scammer. Throwing a tantrum and attacking everyone in sight does not make you a hero, it just makes you look desperate for attention.   You are sitting here dragging developers, clients, and forum staff through the mud, crying about admins and calling the forum dead, yet you are still here posting rage posts. If clients lost reputation or money, that is on them and their own business choices. Trying to pin other peoples decisions on me or anyone else who does not agree with you is plain stupid.   Bottom line, the search button exists for a reason. If you want to warn people, post your proof, state the facts, and let adults decide for themselves. But keep my name out of your toxic drama, because making personal attacks on me is not going to fix your problems.
    • 🔥 L2PRIDE — WE ARE LIVE! 🔥 The wait is finally over. L2Pride Interlude C6 officially opened today, September 25th, 2026 at 16:00 GMT+2! If you’ve been waiting for a stable, long-term Interlude server with the old-school feeling you love, but with fresh content and a few new twists — this is your time to join. ⚔️ Classic C6 Experience 🔥 New Content 🏰 Massive PvP & Sieges 💎 Balanced & Competitive Gameplay 🛡️ Built for a long-term community No shortcuts. No pay-to-win nonsense. No server that disappears after a few weeks. Just Lineage 2, the way you remember it. L2Pride is now LIVE. Come build your legacy. ⚔️🔥 DISCORD: https://discord.gg/JVdpESC5Ry
    • 🔥 Daily restock across all tools! Get your favorite AI subscriptions at unbeatable prices.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..