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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...