Skip to content

[Help]Error

Featured Replies

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?

do you have method additem and additembyid ?

or show me what eclipse saying :D

  • Author

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

  • Author

nevermind..Rizel helped me..thanks

 

lock it

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.