Jump to content
  • 0

This methods...


Question

Posted

Hello cheaters. I want to know where i find methods to make functions available from photo available?
https://ibb.co/svkj2vp
If i should create them, i want to know how i can do this. I don;t have any ideea how i can create those methods.

Thank you !

Recommended Posts

  • 0
Posted

I do something, but with this method, i still can get party.


	private boolean _partyRefuse = false; // party refusal

public boolean getPartyRefuse()
	{
		return _partyRefuse;
	}
	
	public void setPartyRefuse(boolean value)
	{
		_partyRefuse = value;
	}


 

  • 0
Posted
37 minutes ago, 0flee said:

I do something, but with this method, i still can get party.



	private boolean _partyRefuse = false; // party refusal

public boolean getPartyRefuse()
	{
		return _partyRefuse;
	}
	
	public void setPartyRefuse(boolean value)
	{
		_partyRefuse = value;
	}


 

 

This is like trying to get a female pregnant but from distance. It won't work until you come in touch. Basic biology and code extends real life so you have to do the same.

 

You can't just create 2 methods (setter, getter) and expect any result. You need to link those to the file that handle the party request which is RequestJoinParty.java

  • Haha 2
  • Sad 1
  • 0
Posted

No no, i try to find now on Mobius, class Continuous. Because i want to make buff protect and i do not know how to fix this.
This is Topic from where i take it
https://www.l2jbrasil.com/forums/topic/110508-code-menu-configure-settings/
I make all, but that i do not find and i don;t know where to put. On Player Instance it;s ok?

And it it's ok, how i can do on PlayerInstance.

  • 0
Posted

I understand that. But where i have to put this?
 

                    // Anti-Buff Protection prevents you from getting buffs by other players
                    if (activeChar instanceof L2PcInstance && target != activeChar && target.isBuffProtected() && !skill.isHeroSkill()
                       && (skill.getSkillType() == L2SkillType.BUFF                        
                       || skill.getSkillType() == L2SkillType.HEAL_PERCENT
                       || skill.getSkillType() == L2SkillType.MANAHEAL_PERCENT
                       || skill.getSkillType() == L2SkillType.COMBATPOINTHEAL
                       || skill.getSkillType() == L2SkillType.REFLECT))
                    continue;

                 

I take code from aCis i think

  • 0
Posted
1 minute ago, 0flee said:

I understand that. But where i have to put this?
 


                    // Anti-Buff Protection prevents you from getting buffs by other players
                    if (activeChar instanceof L2PcInstance && target != activeChar && target.isBuffProtected() && !skill.isHeroSkill()
                       && (skill.getSkillType() == L2SkillType.BUFF                        
                       || skill.getSkillType() == L2SkillType.HEAL_PERCENT
                       || skill.getSkillType() == L2SkillType.MANAHEAL_PERCENT
                       || skill.getSkillType() == L2SkillType.COMBATPOINTHEAL
                       || skill.getSkillType() == L2SkillType.REFLECT))
                    continue;

                 

I take code from aCis i think

 

If you can find Continuous.java you can add your check there. Pretty much you can add this check in multiple place even in L2Character but i would advice you to either search in Target handlers or in the file i mentioned. 

  • 0
Posted
7 minutes ago, 0flee said:

Well, i don't know how to fix..

 

I told you exactly what to do and you didn't even bother search.

 

kOeHMnL.gif

 

https://bitbucket.org/MobiusDev/l2j_mobius/src/master/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/skillhandlers/Continuous.java

 

There you need do your own check.

Beside he already have something

 

if ((creature instanceof Playable) && (target != creature) && target.isBuffProtected() && !skill.isHeroSkill() && ((skill.getSkillType() == SkillType.BUFF) || (skill.getSkillType() == SkillType.HEAL_PERCENT) || (skill.getSkillType() == SkillType.FORCE_BUFF) || (skill.getSkillType() == SkillType.MANAHEAL_PERCENT) || (skill.getSkillType() == SkillType.COMBATPOINTHEAL) || (skill.getSkillType() == SkillType.REFLECT)))
{
	continue;
}

 

  • 0
