Jump to content
  • 0

Droplist Help


ganjaradio

Question

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
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

 

example:

 

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

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

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