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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-23-2008, 09:06 AM
erik_llewellyn
Sarnak
 
Join Date: Dec 2006
Posts: 98
Default Handin not working and player.pl error

I have been working on making a quest for each zone to "flag" a character for them and adding +1 hp/mana/end for each flag to an item I created. I just wanted the basic quest shell to work for now, I will code in the +1 and item leter. However after about a week now of trial and error, looking at various posts which gave many great ideas, my quest still seems to be partially broken. Specficially the handin portion doesn't seem to be working at all. My NPC just eats the item and doesn't run any part of the event_item script. I have noticed that the "check_handin.pl", "check_hasitem.pl", "guildmasters.pl", and "soulbinders.pl" that is in the "\plugins" folder are different from those that are loaded into the "\quests\plugins" folder. I tried replacing them both with each version one at a time and either seem to make things work.

Question 2 is, the wiki says "player.pl" used for storing exported variables but doesn't give any clue as to how to code something for it or how to use it. doing a search for it on the forums turns up very little.

I am using PEQserverpack-maps-4.0-1104 with the PEQupdatepack-4.0-1106

quest_zone log

[04.23. - 08:31:22] Starting Log: logs/eqemu_quest_zone_3140.log
[04.23. - 08:31:22] Tying perl output to eqemu logs
[04.23. - 08:31:22] Creating EQEmuIO=HASH(0x3f4467
[04.23. - 08:31:22] Creating EQEmuIO=HASH(0x3f44a20)
[04.23. - 08:31:22] Loading perlemb plugins.
[04.23. - 08:31:22] Loading perl commands...
[04.23. - 08:36:41] Bareword found where operator expected at quests/crushbone/999137.pl line 16, near "$client->Message(15, "You"
[04.23. - 08:36:41] (Might be a runaway multi-line "" string starting on line 12)
[04.23. - 08:36:41] (Missing operator before You?)
[04.23. - 08:36:41] Unquoted string "flag" may clash with future reserved word at quests/crushbone/999137.pl line 16.
[04.23. - 08:36:51] Unable to read perl file 'quests/crushbone/player.pl'
[04.23. - 08:36:51] Unable to read perl file 'quests/templates/player.pl'


Quest Script for "quests\crushbone\999137.pl"

sub EVENT_SAY {
if($text =~ /Hail/i) {
quest::say("Greetings $name. Have you come to [rid] us of the vile Emperor?");
}
if($text =~ /rid/i) {
quest::say("Outstanding! All you have to do is kill Emperor Crushbone then bring me the proof in the form of his head.");
}
}
sub EVENT_ITEM{
#Item id is actually for a cloth cap, but was using it as a test item until I make the head
if($item1 == 1001){
quest::say("You have done it $name! May you be graced with the strength of Brell Seliris!');
quest::exp(25000);
quest::ding();
quest::set_zone_flag(58 );
$client->Message(15, "You received a character flag!");
}
}

As a side note, all other handin's seem to be working, just not the one I created.
Thanks for any assistance
Reply With Quote
 


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