How to look up NPC and Quest ID's

Discussions of the design and development of in-game content.

Moderator: Team Members

User avatar
Flunklesnarkin
Posts: 79
Joined: Thu Jul 12, 2012 2:53 pm

Re: How to look up NPC and Quest ID's

Post by Flunklesnarkin » 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

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)
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?

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)
and it just occured to me as I was typing this that the census link I was using has SoE in it's url

Code: Select all

http://census.soe.com/s:eq2i/json/get/eq2/item/?displayname_lower=^cauldron%20blowfish&c:limit=20&c:show=iconid,tier,id
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 :D

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: How to look up NPC and Quest ID's

Post by Jabantiz » Thu Sep 24, 2015 1:46 pm

Flunklesnarkin wrote: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.
It is a DB entry and the editor hasn't been created yet.
Flunklesnarkin wrote: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)
I am assuming those are the soe id's, you need to use our id's for it to work properly.
Flunklesnarkin wrote: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?

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)
That is exactly what you need to do, you can add as many item id's as you want at the end.
Flunklesnarkin wrote:and it just occured to me as I was typing this that the census link I was using has SoE in it's url

Code: Select all

http://census.soe.com/s:eq2i/json/get/eq2/item/?displayname_lower=^cauldron%20blowfish&c:limit=20&c:show=iconid,tier,id
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.
It is the same api just different domain, just replace "soe" with "daybreakgames" and it should all work,

Code: Select all

http://census.daybreakgames.com/s:eq2i/json/get/eq2/item/?displayname_lower=^cauldron%20blowfish&c:limit=20&c:show=iconid,tier,id

User avatar
Flunklesnarkin
Posts: 79
Joined: Thu Jul 12, 2012 2:53 pm

Re: How to look up NPC and Quest ID's

Post by Flunklesnarkin » Fri Sep 25, 2015 4:24 pm

I'll hold off on doing things that require item id's for the moment but there are still a lot of scripts I can right in the mean time.

I fixed the quest for Marta Terrilon's Fur Hunt and made the limited repeatable nature of it work properly. Is there a way to clear my quest history to make testing this easier in the future? Or do i just have to delete the character and make a new one.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: How to look up NPC and Quest ID's

Post by Jabantiz » Fri Sep 25, 2015 5:58 pm

I do not believe there is a way for you to clear your own completed quests yet, you can either make a new character or pm me the character name and I can manually delete all the quests, or if you want just a select quest deleted include the quest id in the pm.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: How to look up NPC and Quest ID's

Post by John Adams » Fri Oct 09, 2015 7:46 pm

Jabantiz wrote:It is a DB entry and the editor hasn't been created yet.
Hmm, maybe I should fix those... unless you're not talking about the web-based DB Editor. Our DB Editor has tons of functionality, it's just turned off atm.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: How to look up NPC and Quest ID's

Post by Jabantiz » Fri Oct 09, 2015 7:57 pm

Even I get a blank page going to the ground spawn editor, haven't looked at the code though. This was solved by linking him to eq2db2 with a ground spawn editor as most of my focus has been on eq2db2 dev lately.

User avatar
Flunklesnarkin
Posts: 79
Joined: Thu Jul 12, 2012 2:53 pm

Re: How to look up NPC and Quest ID's

Post by Flunklesnarkin » Fri Oct 09, 2015 8:00 pm

Jabantiz made an item ID look up tool but I don't think he was ready to make it publicly available just yet. I was able to use the tool to look up some Item ID's and plug them into quests to get the proper rewards out of them.

I should have time to work on some content this coming wednesday. I've been so busy lately and I'm sure it will continue on like this through next year but I can probably get a day or two in a month doing some content. Working this weekend of course and so many other things always to do.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests