Jump to content

Recommended Posts

Posted
Sky" post="1339237" timestamp="1283192751"]

Some Errors Witch Eclipse In La2Base... LOL

Do you think that we are caterpillar`mother ?

Show us your errors , Doh!

  • 3 months later...
  • 4 months later...
Posted

I can't make it work i follow this steps:

 

Copy the code and put VendettaItem.java inside of C:\server\gameserver\data\scripts\handlers\itemhandlers i change the imports to com.l2jserver NO ERRORS but when i press the item in game nothing happend why?

 

Maybe i need registrer the item in MasterHandler.java? if yes how? i mean

 

import handlers.itemhandlers.VendettaItem;  if i make this i get Error in Console:

 

fgdfgdgdfgd.jpg

 

So how i an get this working? Thx.

 

 

 

 

Posted

Now i m getting this error only:

 

njmgnnnnnn.jpg

 

*/

   package com.l2jserver.gameserver.handler.itemhandlers;

   

   import com.l2jserver.gameserver.ThreadPoolManager;

   import com.l2jserver.gameserver.datatables.NpcTable;

   import com.l2jserver.gameserver.handler.IItemHandler;

   import com.l2jserver.gameserver.idfactory.IdFactory;

   import com.l2jserver.gameserver.model.L2ItemInstance;

   import com.l2jserver.gameserver.model.L2Spawn;

   import com.l2jserver.gameserver.model.L2World;

   import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;

   import com.l2jserver.gameserver.model.actor.L2Playable;

   import com.l2jserver.gameserver.network.SystemMessageId;

   import com.l2jserver.gameserver.serverpackets.SystemMessage;

   import com.l2jserver.gameserver.templates.L2NpcTemplate;

   

   /**

   * @author x.v3ndetta@yahoo.com

   *

   */

   public class VendettaItem implements IItemHandler

 

and i register this in Masterhadler

 

               ItemHandler.getInstance().registerItemHandler(new EventItem());

               ItemHandler.getInstance().registerItemHandler(new VendettaItem());

_log.config("Loaded " + ItemHandler.getInstance().size() + " ItemHandlers");

 

Why the -beep- say can't resolve the type?????

 

EDIT: FIXED.

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock