Ir para conteúdo
  • Cadastre-se

Posts recomendados

L2jOrion, Interlude C6

L2jOrion Updates List: --> https://www.l2jorion.com/index.php?/forum/21-updates/

Programas necessários para self-dev ou ajudar o projeto Orion:

Java 8 -> BELLSOFT Liberica JDK: DOWNLOAD
Eclipse for Java 8 -> Eclipse 4.16 for JAVA 8: DOWNLOAD
MariaDB -> Maria Database (MySQL): DOWNLOAD
HeidiSQL -> HeidiSQL (Interface de usuário para MySQL gratuito): DOWNLOAD

 

Source do projeto no GITHUB: ACESSAR

Projeto Compilado: DOWNLOAD COMPILADO (Obrigado SayMon Cordeiro)

 

 

SERVER INFO

L2jOrion supports all Lineage 2 Interlude official features and has many own additional unique features. Just a few mentioned below for now and i will update it later. Also, any feature can be turned off inside pack config. All quests fully working and updated by Lineage 2 Interlude official information. Everything can be checked in test server with full npcs and special commands for testers.

Events

  • Team vs Team (Possible add more than 2 teams)
  • Deathmatch
  • Capture the Flag
  • Special NPCS
  • Buffer - Possible use like simple or mixed mode with schemes (save/load). Buffs for pets and players. Cancellation of buffs can be one by one or all at once. Also, buffer has a heal function, premium buffs, auto buff lists (fighter/mage), and buffs for special item. Available special command for player and add to Community Board too.
  • Global gatekeeper - player can use simple, premium and for special item teleports. Available special command for player and add to Community Board too. Also, possible to change the time of gk animation.
  • GM Shop - it has special donate item and special functions for donators like: no karma, clan functions, premium time, name/tile colors and etc. Available special command for player and add to Community Board too.
  • Marketer - It's selling/buying system where player can add any item for special item (unlimited currency) and also possible add enchanted or augmented items. Available special command for player and add to Community Board too.
  • Class Manager - Can be like npc or pop up menu. Possible add price or reward for class, pets upgrade. Special command available.
  • Wedding Manager.

Geo-Engine

Added newest geo-engine which works like Lineage 2 official.

Special Player Commands

  • .menu - Additional player functions in one place: exp on/off, title with pvp/pk (live update), block buffs, auto pick up on/off, trade on/off, private messages on/off, screen text pop up like critical, damage and etc on/off, falling to textures auto correction, change password, repair character and auto potions (working with all potions).
  • .boss - Simple and epic bosses in one place. Possible see alive status, dead time, boss lvl and clicked on boss name you can get location to boss.- .votereward - Vote system for reward . Added Topzone, Hopzone, L2network and L2jBrasil).
  • .bank - Adena and your chosen item exchanger.
  • .sub - All sub-classes in one place.
  • .sellbuffs - Possible sell your own buffs.

UPDATES

Some imports corrections by L2OFF information. Our priority is L2OFF and all updates are doing by this info except some modifications which possible easy turn off. Added a new test server system 1.05 which is closer to L2OFF and it doesn't have modifications from the newer l2 clients.

Geo-engine:
  • Re-worked character movement in the water. Fixed falling damage and hard dipping. This issue worked mostly in catacomb or necropolis when character moves in/out, because of geo-data.
  • Updated synchronization system between client<->server.
  • Updated character update position system.
  • Updated geo-engine system.
Misc
  • Class Master updates: added lvl checking on the class change and heal's config.,
  • Geo-engine: a little more corrections for better performance.,
  • Fixed a bug report: (Server w/o Auto Learn skill) For Example: If you have toggle Skill LvL1 in USE, and learn LvL2, then you cant shut down Skill (and still is use lvl1) Only RR help. Boats system
  • Re-worked entire system and fixed characters movement to in/out the boat. Added all L2OFF system messages, routes and etc. Totally re-worked from core side with L2BoatAI, L2Vehicle, vehicle stats and fully updated client/server packets (For now to test it is available only in TEST server)
