Jump to content

[Share] Vip Item (Donator)


Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ;)

Link to comment
Share on other sites

  • 2 months later...

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?

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 1 year later...
  • 2 months later...
 [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?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...