Skip to content

Restrict

Featured Replies

  • Author

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

http://RxPyEDv.png

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.

  • Author

After Change to L2ItemInstance another kind of error

http://rWC5Go1.png

  • Author
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? :)

  • Author

I can replace with CheckItemManipulation or CheckItemExist?

Edited by InFocus

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.

  • Author

Yup, now i understand. I check now if it's working

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

  • Author

What's now?

http://hrX0Q42.jpg

I try to put L2PcInstance but don't work :)

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. 

  • Author

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?

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

  • Author
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?

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. 

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.