AI
  • Re-worked castle siege guards AI system. Old system had lots issues and made a lag for players in the some castles.
  • Re-worked Faenor system and added medals.xml, valentines.xml events. In this case we don't need these files in libs folder anymore: bsh-2.0b6.jar, bsh-engine.jar
  • Re-worked python/java engines and we don't need these files in libs folder anymore: java-engine-1.8.jar, jython-engine-2.2.1.jar
Other implements

ADDED: a premium account teleport system. Just change one word „...goto..“ to „...premium_goto...“for example: „bypass -h custom_dotele premium_goto 2503“.

CORRECTED: character movement issues on attack mode.

Re-worked - .boss command. Added: Raid Bosses list by levels. Also, possible see death time, aggro, level and location on map.

Fixed - some small issues in Queen Ant AI.

Added - Some donate functions. Possible to add more colors for name and title. All prices you can change inside config - ljstudio.ini

FIXED - Some FOG mobs which had wrong locations on random spawn after kill.

UPDATED - Seven Sings teleport locations to the hunting zones which haven't correct locations.

UPDATED - knownlist system and improved performance. Also, decreased CPU usage.

RE-WORKED - command: .votereward. From now on, you can get reward for each one vote. Also, I added a new top - L2jbrasil. All configs are inside pack - ljstudio.ini. Up there you can to put your item id and set up min/max items in random for each vote.

UPDATED - mobs AI knownlist system. Some mobs which have faction ID (clan) need a faster reaction to help each other. Now they have it.

UPDATED - powerpack system and re-worked global gk, gm shop and buffer. Since this made, from gmshop, gatekeeper and buffer folders htm files are using same for NPC and player commands. Also, possible use in community board.

Added a new global gk. Available menus: All towns + noble menu, catacombs, necropolises, teleportation to cursed weapon for special item, teleportation to any zone for special item or just only for premium accounts.

UPDATED - Buffer menu and added possibility remove buff one by one.

UPDATED - Class balance system and added classes balance control by second class (damages - to/by fighters and mages). 3rd class was before.

ADDED - A new command: .bank and also, possible use like additional selection in any menu. All configs inside powerpack.ini:

UPDATED - our synchronization system CLIENT<->SERVER and improved performance. Don't forget use a config option: CoordSynchronize = 3 in geodata.ini

FIXED - Skill: Lucky. Impossible get Death Penalty when you are 1-9lv by L2OFF.

CLEANED - many unnecessary code/configs for better performance.

UPDATED - option : MaxDriftRange and added geodata checking which doesn't allow mobs go to wall if they are nearby wall.

ADDED - option: MaxRespawnRange. From now on, all mobs can be re-spawned by random loc like L2OFF. Also, added geodata checking for those mobs which can be re-spawned to wall.

ADDED - new MMO core system and removed unnecessary protection configs.

RE-WORKED - flood protection system and now it has better performance.

ADDED - new protection for multisell of .shop command which doesn't allow use any mulltisell id by PHX. It wil be added for all multisells later.

CLEAN UP - multisells which are not default and unusing.

FIXED - 1000+ bugged creatures which had wrong loc or were underground (under textures) and that's all what our system found which means no more bugged mobs. This happened after a new geo-data system installation when some mobs had a bad Z loc before and later get bugged. Also, some were left since very old time.

UPDATED - MaxDriftRange and MaxRespawnRange functions for better geo-data checking and it doesn't allow walk or be re-spawned to wall on bigger range.

FIXED - character heading. From now on, you can see correctly character direction on spawn (teleport, enter to world and etc.). basically, on first seeing character will show correctly direction, not the same like always was before.

ADDED - a new command .sellbuffs and .cancelsellbuffs with some additional configs (BETA)

ADDED - New logging system.

ADDED - New Game Time Controller system.

ADDED - New Geo-Engine which works much better than old.

ADDED - New DeadLock system with auto server restart.

UPDATED - Auto Save Manager.

CLEAN UP - Unnecessary imports, configs and settings.

UPDATED - Command .gk/Global teleport and added possibility turn off teleport animation (animation = same like /unstuck, escape or etc.)

RE-WORKED - Grand Bosses system and from now on possible add separate Fix Time. Also, changed time settings.

FIXED - All town pets which were missed.

RE-WORKED - Buffer and improved system. From now on all buffs in one place. Possible save your buffs as scheme. Added more nice features. Available to check on the test server.

