Jump to content
  • 0

[Request]Craft Manager patch


Question

Posted

hi guys I'm trying to make this one work but I can't compile this cause it gives me compile errors... I might need your help on this one

 

http://www.maxcheaters.com/forum/index.php?topic=167212.0

 

Thats the latest craft manager I've seen... Please help me make it work in epilogue... :( Thanks in advance guys..

Recommended Posts

  • 0
Posted
cause it gives me compile errors..

 

What do you think, what do we need now?

 

Error logs (...)

  • 0
Posted

here it is

==============================================================================================================

[javac] Compiling 1495 source files to E:\workspace\l2jspartan\L2Spartan-Game\build\classes

    [javac] E:\workspace\l2jspartan\L2Spartan-Game\java\com\l2spartan\gameserver\model\actor\instance\L2CraftManagerInstance.java:57: cannot find symbol

    [javac] symbol  : method SeparateAndSend(int,com.l2spartan.gameserver.model.actor.instance.L2PcInstance,boolean,double)

    [javac] location: class com.l2spartan.gameserver.model.L2Multisell

    [javac]       L2Multisell.getInstance().SeparateAndSend(Integer.parseInt(command.substring(9).trim()), player, false, getCastle().getTaxRate());

    [javac]                                ^

    [javac] E:\workspace\l2jspartan\L2Spartan-Game\java\com\l2spartan\gameserver\model\actor\instance\L2CraftManagerInstance.java:103: cannot find symbol

    [javac] symbol  : method isHeroitem()

    [javac] location: class com.l2spartan.gameserver.model.L2ItemInstance

    [javac]                                                 && !_item.isHeroitem())

    [javac]                                                          ^

    [javac] E:\workspace\l2jspartan\L2Spartan-Game\java\com\l2spartan\gameserver\model\actor\instance\L2CraftManagerInstance.java:297: cannot find symbol

    [javac] symbol  : method getEquipSlot()

    [javac] location: class com.l2spartan.gameserver.model.L2ItemInstance

    [javac]                      L2ItemInstance[] unequiped = player.getInventory().unEquipItemInSlotAndRecord(_item.getEquipSlot());

    [javac]                                                                                                         ^

    [javac] 3 errors

===================================================================================================

  • 0
Posted

yes its already imported

 

import com.l2spartan.gameserver.model.L2ItemInstance;

import com.l2spartan.gameserver.model.L2Multisell;

 

I can't paste all the L2craftmanagerinstance.java here but I just uploaded on the net

 

you can check the file here

 

 

;)

 

 

  • 0
Posted

check imports path..

 

For example in my pack is import net.sf.gameserver.model.instance.L2ItemInstance;

 

and in your net.sf.gameserver.model.L2ItemInstance;

  • 0
Posted

.isHeroItem()

 

L2Multisell.getInstance().separateAndSend(Integer.parseInt(command.substring(9).trim()), player,32076, false, getCastle().getTaxRate());

 

L2ItemInstance[] unequiped = player.getInventory().unEquipItemInSlotAndRecord(_item.getLocationSlot());

  • 0
Posted

hm... try to edit this one:

 

Find:

 

String _crystal = _item.getItem().getCrystalType()==1?"D":

 _item.getItem().getCrystalType()==2?"C":

 _item.getItem().getCrystalType()==3?"B":

 _item.getItem().getCrystalType()==4?"A":"S";

 

 

and change to:

 

String _crystal = _item.getItem().getCrystalType()==1?"D":

  _item.getItem().getCrystalType()==2?"C":

  _item.getItem().getCrystalType()==3?"B":

  _item.getItem().getCrystalType()==4?"A":

  _item.getItem().getCrystalType()==5?"S":"S80";

 

 

then, find this:

 

_crystals.add(0,0);_crystals.add(1,0);_crystals.add(2,0);

_crystals.add(3,0);_crystals.add(4,0);_crystals.add(5,0);

 

and change to:

 

_crystals.add(0,0);_crystals.add(1,0);_crystals.add(2,0);

_crystals.add(3,0);_crystals.add(4,0);_crystals.add(5,0);_crystals.add(5,0);

Guest
This topic is now closed to further replies.


×
×
  • Create New...