Ir para conteúdo
  • Cadastre-se

H4RD3C0R3

Membro
  • Total de itens

    270
  • Registro em

  • Última visita

Tudo que H4RD3C0R3 postou

  1. esse npc já vem com as Multisel ?
  2. alguem conseguil adaptar as SQL para L2J Server?
  3. Qual revisão estar usando amigo ?
  4. Cara , eu ja coloquei 300 play on em uma VPS de 4GB de memoria! com um servidor no custom.... i outra sem essa de que VPS é isso é aquilo... da pra por sim , basta saber configurar tudo certinho ! Boa sorte !
  5. Simples ! Vá em: gameserver\config\head Arquivo: altsettings.properties Procure por: # ---------------------------------------------- # # Npc # # ---------------------------------------------- # # Npc Attackable # True: You can attack Npcs # False: Npc/Mobs don't take damages NpcAttackable = False < Provavelmente vc colocou False onde estar de Vermelho, então ( Mude para True ) ai os mob vai morrer . # Npc List Invul eg. 51,90,... InvulNpcList=93000 # If True ActiveChar will not be able to Attack the Listed Npc Types. DisableAttackToNpcs = False < Aqui onde estar de vermelho mude para True si quiser que os players não ataque os Npcs # List of NPC's that allow casting skills on them # Any other type will not allow casting AllowedNPCTypes = L2GrandBoss,L2Chest,L2FestivalMonster,L2Minion,L2Monster,L2Pet,L2RaidBoss,L2SiegeGuard,L2SiegeNpc,L2ControlTower,L2Artefact,L2PenaltyMonster,L2FeedableBeast,L2SiegeFlag,L2RiftInvader,L2Guard,L2GuardNoHTML
  6. H4RD3C0R3

    COMO FASER?

    ok entendi ! irei testar i posto o resultado ....
  7. H4RD3C0R3

    COMO FASER?

    Na espera.. vlw mais alguem pode min ajudar? iaew L2-Windows?
  8. H4RD3C0R3

    COMO FASER?

    eis a questão amigo , eu nao tenho o potion pronto só pra add, eu quero faser ele ou pegar algum items la i editar , sera possivel ? i pelo core como faso?
  9. H4RD3C0R3

    COMO FASER?

    pra qual id eu quero oq ? Não entendi, mais eu quero criar um potion que da status , i que eu possa escolher o tempo que ele vai durar ! pode ajudar?
  10. H4RD3C0R3

    COMO FASER?

    Ainda não consegui ! tem um tutorial não ? pois ainda não consegui decifrar isso , tipo eu vo la em Etcitem no navicat i encontro o id 1539, ok tudo bem eu encontrei ai vo no final i crio um item com o id que eu quero ( i que esteja disponivel ) certo ? .. ai vou em \gameserver\data\stats\skills no arquivo 2100-2199.xml procuro o skil 2037 i duplico ele i mudo a id pra qual ? isso que nao to entendendo , tipo qual a ligação com vai ter com a sql ? alguem sabe de algum tutorial ou encina como fazer?
  11. H4RD3C0R3

    COMO FASER?

    Como faser um potion pra da status? i que fique dure o tempo que eu quiser ? Tipo: um item que eu cliko como si fose mana i ele da um buf i da status? i que dure por exemplo: 1 hora Obrigado a todos que poder min da esse help !
  12. Amigo vc tem que aprender a configurar o html i as multisell do seu servidor. isso ae é ids de multisell errado na html.
  13. Vá até o diretório: Game Server / Config / Head. Arquivo: Rates. Nessas linhas. # Herb of Power, Herb of Magic, Herb of Atk. Spd., Herb of Casting Spd., Herb of Critical Attack, Herb of Speed RateCommonHerbs = 00.00 # Herb of Life, Herb of Mana RateHpMpHerbs = 00.00 # Greater herb of Life, Greater Herb of Mana RateGreaterHerbs = 0.00 # Superior Herb of Life, Superior Herb of Mana RateSuperiorHerbs = 0.0 # Herb of Warrior, Herb of Mystic, Herb of Recovery RateSpecialHerbs = 0.0 Nas linhas marcados em AZUL, deixe 0 e o drop de HERBS estará eliminado do servidor.
  14. Poderia disponibilizar o .psc do nome ''Ayka interlud private server'' ???
  15. H4RD3C0R3

    REV COMPLETA ?

    Bom velho Eu sempre pegei rev pre - configurada aki ( que de fato são execeletes projetos ) colocava on i tal.. i esperava a bomba explodir ( aparecer um erro em java ou sei la... ) e não ter capacidade de arrumar ! i fexar o servidor Etc.. Então resolvi aprofundar i ampliar meus conhecimentos em java , até por que faso Faculdade de ADS, i uma hora vou ter que meter a mão na massa :biggrin: ! Começar do 0 , add um mod , compliar uma rev, poder add proteções, eventos mais bacanas... pra min foi um grande avanço. ( Agora q tenho dias sem dormi parece muito muito facil kkkk ) i outra: '' quem nao senta para aprender jamais ficara de pé para ensinar '' vlw cara, abraço i boa sorte na luta ae..
  16. vc deve ta escrevendo algo errado ae! Verifique se há erros de ortofrafia ou tente usar o endereço IP ou o FQDN do seu host.
  17. caso vc não tenha a SVN do seu projeto i não souber compilar não tem como!
  18. H4RD3C0R3

    MOB MONAS !

    Grande: Tayran.JavaDev Obrigado mais uma vez i agora deu certo ! Já add i compilei ,testei i ta 100%, Vlw ae
  19. H4RD3C0R3

    MOB MONAS !

    si liga na string toda ! /* * L2jFrozen Project - www.l2jfrozen.com * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <[Hidden Content];. */ package com.l2jfrozen.gameserver.ai.special; import java.util.Collection; import javolution.util.FastList; import com.l2jfrozen.gameserver.ai.CtrlIntention; import com.l2jfrozen.gameserver.datatables.SkillTable; import com.l2jfrozen.gameserver.model.L2Attackable; import com.l2jfrozen.gameserver.model.L2Character; import com.l2jfrozen.gameserver.model.L2Object; import com.l2jfrozen.gameserver.model.L2Skill; import com.l2jfrozen.gameserver.model.L2Skill.SkillType; import com.l2jfrozen.gameserver.model.L2Summon; import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PetInstance; import com.l2jfrozen.gameserver.model.actor.instance.L2PlayableInstance; import com.l2jfrozen.gameserver.model.quest.Quest; import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay; import com.l2jfrozen.gameserver.util.Util; import com.l2jfrozen.util.random.Rnd; public class Monastery extends Quest implements Runnable { static final int[] mobs1 = { 22124, 22125, 22126, 22127, 22129 }; static final int[] mobs2 = { 22134, 22135 }; // TODO: npcstring static final String[] text = { "", "", "" }; public Monastery(final int questId, final String name, final String descr) { super(questId, name, descr); registerMobs(mobs1, QuestEventType.ON_AGGRO_RANGE_ENTER, QuestEventType.ON_SPAWN, QuestEventType.ON_SPELL_FINISHED); registerMobs(mobs2, QuestEventType.ON_SPELL_FINISHED); } @Override public String onAggroRangeEnter(final L2NpcInstance npc, final L2PcInstance player, final boolean isPet) { if (Util.contains(mobs1, npc.getNpcId()) && !npc.isInCombat() && npc.getTarget() == null) { if (player.getActiveWeaponInstance() != null && !player.isSilentMoving()) { npc.setTarget(player); npc.broadcastPacket(new CreatureSay(npc.getObjectId(), 0, npc.getName(), text[0])); switch (npc.getNpcId()) { case 22124: case 22126: { final L2Skill skill = SkillTable.getInstance().getInfo(4589, 8); npc.doCast(skill); break; } default: { npc.setIsRunning(true); ((L2Attackable) npc).addDamageHate(player, 0, 999); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); break; } } } else if (((L2Attackable) npc).getMostHated() == null) return null; } return super.onAggroRangeEnter(npc, player, isPet); } @Override public String onSpawn(final L2NpcInstance npc) { if (Util.contains(mobs1, npc.getNpcId())) { final FastList<L2PlayableInstance> result = new FastList<>(); final Collection<L2Object> objs = npc.getKnownList().getKnownObjects().values(); for (final L2Object obj : objs) { if (obj instanceof L2PcInstance || obj instanceof L2PetInstance) { if (Util.checkIfInRange(npc.getAggroRange(), npc, obj, true) && !((L2Character) obj).isDead()) result.add((L2PlayableInstance) obj); } } if (!result.isEmpty() && result.size() != 0) { final Object[] characters = result.toArray(); for (final Object obj : characters) { final L2PlayableInstance target = (L2PlayableInstance) (obj instanceof L2PcInstance ? obj : ((L2Summon) obj).getOwner()); if (target.getActiveWeaponInstance() == null || (target instanceof L2PcInstance && ((L2PcInstance) target).isSilentMoving()) || (target instanceof L2Summon && ((L2Summon) target).getOwner().isSilentMoving())) { continue; } if (target.getActiveWeaponInstance() != null && !npc.isInCombat() && npc.getTarget() == null) { npc.setTarget(target); npc.broadcastPacket(new CreatureSay(npc.getObjectId(), 0, npc.getName(), text[0])); switch (npc.getNpcId()) { case 22124: case 22126: case 22127: { final L2Skill skill = SkillTable.getInstance().getInfo(4589, 8); npc.doCast(skill); break; } default: { npc.setIsRunning(true); ((L2Attackable) npc).addDamageHate(target, 0, 999); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, target); break; } } } } } } return super.onSpawn(npc); } @Override public String onSpellFinished(final L2NpcInstance npc, final L2PcInstance player, final L2Skill skill) { if (Util.contains(mobs1, npc.getNpcId()) && skill.getId() == 4589) { npc.setIsRunning(true); ((L2Attackable) npc).addDamageHate(player, 0, 999); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); } if (Util.contains(mobs2, npc.getNpcId())) { if (skill.getSkillType() == SkillType.AGGDAMAGE) { npc.broadcastPacket(new CreatureSay(npc.getObjectId(), 0, npc.getName(), text[Rnd.get(2) + 1].replace("name", player.getName()))); ((L2Attackable) npc).addDamageHate(player, 0, 999); npc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player); } } return super.onSpellFinished(npc, player, skill); } @Override public void run() { } }
  20. H4RD3C0R3

    MOB MONAS !

    Sim meu jovem ! eu tenho a SVN totalmente editada por min tenho acesso a tudo , sei que é no arquivo ' Monastery.java '. Mais onde que desabilito isso? static final String[] text = { "You cannot carry a weapon without authorization!", Etc... Já removi 'Apagei' a mensagen i deixei as aspas ( " ) mais ele continua conversando , nao aparece a mensagen mais aparece:
  21. H4RD3C0R3

    MOB MONAS !

    Disso eu sei ! quero saber onde tiro isso!
  22. H4RD3C0R3

    MOB MONAS !

    Aonde i como retiro essa " Fala dos mob de monastery ? " Obrigado a todos que poder min ajudar !
  23. Ummm... Legal ! Queria isso mesmo , não irei ultilizar Customs.. Apenas queria um npc Classico i bem organizado que continha as Multisel, baixei i editei a meu gosto já ! Vlw !! Aproposito. Belo trabalho, Parabéns.. !!
  24. H4RD3C0R3

    REV COMPLETA ?

    Tayran.JavaDev Muito obrigado pela força ! consegui compilar ( Aprendi ^^) ja até add um mod de Anouncerments: quando o Hero Loga, pra min foi uma grande conquista ( apesar de tar desde ontem sem dormi , lendo i assistindo tutoriasi rsrs.... ) conseguir add o seguinte mod: e já até testei i ta funcionando perfeitamente ! Dé uma olhadinha ^^ Graças a sua ajuda, e um trabalho duro com dedicação. vlw !
×
×
  • 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.