Ir para conteúdo
  • Cadastre-se

L2JNetwork rev31 + Source


Dwbryel

Posts recomendados

Venho trazer algo bem legal para vocês, já tenho aqui a algum tempo, mas resolvi compartilhar =3

Atualmente a rev FREE deles é a 17, então acho que não deve haver tanto problema em postar essa =3

A atual é a 28.

 

Vamos aos FixList

 

Revision 2 [6/1/2017]

 

 

 

  • NEWBIES HELPER NPC [sTARTING SYSTEM] --> Watch Me
  • BAKING SYSTEM
  • FLAG ZONES ON RB [CONFIG]
  • ANNOUNCE RB SPAWN [CONFIG]
  • OLYMPIAD PERIOD [CONFIG WEEKS]
  • ANNOUNCE HOW MUCH DAYS LEFT FOR NEW HEROES
  • WELCOME PM
  • RAKING NPC
    and some errors/mistakes..

 

 

 

Revision 3 [13/1/2017]

 

 

 

  • Missing Multisells.
  • Fixed < New players spawn > on the water.
  • Fixed Nurse now can heal QA Boss.
  • Fixed mistakes on Newbies Helper Manager.
  • Removed color name for new characters.
  • Special Effect in npcs.
  • Augments stats on passives skills.
  • New htmls on npcs. Thanks to [protoftw]
  • NPC Services. [Change password, get Nobless, Change your name, change your class and etc].
  • Added new config file. Options:
  • 1. Party teleporter items/amount.
  • 2. Services Npc items/amount.
  • 3. Clan Manager items/amount.
  • Added Password Changer.
  • You can get Noble status by killing Barakiel without Quest.

 

 

 

 

Revision 4/5 [23/1/2017]

 

 


Bugs Fixes:

  • Multisell Bug Fixed
  • Trade Check in Combat(if player is in combat cant trade anyone now)
  • Adena visual double icon (Fixed)

    Olympiad:
  • Added acumen buff
  • Ranks Update Every Day
  • reuse skills after match Skills over 15min timer
  • fixed messages when players is registered

    Misc:
  • Sieges Now Is Configurable (Siege.properties)
  • Antibow/AntiHeavy Protection Added
  • Config to allow players to teleport into Boss Zones Without Quest
  • Community Board Repair (Clean up And Fixed Bypass)
  • Ranking Manager Clean Up
  • Added Custom Spawnlist In database_installer.sh
  • Height on special npcs.
  • Mistake on RB Spawn Manager.
  • Removed Auto Pots [CP/MP/HP].

 

 

 

 

Revision 6 [26/1/2017]

 

 

 

  • Newbies NPC - Level Up Button fixed. [Now works for any level but not for subclass].
  • Syntax configs fixed.
  • Added Starting system. [Zones preview]
  • Added Infinity SS/Arrow. [1 SS/BSS/ARROW]
  • Karma/Flag player can not use buffer. [With config].
  • Removed some useless lines/methods.
  • Starting Items Fixed.
  • Pvp reward items Fixed.
  • Added/Removed some things for TvT Event.
    - Root & Root effect [until fight start]
    - Players is sitting [until fight start]
    - Fixed Syntax errors with Reward.

 

 

 

 

 

Revision [10 14/2/2017]

 

 

 

  • AIO System (+ time)
    You can give them AIO status from admin command and from item.
  • VIP System (+ time)
    You can give them AIO status from admin command and from item.
  • Starting system fixed
    If players close the window and make restart/exit game, system will restore the previous checkpoint.
  • Pets attack fixed
  • Donate Multi Shop. [Watch]
    What's inside?
    • Noblesse Status
    • Level up your clan
    • Add x Reputation score
    • Get full clan skills
    • Augment Skills Lv10. [Active/Passive]
    • Clean x Pk Kills
    • Change your sex
    • Change your password
    • Get full Recomments
    • Siege Register
      Register your clan for sieges.
    • Change your name color.
      Green, Blue, Purple, Yellow, Gold
    • Change your character name
    • Enchant your items to max
    • Party Teleport
      Go to your party member.
      Teleport Restrictions:
    • Sieges, Olympiad, Events, Party Rift, jail, Duel, ObserverMode(oly), Non-Party members.
  • Cleaned many methods/lines.
  • Pvp/pk player can not use Buffer/Teleport
  • Q386_StolenDignity & updated Q384_WarehouseKeepersPastime
  • Saga's Quests
    Thanks to Scrapy for quests.

 

 

 

 

