Chepi Matlu Martinez
Membro-
Total de itens
32 -
Registro em
-
Última visita
Sobre Chepi Matlu Martinez
Últimos Visitantes
1144 visualizações
Chepi Matlu Martinez's Achievements
Aprendiz de Novato (1/14)
2
Reputação
-
Ola, alguem sabe como fazer LIMIET player for grand boss ejemplo: Valakas so pode entrar max 40 players. O limit for party, 2 party for clan
-
Hi guys we got this code for the NPC besieged guard to be spawn at the time of the siege Castle.java public void spawnSiegeGuardsOrMercenaries() { if (_ownerId > 0) { for (ItemInstance item : _droppedTickets) { // Retrieve MercenaryTicket information. final MercenaryTicket ticket = getTicket(item.getItemId()); if (ticket == null) continue; // Generate templates, feed them with ticket information. final NpcTemplate template = NpcData.getInstance().getTemplate(ticket.getNpcId()); if (template == null) continue; try { final L2Spawn spawn = new L2Spawn(template); spawn.setLoc(item.getPosition()); spawn.setRespawnState(false); SpawnTable.getInstance().addSpawn(spawn, false); Npc merc = spawn.doSpawn(false); merc.setIsImmobilized(ticket.isStationary()); merc.setCastle(this); _siegeGuards.add(merc); } catch (Exception e) { LOGGER.error("Couldn't spawn npc ticket {}. ", e, ticket.getNpcId()); } // Delete the ticket item. item.decayMe(); } _droppedTickets.clear(); } else { // TODO Territory based spawn try (Connection con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement ps = con.prepareStatement("SELECT npcId,x,y,z,heading,respawnDelay FROM castle_siege_guards where castle_id=?")) { ps.setInt(1, _castleId); try (ResultSet rs = ps.executeQuery()) { while (rs.next()) { final int npcId = rs.getInt("npcId"); final NpcTemplate template = NpcData.getInstance().getTemplate(npcId); if (template == null) continue; try { int distToTower = -1; ControlTower towerToAdd = _siege.getControlTowers().get(0); final int x = rs.getInt("x"); final int y = rs.getInt("y"); final int z = rs.getInt("z"); final int heading = rs.getInt("heading"); final int respawnDelay = rs.getInt("respawnDelay"); L2Spawn spawn = new L2Spawn(template); spawn.setLoc(x,y,z,heading); spawn.setRespawnDelay(respawnDelay); for (ControlTower ctrlTower : _siege.getControlTowers()) { int dx = x - ctrlTower.getX(); int dy = y - ctrlTower.getY(); int dz = z - ctrlTower.getZ(); long a = (long) Math.sqrt(dx * dx + dy * dy + dz * dz); if ((distToTower>a) || (distToTower==-1)) { distToTower=(int) a; towerToAdd=ctrlTower; } } towerToAdd.registerGuard(spawn); SpawnTable.getInstance().addSpawn(spawn, false); Npc guard = spawn.doSpawn(false); spawn.setRespawnState(true); guard.setCastle(this); _siegeGuards.add(guard); } catch (Exception e) { LOGGER.error("Could not spawn Npc " + Integer.toString(npcId)); } } } } catch (Exception e) { LOGGER.error("Exception: loadSiegeClan(): " + e.getMessage(), e); } } } /** * Despawn neutral guards or player-based mercenaries. */ public void despawnSiegeGuardsOrMercenaries() { if (_ownerId > 0) { for (Npc npc : _siegeGuards) { L2Spawn spawn = npc.getSpawn(); if (spawn != null) { spawn.setRespawnState(false); SpawnTable.getInstance().deleteSpawn(spawn, true); } npc.deleteMe(); } _siegeGuards.clear(); } else { for (Npc npc : _siegeGuards) { L2Spawn spawn = npc.getSpawn(); if (spawn != null) { spawn.setRespawnState(false); SpawnTable.getInstance().deleteSpawn(spawn, true); } npc.deleteMe(); } _siegeGuards.clear(); } } throws the following errors at me https://prnt.sc/s48tl3 https://prnt.sc/s48tsp help me? :01:
-
Quest noblesse , quest sub? Cual base e rev?
-
rev optima paa colocar serve x45 farm??
-
Pack (Codes) + aCis 384 V.4
Tópico respondeu ao BAN - L2JDev de Chepi Matlu Martinez em CT0 ~ Interlude
Mamo ja baxie eu geodata e mesmo error sale mesmo message person model -
Pack (Codes) + aCis 384 V.4
Tópico respondeu ao BAN - L2JDev de Chepi Matlu Martinez em CT0 ~ Interlude
Mano e rev de 0 baxie y test char normal fala logo sale The person model. Nao tem geodata Naida rev de 0 -
Pack (Codes) + aCis 384 V.4
Tópico respondeu ao BAN - L2JDev de Chepi Matlu Martinez em CT0 ~ Interlude
mano tou usando rev 384 pero tou error poq cuando char NORMAL fala global sale message de the person is in messae refause mode char no e adm e char normal preciso ajuda nao sei poq cuando falo indiica " THE PERSON IS IN MESSAGE REFAUSE MODE" -
[Tutorial] Como mudar Effects skills
Tópico respondeu ao boystele de Chepi Matlu Martinez em Conteúdo Offline
como podo fazer effecto de um rb al skill hero valor alguem sabe? -
Big / Raid Bosses Status - By ICPNetworks
Tópico respondeu ao Ivan Pires de Chepi Matlu Martinez em Conteúdo Offline
L2OFF TEM? -
Pack tem bug geodata, en geoengeine.java precisa actualicao to rev 32
-
COMO EDITO SETS AMOR FAKE PLAYERS, TEM SET GRADO A, QUERO COLOCA SETS GRADO D
-
classe balance?
-
como fico para colocar sub class e skilles nao acumulen so main clase 1 sub
-
Criando bypass sub class mesmo npc buffer
pergunta respondeu ao Chepi Matlu Martinez de Chepi Matlu Martinez em Dúvidas
Coloco isso en L2Npcbuffer? Quero colocar em meu npc L2NpcBuffer ficar sub classe. ficar gatto classemaster, entende? I do not speak very Brazilian, what I mean is that in my own npc buffer want to put that instance can perform and perform sub classe 1 2 3 profresion! all that in the same npc L2NPCBUFFERINSTANCE -
Oi, galera queriam saber sim e possible criar em l2npcbufferinstance colocar ae mesmo trocar sub classe em mesmo npc buffer! alguem me pode ajudar?
-
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