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 } |
Try movepc instead of MovePC
|
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
|
My editor has now been modified so MovePc is now movepc.
That should help if you're using it. GeorgeS |
You are missing brackets:
Code:
sub EVENT_SAY { |
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 |
and thanks for all the help you guys rock
|
Post your newest 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 } } 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 |
Does check_plugin.pl exist in your quests/plugins folder and/or are your plugins in the correct directory?
|
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
|
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. |
I ran this and it worked fine
Code:
sub EVENT_SAY { |
the turnin worked also i htink im missing my plugins
|
Finally Got it working thank you all so much i owe you thanks again pretty sure my plugins were messed up
|
All times are GMT -4. The time now is 09:37 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.