Revision 11 [19/2/2017]

 

 

 

  • Added forgotten HTML folder for bot prevedion.
  • Added Grady Penalty with config.
  • Removed some aggro and clan from monsters on MOS.
  • Removed Anti-Buff shield from characters. [Works with Enabled/Disabled on .menu]
  • Fixed Flagzone. Now flag stay after hit inside of zone. [it is not in diff file. Will be fixed by adding the new l2jserver.jar]
  • Added Primeval Island as pvp zone. [it is not in diff file. Just copy/paste our Flagzone.xml from data/xml/zones]
  • Added time for new players Fireworks.
  • Disarm the main armor after Subclass.
  • Added Max enchant for Weapon/Armor with Crystal Scrolls.

 

 

 

 

Revision 12/13/14/15 [23/2/2017]

 

 

 

  • Skipping_items works fine now.
    You can add Item Ids to remove it from any mob droplist.
  • Removed heavy armors for archers/daggers in Startup System.
    Archers/Daggers can not see anymore heavy armors in startup.
  • Removed the bug on Multi Shop. (If you got color, after restart player will lost again the price of Donate Coins).
  • From now olympiad period ends every 1st and 15th day of month.
  • Changed the Olympiad announce. Now you will get the info with other way onEnter.
    Added a new style of info.
  • Added reminder message for votes.
    Player will get Pm to remind him to vote.
  • Added new XML file with all GrandBosses inside.
    All GrandBosses in this XML file are in they original spawn.
  • Added all GrandBosses to original they spawn location.
    I removed the old GrandBosses.Now you can find all GrandBosses in original location.
    Also, New GrandBosses are with type <L2RaidBoss> and now the players will get Announce for every respawn.
  • Respawn time of GrandBosses 72Hours+24Hours Random respawn.
    You can change the time as you wish. [Navicat --> raidboss_spawnlist table]
  • Barakiel's noblesse status fixed.
  • Reworked sieges.
  • Now the doors in TvT Event are closed.
  • Reworked Boss Status Manager.
    Removed GrandBoss List from npc.
  • Added new command [ .epic ] You can see the status of GrandBoss.
    Players can see the status of grandbosses. If are alive or dead.
  • Fixed the problem with subclasses height problem.
  • Added Geodata link. Now you will run your server with ready Geodata files.
  • Cleaned our customs mods. (Better writing style).
  • Deleded/Added some info on Augmentions HTML.
  • Fixed some problems on moving around.
    (Somehow if you make much clicks on moving, you will stuck).
  • Removed some useless multisell.
  • Fixed the "warning" about BadReuestBypassToServer when you add/change subclass.
  • Added Disarm weapons & main part of armor when you add/change subclass.
     
  • Boss Status NPC
  • fdfDDPx.jpg
  • GrandBoss Status [ .epic ] command
    v6bXVpQ.jpg

 

 

 

Revision 16 [2/3/2017]

 

 

 

  • Clean up configs.
  • Reworked Multi Shop
  • Removed D/C Grade check for Enchants on Multi Shop
  • Reworked Buffer.
    Added hitTime on buff effects & message info for every buff
  • Reworked gameserver console.
  • Added Olympaid Info on Gameserver console.
  • Added forgotten lines on SiegeManager.
  • Added NPCs style like characters.
  • Added PvP Info in Die.
    Show enemy's CP/HP.
  • Removed check for /unstuck & SOE on GrandBoss zone.
  • Fixed some problems with Augments on Multi Shop.

 

 

 

 

Revision 17 [5/3/2017]

 

 

 

  • Offlineshop problems with save.
  • Sieges forgotten lines about the date.
  • The freezing of Fake NPCs.
    Now can move, make actions etc.
  • Added respawn location after death.
    Please check the spawnlist.sql of Diff file to know what you have to do in if you do not install new database.
    You can find it in config/customs/customs.proeprties
  • Added spawn location for /unstuck SOE/BSOE
    You can find it in config/customs/customs.proeprties
  • Added some respawn delay for mobs.
  • Some problems with Duel. (added some checks etc)
  • Forgotten HTML for MultiShop.
  • Added teleport to Clan members in MultiShop.

 

 

 

 

 

