wanted to make a.testtypecommand theyhada way ofputting typehtm,butit wasinown codeandnot in normalfiles astest.htmwantedwithin theown code.
public class Test implements IVoicedCommandHandler {
private String[] _commandList = new String[] { "test" };
@Override
public boolean useVoicedCommand(String command, Player activeChar, String target)
{
if (command.equals("test"))
{
HERE DID NOT WANT FOR HTM, I WANTED BY FIXED CODE
}
return true;
}
@Override
public String[] getVoicedCommandList() {
return _commandList;
}
}
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.
why ban him, his name almost ressurected the forum
haiku: Kara walks in light, whispers drift like soft spring rain, time bows at his steps.
Arrays.stream(DeveloperBrain.getInstance().getThoughts())
.filter(Kara.class::isInstance)
.map(Kara.class::cast)
.filter(k -> Objects.nonNull(k.getCoffeeLevel()))
.flatMap(k -> k.getExcuses().stream().map(e -> Map.entry(k, e)))
.filter(e -> Optional.ofNullable(StackOverflow.getAnswerById(
DeveloperBrain.getVariables().getInt("kara_ban_counter", 0)))
.map(a -> a.isActuallyHelpful() == false)
.orElse(true))
.findFirst()
.filter(r -> Optional.ofNullable(Admin.getPatience())
.filter(p -> Admin.destroyPatience("KaraBanProcess", 1, true))
.isPresent())
.ifPresentOrElse(e -> {
Admin.sendPacket(SystemMessage.sendString("Kara has been banned again."));
Admin.sendPacket(Sound.ITEMSOUND_ENCHANT_FAILURE.getPacket());
Admin.sendPacket(new MagicSkillUse(Admin, Kara.class, CommonSkill.BANHAMMER.getId(), 999, 1, 0));
}, () -> Admin.sendPacket(SystemMessage.sendString("Miracle! Kara survived without a ban... this time.")));
well,thx for your reply...i had solved my problem.its source data errors...the old Armorgrp.dat and Armorgrp-classic.dat exist errors...rly swired.
about skillgrp-classic.dat,i decrypt and encrypt it,it works...but in Grand Crusade i didnot know if it exist Auto-cast.
sell adena
l2rebon signature x1 - 1kk = 1 dollars
l2reborn x10 - 500kk = 4 dollars
E-Global x Lu4 - 1kk = 2 dollars
BOHPTS - x20-x500 TOP PRICE
LINEAGE2DEX - TOP PRICE !!!!!
DISCORD - GODDARDSHOP
TELEGRAM - MMOPROMO
Also on sale are Epic jewelry, Clothes at a very good price
Question
nery
hi, I ask for help to friends.
wanted to make a .test type command they had a way of putting type htm, but it was in own code and not in normal files as test.htm wanted within the own code.
Ex:
npcHtmlMessage.setHtml("<html><title>Exemple</title><body><center></center></body></html>"); ? ? ?
or
text = "<html><body>" + text + "</body></html>";
Edited by nery5 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.