Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2007, 06:32 AM
99er
Banned
 
Join Date: Sep 2007
Posts: 12
Default Quests

Hello Everyone. Hope all is well.

I am on day 3 of trying to make my quests and Hail work.

Searching the forums has produced a couple solutions all of which I have verified but still no luck.

Here are my variables.

Log file shows a ton of these:

Perl runtime error: Undefined subroutine &main::eval_file called

At first I thought it was my perl installation. Here is what testing shows:

C:\>perl --version

This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 18 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 822 [280952] provided by ActiveState http://www.ActiveState.com
Built Jul 31 2007 19:34:48

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


So at this point I am guessing perl is installed correctly and in the path.

If I manually run a script:

C:\>perl hello.pl
Hello World
C:\>


It also works. However, nothing will respond in game.

Other than this the server runs normally.

Any help would be appreciated. If this is posted in the wrong section I apologize.

Thanks.
Reply With Quote
  #2  
Old 10-04-2007, 10:05 AM
99er
Banned
 
Join Date: Sep 2007
Posts: 12
Default

So it appears I posted this in the wrong section....sorry about that but I thought I would post the solution anyway.

After much trial and error and with some help from the guys on the IRC it came down to the binary I was using.

I was using 1043 but when I reverted back to 992 everything started working again.

Hope this helps anyone else that might experience the same problem.
Reply With Quote
  #3  
Old 10-04-2007, 02:56 PM
SiliconeClone
Sarnak
 
Join Date: Apr 2005
Posts: 42
Default

I had this same problem with 1043 but then I decided to check out the .pdf manual and try something that I have never done in previous versions.

That was to change my mysql instance to support UTF8 instead of latin1. I have never had an issue with this and as my mysql is used for other things I never had to install it just for eqemu use.

However having changed the language option to UTF8, my quest started working. So i suggest this as a route to check if you have installed perl and everything checks out just fine with it. Just and fyi (older versions had worked fine without the mysql change but I needed it apparently for 1043)
__________________
Silicone Clone
Creator of Patch Creator v1.06
Reply With Quote
  #4  
Old 10-05-2007, 02:56 AM
99er
Banned
 
Join Date: Sep 2007
Posts: 12
Default

That is good information Silicone. I will give that a try.
Reply With Quote
  #5  
Old 11-05-2007, 04:13 PM
wwazman
Sarnak
 
Join Date: Oct 2007
Location: Oregon
Posts: 37
Default

Some of my hails work, but almost none of the quests do. Some of the beginning cities (notably, Surefall Glade, Hagar Sureshot) do accept the initial quests, but not much else. Everything else works fine, except the quests. Mysql is configured (as far as I know) correctly, utf8 is set, and I ahve the latest eqemu and db. still looking through other answers as well, but I could sure use some more help!
Reply With Quote
  #6  
Old 11-13-2007, 10:56 AM
wwazman
Sarnak
 
Join Date: Oct 2007
Location: Oregon
Posts: 37
Default

let me clarify... the quests work fine, meaning I am able to trigger the texts, but as far as handing stuff in, that does not work at all.
Reply With Quote
  #7  
Old 11-13-2007, 12:25 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

Quests are by no means complete. In fact, some zones have almost no quests written up. If some quests are working, then PERL is functioning properly. It's likely you're just talking to quest mobs that don't have working quests written for them yet.

Look at the .pl files for the mob you're talking to and see what code is in-place.
Reply With Quote
  #8  
Old 11-13-2007, 01:54 PM
sithkar
Fire Beetle
 
Join Date: Oct 2007
Posts: 3
Default

This is a problem and it seems to be simmilar to the guys before.

I have my own server I'm setting up. Using MySql 5.0.45, ActivePerl-5.8.8.822-MSWin32-x86, and PEQ Database and PEQ Quests. The Hail part of the turning in Monk Velium Armor (Velious Thurgina Quest) works no problem. My faction is warmly with him (only needs to be kindly). I have the correct items for tunic turn in 25814 (3), 24942. When I do the turn-in the zone logs show a GetVar('item number'), but the quest turn-in dosen't work. The items are eatten and Lorekeeper Einar will do nothing.

If the fix is this binary set-up how do I do this. And if its not what else are my options. All help welcomed and appreciated.

This is one quest in question but all quest set-up similar to this are not working as well. I'm using this as my example.

----------------------------Quest in Question-----------------------

# Quest for Lorekeeper Einar in Thurgadin - Monk Velium Armor (Grand Master's)

# Kiladiveus - copied text from website. created Sub EVENT_SAY and Sub EVENT_ITEM for quest. Used Faction requirement method.

# kiladiveus - created my own ending statments.

# Kiladiveus - NPC ID:115118 Lorekeeper_Einar, need to change his primary faction to "coldain"

# kiladiveus - correct grammar per Sarepean's advice.