Revision 18/19 [11/3/2017]

 

 

 

  • First of all, we update the project to aCis 360 cause after the fight on maxcheaters, they said lies like "we already had acis 360 rev inside".. So, these lies now are truths.
  • Enchants has been moved to xml part.
    You will find the new enchants on folder < data/xml/enchants/Enchants.xml >
  • Startup fixes/add:
    Fixed the mistake when players make restart, he can see again the heavy armors(for light classes).
    From now, Archers/Daggers they can see only Dagger/Bow weapon. Tnx to Celestine for idea.
    Some rework on preview mode. (Removed useless lines).
  • Multi Shop Manager:
    Added chnage base class. Now you can change yoru main class. [More like test mod for any bugs].
    Removed all the prices of donate coins and moved to configs. Now you can change the price from configs.
    Removed the same check for Donate Coin. [Now there is only 1 item for all of actions]
  • Players cannot change/add subclass while is in flag mode.
  • New droplist view design for mobs.
    Works with target on mob and type .drop
  • Fixed Day/Night spawn mobs after restart. Thanks to RuLLez
  • Changed some NPC to Fake Player style.

 

 

 

 

 

Revision 20 [2/4/2017]

 

 

 

  • Include aCis revision 362
  • TvT Event configs moved from event.properties to customs/configs/tvt.properties.
    In case of your changes, just get your old lines of events.properties and paste it in tvt.properties
  • Startup changes:
    Removed SpecialCamera from observer.
    Dark Crystal Heavy removed from heavy armors list.
  • Players in combat cannot change/add subclass.
  • Disarm weapons on add/change subclass & on 3rd class on classmaster.
    Now daggers/archers players can not equip heavy armor with second class because the weapon will be disarm in 3rd class. [it was a bug]
  • Fixed TvT Event errors in every restart/shutdown of server.
  • Reworked FlagZone.
    Now players can not loose pvpflag inside of pvpzone when they use party/clan buffs/cp. Let me know if the problem Isn't fix.
  • Fixed Overpower of Frenzy skill.
  • Cleanup some methods with less lines.
  • Fixed the stuck on stairs when you move your player with fast clicks. [Not always a problem. But It was a problem].

 

 

 

 

 

Revision 21 [14/4/2017]

 

 

 

  • Fixed Bug trade.
  • Added Hero & Castle Lord announce.
    Announce the player name for hero or Castle lord on login.
  • PvP/Pk Title Prefix.
    Title with count of pvp/pk. Ex: [50] | [50]
  • Added Pin Code.
    If the player choose to secure his character, then for every login the system will ask for the Pin code.
  • Auction Shop.
    Players can sell Items with adena in NPC.
  • Olympiad Protection.
    For players with same IP, every battle will be Tie.
  • PvP Change Zone.
    A random pvp change zone with every x time.
  • Cleanup Anti Bow system.

 

 

 

 

Revision 22 [22/4/2017]

 

 

 

  • Frintezza.
    Added Frintezza script.
  • VIP/AIO system
    Reworked the vip/aio character and added some restrictions in the town.
  • Adena
    Adena config for new characters moved to StartingItems on customs.properties.
    StartingItems = 728,20;1539,20;736,20;57,50000000;
  • Buffer
    added some missing skills.
  • Pin Code
    Fixed some mistakes on player enter..
    (I forgot to check the player actions).
  • Bug double shot on archers fixed.
  • Configs
    Cleanup all custom configs. [better organization]
  • MultiManager
    Cleanup some useless lines.
  • Bot Protection
    Fixed the teleport back to town if the player miss the correct color.

 

 

 

https://www.youtube.com/watch?v=vywZdnt_MPU

 

 

 

Créditos: L2JNetwork

 

DOWNLOAD SOURCE REV 31: MEDIAFIRE by hardnos
MEGA by Brhu3

Rev 22 ( OLD ) 

 

 

DOWNLOAD REV22: MEGA 

 

DOWNLOAD GEODATA: MEGA

