Ir para conteúdo
  • Cadastre-se

Gabrieljdb

Membro
  • Total de itens

    506
  • Registro em

  • Última visita

  • Prêmios recebidos

    19

Tudo que Gabrieljdb postou

  1. -- tem site que testa se as portas estão abertas, [Hidden Content] -- verifique todas e poste o estado de cada uma. vc sabe que tem que liberar nos protocolos TCP e UDP né? -- portas 9014, 7777, 3306, 2106 -- Um teste veja seu modem se tem a opção DMZ, configure para o IP Interno do seu pc que pelo que vi é 192.168.0.7 o DMZ abre todas as portas do modem para aquele determinado IP/PC. (so pra teste, isso é um banquete para quem sabe invadir) -- Se você usa roteador e modem tem que abrir nos 2. -- Tente desabilitar seu firewall e o firewall do rotador/modem para testar. -- AGORA SE VC USA VIVO FIBRA ESQUECE...
  2. A muito tempo fiz um esquema de Skills baseando me nas #S normais do Interlude. O que fiz foi criar niveis de Armaduras e Joias somente alterando o nome. ex: Imperial Crusader - Level 1 Imperial Crusader - Level 2 Imperial Crusader - Level 3 Imperial Crusader - Level 4 peguei as skills originais e alterei para que eles chegassem nesse level 4 fiz a copia das armaduras e joias, criei IDs diferentes e adicionei os lniveis subsequentes. Os status são só uma base do que voce pode alterar. <list> <skill id="3553" levels="4" name="Imperial Crusader Heavy Armor Set"> <table name="#pDef"> 1.08 1.12 1.16 1.20 </table> <table name="#maxHp"> 445 890 1335 1780 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="pDef" val="#pDef" /> <add order="0x40" stat="maxHp" val="#maxHp" /> <mul order="0x30" stat="sleepVuln" val="0.3" /> <mul order="0x30" stat="rootVuln" val="0.3" /> <sub order="0x10" stat="DEX" val="2" /> <add order="0x10" stat="STR" val="2" /> </for> </skill> <skill id="3554" levels="4" name="Equipped with Shield"> <table name="#rEvas"> 1 2 3 4 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="poisonVuln" val="0.2" /> <mul order="0x30" stat="bleedVuln" val="0.2" /> <add order="0x40" stat="rEvas" val="#rEvas" /> </for> </skill> <skill id="3555" levels="4" name="Draconic Light Armor Set"> <table name="#pAtkSpd"> 1.04 1.08 1.12 1.16 </table> <table name="#pAtk"> 1.04 1.08 1.12 1.16 </table> <table name="#maxMp"> 289 578 867 1156 </table> <table name="#maxLoad"> 5759 6769 7779 8789 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" /> <mul order="0x30" stat="pAtk" val="#pAtk" /> <add order="0x40" stat="maxMp" val="#maxMp" /> <add order="0x40" stat="maxLoad" val="#maxLoad" /> <add order="0x10" stat="DEX" val="1" /> <add order="0x10" stat="STR" val="1" /> <sub order="0x10" stat="CON" val="2" /> </for> </skill> <skill id="3556" levels="4" name="Major Arcana Robe Armor Set"> <table name="#mAtkSpd"> 1.00 1.05 1.10 1.15 </table> <table name="#mAtk"> 1.17 1.21 1.25 1.29 </table> <table name="#runSpd"> 7 11 15 19 </table> <table name="#maxLoad"> 5759 6769 7779 8789 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" /> <mul order="0x30" stat="mAtk" val="#mAtk" /> <add order="0x40" stat="runSpd" val="#runSpd" /> <sub order="0x40" stat="cancel" val="50" /> <add order="0x40" stat="maxLoad" val="#maxLoad" /> <add order="0x10" stat="WIT" val="1" /> <add order="0x10" stat="INT" val="1" /> <sub order="0x10" stat="MEN" val="2" /> <mul order="0x30" stat="stunVuln" val="0.5" /> </for> </skill> <skill id="3557" levels="4" name="Necklace of Valakas"> <table name="#maxHp"> 445 890 1335 1780 </table> <table name="#pAtk"> 1.04 1.08 1.12 1.16 </table> <table name="#mAtk"> 1.08 1.16 1.24 1.32 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <add order="0x40" stat="maxHp" val="#maxHp" /> <mul order="0x30" stat="pAtk" val="#pAtk" /> <mul order="0x30" stat="mAtk" val="#mAtk" /> <mul order="0x30" stat="mCritRate" val="2.0" /> <mul order="0x30" stat="fireVuln" val="0.85" /> <mul order="0x30" stat="sleepVuln" val="0.6" /> <mul order="0x30" stat="mReuse" val="0.9" /> <mul order="0x30" stat="pReuse" val="0.9" /> <add order="0x40" stat="reflectDam" val="5" /> </for> </skill> <skill id="3558" levels="4" name="Earring of Antharas"> <table name="#maxCp"> 345 690 1035 1380 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="bleedVuln" val="0.6" /> <mul order="0x30" stat="gainHp" val="1.1" /> <add order="0x40" stat="absorbDam" val="4" /> <mul order="0x30" stat="stunVuln" val="0.7" /> <mul order="0x30" stat="derangementVuln" val="0.7" /> <mul order="0x30" stat="MagicalMpConsumeRate" val="0.95" /> <mul order="0x30" stat="PhysicalMpConsumeRate" val="0.95" /> <mul order="0x30" stat="earthVuln" val="0.85" /> <add order="0x40" stat="maxCp" val="#maxCp" /> </for> </skill> <skill id="3559" levels="4" name="Earring of Zaken"> <table name="#maxMp"> 345 690 1035 1380 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="bleedVuln" val="0.7" /> <mul order="0x30" stat="gainHp" val="1.1" /> <add order="0x40" stat="absorbDam" val="4" /> <mul order="0x30" stat="stunVuln" val="0.8" /> <mul order="0x30" stat="derangementVuln" val="0.8" /> <add order="0x40" stat="maxMp" val="#maxMp" /> </for> </skill> <skill id="3560" levels="4" name="Earring of Orfen"> <table name="#maxLoad"> 5759 6769 7779 8789 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="bleedVuln" val="0.8" /> <mul order="0x30" stat="gainHp" val="1.06" /> <add order="0x40" stat="maxLoad" val="#maxLoad" /> </for> </skill> <skill id="3561" levels="4" name="Ring of Baium"> <table name="#pAtkSpd"> 1.04 1.08 1.12 1.16 </table> <table name="#mAtkSpd"> 1.04 1.08 1.12 1.16 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="poisonVuln" val="0.6" /> <add order="0x40" stat="accCombat" val="2" /> <mul order="0x30" stat="cAtk" val="1.15" /> <mul order="0x30" stat="rootVuln" val="0.7" /> <mul order="0x30" stat="pAtkSpd" val="#pAtkSpd" /> <mul order="0x30" stat="mAtkSpd" val="#mAtkSpd" /> </for> </skill> <skill id="3562" levels="4" name="Ring of Ant Queen"> <table name="#maxLoad"> 5759 6769 7779 8789 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="poisonVuln" val="0.7" /> <add order="0x40" stat="accCombat" val="2" /> <mul order="0x30" stat="cAtk" val="1.15" /> <mul order="0x30" stat="rootVuln" val="0.8" /> <add order="0x40" stat="maxLoad" val="#maxLoad" /> </for> </skill> <skill id="3563" levels="4" name="Ring of Core"> <table name="#maxLoad"> 5759 6769 7779 8789 </table> <set name="target" val="TARGET_SELF" /> <set name="skillType" val="BUFF" /> <set name="operateType" val="OP_PASSIVE" /> <for> <mul order="0x30" stat="poisonVuln" val="0.8" /> <add order="0x40" stat="accCombat" val="1" /> <add order="0x40" stat="maxLoad" val="#maxLoad" /> </for> </skill> </list>
  3. e não tenho esse conhecimento, vc teria que procurar um tutorial de como adaptar itens de outras versões pra interlude. quais os iterns que vc quer? quem sabe eu tenha aqui alguma versão ja corrigida.
  4. Gabrieljdb

    Etcitem stackable

    vai no navicat procure a coluna 'etcitem' ou 'custom_etcitem' encontre o item desejado, na linha do item procure 'consume_type' altere para "stackable". vai no fileedit abra sua system, procure 'etcitemgrp' va ate a linha do item desejado e veja abaixo. 2 9995 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_white_i00 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 1 0 Repare que os 3 ultimos numeros estão 2 1 0 na linha que coloquei. esse 2 significa 'stackable'. agora se vc me perguntar pq o 2, não sei. mas tem q deixar 2 ali. eu aprendi isso vendo a linha de um item agrupado e um não agrupado. geralmente isso é feito em scrolls pra não consumir muitos slots do inventario. exemplo: abaixo algumas scrolls não agrupadas 2 947 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 948 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 949 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 950 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 951 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 952 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 953 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 954 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 955 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 956 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 957 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 958 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 959 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 960 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 961 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 2 962 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 0 0 0 agora elas agrupadas: 2 947 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 948 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 949 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 950 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 951 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 952 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 953 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 954 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 955 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 956 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 957 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 958 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 959 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 960 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 961 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 962 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 lembrando que tem que alterar no navicat tmb. é legal fazer com Scrolls, Books, Life Stones, Moedas custom, etc... desculpa os erros fiz na pressa.
  5. a garra fica distante da mão quando equipada junto com a luva. isso e um erro na textura, só refazendo ela. é normal em alguns itens adaptados pra interlude, hoje já tem solução pra isso.
  6. Mano arruma o link do Download ae que ta ruim de clicar certo. tem que clicar em cima do [img.] para baixar.
  7. Gabrieljdb

    skill n fucionar

    eu uso dream interlude, ve se tu te baseia nessa pois esta funcional <skill id="322" levels="6" name="Shield Fortress" enchantLevels1="30" enchantLevels2="30"> <table name="#enchantMagicLvl">76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 82 83 83 83 84 84 85 85 85</table> <enchant1 name="magicLvl" val="#enchantMagicLvl"/> <enchant2 name="magicLvl" val="#enchantMagicLvl"/> <table name="#mpConsume_Init">12 13 13 13 14 14</table> <table name="#ench2mpConsume">13 13 13 12 12 12 11 11 11 10 10 10 9 9 9 8 8 8 7 7 7 6 6 6 5 5 5 4 4 4</table> <table name="#ShieldDef">446 468 491 514 537 560</table> <table name="#ench1sDef">565 569 573 577 582 586 590 594 599 603 607 611 616 620 624 628 632 637 641 645 649 654 658 662 666 671 675 679 683 688</table> <table name="#val">25.6 26.4 27.2 28 28.8 29.6</table> <table name="#ench1val">30.4 30.4 30.4 30.8 30.8 30.8 31.2 31.2 31.2 31.6 31.6 31.6 32 32 32 32.4 32.4 32.4 32.8 32.8 32.8 33.2 33.2 33.2 33.6 33.6 33.6 34 34 34</table> <table name="#ench2val">29.64 29.64 29.64 29.26 29.26 29.26 28.86 28.86 28.86 28.44 28.44 28.44 28 28 28 27.54 27.54 27.54 27.06 27.06 27.06 26.56 26.56 26.56 26.04 26.04 26.04 25.5 25.5 25.5</table> <set name="weaponsAllowed" val="2"/> <set name="mpInitialConsume" val="#mpConsume_Init"/> <set name="target" val="TARGET_SELF"/> <set name="skillType" val="CONT"/> <set name="operateType" val="OP_TOGGLE"/> <enchant2 name="mpInitialConsume" val="#ench2mpConsume"/> <for> <effect count="0x7fffffff" name="ManaDamOverTime" time="5" val="#val"> <add order="0x40" stat="sDef" val="#ShieldDef"/> </effect> </for> <enchant1for> <effect count="0x7fffffff" name="ManaDamOverTime" time="5" val="#ench1val"> <add order="0x40" stat="sDef" val="#ench1sDef"/> </effect> </enchant1for> <enchant2for> <effect count="0x7fffffff" name="ManaDamOverTime" time="5" val="#ench2val"> <add order="0x40" stat="sDef" val="560"/> </effect> </enchant2for> </skill>
  8. Isso exatamente, tive um erro parecido com esse e pelo que me lembro era o Utorrent se não me engano
  9. Gabrieljdb

    Erro Script Java

    NalDinHuU Saquei mano, eu tenho um script parecido aqui sem a parte dos "Elementals". O problema é que ele também da um erro e um warning, se você souber adaptar este script eu ficaria grato pois não sei nem 1% disso. H4RD3C0R3 Hum certamente, problema é que não sei como fazer isso, se você me desse o caminho eu faria com certeza.
  10. Queria saber se alguém pode me ajudar com esse erro. estou tentando adicionar um Script custom de AugmentShop package custom.AugmentShop; import com.src.gameserver.model.actor.L2Npc; import com.src.gameserver.model.actor.instance.L2PcInstance; import com.src.gameserver.model.quest.Quest; import com.src.gameserver.model.quest.QuestState; import com.src.gameserver.model.itemcontainer.Inventory; import java.sql.Connection; import java.sql.PreparedStatement; import com.src.util.database.L2DatabaseFactory; import java.util.logging.Level; import com.src.gameserver.model.actor.instance.L2ItemInstance; import com.src.gameserver.datatables.sql.ItemTable; /** * * @author Rizel * */ public class AugmentShop extends Quest { private final static int ITEM_ID = 57; private final static int ITEM_COUNT = 1000000; private final static String qn = "AugmentShop"; private final static int NPC = 93000; public AugmentShop(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { String htmltext = ""; if (event.equalsIgnoreCase("active")) { htmltext = "active.htm"; } else if (event.equalsIgnoreCase("passive")) { htmltext = "passive.htm"; } else if (event.equalsIgnoreCase("chance")) { htmltext = "chance.htm"; } else { updateAugment(player, Integer.parseInt(event.substring(0,5)), Integer.parseInt(event.substring(6,10)), Integer.parseInt(event.substring(11,13))); } return htmltext; } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "main.htm"; return htmltext; } public static void main(String[] args) { new AugmentShop(-1, qn, "AugmentShop"); } private static void updateAugment(L2PcInstance player, int attribute, int skill, int level) { L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND); if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) { player.sendMessage("You have to equip a weapon."); return; } if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).isAugmented()) { player.sendMessage("The weapon is already augmented."); return; } if (player.getInventory().getInventoryItemCount(ITEM_ID, -1) < ITEM_COUNT) { player.sendMessage("You dont have enough item."); return; } Connection con = null; try { player.destroyItemByItemId("Consume", ITEM_ID, ITEM_COUNT, player, true); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("REPLACE INTO item_attributes VALUES(?,?,?,?,?,?)"); statement.setInt(1, item.getObjectId()); statement.setInt(2, attribute*65536+1); statement.setInt(3, skill); statement.setInt(4, level); if (item.getElementals() == null) { statement.setByte(5, (byte) -1); statement.setInt(6, -1); } else { statement.setByte(5, item.getElementals().getElement()); statement.setInt(6, item.getElementals().getValue()); } statement.executeUpdate(); player.sendMessage("Succesfully augmented. You have to relog now."); statement.close(); } catch (Exception e) { _log.log(Level.SEVERE, "Could not augment item: "+item.getObjectId()+" ", e); } finally { L2DatabaseFactory.close(con); } } } up
  11. Qual a Rev da dream vc ta usando v1 ou v2 e qual seu java e mysql?
  12. Gabrieljdb

    .Java para .Py

    Alguém ai saberia converter um arquivo .'Java' para um .'Py' eu não manjo 95% do que o 'Java' diz, muito menos o 'Py' achei um código de um NPC Augment Shop e queria utiliza-lo código abaixo package custom.AugmentShop; import com.l2jserver.gameserver.model.actor.L2Npc; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.quest.Quest; import com.l2jserver.gameserver.model.quest.QuestState; import com.l2jserver.gameserver.model.itemcontainer.Inventory; import java.sql.Connection; import java.sql.PreparedStatement; import com.l2jserver.L2DatabaseFactory; import java.util.logging.Level; import com.l2jserver.gameserver.model.L2ItemInstance; /** * * @author Rizel * */ public class AugmentShop extends Quest { private final static int ITEM_ID = 57; private final static int ITEM_COUNT = 1000000; private final static String qn = "AugmentShop"; private final static int NPC = 93000; public AugmentShop(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) { String htmltext = ""; if (event.equalsIgnoreCase("active")) { htmltext = "active.htm"; } else if (event.equalsIgnoreCase("passive")) { htmltext = "passive.htm"; } else if (event.equalsIgnoreCase("chance")) { htmltext = "chance.htm"; } else { updateAugment(player, Integer.parseInt(event.substring(0,5)), Integer.parseInt(event.substring(6,10)), Integer.parseInt(event.substring(11,13))); } return htmltext; } @Override public String onFirstTalk(L2Npc npc, L2PcInstance player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "main.htm"; return htmltext; } public static void main(String[] args) { new AugmentShop(-1, qn, "AugmentShop"); } private static void updateAugment(L2PcInstance player, int attribute, int skill, int level) { L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND); if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) { player.sendMessage("You have to equip a weapon."); return; } if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).isAugmented()) { player.sendMessage("The weapon is already augmented."); return; } if (player.getInventory().getInventoryItemCount(ITEM_ID, -1) < ITEM_COUNT) { player.sendMessage("You dont have enough item."); return; } Connection con = null; try { player.destroyItemByItemId("Consume", ITEM_ID, ITEM_COUNT, player, true); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("REPLACE INTO item_attributes VALUES(?,?,?,?,?,?)"); statement.setInt(1, item.getObjectId()); statement.setInt(2, attribute*65536+1); statement.setInt(3, skill); statement.setInt(4, level); if (item.getElementals() == null) { statement.setByte(5, (byte) -1); statement.setInt(6, -1); } else { statement.setByte(5, item.getElementals().getElement()); statement.setInt(6, item.getElementals().getValue()); } statement.executeUpdate(); player.sendMessage("Succesfully augmented. You have to relog now."); statement.close(); } catch (Exception e) { _log.log(Level.SEVERE, "Could not augment item: "+item.getObjectId()+" ", e); } finally { L2DatabaseFactory.close(con); } } } queria ele convertido para as diretrizes da dream v1 , manjo pouco, agradeço desde ja Na verdade a minha burrice ultrapassou os limite. reparei que a jDream tem suporte a .Java porem terei que editar os imports e corrigir algumas coisas. podes fechar este topico
  13. CesarBarboza [Tutorial] Adicionando Item Custom em aCis: Clique Aqui Set Vesper para Acis: Clique Aqui (Eu adaptei pegando o tutorial, pois não uso Acis, NÃO TESTADO) "Status não estão retail e a Skill não esta adicionada a barra de skills, mas possui skill." Mas se você não souber editar, me diz que faço pra você e dai já faço um post decente na Areá de Armors. Só testa ai antes pra ver se vai funcionar. Fiquei muito interessado em ver esse tipo de XML, bem mais pratico usar assim.
  14. CrozzElite ESP ¡Hola amigo! ¿Todo bien? La imagen está enviando esta muy pequeño, que no puede ver lo que está escrito puede tener una idea más clara de lo que sucedió en conjunto a favor por escrito? Gracias! Hasta luego... BR Olá amigo! Tudo bem? A imagem que você mandou esta muito pequena, não consigo ver o que está escrito, pode mandar uma imagem melhor junto do ocorrido em escrito por favor? Obrigado! Até mais... OBS: Alguém pode transferir este tópico para Duvidas por favor?
  15. Hasaniukas89 EN Hello Friend! okay? If you still need help with your problem, please tell your Project and Review that I will do my best to help you! Thank you! See you BR Olá amigo! Tudo bem? Se você ainda precisar de ajuda com seu problema, informe o seu Projeto e Revisão que farei o meu melhor para ajudá-lo! Obrigado! Até logo OBS: Alguém pode transferir este tópico para duvidas?
  16. Onaicul NPC GMSHOP: Gm Shop é Special Shop: Clique Aqui POST Gm-Shop Interlude: Clique Aqui POST Gm Shop v1: Clique aqui POST DUAL AIOX: Dual Tofa e Dual Aiox: Clique Aqui POST Dual AIO: Clique Aqui POST Dual AIOx By Kadu Moraes: Clique Aqui POST TUTORIAL: [Tutorial] Criando uma Dual Aiox Buff: Clique Aqui OBS: PÔ mano isso não é uma duvida, Deveria ter feito um pedido, De um GMShop e Uma Dual AIOX agora que ja esta feito, atenha-se em procurar mais também, eu fiquei 2 minutos na sessão de Downloads e achei isso, demorei mais editando no padrão do que procurando. Mas ta ai. Ate mais...
  17. posta sua resolução aqui pra nós, vai que auguem precise. Obrigado!
  18. Gabrieljdb

    Jogo não abre

    Voce provavelmente precisa de um Engine.dll compatível com windows 10. ja tentou troca-lo?
  19. =ADM.SPITE= Não mano não precisa ter outras versões. ela ja está completa assim. ATENÇÃO NO POST PRINCIPAL: Nosso projeto utiliza JAVA 8 portanto baixe e instale o JRE 8 antes de começar [Hidden Content] Utilize também o MySQL 5.6 ou 5.7 [Hidden Content]
  20. MundvayneHELLBOY Ta la ja maninho, fazia tempo que não entrava, correria..
  21. Por Favor... Alguem sabe onde encontro Weapons com: [Rapier, Sword, BigSword, Ancient Sword, Dagger, Bow, Crossbow, Blunt, BigBlunt, Fists, Pole, Dual Dagger e Dual Sword] [shield e Sigil] Para interlude. Até o Momento só Achei Dynasty Quero montar um Pack Gigante pra postar aqui
  22. l2pokemon Eu sou um Zero a esquerda com Hacks, nunca usei nada do tipo, nem sei como funciona. Mas provavelmente não funciona, Mas creio que se funcionar não será dificil, Deve ter por ai algum anti Hack Client Side ou Server Side que obstrua isso.
  23. l2pokemon Se for Adena que voce ta tentando por tem que por True nesse tambem: AutoLootAdena = False e Se eu não me engano tem um .menu que tu ajusta isso in game mesmo
×
×
  • 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.