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 03-13-2015, 01:25 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

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
Reply With Quote
  #2  
Old 03-13-2015, 01:40 PM
Twilightmist
Fire Beetle
 
Join Date: Feb 2015
Location: California
Posts: 11
Default

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.
Reply With Quote
  #3  
Old 03-14-2015, 05:51 AM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Quote:
Originally Posted by ghanja View Post
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.'
Reply With Quote
  #4  
Old 03-14-2015, 11:48 AM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by dagulus2 View Post
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.
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 03:13 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