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.
Olá, seu tópico se encontra com um ou mais links offline. Caso ainda possua o conteúdo, favor postar aqui mesmo no tópico ou mandar MP para algum staff que estaremos normalizando o tópico.
Grato pela atenção!
baixei, continua kikando apos alguns minutos, as potions não funcionam tem q ficar arrastando pra barra, algumas skils somem da barra ao relogar e só tem função de enchantar que não esta funcionando corretamente tbm...
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Robert-Downey
ALGUEM PODERIA ME AJUDAR POR UMA OPÇÃO NO NPC BUFFER DE DELETAR OS BUFFS 1 POR 1?
TEM ALGO SEMELHANTE NOS COMANDOS ADM
public static void showMainPage(Player player, Creature creature, int page)
{
// Load static htm.
final NpcHtmlMessage html = new NpcHtmlMessage(0);
html.setFile("data/html/admin/char_effects.htm");
html.replace("%name%", creature.getName());
int row = 0;
// Generate data.
final Pagination<AbstractEffect> list = new Pagination<>(Arrays.stream(creature.getAllEffects()), page, PAGE_LIMIT_14);
for (AbstractEffect effect : list)
{
list.append(((row % 2) == 0 ? "<table width=280 bgcolor=000000><tr>" : "<table width=280><tr>"));
list.append("<td width=220><a action=\"bypass -h admin_effect remove ", effect.getSkill().getId(), "\">", effect.getSkill().getName(), "</a></td><td width=60>", (effect.getSkill().isToggle()) ? "toggle" : effect.getPeriod() - effect.getTime() + "s", "</td>");
list.append("</tr></table><img src=\"L2UI.SquareGray\" width=280 height=1>");
row++;
}
list.generateSpace(20);
list.generatePages("bypass admin_effect %page%");
html.replace("%content%", list.getContent());
player.sendPacket(html);
}
Genius, Billionaire, Playboy, Philanthropist
Link to comment
Share on other sites
1 answer 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.