Jump to content

Question

Posted (edited)

Hello, im playing with drops in l2jserver high five version (through xml), but im getting weird results.

 

Im getting: https://imgur.com/a/fVSDsEk

When i write: https://pastebin.com/zJpLRBvQ

 

While im trying to set the values the same with that i have in XML (100,100,50,15,3).

Thx in advance

Edited by ganjaradio

9 answers to this question

Recommended Posts

  • 0
Posted
36 minutes ago, ganjaradio said:

which file do you need? (I havent edited the retail code)

I don't know what file is.. I'm talking about the main code for this drop list.. Maybe the HTML, which show the droplist.

  • 0
Posted
17 hours ago, 'Baggos' said:

I don't know what file is.. I'm talking about the main code for this drop list.. Maybe the HTML, which show the droplist.

the problem isnt with the html, the problem is that it will say 60% in html, when i set to 100% and it wont drop every thime the item

  • 0
Posted

you should post the code about the calculations . How do you appear those informations on your placeholders of the html?

  • 0
Posted

somewhere on your code you replacing the placeholders for that html get real.

 

example:

 

html.replace("%ammount%",item.getCount());

  • 0
Posted

Droplist htm is most likely a string builder construction. Check the file responsible for the calculation / display and debug it. 

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

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