Jump to content

Recommended Posts

Posted

when you use

				activeChar.setDonator(true);;

it includes database part and you don't need to write it in itemhandler..

 

i did not wrote registering because you wrote it in first post, this is not patch this is only itemhandler

Posted

when you use

				activeChar.setDonator(true);;

it includes database part and you don't need to write it in itemhandler..

 

i did not wrote registering because you wrote it in first post, this is not patch this is only itemhandler

but you should create the method in L2PcInstance.java

 

dont know but l2j doesnt have any kind of this method

Posted

The authors patch is created under l2jfrozen project so please check....

and why i should know which method's l2j frozen project has , since i never use this kind of projects !

 

so please think before talking ;)

  • 2 months later...
Posted

Why dont u simply go to UseItem.java and add

 

if (_item.getItemId() == 6573)

  if (player.isDonator())

      player.sendMessage("You are already a donator");

  else

      player.sendMessage("blablalbalbalbalba");

      player.setDonator();

 

simple enough eh?

 

 

 

  • 3 weeks later...
  • 1 month later...
  • 1 year later...
  • 2 months later...
Posted
 [javac] Compiling 1476 source files to C:\Users\George\workspace\trunk\gameserver\build\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7

    [javac] C:\Users\George\workspace\trunk\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandlers\VipItem.java:119: error: reached end of file while parsing

    [javac] }

    [javac]  ^

    [javac] 1 error

    [javac] 1 warning

 

can someone help?

Guest
This topic is now closed to further replies.


×
×
  • 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..