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 12-26-2006, 01:33 PM
Aerewen
Hill Giant
 
Join Date: Dec 2006
Posts: 110
Default Perl compiled into eqemu?

i seem to remember reading somewhere that perl no longer needs to be installed as it was compiled into eqemu...

i seem to think that it was and possibly was done so improperly... in working on tutorial quests i ran into this problem

Code:
...
  } elsif ($item1 == 54229){
    quest::say("Well done $name! I'll get right to work.' Absor trots over the forge and begins to shape the bronze into a weapon. When he's finally done and the blade is cooled he hands it back to you. 'There you go $name. That should do well for caving kobol skulls!' You swing the weapon a few times to test the balance as a sly grin sneaks across your face. Absor says, 'I hear rumors that the Slavemaster Ruga has a secret stash of iron as well. If you bring me some, I can make you an even better weapon.");
    if(($class eq "Warrior") || ($class eq "Paladin") || ($class eq "Ranger") || ($class eq "Shadowknight")){
      quest::summonitem(54231);
    }
    elsif(($class eq "Rogue") || ($class eq "Beastlord") || ($class eq "Enchanter") || ($class eq "Shaman") || ($class eq "Wizard") || ($class eq "Necromancer")){
      quest::summonitem(54230);
    }
    elsif($class eq "Berzerker"){
      quest::summonitem(54233);
    }
    elsif(($class eq "Magician") || ($class eq "Monk")){
      quest::summonitem(54232);
    }
  } els{
    quest::say("I have no need for this item $name, you can have it back.");
    if($item1 != 0){
      quest::summonitem($item1);
    }
    if($item2 != 0){
      quest::summonitem($item2);
    }
    if($item3 != 0){
      quest::summonitem($item3);
    }
    if($item4 != 0){
      quest::summonitem($item4);
    }
  }
now you would think that the following code would only return the items given to him in the event they did not match any of the quest hand in's... but nooooo... he gives you the item back regardless of whether it checks out earlier in the if/else chain... so what's with that? :p

i can't have people handing in the same item over and over again any more than i can have people hand in the wrong item and never see it again
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 08:57 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