Trying to fix up my first quest....
I posted earlier with regard to a typo in Dargon McPherson's "deliver an elixir to young warriors" quest and it seems there is more wrong with this quest than first appeared. I appologize for starting another thread, but I didn't think my request for help would be noticed with the other post's topic.
After I gave Kylan ODanos the note, I went over to Dargon McPherson and got the elixir quest, so I could work on faction. I proceeded to Everfrost to do my first turn-in to Talin ODonal and when I gave him the elixir, nothing happened. So, I set out to try to fix my first quest and I need a little guidance, if anyone is willing. I am not a programmer, but I am willing to learn, just like everyone else. With that in mind, could you please take a look at what I have toward's the bottom of this post and give me some advice as to why this turn-in does not work? Looking at the original code, it is obvious why the turn-in doesn't work. Talin wasn't programmed to accept anything or do anything else except say "Brrrrrr!! Grr.. Grreetings. It is freezing out here!!" Original Code Was: Code:
sub EVENT_SAY { The bone chip turn-in seemed like the perfect example, but it did not work as planned. I just cut and pasted the example and edited to suit the quest. I changed the Itemcount, faction, and summonitem variables, with information I gathered about the quest. I assume the itemcount variable needs to be the elixir ID, the faction ID was taken from the ID I got from Kylan for turning in the note, and I got the summonitem ID from looking at the Dargon_McPherson.pl file, because the item was first summoned in that quest. I verified that the summonitem ID is correct by doing the command #summonitem 13241 in the game console and obtained an elixir. If your not familiar with this quest, you are supposed to run around and give each NPC a drink of the elixir and when you do, they thank you and return the elixir to you. You receive faction, and experience when this happens. Then they tell you the approximate location of the next NPC that might need some of the tonic's warming effects. After running around doing the turn-in's to several NPC's, you are to return to Dargon McPherson for the quest completion and the reward of faction, experience, and an item. Please note, that when I hail Talin, he doesn't even reply, let alone take the elixir, give me exp, and hand it back. This piece of code should be all I need to fix the quest to completion. I'll just duplicate it for each of the NPC's. Here's My Code: Code:
sub EVENT_SAY { Hamarabi |
Try this, please note that I am not a quest guru myself, Learning just like you so this could be slightly wrong. I have not tested it, let me know how it goes. Also I noticed the reward you are giving is exactly the same as the turnin item for the quest. So that is wrong until you fix it.
Code:
sub EVENT_SAY { |
Quote:
|
hehe yeah I see Mrea, I didn't read his whole post, just skimmed through it and thought I would try fixing the quest :)
|
Paaco forgot a brace at the event of the event_say (easy to see due to his good indentation).
Hamarabi, faction id comes from table 'faction_list', faction 10103 does not exists, the rest of your quest is working. Indent your quests and never put closing braces at the end of the rows, put em alone in a row, so its easier to see what they close. Add comments for the items/factions id too, so you remember what you did : Code:
sub EVENT_SAY { |
Thanks for the correction Muuss, I always got something small like that missing :( Usually takes me 2 or 3 times to get a quest right but I'm learning slowly :)
|
Thanks alot for all your help guys!!
Sorry, I havn't been able to get back to this until today.
I looked up the faction ID's and fixed that, thanks to your help. Next, I went on LIVE and logged the correct dialogue, so that I could add that in to the quest. I also took note of the faction changes, there were four changes instead of just one. FIXING THE QUEST: At first, the NPC's wouldn't work, so I thought I would rename the files to their NPC ID's (I used #npcstats to find their NPCID) and sometimes it would work and others, no. So I downloaded the MySQL query browser and took a look at the NPC ID's and found that some of the NPC's have several entries. The only obvious difference I noticed, was the level of the NPC compared to the NPCID. I'll list them below. Talin O`Donal NPCID: 30074 Level 2 30118 Level 4 30129 Level 3 Bryndin McMill NPCID: 30065 Level 2 30115 Level 4 Arnis McLish NPCID: 30049 Level 2 Megan OReilly NPCID: 30029 Level 2 30096 Level 3 30119 Level 4 I have no idea why these NPC's have more than one NPCID. Random Level spawn, I guess. Anyways, I decided to take a look at the names of the NPC's compared to the NPCID's and found that Talin's name in the DB was Talin_O`Donal, which seems to be the problem. To experiment, I decided to take the ` character out of his name, essentially renaming him Talin_ODonal and that seemed to fix it. After doing this, I renamed all of the files to reflect the NPC's name instead of the NPCID (orginal file names). That way it would not matter what random spawn occured. I am sure this was the intention. Changelog: I had to edit item 13242 to be more logical. It's name was "One Quarter of Elixir" and should be "Three Quarters of Elixir". Also, some of the NPC's didnt have files, so I created those. Specifically listed below: 1) Changed Talin_O`Donal name in the DB to TalinODonal then renamed his file in the everfrost directory. 2) Added Bryndin_McMill file to everfrost directory 3) Added Arnis_McLish file to the everfrost directory 4) Added Megan_OReilly file to the everfrost directory 5) Fixed up Dargon McPherson's code to be closer to what LIVE is like. 6) Edit item: 13242 and change the name to "Three Quarters of Elixir" instead of "One Quarter of Elixir". This is what should remain after Talin, the first NPC drinks it. 7) Added the four faction changes to each of the NPC's code. I'll post the finished quest in the proper forum "Quests::Submissions". Thanks a ton for your help guys, I really appreciate it! It's kind of fun to work on stuff like this. Hamarabi |
One more little help?
Well, after spending some time trying to figure out the format required to submit a quest, I am hoping you guys could help me out once again and point out any mistakes. I checked the submission guidelines at this URL:
http://www.eqemulator.net/forums/showthread.php?t=17400 The only problem with that, is the link for the criteria is broken. I don't want to get yelled at for not following the rules, but if the link is broken, I have no way of knowing if this is ok for submittal. Please note, that I added all of the NPCID's for each NPC because many of them had more than one (Random Level Spawn?). Anyways, i'll just cut and paste what I have here: Header: Code:
############# Dargon_McPerson.pl I had to fix up his dialogue for the turn-in and have him give faction and an item at the end of the quest. I don't understand the "else" statement at the end of the "sub EVENT_ITEM". Maybe someone could help me understand that. I guess it's for training? Code:
sub EVENT_SAY { Code:
sub EVENT_SAY { Code:
sub EVENT_SAY { Code:
sub EVENT_SAY { Code:
sub EVENT_SAY { Continued.... |
Continued from above....
Continued from above.....
Finally, I added in four faction changes for each turn-in instead of one. This is exactly the way LIVE does it. I assume that I just add that header to each one of the files. Since the NPC's are already in the game (ie., I didn't add them), I would think that most of the Header Information would not be needed, but I threw it in there anyways, just to be safe. I appreciate the help you guys gave me in fixing this quest, and I really want to contribute back to the community. I hope this quest is up to par. Hamarabi P.S. How do I add a "random low level item" as a quest reward, when you hand the empty bottle back to Dargon and finish the quest? I think that's how LIVE does it, not sure. P.S.S. One other thing, I wanted to add. Arnis tells you to go find Megan's dog, Snowflake. Snowflake is supposed to lead you out to Megan, when you hail him, but he doesn't I don't know how to fix that, but I guess, if you know where Megan is, that's not important. |
for npc names that have a ` in them use a - in its place.
part of the ranger epic you hand an item to Giz_X`Tin. you'd only need to rename the .pl file to Giz_X-Tin.pl for it to work. this is mentioned in the quest tutorial wiki page under Saving/Naming Quests. |
ahhh ok...
Thanks alot for that info. I been reading a ton the last couple of days and I must have missed the file naming convention. That's much better. I couldn't figure out why it wouldn't accept the ` character. I'll fix that when I submit it.
Thanks again for setting me straight on that. What about the quest and the headers? Is this quest ready to submit with the naming fix? Hamarabi |
you're more than welcome to submit it to the PEQ server.
you can post it to the PEQ general quest forum at http://www.projecteq.net/phpBB2/viewforum.php?f=27 if you're interested in helping with quests you can ask to join the quest team and mystic414 will get in touch with you. |
Quote:
|
All times are GMT -4. The time now is 03:41 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.