RE-WORKED - Market and improved system - added special command: .market, added special configurations to pack side, possible sell augmented items, money sending directly to inventory (offline player included), email notifications (in game), search system, latest items and etc.

UPDATED - Community Board and fixed some menus which weren't work correctly before: all search systems, paging, clan management, clan mail, region menu, favorites menu and etc.

UPDATED - siege system to make this work better.

UPDATED - boss: Benom (siege boss), fixed some small issues and added missing drop.

CLEAN UP - imports/unused codes and configs for better performance.

FIXED - Can not see target bug for doors. After a new geo-engine installing this had a small mistake which is fixed now.

ADDED - Custom config for market . From now on you can add any item like a currency (unlimited).

ADDED - Premium buff time multiplier.

ADDED - Random enchanted items to drop list. Possible add enchanted items with min and max options.

CORRECTED - Walking speed. Some creatures had wrong speed. (Based on Lineage 2 Interlude Official information)

CORRECTED - All pets skills, some of them were generating aggro what is wrong. (Based on Lineage 2 Interlude Official information)

CORRECTED - Skill: Break Duress, it must remove effect of Root, not only Slow. (Based on Lineage 2 Interlude Official information)

CORRECTED - Skills: Noblesse Blessing and Salvation. They can not work together. (Based on Lineage 2 Interlude Official information)

REWORKED - Buylist system. and fixed some small issues.

FIXED - Devastated Castle issue;

FIXED - Castle's doors bug. All doors must be attackable for all players on the siege progress and not only for castle's attackers. (Based on Lineage 2 Interlude Official information)

FIXED - Pet's bug. If pet gets a stun he doesn't come back to owner when stun is gone. Now it comes back.

FIXED - From now on all pets can get herbs and if player has summoned the pet the time of herbs is dividing. (Based on Lineage 2 Interlude Official information)

FIXED - Soul Crystals levelling up. Before it did not work correctly and now it works like L2OFF.

FIXED - Skill: EarthQuake. It did not work in the Olympiad before the match. Now works.

FIXED - Alliance ketra/varka quest. It shouldn't remove an alliance level on quest abortion.

ADDED - A new geo-data to some regions to fix some issues.

CORRECTED - SP and EXP, some creatures had wrong SP and EXP numbers. (Based on Lineage 2 Interlude Official information)

CORRECTED - SKill: Corpse Burst. Before skill's explosion didn't do a damage for creatures around and now it does.

CORRECTED - SKill: Frost Bolt. Before it worked like a de-buff, but also it must does a damage for target. (Based on Lineage 2 Interlude Official information)

RE-WORKED - Resurrection system and fixed 2 bugs on siege. 1. If attacker clan has a siege flag - they can use a resurrection for a clan members. 2. If defender clan has a control crystal - they can use a resurrection for clan members. (Based on Lineage 2 Interlude Official information)

RE-WORKED - All grand bosses instances and fixed some small issues. (Based on Lineage 2 Interlude Official information)

RE-WORKED - The Raid Boss: Ice Fairy Sirra. (Based on Lineage 2 Interlude Official information)

ADDED - A new config for special teleport. From now on you can to choose which item you want to use for teleportation (Config inside PowerPack.ini). Also, you need to change a text inside htm file „goto“ -> „custom_goto“.

ADDED - A new config to Premium Account System for Seal stones rates.

RE-WORKED - All core platform and increased performance. Faster loading and less CPU usage.

 

Editado por Hl4p3x
Link dos updates e download do servidor compilado
  • Gostei 6
  • Amei 1
  • Obrigado 1

kLnregy.jpg

L2STUDIO, seu servidor está aqui!
Não me faça perder tempo se você não tem dinheiro para pagar pelos serviços e produtos. Obrigado!

Link para o comentário
Compartilhar em outros sites


2 minutos atrás, Swoksaar disse:

Base acis, certo?

Não, base frozen, segundo eles trabalharam em cima e fizeram um trabalho maravilhoso, só não vi alguém usar uaheuhae

  • Gostei 1
  • Haha 1
Link para o comentário
Compartilhar em outros sites

27 minutos atrás, Swoksaar disse:

Christian, já deu uma olhada nessa revisão?