sub EVENT_SAY {

if ($faction <= 3) { # Require greater and kindly faction

if ($text=~/hail/i) {

quest::say("Greetings to you. I seek one that has chosen the path of monkhood. What do you call yourself?");

}

if ($text=~/i am a monk/i) {

quest::say("Good. I had hoped you were one. I have heard that as seeker of the way you are in constant training to push yourself to your physical and mental limits. It is an admirable quality and I wish to aid you. I will provide you with a cap, a tunic, sleeves, bracers, gloves, leggings and boots.");

}

if ($text=~/cap/i) {

quest::say("To create a piece of armor to protect your sensitive skull I will require three pieces of crushed coral as well as a eroded leather cap.");

}

if ($text=~/tunic/i) {

quest::say("To create a spectacular tunic fit for your kind I will require three flawless diamonds and an eroded leather tunic. With the gems and my skills I may be able to draw out some of its magical powers.");

}

if ($text=~/sleeves/i) {

quest::say("Protection for your arms will come at the price of three flawed emeralds and a set of eroded leather sleeves.");

}

if ($text=~/leggings/i) {

quest::say("I may be able to craft a set of wondrous leggings from a set of old eroded leather leggings and three flawed sea sapphires. It is amazing what you can do with a bit of magic.");

}

if ($text=~/gloves/i) {

quest::say("Protecting your hands is very important. I can create some excellent protection for your hands if you bring me three crushed topaz and a pair of eroded leather gloves.");

}

if ($text=~/bracers/i) {

quest::say("For the bracers, I will require a eroded leather bracelet as well as three crushed flame emeralds. Return to me when you find such things.");

}

if ($text=~/boots/i) {

quest::say("We use our feet so often, should not they be protected as well as any other portion of our bodies? If you seek fine protection for your feet return to me with three pieces of crushed black marble and a pair of eroded leather boots.");

}

}

else {

quest::say("I do not know you well enough to entrust you with such a quest, yet.");

}

}



sub EVENT_ITEM {

if ($faction <= 3) { # Require greater and kindly faction

if (plugin::check_handin(\%itemcount, 25814 => 3, 24942 => 1)) { # tunic

quest::summonitem(31092);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25821 => 3, 24944 => 1)) { # sleeves

quest::summonitem(31093);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25825 => 3, 24943 => 1)) { # leggings

quest::summonitem(31096);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25832 => 3, 24948 => 1)) { # gloves

quest::summonitem(31095);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25831 => 3, 24947 => 1)) { # cap

quest::summonitem(31091);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25838 => 3, 24946 => 1)) { # bracer

quest::summonitem(31094);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

elsif (plugin::check_handin(\%itemcount, 25833 => 3, 24945 => 1)) { # boots

quest::summonitem(31097);

quest::exp(100000);

quest::faction(49,20); # coldain

quest::faction(67,20); # Dain Frostreaver IV

quest::faction(188,-60); # Kromrif

quest::faction(198,-60); # Kromzek

quest::emote("smiles warmly as he hands you your reward.");

quest::say("You have done well.");

}

else {

plugin::return_items(\%itemcount);

quest::say("These are not the pieces I need.");

}

}

else {

quest::say("I do not know you well enough to entrust you with such an item, yet.");

}

}
#END of FILE Zone:thurgadina ID:115118 -- Lorekeeper_Einar
Reply With Quote
  #9  
Old 11-13-2007, 04:24 PM
Dargon
Fire Beetle
 
Join Date: May 2003
Posts: 14
Default

Make sure you have the plugins folder properly setup. I think the check_handin.pl not functioning properly (if at all) is why items are being eaten.
Reply With Quote
  #10  
Old 11-13-2007, 05:19 PM
sithkar
Fire Beetle
 
Join Date: Oct 2007
Posts: 3
Default

Since I really don't know what you mean by plugins (never read about them for set-up of a server) I bet that its. If you are still here could you give me a little info. If you are not I will just google it anyway.
Reply With Quote
  #11  
Old 11-13-2007, 06:30 PM
sithkar
Fire Beetle
 
Join Date: Oct 2007
Posts: 3
Default

Got it up and running. Thanks for your help. That was so easy.
Reply With Quote
  #12  
Old 01-14-2008, 08:18 PM
FirestormXL's Avatar
FirestormXL
Fire Beetle
 
Join Date: Nov 2007
Posts: 21
Default

What did you do to get it up?
Reply With Quote
  #13  
Old 02-13-2008, 03:09 PM
FirestormXL's Avatar
FirestormXL
Fire Beetle
 
Join Date: Nov 2007
Posts: 21
Default

Ha, got it up awhile ago long long while ago forgot I posted this now I feel silly > <.

Anywho, the quests that is DL'd with the PEQ had a folder named plugins, take the 4 items in that folder and move them into the EQEMU folder C:/eqemu/plugins , just sayin in case anyone else has similar problems and misses this.
__________________
"Just remember what ol' Jack Burton does when the earth quakes, the poison arrows fall from the sky, and the pillars of Heaven shake. Yeah, Jack Burton just looks that big old storm right in the eye and says, "Give me your best shot. I can take it." -Jack Burton
Reply With Quote
  #14  
Old 02-17-2008, 10:26 AM
loglos
Sarnak
 
Join Date: Feb 2008
Posts: 51
Default

Don't feel silly. You just solved my problem too!
Reply With Quote
  #15  
Old 02-22-2008, 07:41 AM
classiceq
Sarnak
 
Join Date: Jan 2008
Posts: 47
Default

Why is it some quests work and some dont? The ones that dont usually have this error attached to it...

use of uninitialized value in numeric eq (==)

I searched those terms and only one post came up without any relevenance to the problem. I am using the latest CVS quest as of 2/20/08.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:01 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3