Jump to content
  • 0

Error compile


Question

5 answers to this question

Recommended Posts

  • 0
Posted

You have a simple error, you try to put a long into a int.

 

Define _playerAdena as a long type (in PrivateStoreListBuy) :

 

- private int _playerAdena;
+ private long _playerAdena;

 

-----

 

Or modify getBuyStoreCurrency() method to be an int type (in L2PcInstance).

 

- public synchronized long getBuyStoreCurrency()
+ public synchronized int getBuyStoreCurrency()

 

-----

 

It's fully depends of the chronicle I think, if from basic you got an int type, an int type is enough.

 

DON'T MODIFY BOTH CODES, YOU WILL HAVE EXACTLY SAME ERROR ELSE.

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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..