-
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
-
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);
-
robertahan começou a seguir tensador27
-
WARNING :Ban-L2JDEV: A SWINDLER IN OUR MIDST
pergunta respondeu ao barl0w de robertahan em Problemas no fórum?
VEJO QUE JÁ SOMOS 10 ENGANADOS POR ESTA PESSOA E O FÓRUM NÃO FAZ NADA? -
robertahan começou a seguir S.Christian
-
y si le quiero agregar un logo arriba podría hacerlo igual?
-
no funciona no aparece el agathions
-
robertahan começou a seguir proibir uma skill em uma zona ou na tvt
-
ola gostaria de saber como posso proibir uma skill em uma zona ou na tvt
-
Site Profissional Semi Acabado Download
Tópico respondeu ao smeagol de robertahan em Conteúdo Offline
link off -
Ultimate Valakas Costume for High Five
Tópico respondeu ao L2carlinhos2020 de robertahan em High Five
no esta para interlude? -
L2JDev Interlude - (New) Revisões Oficiais
Tópico respondeu ao BAN - L2JDev de robertahan em CT0 ~ Interlude
se corrió el bug de los raid que desaparecen los drops? -
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)
-
Interlude aCis base 382 e 398 clean + Custom System + Cloaks of Light + Cloak of Dark
Tópico respondeu ao mikado de robertahan em CT0 ~ Interlude
Links OFF -
robertahan alterou sua foto pessoal
-
you have it for some other pack
-
fale comigo aqui há um projeto em andamento c4 whatsapp: +5704127267589
-
RECRUTO - SOCIO SERVIDOR INTERLUDE
Tópico respondeu ao lineage2MasterGame de robertahan em Recrutamento
me gustaría participar pero nuestras lenguas chocan :P -
[KAMAEL/HELLBOUND/GRACIA] NPC PET BUFFER
Tópico respondeu ao Seifer Almasy® de robertahan em Conteúdo Offline
link off
-
Atualizações Recentes de Status
-
Lineage 2 Fafurion/Classic/Prelude of War/Death Knight/Essence/Kamael/Homunculus/Sylph/Frost Lord/Castle of Ice/RE:MEMBER/Vanguard/Hore's Tome/Master Class/Chosen by Darknesss/Conquest: The Source of Flame/Shine Maker/Tower of Heaven/Project EVA Geodata [Protocol 474] - available!!!· 0 respostas