Quote:
Originally Posted by trevius
Make sure you have a global_player.pl file in your templates folder, or you will have crashes.
|
I have a global_player.pl
look! Are you?
sub EVENT_ENTERZONE {
if($ulevel >= 15 && !defined($qglobals{Wayfarer}) && $client->GetStartZone()!=$zoneid && $zoneid !=50 && $zoneid !=12) {
$client->Message(15,"A mysterious voice whispers to you, 'If you can feel me in your thoughts, know this -- something is changing in the world and I reckon you should be a part of it. I do not know much, but I do know that in every home city and the wilds there are agents of an organization called the Wayfarers Brotherhood. They are looking for recruits . . . If you can hear this message, you are one of the chosen. Rush to your home city, or search the West Karanas and Rathe Mountains for a contact if you have been exiled from your home for your deeds, and find out more. Adventure awaits you, my friend.'");
}
}
sub EVENT_COMBINE_SUCCESS {
if (($recipe_id == 10904) || ($recipe_id == 10905) || ($recipe_id == 10906) || ($recipe_id == 10907)) {
$client->Message(1, "The gem resonates with power as the shards placed within glow unlocking some of the stone's power. You were successful in assembling most of the stone but there are four slots left to fill, where could those four pieces be?");
}
if ($recipe_id == 10903) {
if (($class eq "Bard") || ($class eq "Beastlord") || ($class eq "Paladin") || ($class eq "Ranger") || ($class eq "Shadowknight")) {
quest::summonitem(67666);
quest::summonitem(67704);
}
elsif (($class eq "Warrior") || ($class eq "Monk") || ($class eq "Berserker") || ($class eq "Rogue")) {
quest::summonitem(67665);
quest::summonitem(67704);
}
elsif (($class eq "Cleric") || ($class eq "Shaman") || ($class eq "Druid")) {
quest::summonitem(67667);
quest::summonitem(67704);
}
elsif (($class eq "Necromancer") || ($class eq "Wizard") || ($class eq "Enchanter") || ($class eq "Magician")) {
quest::summonitem(6766
;
quest::summonitem(67704);
}
$client->Message(1,"Success");
}
if ($recipe_id == 10346) {
if (($class eq "Bard") || ($class eq "Beastlord") || ($class eq "Paladin") || ($class eq "Ranger") || ($class eq "Shadowknight")) {
quest::summonitem(67661);
quest::summonitem(67704);
}
elsif (($class eq "Warrior") || ($class eq "Monk") || ($class eq "Berserker") || ($class eq "Rogue")) {
quest::summonitem(67660);
quest::summonitem(67704);
}
elsif (($class eq "Cleric") || ($class eq "Shaman") || ($class eq "Druid")) {
quest::summonitem(67662);
quest::summonitem(67704);
}
elsif (($class eq "Necromancer") || ($class eq "Wizard") || ($class eq "Enchanter") || ($class eq "Magician")) {
quest::summonitem(67663);
quest::summonitem(67704);
}
$client->Message(1,"Success");
}
if ($recipe_id == 10334) {
if (($class eq "Bard") || ($class eq "Beastlord") || ($class eq "Paladin") || ($class eq "Ranger") || ($class eq "Shadowknight")) {
quest::summonitem(67654);
quest::summonitem(67704);
}
elsif (($class eq "Warrior") || ($class eq "Monk") || ($class eq "Berserker") || ($class eq "Rogue")) {
quest::summonitem(67653);
quest::summonitem(67704);
}
elsif (($class eq "Cleric") || ($class eq "Shaman") || ($class eq "Druid")) {
quest::summonitem(67655);
quest::summonitem(67704);
}
elsif (($class eq "Necromancer") || ($class eq "Wizard") || ($class eq "Enchanter") || ($class eq "Magician")) {
quest::summonitem(67656);
quest::summonitem(67704);
}
$client->Message(1,"Success");
}
}