Aerewen
12-26-2006, 01:33 PM
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
...
} 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 :D
i seem to think that it was and possibly was done so improperly... in working on tutorial quests i ran into this problem
...
} 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 :D