EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=616)
-   -   Perl item turn-ins (https://www.eqemulator.org/forums/showthread.php?t=12525)

Puck6633 03-18-2004 07:15 PM

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. :)

smogo 03-19-2004 12:01 AM

is this best forum ? nm :wink: .

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.

samandhi 03-19-2004 07:49 AM

Quote:

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

Puck6633 03-19-2004 10:06 AM

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. :shock:

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. :D


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

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.