DOWNLOAD PATCHFILES: MEGA

 

// 

 

Source Revisão 28: https://mega.nz/#!fIAEhazZ!wIdaVMoJ8PR1YLnkFmK2CTYJBnTXar-6k0Zi0BWFRCg

Revisão copilada 28: https://mega.nz/#!edxRmRZb!c6yo-hTY8wvSw6DOlsAnWoq2LRggb9EjHBu5pA-vBBE

Patch de arquivos : https://mega.nz/#!GYhjFDxQ!ZsBa16E49LFtlpgjYF-kmQK8yZyXUloEOv1nMOwrGyM

Obrigado SaYmOn Cordeiro

Editado por Dwbryel
  • Gostei 14
  • Obrigado 1

XD

Link para o comentário
Compartilhar em outros sites


Lindo servidor, eu ate usaria aCis por causa desse post

mais se até hoje to aprendendo na Frozen imagina Migra :kkk:

E esse mod de trocar Classe, ah como eu queria esse mod pra frozen, acho que seria a ultima coisa pro meu servidor ficar pronto =D

Lineage 2 Lords

Link para o comentário
Compartilhar em outros sites

Lindo servidor, eu ate usaria aCis por causa desse post

mais se até hoje to aprendendo na Frozen imagina Migra :kkk:

E esse mod de trocar Classe, ah como eu queria esse mod pra frozen, acho que seria a ultima coisa pro meu servidor ficar pronto =D

Tenta retirar e ve quais erros vai aparecer e posta que vai ter alguém que irá te da uma ajuda

Link para o comentário
Compartilhar em outros sites

Atualizei o Post com o GeoData e o PatchFiles da REV17. Já que não recebi da 22, então só testarem ai :)

 

Ta instavel pra um servidor online ?

a pergunta não deveria ser "está estável pra por online?"

enfim, já vi alguns servidores PVP durando algum tempo online, usando a rev11, então acredito que não deve haver muitos problemas.

 

 

Faltando as texturas das html poderia mandar ela e a system os npcs tão todos coelhos '-' tbm não achei config de time buffs.

atualizei o post, veja se funciona com o PatchFiles postado.

XD

Link para o comentário
Compartilhar em outros sites

Obrigada desculpe os erros de português !!

Teria que adicioar o tempo dos buffs manualmente na skills ? não tem a config Tbm está sem os limites de atakspeed critical speed e etc :c

provavelmente vai ter que editar um por um... também não achei...

XD

