Jump to content
  • 0

[Help]Error


Question

Posted

Hello,i was trying to adapt the offline system from epi to il and i have one prob...

It gives me error at this

 

if (player.getBuyList().addItemByItemId(items.getInt(2), items.getLong(3), items.getLong(4)) == null)

throw new NullPointerException();

 

and at this

 

if (player.getSellList().addItem(items.getInt(2), items.getLong(3), items.getLong(4)) == null)

throw new NullPointerException();

 

Thanks in advance

 

Ps:That is from the epi..i add it to il but it show me these errors..should i change something?

5 answers to this question

Recommended Posts

  • 0
Posted

do you have method additem and additembyid ?

or show me what eclipse saying :D

ye its at TradeList.java which is at net.sf.l2j.gameserver.model package..

I dont have change something,but i saw that addbyitemid method its different at epi..so maybe i have change something?

i mean to change this (items.getInt(2), items.getLong(3), items.getLong(4)) == null)

the inside part

Guest
This topic is now closed to further replies.


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