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 04-13-2008, 06:06 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

I'm pretty sure the issue is the syntax. If I'm not mistaken, => defines a value in an array (or something like that). Since Perl is executing storing it correctly, it's always coming back as a true value. If you change all of the =>'s to ==, you should be good to go.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #2  
Old 04-13-2008, 07:40 AM
Bulle
Hill Giant
 
Join Date: Jan 2008
Posts: 102
Default

Indeed, "$itemcount{812} => 1" may be creating a map, which is an object hence not null. So it can be interpreted as a TRUE. I am far from an expert in Perl but I have seen such things on other languages (like C, Java) which do interpret many non-nul values to true.

Have you tried using the regular >= instead of => ? For a compiler they are absolutely not the same beasts.
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 08:33 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