Link para o comentário
Compartilhar em outros sites

  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.






  • Patrocinadores

  • Quem Está Navegando

    • Nenhum usuário registrado visualizando esta página.
  • Posts

    • Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?     Teria como fazer do dusk shield e do zombie shield dessa maneira?    
    • muchas gracias muy lindos NPC 🙂
    • relaxa jovem gafanhoto, testa as quests. e posTa os erros indesejaveis.  
    • Se alguém pudesse me ensinar como codificar as missões, eu ficaria feliz em fazer isso sozinho ou pelo menos ajudar. Eu realmente quero jogar em um servidor onde todas as quests funcionem bem e melhor ainda se você puder fazer quests customizadas!
    • mas no interlude, nem todas as quests de class,  vai mostrar onde tem que ir, ate o reborn nao mostrava quando era interlude, só mostrou depois que eles colocaram client classic pra rodar, e ficou melhor ainda quando virou hellbound em diante, mas ha sim alguma chance de modificar isso direto no script para fazer igualmente, só basta te um pouco de paciencia e persistencia exato
    • 408_PathToElvenwizard dá Orion eu tive que mexer tbm, até modifiquei e consegui deixar ela igual do Classic, com a seta e a marcação no mapa. (não retail IL) Dá pra importar py de várias revs, o foda é que não da regular as quest py através do debug em tempo real, pelo menos eu não consegui rsrs
    • Hasta el momento todas las QUESTS son completables si te guias con un tutorial de youtube. El problema es que tienen bugs de locacion y de subquests que no avanzan o no te marcan correctamente a donde ir en el mapa, cosa que en Retail si se ve como corresponde.
    • estranho, mas pelo menos a galera nunca reclamo das quests quando tinha aberto 5x, geral fez class primeira e segunda job, poucos que compraram a class
    • en RUSaCis-3.5 data pack, las Quests estan en formato .java y son diferentes a como estan redactadas en jOrion y jFrozen 1.5 (ProyectX) package net.sf.l2j.gameserver.scripting.quest; import net.sf.l2j.commons.random.Rnd; import net.sf.l2j.gameserver.enums.Paperdoll; import net.sf.l2j.gameserver.enums.QuestStatus; import net.sf.l2j.gameserver.enums.actors.ClassId; import net.sf.l2j.gameserver.model.actor.Creature; import net.sf.l2j.gameserver.model.actor.Npc; import net.sf.l2j.gameserver.model.actor.Player; import net.sf.l2j.gameserver.network.serverpackets.SocialAction; import net.sf.l2j.gameserver.scripting.QuestState; public class Q224_TestOfSagittarius extends SecondClassQuest { private static final String QUEST_NAME = "Q224_TestOfSagittarius"; // Items private static final int BERNARD_INTRODUCTION = 3294; private static final int HAMIL_LETTER_1 = 3295; private static final int HAMIL_LETTER_2 = 3296; private static final int HAMIL_LETTER_3 = 3297; private static final int HUNTER_RUNE_1 = 3298; private static final int HUNTER_RUNE_2 = 3299; private static final int TALISMAN_OF_KADESH = 3300; private static final int TALISMAN_OF_SNAKE = 3301; private static final int MITHRIL_CLIP = 3302; private static final int STAKATO_CHITIN = 3303; private static final int REINFORCED_BOWSTRING = 3304; private static final int MANASHEN_HORN = 3305; private static final int BLOOD_OF_LIZARDMAN = 3306; private static final int CRESCENT_MOON_BOW = 3028; private static final int WOODEN_ARROW = 17; // Rewards private static final int MARK_OF_SAGITTARIUS = 3293; // NPCs private static final int BERNARD = 30702; private static final int HAMIL = 30626; private static final int SIR_ARON_TANFORD = 30653; private static final int VOKIAN = 30514; private static final int GAUEN = 30717; // Monsters private static final int ANT = 20079; private static final int ANT_CAPTAIN = 20080; private static final int ANT_OVERSEER = 20081; private static final int ANT_RECRUIT = 20082; private static final int ANT_PATROL = 20084; private static final int ANT_GUARD = 20086; private static final int NOBLE_ANT = 20089; private static final int NOBLE_ANT_LEADER = 20090; private static final int BREKA_ORC_SHAMAN = 20269; private static final int BREKA_ORC_OVERLORD = 20270; private static final int MARSH_STAKATO_WORKER = 20230; private static final int MARSH_STAKATO_SOLDIER = 20232; private static final int MARSH_STAKATO_DRONE = 20234; private static final int MARSH_SPIDER = 20233; private static final int ROAD_SCAVENGER = 20551; private static final int MANASHEN_GARGOYLE = 20563; private static final int LETO_LIZARDMAN = 20577; private static final int LETO_LIZARDMAN_ARCHER = 20578; private static final int LETO_LIZARDMAN_SOLDIER = 20579; private static final int LETO_LIZARDMAN_WARRIOR = 20580; private static final int LETO_LIZARDMAN_SHAMAN = 20581; private static final int LETO_LIZARDMAN_OVERLORD = 20582; private static final int SERPENT_DEMON_KADESH = 27090; public Q224_TestOfSagittarius() { super(224, "Test Of Sagittarius"); setItemsIds(BERNARD_INTRODUCTION, HAMIL_LETTER_1, HAMIL_LETTER_2, HAMIL_LETTER_3, HUNTER_RUNE_1, HUNTER_RUNE_2, TALISMAN_OF_KADESH, TALISMAN_OF_SNAKE, MITHRIL_CLIP, STAKATO_CHITIN, REINFORCED_BOWSTRING, MANASHEN_HORN, BLOOD_OF_LIZARDMAN, CRESCENT_MOON_BOW); addQuestStart(BERNARD); addTalkId(BERNARD, HAMIL, SIR_ARON_TANFORD, VOKIAN, GAUEN); addMyDying(ANT, ANT_CAPTAIN, ANT_OVERSEER, ANT_RECRUIT, ANT_PATROL, ANT_GUARD, NOBLE_ANT, NOBLE_ANT_LEADER, BREKA_ORC_SHAMAN, BREKA_ORC_OVERLORD, MARSH_STAKATO_WORKER, MARSH_STAKATO_SOLDIER, MARSH_STAKATO_DRONE, MARSH_SPIDER, ROAD_SCAVENGER, MANASHEN_GARGOYLE, LETO_LIZARDMAN, LETO_LIZARDMAN_ARCHER, LETO_LIZARDMAN_SOLDIER, LETO_LIZARDMAN_WARRIOR, LETO_LIZARDMAN_SHAMAN, LETO_LIZARDMAN_OVERLORD, SERPENT_DEMON_KADESH); } @Override public String onAdvEvent(String event, Npc npc, Player player) { String htmltext = event; QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; // BERNARD if (event.equalsIgnoreCase("30702-04.htm")) { st.setState(QuestStatus.STARTED); st.setCond(1); playSound(player, SOUND_ACCEPT); giveItems(player, BERNARD_INTRODUCTION, 1); if (giveDimensionalDiamonds39(player)) htmltext = "30702-04a.htm"; } // HAMIL else if (event.equalsIgnoreCase("30626-03.htm")) { st.setCond(2); playSound(player, SOUND_MIDDLE); takeItems(player, BERNARD_INTRODUCTION, 1); giveItems(player, HAMIL_LETTER_1, 1); } else if (event.equalsIgnoreCase("30626-07.htm")) { st.setCond(5); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_1, 10); giveItems(player, HAMIL_LETTER_2, 1); } // SIR_ARON_TANFORD else if (event.equalsIgnoreCase("30653-02.htm")) { st.setCond(3); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_1, 1); } // VOKIAN else if (event.equalsIgnoreCase("30514-02.htm")) { st.setCond(6); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_2, 1); } return htmltext; } @Override public String onTalk(Npc npc, Player player) { String htmltext = getNoQuestMsg(); QuestState st = player.getQuestList().getQuestState(QUEST_NAME); if (st == null) return htmltext; switch (st.getState()) { case CREATED: if (player.getClassId() != ClassId.ROGUE && player.getClassId() != ClassId.ELVEN_SCOUT && player.getClassId() != ClassId.ASSASSIN) htmltext = "30702-02.htm"; else if (player.getStatus().getLevel() < 39) htmltext = "30702-01.htm"; else htmltext = "30702-03.htm"; break; case STARTED: int cond = st.getCond(); switch (npc.getNpcId()) { case BERNARD: htmltext = "30702-05.htm"; break; case HAMIL: if (cond == 1) htmltext = "30626-01.htm"; else if (cond == 2 || cond == 3) htmltext = "30626-04.htm"; else if (cond == 4) htmltext = "30626-05.htm"; else if (cond > 4 && cond < 8) htmltext = "30626-08.htm"; else if (cond == 8) { htmltext = "30626-09.htm"; st.setCond(9); playSound(player, SOUND_MIDDLE); takeItems(player, HUNTER_RUNE_2, 10); giveItems(player, HAMIL_LETTER_3, 1); } else if (cond > 8 && cond < 12) htmltext = "30626-10.htm"; else if (cond == 12) { htmltext = "30626-11.htm"; st.setCond(13); playSound(player, SOUND_MIDDLE); } else if (cond == 13) htmltext = "30626-12.htm"; else if (cond == 14) { htmltext = "30626-13.htm"; takeItems(player, BLOOD_OF_LIZARDMAN, -1); takeItems(player, CRESCENT_MOON_BOW, 1); takeItems(player, TALISMAN_OF_KADESH, 1); giveItems(player, MARK_OF_SAGITTARIUS, 1); rewardExpAndSp(player, 54726, 20250); player.broadcastPacket(new SocialAction(player, 3)); playSound(player, SOUND_FINISH); st.exitQuest(false); } break; case SIR_ARON_TANFORD: if (cond == 2) htmltext = "30653-01.htm"; else if (cond > 2) htmltext = "30653-03.htm"; break; case VOKIAN: if (cond == 5) htmltext = "30514-01.htm"; else if (cond == 6) htmltext = "30514-03.htm"; else if (cond == 7) { htmltext = "30514-04.htm"; st.setCond(8); playSound(player, SOUND_MIDDLE); takeItems(player, TALISMAN_OF_SNAKE, 1); } else if (cond > 7) htmltext = "30514-05.htm"; break; case GAUEN: if (cond == 9) { htmltext = "30717-01.htm"; st.setCond(10); playSound(player, SOUND_MIDDLE); takeItems(player, HAMIL_LETTER_3, 1); } else if (cond == 10) htmltext = "30717-03.htm"; else if (cond == 11) { htmltext = "30717-02.htm"; st.setCond(12); playSound(player, SOUND_MIDDLE); takeItems(player, MANASHEN_HORN, 1); takeItems(player, MITHRIL_CLIP, 1); takeItems(player, REINFORCED_BOWSTRING, 1); takeItems(player, STAKATO_CHITIN, 1); giveItems(player, CRESCENT_MOON_BOW, 1); giveItems(player, WOODEN_ARROW, 10); } else if (cond > 11) htmltext = "30717-04.htm"; break; } break; case COMPLETED: htmltext = getAlreadyCompletedMsg(); break; } return htmltext; } @Override public void onMyDying(Npc npc, Creature killer) { final Player player = killer.getActingPlayer(); final QuestState st = checkPlayerState(player, npc, QuestStatus.STARTED); if (st == null) return; switch (npc.getNpcId()) { case ANT: case ANT_CAPTAIN: case ANT_OVERSEER: case ANT_RECRUIT: case ANT_PATROL: case ANT_GUARD: case NOBLE_ANT: case NOBLE_ANT_LEADER: if (st.getCond() == 3 && dropItems(player, HUNTER_RUNE_1, 1, 10, 500000)) st.setCond(4); break; case BREKA_ORC_SHAMAN: case BREKA_ORC_OVERLORD: if (st.getCond() == 6 && dropItems(player, HUNTER_RUNE_2, 1, 10, 500000)) { st.setCond(7); giveItems(player, TALISMAN_OF_SNAKE, 1); } break; case MARSH_STAKATO_WORKER: case MARSH_STAKATO_SOLDIER: case MARSH_STAKATO_DRONE: if (st.getCond() == 10 && dropItems(player, STAKATO_CHITIN, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, REINFORCED_BOWSTRING)) st.setCond(11); break; case MARSH_SPIDER: if (st.getCond() == 10 && dropItems(player, REINFORCED_BOWSTRING, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case ROAD_SCAVENGER: if (st.getCond() == 10 && dropItems(player, MITHRIL_CLIP, 1, 1, 100000) && player.getInventory().hasItems(MANASHEN_HORN, REINFORCED_BOWSTRING, STAKATO_CHITIN)) st.setCond(11); break; case MANASHEN_GARGOYLE: if (st.getCond() == 10 && dropItems(player, MANASHEN_HORN, 1, 1, 100000) && player.getInventory().hasItems(REINFORCED_BOWSTRING, MITHRIL_CLIP, STAKATO_CHITIN)) st.setCond(11); break; case LETO_LIZARDMAN: case LETO_LIZARDMAN_ARCHER: case LETO_LIZARDMAN_SOLDIER: case LETO_LIZARDMAN_WARRIOR: case LETO_LIZARDMAN_SHAMAN: case LETO_LIZARDMAN_OVERLORD: if (st.getCond() == 13) { if (((player.getInventory().getItemCount(BLOOD_OF_LIZARDMAN) - 120) * 5) > Rnd.get(100)) { playSound(player, SOUND_BEFORE_BATTLE); takeItems(player, BLOOD_OF_LIZARDMAN, -1); addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } else dropItemsAlways(player, BLOOD_OF_LIZARDMAN, 1, 0); } break; case SERPENT_DEMON_KADESH: if (st.getCond() == 13) { if (player.getInventory().getItemIdFrom(Paperdoll.RHAND) == CRESCENT_MOON_BOW) { st.setCond(14); playSound(player, SOUND_MIDDLE); giveItems(player, TALISMAN_OF_KADESH, 1); } else addSpawn(SERPENT_DEMON_KADESH, player, false, 300000, true); } break; } } }  
×
×
  • 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.