L2VANPER

Members
  • Content Count

    12
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About L2VANPER

  • Rank
    Vassal

Contact Methods

  • Website URL
    http://l2jbrasil.com

Profile Information

  • Gender
    Male
  • Country
    Brazil

Recent Profile Visitors

440 profile views
  1. hello my friend everything in peace, I liked this new method of showing or enchanting Allow more and move from another place to select or define account creation character equal to chronicles up
  2. Hello everyone, the members. good I have difficulty making the Craft on engine fakeplayer I would like to leave them as craft already managed to buy and sell, but the craft does not hit all the lines can anyone? aCis 383 Use this engine base is already being used plus this and sell tried to make the craft more is going wrong. @Override public void run() { if (Rnd.get(100) < Config.PHANTOM_PRIVATE_BUY_CHANCE && Config.PHANTOM_PRIVATE_STORE) { fakePlayer.addItem(":", 57, 1000000000, fakePlayer, false); fakePlayer.getBuyList().addItemByItemId(getPrivateBuy(), 1, Rnd.get(1000, 24678)); fakePlayer.getBuyList().setTitle(getPrivateBuy_Title()); fakePlayer.sitDown(); fakePlayer.setStoreType(StoreType.BUY); fakePlayer.broadcastUserInfo(); fakePlayer.broadcastPacket(new PrivateStoreMsgBuy(fakePlayer)); } else if (Rnd.get(100) < Config.PHANTOM_PRIVATE_SELL_CHANCE && Config.PHANTOM_PRIVATE_STORE) { fakePlayer.addItem(":", getPrivateSell(), 1, fakePlayer, true); for (ItemInstance itemDrop : fakePlayer.getInventory().getItems()) fakePlayer.getSellList().addItem(itemDrop.getObjectId(), 1, Rnd.get(100456789, 150456789)); fakePlayer.getSellList().setTitle(getPrivateSell_Title()); fakePlayer.getSellList().setPackaged(StoreType.SELL == StoreType.PACKAGE_SELL); fakePlayer.sitDown(); fakePlayer.setStoreType(StoreType.SELL); fakePlayer.broadcastUserInfo(); fakePlayer.broadcastPacket(new PrivateStoreMsgSell(fakePlayer)); } else { if (fakePlayer.isSpawnProtected()) fakePlayer.setSpawnProtection(false); fakePlayer.rndWalk(); PhantomStore.startWalk(fakePlayer); } } }
  3. pt_br Muito lindo parabéns sempre acompanho seus trabalhos são excelentes. poderia postar com o efeito que pista em 100% opacidade EN Very beautiful congratulations always accompany your works are excellent. could post with that track effect at 100% opacity
  4. Thank you for your attention with this I managed to reach the goal I was looking for. I'm just a novice ... Thank you all Obrigado pela atenção de vocês com isso consegui a chegar no objetivo que eu buscava. sou apenas um novado... Grato a todos
  5. PT_BR = Ola membros do Fórum sou novato, e estou escrevendo esse código mais logo a quanto o tempo termina ele teleporta mais gera muitos erro ao GameServer Esta funcionando mais queria retirar os erros que da em Google translator EN= The members of the Forum are newbies, and are signing this code sooner in time the teleports finish some more errors to GameServer This works more wanted removed the errors that in Model.Foke Model.Player Model.Walker WARNING Exception in a Runnable execution:java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.Walker cannot be cast to net.sf.l2j.gameserver.model.actor.instance.Player package net.sf.l2j.gameserver.model.zone.type; import java.util.Collection; import java.util.concurrent.ScheduledFuture; import java.util.stream.Collectors; import net.sf.l2j.commons.concurrent.ThreadPool; import net.sf.l2j.gameserver.network.serverpackets.ExShowScreenMessage; import net.sf.l2j.gameserver.network.serverpackets.ExShowScreenMessage.SMPOS; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.model.zone.SpawnZoneType; import net.sf.l2j.gameserver.model.zone.ZoneId; public class EventZone extends SpawnZoneType { protected ScheduledFuture<?> _counterTask = null; protected int _timer = 5 * 60; public EventZone(int id) { super(id); } @Override protected void onEnter(Creature character) { if (character instanceof Player && _counterTask == null) _counterTask = startCounter(); character.setInsideZone(ZoneId.PEACE, true); ThreadPool.schedule(new Runnable() { @Override public void run() { ((Player) character).teleToLocation(83597, 147888, -3405, 0); ((Player) character).sendMessage("Evento Finalizado!"); } }, 1000 * 300); } private ScheduledFuture<?> startCounter() { return ThreadPool.scheduleAtFixedRate(new Counter(), 1000, 1000); } @Override protected void onExit(Creature character) { character.setInsideZone(ZoneId.PEACE, false); if (getPlayers().size() < 1) resetCounter(); } @Override public void onDieInside(Creature character) { } @Override public void onReviveInside(Creature character) { character.setCurrentHp(character.getMaxHp()); character.setCurrentCp(character.getMaxCp()); character.setCurrentMp(character.getMaxMp()); onEnter(character); } public Collection<Player> getPlayers() { return getCharacters().stream().filter(pl -> pl instanceof Player).map(cr -> (Player) cr).collect(Collectors.toList()); } protected void resetCounter() { if (_counterTask != null) { _counterTask.cancel(true); _counterTask = null; } _timer = 5 * 60; } class Counter implements Runnable { protected Counter() { } @Override public void run() { if (_timer < 1) { resetCounter(); return; } for (Player player : getPlayers()) { int minutes = _timer / 60; int second = _timer % 60; String timing = ((minutes < 10) ? ("0" + minutes) : minutes) + ":" + ((second < 10) ? ("0" + second) : second); player.sendPacket(new ExShowScreenMessage("Event Farm: " + timing, 1100, SMPOS.TOP_CENTER, false)); } _timer--; } } } BR= Soucer Acis Atual! EN= Source Acis
  6. Aprendi muito com seus tutorial, muito obrigado. consigo criar meus mostro, mais tenho uma duvida como que altero LineageMonster.u dos Pet pra montar nos que eu criei ?
  7. otimo to conseguindo fazer sem problemas obrigado belo tutorial
  8. Esses conteúdo são incríveis, estou estudando cada um deles! tenho bastante enternece de aprender...
  9. Eu quero muito aprender Isso!!! Obrigado Irei estudar bastente