A Project for Chronicle 4 based on L2JServer.


    [Share] Missing Quests Part 2

    Share

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    [Share] Missing Quests Part 2

    Post  roko91 on 11th July 2013, 00:12

    These days I managed to adapt 13 more quests for L2JLisvus. The following list shows which missing quests I adapted this time:
    Code:
    '21_HiddenTruth',
    '22_TragedyInVonHellmannForest',
    '23_LidiasHeart',
    '24_InhabitantsOfTheForrestOfTheDead',
    '25_HidingBehindTheTruth',
    '27_ChestCaughtWithABaitOfWind',
    '28_ChestCaughtWithABaitOfIcyAir',
    '29_ChestCaughtWithABaitOfEarth',
    '30_ChestCaughtWithABaitOfFire',
    '50_LanoscosSpecialBait',
    '51_OFullesSpecialBait',
    '52_WilliesSpecialBait',
    '53_LinnaeusSpecialBait',
    Here is the share:
    http://www.mediafire.com/download/2qgb01yvpi4bunq/missing_quests_part2.zip

    However '24_InhabitantsOfTheForrestOfTheDead' still can't be completed because it needs core support for "onAggroRangeEnter" method (I guess). Despawn used in some quests doesn't work in most of the cases for some reason (it's a little annoying) but I hope DnR will fix it. Everything apart from that is working just perfect Smile
    I even added some missing htmls in "html" folder. "7909.htm" is fixed as well (added <a action="bypass -h npc_%objectId%_Quest">Quest</a>).
    Expect many more soon! Wink


    Note: In order to complete the quests without problems execute this SQL: http://www.mediafire.com/download/1cmggg7p9fwvut9/spawns-10-07-2013.sql (included in this topic: http://l2jlisvus.great-forum.com/t152-report-missing-or-incorrect-npc-spawns-here) to fill many missing spawns required for the quests.
    avatar
    DnR
    Admin
    Admin

    Posts : 1023
    Join date : 2012-12-03

    Re: [Share] Missing Quests Part 2

    Post  DnR on 11th July 2013, 18:43

    Fortunately, thanks to new quest engine, it won't be hard to add onAggroRangeEnter.
    What kind of despawns? Can you give me a small quest example?

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    Re: [Share] Missing Quests Part 2

    Post  roko91 on 11th July 2013, 19:20

    For example in quest '22_TragedyInVonHellmannForest' - when you reach this part of the quest:
    Code:
               else :
                   self.tifaren = 1
                   st.takeItems(SKULL,-1)
                   priest = st.addSpawn(GHOST_PRIEST,38354,-49777,-1128)
                   st.startQuestTimer("Despawn Ghost Priest",120000,priest)
                   AutoChat(priest,player.getName()+", you have awoken me...")
                   self.priest = player.getName()
    "Ghost of Priest" (npcId: 8528) spawns in front of "Tifaren" (npcId: 8334) and it should despawn after 2 minutes but it doesn't do it right now for some reason. That way if many characters start this quest many Ghost of Priests will appear in one place until server restart. It happens in all quests I shared which have despawn except '25_HidingBehindTheTruth' where "Coffin" (npcId: 8536) despawn properly with this code:
    Code:
            elif event == "8531-02.htm" :
                st.playSound("ItemSound.quest_middle")
                st.set("cond","12")
                st.addSpawn(Coffin,60104,-35820,-664,20000)
    and
    Code:
                elif npcId == Coffin:
                    if cond == 12 :
                        htmltext = "8536-01.htm"
                        st.giveItems(Dress,1)
                        st.playSound("ItemSound.quest_middle")
                        st.set("cond","13")
                        npc.deleteMe()
    I hope it will give you some clue about the problem.
    avatar
    DnR
    Admin
    Admin

    Posts : 1023
    Join date : 2012-12-03

    Re: [Share] Missing Quests Part 2

    Post  DnR on 12th July 2013, 11:47

    Here is the problem.
    QuestTimers call this method.
    Code:

    npc.reduceCurrentHp(9999999,npc)

    Why aren't NPCs be despawned?
    Because in L2(J)World, all NPCs are invul once spawned, and there are no exceptions. Invul status is checked in reduceCurrentHp.
    To fix it, either method has to be changed to npc.doDie(npc), or to npc.deleteMe()
    This should definitely solve the problem.
    When i adapt these quest, i'm going to fix this problem.

    roko91

    Posts : 238
    Join date : 2013-01-30
    Age : 26
    Location : Bulgaria

    Re: [Share] Missing Quests Part 2

    Post  roko91 on 12th July 2013, 16:12

    These days I'm planning to share 40 more quests for part 3. I know you're going on vacation and I will do my best to make them perfect in order to minimize your work.
    Have a great summer! Smile

    Sponsored content

    Re: [Share] Missing Quests Part 2

    Post  Sponsored content


      Current date/time is 26th September 2017, 14:01