- 0
-
Quem Está Navegando
- Nenhum usuário registrado visualizando esta página.
-
Posts
-
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!
-
Olá, é possível obter o arquivo para esses ícones? Olá, é possível obter o arquivo para esses ícones?
-
Voce usar a conta de admin q vc tem no server, vai em accounts e define o acess_level la. e vc entra auto. Eu tenho uma versão desse votesystem q tentei atualizar e com tutorial so acessar o link na minha assinatura em baixo.
-
Por Heverton Molina · Postado
Gente eu instalei aqui no meu servidor porem não sei qual e a senha pra entrar eu crio o login de admin mas e a senha onde eu coloco? -
Por juniinxt007 · Postado
Todos os Links dele Estao OFF -
Por JefersonFelisbino · Postado
Boa ! O icone dos agathions esta fora do ar "/ estou precisando -
Por juniinxt007 · Postado
Alguem pela misericordia teria o link dos Set S PVP e de todas as armas S coloridas PVP? @AllInOne -
Por L2BloodyWar · Postado
eu tava com um projeto acis 398 mais o java era 11 ai nao sei atualizar e desistir fui olhar essa lucera, mal tem arquivos sobre ele entao eo projeto mais atual ? se alguem tiver uma sourve/rev ja compilada boa fico a dispor no chat! meu intuito e aprender e tbm por online mais bem la na frente ai a 398 era limpa mais falaram que estava muito desatualizada e eu ia ter problema pra add qualquer coisa -
rev lucera só é lenta em pc lerdo, minha dream v3 que é base na source da lucera 3, leva 18 segundos pra ligar no meu notebook, 11s no meu desktop... a Lucera original do russo leva 25 segundos....
-
Pergunta
Noxious
Alguém poderia me ajudar a adaptar esse código de um npc para o acis 409 não estou conseguindo nem por reza
esse código
if (command.startsWith("PartyTP"))
{
StringTokenizer st = new StringTokenizer(command);
st.nextToken();
String val = "";
try
{
if (st.hasMoreTokens())
{
val = st.nextToken();
}
L2PcInstance activeChar = L2World.getInstance().getPlayer(val);
teleportTo(val, player, activeChar);
}
catch (Exception e)
{
// Case of empty or missing coordinates
player.sendMessage("Incorrect target");
}
}
public void teleportTo(String val, L2PcInstance activeChar, L2PcInstance target)
{
if (target.getObjectId() == activeChar.getObjectId())
activeChar.sendPacket(SystemMessageId.CANNOT_USE_ON_YOURSELF);
// Check if the attacker is not in the same party
if (!activeChar.getParty().getPartyMembers().contains(target))
{
activeChar.sendMessage("Your target Isn't in your party.");
return;
}
// Simple checks to avoid exploits
if (target.isInJail() || target.isInOlympiadMode() || target.isInDuel() || target.isFestivalParticipant() || (target.isInParty() && target.getParty().isInDimensionalRift()) || target.inObserverMode())
{
activeChar.sendMessage("Due to the current friend's status, the teleportation failed.");
return;
}
if (target.getClan() != null && CastleManager.getInstance().getCastleByOwner(target.getClan()) != null && CastleManager.getInstance().getCastleByOwner(target.getClan()).getSiege().isInProgress())
{
activeChar.sendMessage("As your friend is in siege, you can't go to him/her.");
return;
}
if (activeChar.getPvpFlag() > 0 || activeChar.getKarma() > 0)
{
activeChar.sendMessage("Go away! Flag or Pk player can not be teleported.");
return;
}
int x = target.getX();
int y = target.getY();
int z = target.getZ();
activeChar.getAI().setIntention(CtrlIntention.IDLE);
activeChar.doCast(SkillTable.getInstance().getInfo(2100, 1));
activeChar.sendPacket(new ExShowScreenMessage("You will be teleported to " + target.getName() + " in 5 Seconds!", 5000, 2, true));
ThreadPool.schedule(() -> activeChar.teleToLocation(x, y, z, 0), 5000);
activeChar.sendMessage("You have teleported to " + target.getName() + ".");
}
Link para o comentário
Compartilhar em outros sites
4 respostass a esta questão
Posts recomendados
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.