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

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. 

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