Jump to content

Question

Posted

Hi all, i have just a question. It is possible to restrict all items (armor,weapons,etc etc) and leave just 1 type or armor to access in zone? I mean for VoiceCommand teleport?

 

Recommended Posts

  • 0
Posted
6 minutes ago, InFocus said:

I change with L2PcInstance that `player` , now error is in ItemInstance 

http://RxPyEDv.png

 

Don't click the "Change to L2ItemInstance" cause your PC will explode.

  • 0
Posted
3 minutes ago, Kara` said:

 

Don't click the "Change to L2ItemInstance" cause your PC will explode.

Wel wel, i have laptop I7 Gen 7 :) octa core? :)

  • 0
Posted

God. Don't change anything.

You have/had the warning - information, because you didn't used the method anywhere. So eclipse is marking it as not used, pointless, meaning you can remove it. Once you use the method, warning is gone. 

That method is supposed to be inside your voiced command file. If you plan to use it globally, paste it inside pcinstance and make it public.

  • 0
Posted
27 minutes ago, Kara` said:

SweeTs for fucking god sake do something..  the guy is amateur as fuck its not about java anymore 2 pages we tell him to change Player to L2PcInstance and he can't realise it. 

Yea, it's about brain cells or rather lack of them :D

  • 0
Posted

God.. Can't you see the file uses activeChar word? Open you eyes, look on other lines. You are not learning.

God x2, you changed player to activeChar for message and you didn't find out that you should change player to activeChar for the method call. Face palm.

And again, why the fack you have after that check bracket {} without an if statement?! You are creating brackets and errors like crazy. God help this guy. 

  • 0
Posted

http://igq2aKv.png

and i have in L2PcInstance 

private static final boolean checkItemGrade(L2PcInstance player, int slotId)
	{
		final L2ItemInstance item = player.getInventory().getPaperdollItem(slotId);
		if ((item != null) && (item.getItem().getCrystalType() == CrystalType.S))
		{
			return true;
		}
		
		return false;
	}

Why it not complete?

  • 0
Posted

Bcs you paste the method God's know where. I already told you, the method MUST BE INSIDE the file you try to edit. 

  • 0
Posted
1 minute ago, SweeTs said:

Bcs you paste the method God's know where. I already told you, the method MUST BE INSIDE the file you try to edit. 

       I put command Here 1
if (command.startsWith("easy"))
		I put command Here 2
				{
					if (!activeChar.isNoble())
					{
						
						activeChar.destroyItemByItemId("consume", 57, 50000, activeChar, true);
					}
       I Put Command Here 3
					if (!(activeChar.getLevel() < 80))
					{
						activeChar.sendMessage("You have been teleported to easy zone ");
						activeChar.teleToLocation(89006, 27373, -15691);
					}
					
					_reuse.put(activeChar.getObjectId(), System.currentTimeMillis() + delay);
				}
       Or I Put command Here 4?

Can tell me please?

  • 0
Posted

Wtf... It's a method, God. Paste it out of bypass. Rofl.

If you fail doing it i won't help you anymore as it's waste of time, TOTAL waste of time. Worse than a 10 y old kid. 

  • 0
Posted

useVoicedCommand

{

your shit code

}

 

checkItemGrade

{

code

}

 

If you can't understand simplest thing, trash eclipse and give us a break. 

Guest
This topic is now closed to further replies.



  • Posts

    • There is a ready-made option and the possibility to work according to "Wishlist"
    • Contact me, Discord: xbaus
    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: 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