Re: How to look up NPC and Quest ID's
Posted: Thu Sep 24, 2015 12:11 pm
I've been super busy at work but I managed to get a couple days off and figured I'd try to work on a few scripts.
I got Marta Terrilon's fur hunt to complete and give the quest reward. I'll take a look at the GetQuestCompleteCount() next time i get a chance and work on the limited repeatable nature of this quest.
I also took a look debugging the quest Fish for Grunthor. The modify skill command works perfectly. I was able to raise my harvesting skills enough to meet the requirements. However only the Tier 1, Tier 2, and Tier 3 nodes are scripted. This quest requires a Tier 4 node. I tried to take a peek at the node scripts to see how they were written and maybe attempt to write the Tier 4 but I didn't have access to look at them.
The node wasn't required to test out the quest though. I changed the AddQuestStepHarvest() to AddQuestStepObtainItem() for testing. I wasn't able to get quest updates though.
Here is the function:
This one uses the id for nerius trout
If I wanted to add in cauldron blowfish would I just add another comma and the ID onto the end of the function like this?
and it just occured to me as I was typing this that the census link I was using has SoE in it's url
It appears daybreak games may have updated the searches, but the soe link still produced results. I'll try to familiarize myself with the daybreak API but if you have a quick link to search item id's I can bookmark it and it'd be enough for me at the moment.
Thanks again for letting me poke around your data base and try to learn some scripting. Talk to you later
I got Marta Terrilon's fur hunt to complete and give the quest reward. I'll take a look at the GetQuestCompleteCount() next time i get a chance and work on the limited repeatable nature of this quest.
I also took a look debugging the quest Fish for Grunthor. The modify skill command works perfectly. I was able to raise my harvesting skills enough to meet the requirements. However only the Tier 1, Tier 2, and Tier 3 nodes are scripted. This quest requires a Tier 4 node. I tried to take a peek at the node scripts to see how they were written and maybe attempt to write the Tier 4 but I didn't have access to look at them.
The node wasn't required to test out the quest though. I changed the AddQuestStepHarvest() to AddQuestStepObtainItem() for testing. I wasn't able to get quest updates though.
Here is the function:
This one uses the id for nerius trout
Code: Select all
AddQuestStepObtainItem(Quest, 1, "I need to harvest a number of fish for Grunthor.", 10, 100, "I need to fish for Grunthor in Everfrost.", 2549, 4215352353)Code: Select all
AddQuestStepObtainItem(Quest, 1, "I need to harvest a number of fish for Grunthor.", 10, 100, "I need to fish for Grunthor in Everfrost.", 2549, 4215352353, 2240074444)Code: Select all
http://census.soe.com/s:eq2i/json/get/eq2/item/?displayname_lower=^cauldron%20blowfish&c:limit=20&c:show=iconid,tier,idThanks again for letting me poke around your data base and try to learn some scripting. Talk to you later