Ir para conteúdo
  • Cadastre-se

-= JRGames =-

Sup. Membro
  • Total de itens

    508
  • Registro em

  • Última visita

  • Prêmios recebidos

    7

Tudo que -= JRGames =- postou

  1. Ola juninho este e o NPC que voce procura ID: 31126
  2. Melhor opção e alugar uma VPS sai mais em conta do que colocar direto no seu computador, Alugue uma de 2 GB para inicio e conforme for melhorando vai aumentando ela aos poucos.
  3. ve se o seu tem a tabela CustomSpawnTable se tiver procure dentro dela
  4. No Navicat tabela spawnlist usa o filtro e procura pelos Ids que tão dando o erro e delete
  5. sim coloca os 3 arquivos em ambas as pastas
  6. não tenho certeza mais coloque estes arquivos na pasta Lib do seu loginserver e gameserver e teste para ver se resolve o seu problema. Removi de uma Pack antiga que eu usava base l2jfrozen slf4j.zip
  7. No he usado congelado en mucho tiempo pero busca AlternateClassMaster y poner True
  8. para isso acontecer precisamos de mais informações sobre seu site, se for algum site aqui do forum deixe o link dele aqui caso contrario de mais informações sobre o site. a maioria usa em formato .ICO, a maioria usa o mesmo caminho --> pasta ( imgs ) dentro dela a imagem com nome ( favicon.ico ) espero ter ajudado
  9. Creio que Sim nada e impossível, mais para isso vai te que fazer modificações em Java para da certo.
  10. Mod feito pelo Fissban em 2014. ### Eclipse Workspace Patch 1.0 #P L2J_Server Index: dist/game/config/L2JMods.properties =================================================================== --- dist/game/config/L2JMods.properties (revision 6353) +++ dist/game/config/L2JMods.properties (working copy) @@ -3,6 +3,24 @@ # Be warned that there may be no support for these mods beyond the original author's assistance. # --------------------------------------------------------------------------- +# Subclass Acu by fissban +# --------------------------------------------------------------------------- + +# Aqui activamos el sistema de subclass Acu +# default false +AcumulativeSkills = false + +# Aqui activamos para que solo se acumulen los skills pasivos +AcumulativeSkillsPasive = False + +# Aqui activamos por si solo queremos q cierto skills no se acumulen, como por ejemplo los +# skills de 3ra y bien los pasivos de armas y armaduras +DontAcumulativeSkills = False + +# Aqui definimos los skills q no se acumularan +DontAcumulativeSkillsId = 351;349 + +# --------------------------------------------------------------------------- # Champion mobs - Turn random mobs into Champions # --------------------------------------------------------------------------- Index: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 6353) +++ java/com/l2jserver/Config.java (working copy) @@ -103,6 +103,11 @@ public static final String SECURITY_CONFIG_FILE = "./config/Security.properties"; public static final String EMAIL_CONFIG_FILE = "./config/Email.properties"; public static final String CH_SIEGE_FILE = "./config/ConquerableHallSiege.properties"; + + public static boolean ACUMULATIVE_SUBCLASS_SKILLS; + public static boolean ACUMULATIVE_SUBCLASS_PASIVE; + public static boolean ACUMULATIVE_SUBCLASS_DONT_SKILLS; + public static String[] ACUMULATIVE_SUBCLASS_DONT_SKILLS_ID; // -------------------------------------------------- // L2J Variable Definitions // -------------------------------------------------- @@ -2429,6 +2434,10 @@ _log.log(Level.SEVERE, "Error while loading L2JMod settings!", e); } + ACUMULATIVE_SUBCLASS_SKILLS = Boolean.parseBoolean(L2JModSettings.getProperty("AcumulativeSkills", "false")); + ACUMULATIVE_SUBCLASS_PASIVE = Boolean.parseBoolean(L2JModSettings.getProperty("AcumulativeSkillsPasive", "false")); + ACUMULATIVE_SUBCLASS_DONT_SKILLS = Boolean.parseBoolean(L2JModSettings.getProperty("DontAcumulativeSkills", "true")); + ACUMULATIVE_SUBCLASS_DONT_SKILLS_ID = String.valueOf(L2JModSettings.getProperty("DontAcumulativeSkillsId", "351")).split(";"); L2JMOD_CHAMPION_ENABLE = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionEnable", "false")); L2JMOD_CHAMPION_PASSIVE = Boolean.parseBoolean(L2JModSettings.getProperty("ChampionPassive", "false")); L2JMOD_CHAMPION_FREQUENCY = Integer.parseInt(L2JModSettings.getProperty("ChampionFrequency", "0")); Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (revision 6511) +++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -310,6 +310,8 @@ */ public final class L2PcInstance extends L2Playable { + // SubAcu by fissban + private static final String ACUMULATE_SKILLS_FOR_CHAR_SUB = "SELECT skill_id,skill_level,class_index FROM character_skills WHERE charId=? ORDER BY skill_id,skill_level ASC"; // Character Skill SQL String Definitions: private static final String RESTORE_SKILLS_FOR_CHAR = "SELECT skill_id,skill_level FROM character_skills WHERE charId=? AND class_index=?"; private static final String ADD_NEW_SKILL = "INSERT INTO character_skills (charId,skill_id,skill_level,class_index) VALUES (?,?,?,?)"; @@ -8560,50 +8562,129 @@ */ private void restoreSkills() { - try (Connection con = L2DatabaseFactory.getInstance().getConnection(); - PreparedStatement statement = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR)) + if (Config.ACUMULATIVE_SUBCLASS_SKILLS) { - // Retrieve all skills of this L2PcInstance from the database - statement.setInt(1, getObjectId()); - statement.setInt(2, getClassIndex()); - final ResultSet rset = statement.executeQuery(); - - // Go though the recordset of this SQL query - while (rset.next()) + try (Connection con = L2DatabaseFactory.getInstance().getConnection(); + PreparedStatement statement = con.prepareStatement(ACUMULATE_SKILLS_FOR_CHAR_SUB)) { - final int id = rset.getInt("skill_id"); - final int level = rset.getInt("skill_level"); - - // Create a L2Skill object for each record - final L2Skill skill = SkillTable.getInstance().getInfo(id, level); - - if (skill == null) + statement.setInt(1, getObjectId()); + // statement.setInt(2, getClassIndex()); + try (ResultSet rset = statement.executeQuery()) { - _log.warning("Skipped null skill Id: " + id + " Level: " + level + " while restoring player skills for playerObjId: " + getObjectId()); - continue; + + // Go though the recordset of this SQL query + while (rset.next()) + { + final int id = rset.getInt("skill_id"); + final int level = rset.getInt("skill_level"); + final int class_index = rset.getInt("class_index"); + + // Create a L2Skill object for each record + final L2Skill skill = SkillTable.getInstance().getInfo(id, level); + + if (skill == null) + { + _log.warning("Skipped null skill Id: " + id + " Level: " + level + " while restoring player skills for playerObjId: " + getObjectId()); + continue; + } + + if (getClassIndex() != class_index) + { + // solo acumulamos activos. + if (Config.ACUMULATIVE_SUBCLASS_PASIVE && skill.isPassive()) + { + continue; + } + + // no acumulamos algunos skills especificos. + if (Config.ACUMULATIVE_SUBCLASS_SKILLS) + { + for (String skillId : Config.ACUMULATIVE_SUBCLASS_DONT_SKILLS_ID) + { + try + { + if (Integer.getInteger(skillId) == id) + { + continue; + } + } + catch (Exception e) + { + _log.warning("los skills usados en DontAcumulativeSkillsId no esta bien escrito ¬¬"); + } + } + } + } + + // Add the L2Skill object to the L2Character _skills and its Func objects to the calculator set of the L2Character + addSkill(skill); + + if (Config.SKILL_CHECK_ENABLE && (!canOverrideCond(PcCondOverride.SKILL_CONDITIONS) || Config.SKILL_CHECK_GM)) + { + if (!SkillTreesData.getInstance().isSkillAllowed(this, skill)) + { + Util.handleIllegalPlayerAction(this, "Player " + getName() + " has invalid skill " + skill.getName() + " (" + skill.getId() + "/" + skill.getLevel() + "), class:" + ClassListData.getInstance().getClass(getClassId()).getClassName(), 1); + if (Config.SKILL_CHECK_REMOVE) + { + removeSkill(skill); + } + } + } + } } - - // Add the L2Skill object to the L2Character _skills and its Func objects to the calculator set of the L2Character - addSkill(skill); - - if (Config.SKILL_CHECK_ENABLE && (!canOverrideCond(PcCondOverride.SKILL_CONDITIONS) || Config.SKILL_CHECK_GM)) + } + catch (Exception e) + { + _log.log(Level.WARNING, "Could not restore character " + this + " skills: " + e.getMessage(), e); + } + } + else + { + try (Connection con = L2DatabaseFactory.getInstance().getConnection(); + PreparedStatement statement = con.prepareStatement(RESTORE_SKILLS_FOR_CHAR)) + { + // Retrieve all skills of this L2PcInstance from the database + statement.setInt(1, getObjectId()); + statement.setInt(2, getClassIndex()); + try (ResultSet rset = statement.executeQuery()) { - if (!SkillTreesData.getInstance().isSkillAllowed(this, skill)) + // Go though the recordset of this SQL query + while (rset.next()) { - Util.handleIllegalPlayerAction(this, "Player " + getName() + " has invalid skill " + skill.getName() + " (" + skill.getId() + "/" + skill.getLevel() + "), class:" + ClassListData.getInstance().getClass(getClassId()).getClassName(), 1); - if (Config.SKILL_CHECK_REMOVE) + final int id = rset.getInt("skill_id"); + final int level = rset.getInt("skill_level"); + + // Create a L2Skill object for each record + final L2Skill skill = SkillTable.getInstance().getInfo(id, level); + + if (skill == null) { - removeSkill(skill); + _log.warning("Skipped null skill Id: " + id + " Level: " + level + " while restoring player skills for playerObjId: " + getObjectId()); + continue; } + + // Add the L2Skill object to the L2Character _skills and its Func objects to the calculator set of the L2Character + addSkill(skill); + + if (Config.SKILL_CHECK_ENABLE && (!canOverrideCond(PcCondOverride.SKILL_CONDITIONS) || Config.SKILL_CHECK_GM)) + { + if (!SkillTreesData.getInstance().isSkillAllowed(this, skill)) + { + Util.handleIllegalPlayerAction(this, "Player " + getName() + " has invalid skill " + skill.getName() + " (" + skill.getId() + "/" + skill.getLevel() + "), class:" + ClassListData.getInstance().getClass(getClassId()).getClassName(), 1); + if (Config.SKILL_CHECK_REMOVE) + { + removeSkill(skill); + } + } + } } } } - rset.close(); + catch (Exception e) + { + _log.log(Level.WARNING, "Could not restore character " + this + " skills: " + e.getMessage(), e); + } } - catch (Exception e) - { - _log.log(Level.WARNING, "Could not restore character " + this + " skills: " + e.getMessage(), e); - } } /** e Neste Tópico abaixo outro JavaMod Postado pelo Guma
  11. posta Print da bega por favor
  12. qual revisão esta usando meu amigo, na acis e só mudar o bodypart, são 3 metodos face, hair e hairall. este e o chamado na XML: <set name="bodypart" val="hair" />
  13. eu uso o L2Lige nele já tem o file edit funciona em varias versões de Lineage2 L2Lige.zip
  14. Para abrir ele usa o L2 File Edit para traduzir google tradutor
  15. Faça Bom uso SD: Psd Eternal Sim.psd
  16. -= JRGames =-

    Reload HTML

    se não quer da //reload html da //server_restart 0
  17. -= JRGames =-

    Revisão L2jFrozen

    na área de Java Mods Tem Eles postados só adicionar na sua revisão
  18. Adapte e Adicione este Mod na Sua Revisão Mas acho que o membro com menos de 50 posts não pode visualizar ele.
  19. sim e possível Abra o startLoginServer e o startGameServer Com o Bloco de Notas ou Notepad ++ e Adicione o Chamado nele para o Java que quer usar Exemplo: path=C:\Program Files\Java\jdk-11.0.4\bin
  20. bom Irei tentar te ajudar Procure em npcs.Propierts por AllowClassMasters e Coloque True Da RR e ver se voltou a funcionar se nao tiver funcionado Adicione isto na html do seu Npc. Obs: Esta HTML e Retail. <html><body>Class Manager:<br> How may I assist you?<br> <center> <a action="bypass -h npc_%objectId%_1stClass">Complete the first class transfer</a><br> <a action="bypass -h npc_%objectId%_2ndClass">Complete the second class transfer</a><br> <a action="bypass -h npc_%objectId%_3rdClass">Complete the third class transfer</a><br> <img src="L2UI_CH3.herotower_deco" align="center" width="256" height="32"><br> <a action="bypass -h npc_%objectId%_become_noble">Become noble</a><br> <a action="bypass -h npc_%objectId%_learn_skills">Learn all skills</a> </center> </body></html>
  21. Segue este video passo a passo que vai da certo.
  22. acabei de testar e esta normal aqui em casa mesmo assim estarei disponibilizando ele pelo --> MEDIAFIRE DOWNLOAD AQUI ! <--
  23. tem vários tutoriais aqui no forum mesmo sobre como colocar 2 servidores na mesma maquina siga eles que dará certo. em video tutorial. tutorial 2 tutorial 3
×
×
  • 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.