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

03-13-2015, 01:25 PM
|
 |
Dragon
|
|
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
|
|
Actually, now looking at the new global_player.lua, perhaps this code would more closely resemble the way it works:
Code:
sub EVENT_ENTERZONE {
if (($ulevel >= 15) && (!defined($qglobals{Wayfarer}))) {
my @wayfarerzones = [1,2,3,8,9,10,19,22,23,24,29,30,34,35,40,41,42,45,49,52,54,55,60,61,62,67,68,75,82,106,155,202,382,383,392,393,408];
if ($client->GetStartZone()!=$zoneid && $zoneid ~~ @wayfarerzones) {
$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.'");
}
}
}
Untested, as every server I've helped with has ripped out the entire WB functionality.
Last edited by ghanja; 03-14-2015 at 12:20 PM..
Reason: Missing ampersand in code
|
 |
|
 |

03-13-2015, 01:40 PM
|
Fire Beetle
|
|
Join Date: Feb 2015
Location: California
Posts: 11
|
|
Yes, that's exactly the reason! Thanks for the code. I will try it out and let you know.
Hey Akkadius, you work on the EZ server, right? How was the spell scribing when you level implemented there? I thought that was a great feature.
|
 |
|
 |

03-14-2015, 05:51 AM
|
Hill Giant
|
|
Join Date: Feb 2013
Posts: 220
|
|
Quote:
Originally Posted by ghanja
Actually, now looking at the new global_player.lua, perhaps this code would more closely resemble the way it works:
Code:
sub EVENT_ENTERZONE {
if ($ulevel >= 15 & !defined($qglobals{Wayfarer})) {
my @wayfarerzones = [1,2,3,8,9,10,19,22,23,24,29,30,34,35,40,41,42,45,49,52,54,55,60,61,62,67,68,75,82,106,155,202,382,383,392,393,408];
if ($client->GetStartZone()!=$zoneid && $zoneid ~~ @wayfarerzones) {
$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.'");
}
}
}
Untested, as every server I've helped with has ripped out the entire WB functionality.
|
Brings up the feedback message '[Quests] Possible precedce problem on bitwise & operator at quests/global/global_player.pl line 2.'
|
 |
|
 |

03-14-2015, 11:48 AM
|
 |
Dragon
|
|
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
|
|
Quote:
Originally Posted by dagulus2
Brings up the feedback message '[Quests] Possible precedce problem on bitwise & operator at quests/global/global_player.pl line 2.'
|
Put your global_player.pl in code blocks so we can look at it.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:13 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |