Ir para conteúdo
  • Cadastre-se

robertahan

Membro
  • Total de itens

    35
  • Registro em

  • Última visita

  • Prêmios recebidos

    3

robertahan last won the day on Março 10 2023

robertahan had the most liked content!

Sobre robertahan

  • Data de Nascimento 09/24/1992

Últimos Visitantes

1690 visualizações

robertahan's Achievements

Explorador

Explorador (5/14)

  • Reagindo Bem Rare
  • Primeiro Post Rare
  • Puxador de assunto Rare
  • Dedicado Rare
  • Uma Semana Completa Rare

Recent Badges

14

Reputação

  1. Quando você faz o teletransporte, ele não te leva para uma dimensão onde só você pode entrar, onde não há nada além das instâncias criadas para que vários jogadores possam entrar, mas veja bem, nem todos podem ser vistos e é um desastre. Agora o mod está adaptado, só preciso adaptar essas falas já que frozem você não tem essa classe e ela está muito dispersa hola a todos estoy adaptando el dungeo event a frozem aunque ya esta en el foro bastante avanzado me sigue arrojando un error. cuando te hacer el teleport no te traslada a una dimensión donde solo puedas entrar tu donde no hay mas nada que las instancias creadas asi puedan entrar varios player ala ves si no todos se pueden ver y es un desastre ahora ya esta el mod adaptado solo m falta adaptar estas líneas ya que frozem no cuentas con esta clase y esta muy dispersa Index: java/net/sf/l2j/gameserver/model/WorldObject.java =================================================================== --- java/net/sf/l2j/gameserver/model/WorldObject.java (revision 17) +++ java/net/sf/l2j/gameserver/model/WorldObject.java (working copy) @@ -15,6 +15,9 @@ import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Playable; import net.sf.l2j.gameserver.model.actor.Player; +import net.sf.l2j.gameserver.model.actor.instance.Fence; +import net.sf.l2j.gameserver.model.entity.events.instance.Instance; +import net.sf.l2j.gameserver.model.entity.events.instance.InstanceManager; import net.sf.l2j.gameserver.model.location.Location; import net.sf.l2j.gameserver.model.location.SpawnLocation; import net.sf.l2j.gameserver.model.zone.type.subtype.ZoneType; @@ -393,6 +396,11 @@ } } + for (WorldObject object : getDifferentInstanceObjects()) + { + object.removeKnownObject(this); + removeKnownObject(object); + } // For every new surrounding area NOT SHARED with old surrounding areas. for (WorldRegion region : newAreas) { @@ -405,9 +413,8 @@ // Update all objects. for (WorldObject obj : region.getObjects()) { - if (obj == this) + if (obj == this || obj.getInstance().getId() != getInstance().getId()) continue; - obj.addKnownObject(this); addKnownObject(obj); } @@ -487,6 +494,8 @@ { if (obj == this || !type.isAssignableFrom(obj.getClass())) continue; + if (obj.getInstance().getId() != getInstance().getId() && !(obj instanceof Fence)) + continue; result.add((A) obj); } @@ -517,6 +526,8 @@ { if (obj == this || !type.isAssignableFrom(obj.getClass()) || !predicate.test((A) obj)) continue; + if (obj.getInstance().getId() != getInstance().getId() && !(obj instanceof Fence)) + continue; result.add((A) obj); } @@ -547,6 +558,8 @@ { if (obj == this || !type.isAssignableFrom(obj.getClass()) || !MathUtil.checkIfInRange(radius, this, obj, true)) continue; + if (obj.getInstance().getId() != getInstance().getId() && !(obj instanceof Fence)) + continue; result.add((A) obj); } @@ -807,6 +820,46 @@ } + private Instance _instance = InstanceManager.getInstance().getInstance(0); + + public void setInstance(Instance instance, boolean silent) + { + _instance = instance; + + if (!silent) + { + decayMe(); + spawnMe(); + } + } + + public Instance getInstance() + { + return _instance; + } + + private final List<WorldObject> getDifferentInstanceObjects() + { + final WorldRegion region = _region; + if (region == null) + return Collections.emptyList(); + + final List<WorldObject> result = new ArrayList<>(); + + for (WorldRegion reg : region.getSurroundingRegions()) + { + for (WorldObject obj : reg.getObjects()) + { + if (obj == this || obj.getInstance().getId() == getInstance().getId() || obj instanceof Fence) + continue; + + result.add(obj); + } + } + + return result; + } + public void onActionShift(Player player) { player.sendPacket(ActionFailed.STATIC_PACKET);
  2. VEJO QUE JÁ SOMOS 10 ENGANADOS POR ESTA PESSOA E O FÓRUM NÃO FAZ NADA?
  3. y si le quiero agregar un logo arriba podría hacerlo igual?
  4. no funciona no aparece el agathions
  5. ola gostaria de saber como posso proibir uma skill em uma zona ou na tvt
  6. se corrió el bug de los raid que desaparecen los drops?
  7. Eu tenho um site ActualStudio e quando crio uma conta e tento logar no servidor ele me lança o seguinte erro somente com as contas que eu cadastro da web alguem poderia me ajudar por favor tengo una web de ActualStudio y al crear una cuenta y intentar loguear en el server me arroja el siguiente error solo con las cuentas que registro desde la web alguien me pude ayudar porfavor uso Acis401 Failed to decrypt user/password. java.lang.IllegalArgumentException: Invalid salt version at net.sf.l2j.commons.crypt.BCrypt.hashPw(BCrypt.java:1669) at net.sf.l2j.commons.crypt.BCrypt.checkPw(BCrypt.java:1770) at net.sf.l2j.loginserver.LoginController.retrieveAccountInfo(LoginController.java:164) at net.sf.l2j.loginserver.network.clientpackets.RequestAuthLogin.run(RequestAuthLogin.java:50) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
  8. robertahan

    mod ant zerg system

    you have it for some other pack
  9. fale comigo aqui há um projeto em andamento c4 whatsapp: +5704127267589
  10. me gustaría participar pero nuestras lenguas chocan :P
×
×
  • Criar Novo...

Important Information

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.