Editing quests at an NPC

Results 1 to 2 of 2
  1. #1
    Member Nigel728 is offline
    MemberRank
    Mar 2021 Join Date
    37Posts

    Editing quests at an NPC

    Running 343's 1.5.5 server. Some time after 1.5.5, PW added an additional reward option to EU and AEU to get skill books. I've been trying to backport this to 1.5.5. Added all the items (itemPackageByProfessionEssence+taskdiceEssence) and quests by extracting the data out from current PWI elements.data and tasks.data and converting it back into format for 1.5.5.

    EU reward worked perfect first time - the existing quest in 1.5.5 (questID 26340) already had a choice of 2 items - all I had to do was add the 3rd item reward choice - but the mechanism of how you take the quest and hand in the quest is otherwise unchanged. So that one was easy.

    AEU I have had so many attempts at and its still not working and ran out of ideas what to try next (questIDs 26782 - 26786 depending on char level). Also this isn't quite as simple as copying the quest data from current PWI as skill books no long exist there. But used wayback pointing at pwdatabase to verify the quest used to be set up how I thought. So

    • First try I added the alternate reward. But quest was still set to automatically complete so you never had a chance to pick the reward.
    • Next I updated quest completion method to "NPC delivery" (same as EU quest). But talk to the NPC and he didn't have choice to hand in quest.
    • Next I set "award NPC" on the quest to the right NPC. Now in quest log on the client it says the right NPC name to hand the quest in at. But still no option to hand it in.
    • Next I checked NPC definition in elements.data (35000), its taskOutService (35149) and taskInService (38261). I'm assuming "task out" means "take a quest" and "task in" means "hand in a quest". 5 quests were missing from taskInService so added the 5 quest IDs there.
    • Now the NPC even has the "You've got a quest to hand in to me" icon over his head! But when I double click him, the quest is still not listed for me to be able to click to hand in it.


    I've scoured over all the relevant data, comparing how the EU quest (which works perfect) is configured vs how the AEU quest is configured and at this point am at a loss for what to try next. Anyone else tried editing quests like this and got any ideas what I might have missed? Many thanks.


  2. #2
    Member Nigel728 is offline
    MemberRank
    Mar 2021 Join Date
    37Posts
    Well some progress... I noticed the quests were missing Award Talk, so copied all the text/dialogs over from current PWI tasks.data. Now I can hand the quest in if I summon the NPC in arch but it still doesn't work handing in to the same NPC inside AEU o.o The quest specifies deliveryWorldID = 1 and reachSiteID = 1, but so does the EU quest and that works. Weird.



Advertisement