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

Posted

Like always Crystalia takes Frozen Codes and Elfo Codes ..... Credits Crystalis and Help Elfo...

 

Eflo 99% of Code

Crystalia 1%....

Gj Crystalia you deserve karma

  • 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...
Posted (edited)

Hello ppl!!

 

My custom item for  donator status..

 

 

w0gF2i.jpg

 

 

 

KZnI3K.jpg

RhKphJ.jpg

Edited by dizzan
  • 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...