Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::General Support

Archive::General Support Archive area for General Support's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
  #1  
Old 03-18-2004, 07:15 PM
Puck6633
Fire Beetle
 
Join Date: Nov 2003
Posts: 22
Default Perl item turn-ins

Alright, I've been fiddling with this for almost a week, so I think it's time to just ask.

I've installed EQEmu 5.2 for perl (the precompiled version availible on the source forge page) and created a simple quest to test the system. Everything worked just fine until I got to the item turn-ins - which do nothing, at all.

I've tried everything I can think of, and searched the forums many times, none of them returning any results. This leads me to believe that no one else is having this problem, and thus it must be something I'm doing wrong. I just don't know what it is.

The quest I'm using is:

Code:
sub EVENT_SAY { 
  if ($text =~ /Hail/i) {
    quest::say("Hello there. Give me an item to test the item event.");
  }
}
sub EVENT_ITEM { 
    quest::say("It works.");
}
It works fine in the quest emulator, but in-game turning in an item produces no respose.

I'm at a complete loss, and any suggestions are welcome.
  #2  
Old 03-19-2004, 12:01 AM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

is this best forum ? nm .

you may want to try with a newer EQEMu version, say 0.5.3 or 0.5.5, it may help. There have been a bunch of changes to perl quest around early Jan 04. Check the changelog.txt for details.
  #3  
Old 03-19-2004, 07:49 AM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Quote:
sub EVENT_ITEM {
quest::say("It works.");
}
Wouldnt that be an if statement? Or has it changed that much?
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
  #4  
Old 03-19-2004, 10:06 AM
Puck6633
Fire Beetle
 
Join Date: Nov 2003
Posts: 22
Default

Quote:
Originally Posted by smogo
is this best forum ?
Sorry about that, I was half asleep when I posted it and thought "General support, sounds good," failing to notice the description.

Quote:
Originally Posted by samandhi
Wouldnt that be an if statement? Or has it changed that much?
Actually, you only need an if statement when you want to check for a specific condition (I.E. a certain item number), in this case I just want to see if the NPC recognises that an item has been turned in at all.


I'm working on trying to upgrade to a new version of EQEmu to try that. I got a set of 5.5-DR1 binaries, but EQ locks up while trying to zone in with those, so now I'm trying to compile the 5.5-RC1 source, but it's being stubborn. :(

Thanks for the help, and any further suggestions are still welcome.
 


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 02:09 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3