Jump to content

Urbanhack

Membro
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Normal

About Urbanhack

  • Rank
    ForeverAlone

Recent Profile Visitors

564 profile views
  1. hola amigos, estoy en busqueda de un datacenter que se pueda abonar en pesos argentinos, con mercadopago o tarjeta de credito. les pido si me pueden ayudar o tienen en conocimiento de un datacenter para alojar un servidor de lineage 2. desde ya muchas gracias.
  2. l2jserver no tem config.java poque cambio el codigo de configuracion entonce iso varios tipo de projetos nao funciona mais. https://bitbucket.org/l2jserver/l2j-server-game/src/develop/src/main/java/com/l2jserver/gameserver/
  3. oi ... estou tentando inserir esse código para l2jserver última rev h5. mas o pcstat.java não é o mesmo. então, alguém pode me ajudar a fazer isso? desde já, obrigado: Eu testei esse comando no jogo e está funcionando bem, mas preciso do lado do núcleo do pcstat funcionando. hi... im trying to insert this code to l2jserver last develop rev. but the pcstat.java isnt the same. so, anyone can helpme to do this? thx in advance: i test that command ingame and is working fine but i need the pcstat core side working. Core: +++ java/com/l2jserver/gameserver/model/actor/sta
  4. any vote reward working for l2jserver last h5 rev? they update the config code and i cant adapt one for it. if someone know any votereward working on last l2jserver revision working pls tell me. hola, necesito un votereward para la ultima version de l2jserver h5, ellos actualizaron el codigo de configuracion y yo no se como aplicar los votereward con esta nueva forma. por favor si alguien tiene un votereward funcionando para l2jserver h5 ultima revision por favor me puede compartir? gracias.
  5. [ENG]hello guys i need a aio buffer maker for gracia final if some1 have pls tell me [ESP]necesito un aio buffer creador para gracia final si alguien tiene se lo agradesco precisa de um aio buffer criador para a graça final :)
  • Recent Status Updates

    • osvaldotl2015  »  Mr.Crawler

      ================================================== players.properties ================================================== # Price for buffs. NpcId (50008) PriceBuff = 50000 PriceBuffVip = 25000 + +# The List of Mage Buffs +# Format : skillid,skilllvl;skillid2,skilllvl2;....skillidn,skilllvln +BufferNpcMageBuffList = 1204,2;1040,3;1035,4;1045,6;1048,6;1036,2;1303,2;1085,3;1059,3;1078,6;\ +1062,2;1397,3;264,1;267,1;268,1;304,1;349,1;364,1;273,1;276,1;365,1;1413,1;1391,3;4703,1 + +# The List of Fighter Buffs +# Format : skillid,skilllvl;skillid2,skilllvl2;....skillidn,skilllvln +BufferNpcFighterBuffList = 1204,2;1068,3;1040,3;1035,4;1036,2;1045,6;1086,2;1077,3;1240,3;1242,3;\ +264,1;267,1;268,1;269,1;304,1;349,1;364,1;271,1;274,1;275,1;1363,1;1391,3;4699,1;4703,1 ================================================== Config.java ================================================== public static int PRICE_BUFF; public static int PRICE_BUFF_VIP; + public static int[][] NPC_BUFFER_MAGE_BUFF_LIST; + public static int[][] NPC_BUFFER_FIGHT_BUFF_LIST; PRICE_BUFF = npcs.getProperty("PriceBuff", 1000); PRICE_BUFF_VIP = npcs.getProperty("PriceBuffVip", 500); + NPC_BUFFER_MAGE_BUFF_LIST = parseItemsList(npcs.getProperty("BufferNpcMageBuffList", "789,1223")); + NPC_BUFFER_FIGHT_BUFF_LIST = parseItemsList(npcs.getProperty("BufferNpcFighterBuffList", "123,456")); public List<IntIntHolder> getRequiredItems(int job) { return _claimItems.get(job); } } + private static final int[][] parseItemsList(String line) + { + String[] propertySplit = line.split(";"); + if (propertySplit.length == 0) + { + return null; + } + int i = 0; + int[][] result = new int[propertySplit.length][]; + for (String value : propertySplit) + { + String[] valueSplit = value.split(","); + if (valueSplit.length != 2) + { + LOGGER.warn("Config: Error parsing entry -> \"" + valueSplit[0] + "\", should be itemId,itemNumber"); + return null; + } + result[i] = new int[2]; + try + { + result[i][0] = Integer.parseInt(valueSplit[0]); + } + catch (NumberFormatException e) + { + LOGGER.warn("Config: Error parsing item ID -> \"" + valueSplit[0] + "\""); + return null; + } + try + { + result[i][1] = Integer.parseInt(valueSplit[1]); + } + catch (NumberFormatException e) + { + LOGGER.warn("Config: Error parsing item amount -> \"" + valueSplit[1] + "\""); + return null; + } + i++; + } + return result; + } }//Last Line Don´t Delete ================================================== Buffer.java ================================================== - if (currentCommand.startsWith("autobuff")) - { - for (int buffId : PlayerData.getInstance().getTemplate(player.getClassId()).getBuffIds()) - SkillTable.getInstance().getInfo(buffId, SkillTable.getInstance().getMaxLevel(buffId)).getEffects(player, player); - } + if (currentCommand.startsWith("autobuff")) + { + if (player.isMageClass()) + { + for (int[] mageBuffs : Config.NPC_BUFFER_MAGE_BUFF_LIST) + { + if (mageBuffs != null) + { + SkillTable.getInstance().getInfo(mageBuffs[0], mageBuffs[1]).getEffects(player, player); + } + } + } + else + { + for (int[] fighterBuffs : Config.NPC_BUFFER_FIGHT_BUFF_LIST) + { + if (fighterBuffs != null) + { + SkillTable.getInstance().getInfo(fighterBuffs[0], fighterBuffs[1]).getEffects(player, player); + } + } + } + }  
      · 1 reply
    • undeadzeraaa  »  OMGzOMG

      Boa noite! Mano você sabe editar interface para interlude? colocar o logo do clan, skillgrp e etc?
      · 0 replies
    • Fankst  »  Christian-SDM

      e ai mano tudo bom. em te fala eu perdi seu numero pq troquei de telefone.
      sou o thiago lembra tavamos arrumando um servinho q eu tinha baixado uns tempo atras.
      manda ai q presiso fala com tu.
      · 0 replies
    • DiegoLima2020  »  Christian-SDM

      opa man. blw como por um npc nessa rev l2jmega
      · 0 replies
    • deMEV

      CASTLE VS. CASTLE ARENA [ULTIMATE EXTENDED DREAM EDITION]
       
       
      · 0 replies
×
×
  • Create New...