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
|
All times are GMT -4. The time now is 09:07 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.