Jump to content
  • 0

How to change Multisell limits??


Question

Posted

I'm using l2jserver pack (gracia epilogue)

And if i put more adenas then 2kkk +- 100k multisell shows not adenas but short swords or no grade armor boots

I need help to put at least 80kkk adenas as price in multisell shop

2 answers to this question

Recommended Posts

  • 0
Posted

all i have found is

if ((double) e.getItemCount() * _amount > Integer.MAX_VALUE)

If i change Integer.MAX_VALUE to any number more than 2kkk i got error

the litteral 90000000000 of type int is out of range

  • 0
Posted

all i have found is

if ((double) e.getItemCount() * _amount > Integer.MAX_VALUE)

If i change Integer.MAX_VALUE to any number more than 2kkk i got error

the litteral 90000000000 of type int is out of range

you need to change the var type, from int (2,147,483,647) to long (9,223,372,036,854,775,807)

but not only in the multisell, you must change it in 100000 things that use adena, inventary, and a lot of things

also you must change sql files

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