goodnight hello people , I 'll post a problem that took several days fighting with and you do not know what do to with the solution I tried to copy pieces of code with similar operations and have not gotten more than what you see in the image below . I 'm trying to leave the skills clan organized in the table on the right and when it exceeds the width of the table rather than leapfrog continue straight breaking the width of the table are 35 skill in all that I have and just 13 appear others lost in the table ... , here you will see the image when the clan has skills:
i try to add a counter variable called "cantidad" to count the result in a loop, and it work, but i dont know what to do to make it working fine, look the changes;
int cantidad = 0;
for (L2Skill s : skills.values())
{
String largo = Integer.toString(s.getId());
String largo3 = "0" + largo;
list += SKILL_LIST;
list = list.replace("%clanskills%", "<td align=center><button width=32 height=32 back=\"Icon.skill" + (largo.length() > 3 ? largo : largo3) + "\" fore=\"Icon.skill" + (largo.length() > 3 ? largo : largo3) + "\"></td>");
cantidad++;
if (cantidad == 12)
{
break;
}
}
content = content.replace("%clanskills%", list);
separateAndSend(content, activeChar);
}
when i test , it break the loop when 12 results but how can i do to change line and continue the results till the next change line? sorry for my english,
if anyone knows where the error may be what I will be grateful 've tried everything and no where to take her to repair it , thanks in advance.
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.
Hello,
I am currently using Mobius 2.8 Seven Signs (Subscriber Version).
I have increased the inventory capacity from 80 slots to 500 slots.
The problem is that when the number of items exceeds 200, opening the inventory causes a delay of about 1–2 seconds.
If the inventory is empty or contains only a small number of items, there is no lag at all, but when the item count goes over 200 or 300, the delay increases accordingly.
Is there anyone who could fix this issue?
Discord : utchiha_market
Telegram : https://t.me/utchiha_market
Auto Buy Store : https://utchiha-market.mysellauth.com/
Not sure if we’re legit? Check Our server — real reviews, real buyers
https://discord.gg/4EPpYhe2HA | https://campsite.bio/utchihaamkt
Question
b0rto
when i test , it break the loop when 12 results but how can i do to change line and continue the results till the next change line? sorry for my english,
3 answers to this question
Recommended Posts
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.