olhei a  revisão não, mas quando não era free a svn, eu falei com desenvolvedor, pelo q me lembro, n era brasileiro, eu tinha mostrado pra ele o bug do mass ress, a muito tempo atrás. Não sei se é boa a pack ou não. Mas não irei usar, pq ainda ta com java 8.

Link para o comentário
Compartilhar em outros sites

44 minutos atrás, Christian-SDM disse:

olhei a  revisão não, mas quando não era free a svn, eu falei com desenvolvedor, pelo q me lembro, n era brasileiro, eu tinha mostrado pra ele o bug do mass ress, a muito tempo atrás. Não sei se é boa a pack ou não. Mas não irei usar, pq ainda ta com java 8.

A entendo, esperando o dono do tópico aparecer para falar algo sobre

Link para o comentário
Compartilhar em outros sites

Agora, Swoksaar disse:

A entendo, esperando o dono do tópico aparecer para falar algo sobre

Não vale nada!

kLnregy.jpg

L2STUDIO, seu servidor está aqui!
Não me faça perder tempo se você não tem dinheiro para pagar pelos serviços e produtos. Obrigado!

Link para o comentário
Compartilhar em outros sites

Agora, Swoksaar disse:

Não parece, com tantas informações, está falando isso pela base ser Frozen?

Só olhar o fixlist depois do changeset 16 que tu vai entender. 

kLnregy.jpg

L2STUDIO, seu servidor está aqui!
Não me faça perder tempo se você não tem dinheiro para pagar pelos serviços e produtos. Obrigado!

Link para o comentário
Compartilhar em outros sites

3 minutos atrás, Hl4p3x disse:

Só olhar o fixlist depois do changeset 16 que tu vai entender. 

Estava olhando a page da l2jorion, encontrei l2jOrion, server files updates, changeset 21, atualização paga? conteúdo não está gratuito?

Link para o comentário
Compartilhar em outros sites

3 minutos atrás, L2jOne disse:

Deixa eu deixar uma informação, para quem decidir abrir um servidor com esse projeto, tem que alterar o IP na dll na system .

Conhece esse projeto? Sabe falar algo sobre ele além do que está escrito acima?

Link para o comentário
Compartilhar em outros sites

1 minuto atrás, Swoksaar disse:

Conhece esse projeto? Sabe falar algo sobre ele além do que está escrito acima?

Não nunca olhei nele pelo que vi agora, tem que mudar o IP na dll da system ele é bloqueado para o IP 127.0.0.1

Link para o comentário
Compartilhar em outros sites

5 minutos atrás, L2jOne disse:

Não nunca olhei nele pelo que vi agora, tem que mudar o IP na dll da system ele é bloqueado para o IP 127.0.0.1

Então como abro essa dll? Consigo alterar usando o notepad++? Ou eu altero a penas o nome da dll?

Se eu configurar com 127.0.0.1 não consigo ligar o servidor, se eu configuro a penas com o nome localhost ele abre, tudo certinho, porém não consigo logar no server.

1.jpg.61a500f21f4e95dfc6ff6a628094cc05.jpg

Editado por Swoksaar
Erro
Link para o comentário
Compartilhar em outros sites

21 horas atrás, Swoksaar disse:

Então como abro essa dll? Consigo alterar usando o notepad++? Ou eu altero a penas o nome da dll?

Se eu configurar com 127.0.0.1 não consigo ligar o servidor, se eu configuro a penas com o nome localhost ele abre, tudo certinho, porém não consigo logar no server.

1.jpg.61a500f21f4e95dfc6ff6a628094cc05.jpg

Passa backup em formato psc ai mano, o q tem na pasta do serve ta em formato de  sql, demora 2h aqui.. Deixa eu ver essa treta ai

Editado por Christian-SDM
Link para o comentário
Compartilhar em outros sites

12 minutos atrás, Christian-SDM disse:

Passa backup em formato psc ai mano, o q tem na pasta do serve ta em formato de  sql, demora 2h aqui.. Deixa eu ver essa treta ai

O @VirusBlack S2 postou aí nos comentários

Editado por Swoksaar
Link para o comentário
Compartilhar em outros sites

  • Hl4p3x changed the title to L2jOrion
  • 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.
  • Conteúdo Similar

  • 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.