Posted (edited)
23 minutes ago, iTopZ said:

new quest: find redudant null checks

 

The whole code is like you're 18 and having s*x at the school's bathroom with your crush while classes, knowing that bell rings in 1 minute, so before everyone get down to the the yard you do a very fast and sloppy job. 

 

In short, null checks for no reason while instanceof occurs (and i hope people know that instanceof does a null check), useless else if while continue, this ... thing "Formulas.getInstance()", duplicated checks and structures that can be written in 1 line

 

final Skill skill = SkillTable.getInstance().getSkill(skillEffectId, Math.max(1, skillLevel);

 

instead of 9 such as:

 

Skill skill;

if (skillLevel == 0)
{
	skill = SkillTable.getInstance().getSkill(skillEffectId, 1);
}
else
{
	skill = SkillTable.getInstance().getSkill(skillEffectId, skillLevel);
}

 

But the whole structure is a mess, so pointless to bother with such small tasks. 

Edited by Kara
  • 0
Posted

Well, i need it for hi5, not interlude...

And if i dont have this on hi5, in what method of Character.java i have to put this? 

if ((creature instanceof Playable) && (target != creature) && target.isBuffProtected() && !skill.isHeroSkill() && ((skill.getSkillType() == SkillType.BUFF) || (skill.getSkillType() == SkillType.HEAL_PERCENT) || (skill.getSkillType() == SkillType.FORCE_BUFF) || (skill.getSkillType() == SkillType.MANAHEAL_PERCENT) || (skill.getSkillType() == SkillType.COMBATPOINTHEAL) || (skill.getSkillType() == SkillType.REFLECT)))
{
	continue;
}
Guest
This topic is now closed to further replies.


  • Posts

    • Yes i found it later its weird that l2off works that way level 9 it should be the top level. Is anybody who has problem with the boss Core? Because it is moving and i try to fix it
    • New arrivals: Reddit accounts Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ Ready Reddit accounts with karma and age for fast promotion of posts and comments! Our store’s Reddit account range includes: ➡ Reddit Karma Brute Account | 1 KARMA | Cookies access only (password may be not working) | The cheapest account | Price from: 1$ ➡ Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ ➡ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ ➡ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ ➡ Reddit Karma Brute Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 5$ ➡ Reddit Karma Brute Account | 500-1000 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 9$ ➡ Reddit Karma Brute Account | 1000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 15$ ➡ Reddit Karma Brute Account | 2000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 20$ ➡ Reddit Karma Brute Account | 3000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 25$ ➡ Reddit Karma Brute Account | 5000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 35$ ➡ Reddit Karma Brute Account | 10000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 45$ ➡ Reddit Karma Brute Account | 20000 KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 60$ ➡ Reddit Karma Brute Account | 50000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 90$ ➡ Reddit Karma Brute Account | 100000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 149$ Relevant links: Digital goods store (Website): Go Telegram bot for buying Telegram Stars: Go SMM Panel: Go – promotion of your social media accounts. Store Telegram bot: Go Promotions and special offers: 1. Promo code SEPTEMBER2025 (10% discount) for purchases in our store (Website, bot) in September! You can also use promo code for first purchase: SOCNET (15% discount) 2. Get $1 to store balance or 10-20% discount, just write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – you need to post it in our forum thread! 3. Get $1 for the first trial launch of SMM Panel: just open a ticket with subject “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our star-purchase bot! News resources: ➡ Telegram channel: https://t.me/accsforyou_shop✅ ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n✅ ➡ Discord server: https://discord.gg/y9AStFFsrh✅ We are actively looking for suppliers for the following product positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | Geo: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) — Facebook old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) | With or without friends | Geo: Europe/USA/Asia — Threads accounts | Full access via email (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts Contact us below — let’s discuss terms! We are always open to other partnership offers as well. Contacts and support: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ Email: solomonbog@socnet.store ✅ Also via these contacts you can: — get consultation on bulk purchases — establish partnership (current partners: https://socnet.bgng.io/partners) — become our supplier SocNet — store of digital goods and premium subscriptions ✅
    • New arrivals: Reddit accounts Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ Ready Reddit accounts with karma and age for fast promotion of posts and comments! Our store’s Reddit account range includes: ➡ Reddit Karma Brute Account | 1 KARMA | Cookies access only (password may be not working) | The cheapest account | Price from: 1$ ➡ Reddit SelfReg Karma Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 4$ ➡ Reddit Karma Old Brute Account | 1+ KARMA | Full access with login: password:cookies: 2$ ➡ Reddit SelfReg Old Account | 1+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS: 3$ ➡ Reddit Karma Brute Account | 20-100 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 5$ ➡ Reddit Karma Brute Account | 500-1000 POST AND COMMENT KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 9$ ➡ Reddit Karma Brute Account | 1000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 15$ ➡ Reddit Karma Brute Account | 2000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 20$ ➡ Reddit Karma Brute Account | 3000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 25$ ➡ Reddit Karma Brute Account | 5000 Post Karma and 100 comment karma | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS | Price from: 35$ ➡ Reddit Karma Brute Account | 10000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 45$ ➡ Reddit Karma Brute Account | 20000 KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 60$ ➡ Reddit Karma Brute Account | 50000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 90$ ➡ Reddit Karma Brute Account | 100000+ KARMA | MIX IP Registered | FORMAT: USERNAME: PASSWORD:EMAIL:MAILPASS (email is included and working) | Price from: 149$ Relevant links: Digital goods store (Website): Go Telegram bot for buying Telegram Stars: Go SMM Panel: Go – promotion of your social media accounts. Store Telegram bot: Go Promotions and special offers: 1. Promo code SEPTEMBER2025 (10% discount) for purchases in our store (Website, bot) in September! You can also use promo code for first purchase: SOCNET (15% discount) 2. Get $1 to store balance or 10-20% discount, just write your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – you need to post it in our forum thread! 3. Get $1 for the first trial launch of SMM Panel: just open a ticket with subject “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our star-purchase bot! News resources: ➡ Telegram channel: https://t.me/accsforyou_shop✅ ➡ WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n✅ ➡ Discord server: https://discord.gg/y9AStFFsrh✅ We are actively looking for suppliers for the following product positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | Geo: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) — Facebook old accounts (2010-2023 years) | Full access via email (possibly with active 2FA password) | With or without friends | Geo: Europe/USA/Asia — Threads accounts | Full access via email (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts Contact us below — let’s discuss terms! We are always open to other partnership offers as well. Contacts and support: ➡ Telegram: https://t.me/socnet_support✅ ➡ WhatsApp: https://wa.me/79051904467✅ ➡ Discord: socnet_support ✅ ➡ ✉ Email: solomonbog@socnet.store ✅ Also via these contacts you can: — get consultation on bulk purchases — establish partnership (current partners: https://socnet.bgng.io/partners) — become our supplier SocNet — store of digital goods and premium subscriptions ✅
    • Vibe SMS simple and user-friendly We’re building a service where it’s important not only that everything works, but also that it’s convenient and stress-free for you. With Vibe SMS, there’s no unnecessary fuss or complicated rules — just a reliable platform and support when you need it. Here, you’re not just a user; you’re part of a team that values honesty, trust, and convenience for everyone Our website: https://vibe-sms.net/ Our Telegram channel: https://t.me/vibe_sms        
    • Same account Shillien Knight lvl 57 , AVADON HEAVY SET , JEWLERY B. Prophet lvl 57 , C grade armor. I sell both because on same email , different subaccounts   190E  
  • 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