Turn in 3 items for a class-specific weapon
Can anyone tell me what is wrong with this? It all works up until the turn in where he will eat the items and give no reward.
Code:
#Gives an archtype specific item after killing Grummus, Gyrme, Aramin |
Not sure if it really makes a difference since it is a string...
Have you tried "Warrior" instead of 'Warrior' (etc, etc) |
Yeah I did quotes instead, but it made no difference
|
I think you may be missing a few semicolons at the end:
Code:
sub EVENT_ITEM { Code:
sub EVENT_ITEM { |
I added the semicolons after those, but the quest still didn't work. Then I changed it to the format you suggested, but it still did the same thing. He just will not hand out a reward. This is how it looks now.
Code:
#Gives an archtype specific item after killing Grummus, Gyrme, Aramin |
Yeah, I've never had to use those semicolons before either.
Question: Does he give you the text and just no item or does he not even give you the text/emotes? EDIT: Looks like the last 2 items are not in the lucy database. Are they in your custom database? |
I have a couple simple class armor set quests posted in the custom section that should work for what you want to do. Here is one:
http://www.eqemulator.net/forums/showthread.php?t=24921 It is actually written a bit crudely as it was one of my very early quest scripts, but it does work. I am sure I could write it much cleaner and more compact now, but I just haven't had the time to do it and no need to fix what isn't broken :P The best way would be using arrays. I have some scripts posted in the custom section that use arrays as well, so they might be useful for reference (which is why I posted them in the first place). |
I hardly see anything "crude" there Trev =P
Its a simple and well writen out quest code =) For the purpose of this thread this is the only part truly needed: Code:
|
Just for completions sake I'll ask the easy question, you do have the plugins, yes?
And for any hand in quest you should also use the return_items plugin for returning wrong items. |
This is now what my item part looks like. It still isn't working. The items needed are all the correct items, and I checked my plugins folder and it has the check_handin, guildmasters, check_hasitem, and soulbinders.
Code:
sub EVENT_ITEM { |
does any other quest with items hand in works?
|
Yeah all my other quests work. This is the only one I have done with multiple items and rewards though, but I don't think that really makes a difference.
|
The items names that I am turning in have an asterisk in them. Do you think that could be throwing the whole thing off?
|
Quote:
|
where do I run it from? will I need to Cd into another directory
|
Ok, I added the return item thing to see if he would return items, but he doesn't even do that.
Code:
sub EVENT_ITEM { |
Did you try running it on the command line to see what you got back?
|
I don't know where I need to type it in. I did perl Vinius_the_Benevolent in cmd.exe and it said it couldn't find it, but I also ran it for another quest which I know works and said the same thing, so I know i need to change directory, but I don't know to what.
|
Your quest file should be located in your C:\eqemu\quests\zonename folder, where zonename is the name of the zone your NPC is located in.
Also, there is a plugin folder in the C:\eqemu\quests\ directory that has the plugin files, but those files need to be moved directly to your C:\eqemu\plugins folder. Some older quests don't use the plugins, so maybe that is why you see others as working even if your plugins might not be in the correct place still. |
I already did that when I set up my server
|
wow, lol. I had the plugins folder inside another plugins folder. I just moved them out and it worked. I don't know how all of my problems are always something so stupid
|
The best solution to testing what the problem is, is to simplify the quest as much as possible and then add in stuff one by one and test it after each time you update it until you have it completed the way you want to. So, try just running this script and see what happens:
Code:
sub EVENT_ITEM { |
Quote:
It is always best to double and then triple check stuff like that! |
Thanks for all the help. I learned A LOT more about questing. Maybe in a couple more threads I will actually not be completely talentless.
|
All times are GMT -4. The time now is 12:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.