|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Q&A This is the quest support section |
01-08-2010, 01:17 AM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
Any idea why this wont work ?
sub EVENT_SAY
if ($text =~/Hail/i)
{
quest::say ("Well Hello there $name would you like to (travel) to Blackburrow Or learn about the (quest) for Blackburrow?");
}
elsif ($text =~/travel/i)
{
quest::say ("$name ,Have fun on your jorney");
quest::MovePC(17,38.9,-156.9,-4.4);
}
if ($text=~/quest/i) {
quest::say("Greetings, $name I have a [process]");
}
sub EVENT_ITEM
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::summonitem(10051); #ruby crown
}
|
01-08-2010, 01:31 AM
|
|
Developer
|
|
Join Date: Mar 2003
Posts: 1,490
|
|
Try movepc instead of MovePC
|
01-08-2010, 12:34 PM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
i changed it to movepc instead the npc still isnt responding i think its something to do with the quest end of it not sure though
|
01-08-2010, 12:37 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,475
|
|
My editor has now been modified so MovePc is now movepc.
That should help if you're using it.
GeorgeS
|
01-08-2010, 12:43 PM
|
Developer
|
|
Join Date: Feb 2004
Location: UK
Posts: 1,540
|
|
You are missing brackets:
Code:
sub EVENT_SAY {
if ($text =~/Hail/i)
{
quest::say ("Well Hello there $name would you like to (travel) to Blackburrow Or learn about the (quest) for Blackburrow?");
}
elsif ($text =~/travel/i)
{
quest::say ("$name ,Have fun on your jorney");
quest::movepc(17,38.9,-156.9,-4.4);
}
if ($text=~/quest/i) {
quest::say("Greetings, $name I have a [process]");
}
}
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::summonitem(10051); #ruby crown
}
}
|
01-08-2010, 01:02 PM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
ok finally got it working only problem im having now is that when i do the handin its not giving me back an item just keeps what i give
i checked and im handing in correct items not sure why its not working
|
01-08-2010, 01:03 PM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
and thanks for all the help you guys rock
|
01-08-2010, 05:51 PM
|
|
Developer
|
|
Join Date: Mar 2003
Posts: 1,490
|
|
Post your newest code.
|
01-08-2010, 06:31 PM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
sub EVENT_SAY {
if ($text =~/Hail/i)
{
quest::say ("Well Hello there $name would you like to (travel) to Blackburrow Or learn about the (quest) for Blackburrow?");
}
elsif ($text =~/travel/i)
{
quest::say ("$name ,Have fun on your jorney");
quest::movepc(17,38.9,-156.9,-4.4);
}
if ($text=~/quest/i) {
quest::say("Greetings, $name I have a [process]");
}
}
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::summonitem(10051); #ruby crown
}
}
This is what im using and i think its something maybe with the beginning of the sub event item since he doesnt emote or anything
|
01-08-2010, 07:27 PM
|
|
Discordant
|
|
Join Date: Mar 2009
Location: Ottawa
Posts: 495
|
|
Does check_plugin.pl exist in your quests/plugins folder and/or are your plugins in the correct directory?
|
01-08-2010, 08:09 PM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
where might i get a plugin folder i have one in my eqemu folder just its empty lol and theres not one in my quests folder
|
01-08-2010, 09:31 PM
|
|
Discordant
|
|
Join Date: Mar 2009
Location: Ottawa
Posts: 495
|
|
I keep my quests synchronized with the svn, so that's where my plugins are from.
http://projecteqquests.googlecode.co...uests/plugins/
I don't know if they're bundled with the quest pack download, I just assumed they were.
|
01-08-2010, 11:28 PM
|
Forum Guide
|
|
Join Date: Sep 2003
Location: California
Posts: 1,475
|
|
I ran this and it worked fine
Code:
sub EVENT_SAY {
if ($text =~/Hail/i)
{
quest::say ("Well Hello there $name would you like to (travel) to Blackburrow Or learn about the (quest) for Blackburrow?");
}
if ($text =~/travel/i)
{
quest::say ("$name ,Have fun on your journey");
quest::movepc(17,38.9,-156.9,-4.4);
}
if ($text=~/quest/i)
{
quest::say("Greetings, $name I have a [process]");
}
}
sub EVENT_ITEM {
if (plugin::check_handin(\%itemcount, 16905 => 1, 16857 => 1, 10035 => 1))
{
quest::emote("removes a item from his pocket.");
quest::say("This is yours. Care for it well!");
quest::summonitem(10051); #ruby crown
}
}
|
01-09-2010, 12:30 AM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
the turnin worked also i htink im missing my plugins
|
01-09-2010, 12:38 AM
|
Hill Giant
|
|
Join Date: Dec 2009
Posts: 175
|
|
Finally Got it working thank you all so much i owe you thanks again pretty sure my plugins were messed up
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:23 AM.
|
|
|
|
|
|
|
|
|
|
|
|
|