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 09-26-2011, 12:38 AM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default Creating Keys to zones?

Since /flag on zones crashes the zone server, I would like to know if there's a way I can use keys to unlock zones.

I am trying to key each specific group of expansion zones, so that you have to do a quest to get the key which opens kunark to you, then another quest IN kunark that will give you the key to enter velious zones, etc.

Any ideas or help would be great. I just want a way to flag the zone until they get X item, without crashing my zone server. Thanks!
Reply With Quote
  #2  
Old 09-26-2011, 09:51 AM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

You could use status.

Assuming you have all characters with 0 status.
Go to each Kunark zone and set the minimum status to enter the zone to 1. Repeat for the Velious zones at 2.

You could have the quest reward with said item and also set the player's status to 1. Then when the next quest is completed set their status to 2.
Reply With Quote
  #3  
Old 09-26-2011, 07:19 PM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default !

That is exactly what I did and it is working perfectly. You rock.

So how would you write the code for +1 status , and that makes it so u can only complete the quest once?
Reply With Quote
  #4  
Old 09-26-2011, 07:50 PM
Expletus
Hill Giant
 
Join Date: Jan 2010
Location: Baltimore Maryland
Posts: 152
Default

Set it as a task and make it check to see if it was done or active..

Code:
sub EVENT_SAY {

	my $word1 = quest::saylink("word1");
	my $word2 = quest::saylink("word2");

	$client->Message(7, "-");
	my $NPCName = $npc->GetCleanName();

	if (quest::istaskactive(225) || quest::istaskcompleted(225))
	{
		$client->Message(315, "$NPCName whispers to you, 'some quest text here.");
	}
	else
	{
		if ($text =~/Hail/i)
And of course the rest of the quest code that follows.
__________________
Expletus / Volgar
Reply With Quote
  #5  
Old 09-30-2011, 10:21 PM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default

wow shit, how did u do that task thingy?

Ok, walk me through slow...
Lets say make a task to kill 5 gnolls in blackburrow, kill the gnoll commander and turn in baby joseph sayer to complete task. how would that look?

I have done all quest but zero tasks so far, havent found a tool for tasks yet, just been using the quest editor

You guys are awesome, thanks for help!
Reply With Quote
  #6  
Old 09-30-2011, 10:29 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

I should have looked before I replied with my answer. Going back and looking at the wiki's list of quest commands and such I can not find any command to set status via a quest script.

You can easily check it, but i do not see how to set it. I just assumed there was a perl call for it. I believe PEQ used to have status 1 to allow #peqzone in the early days of the server. Just assumed there was perl available.
Reply With Quote
  #7  
Old 10-01-2011, 09:03 AM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default

worst case scenario, i'lll do it manually... big deal, a GM has to be on.. no biggie.
Reply With Quote
  #8  
Old 10-01-2011, 10:40 AM
Funkey Monkey
Sarnak
 
Join Date: Jul 2010
Posts: 35
Default

Quote:
Originally Posted by bodi View Post
wow shit, how did u do that task thingy?

Ok, walk me through slow...
Lets say make a task to kill 5 gnolls in blackburrow, kill the gnoll commander and turn in baby joseph sayer to complete task. how would that look?

I have done all quest but zero tasks so far, havent found a tool for tasks yet, just been using the quest editor

You guys are awesome, thanks for help!
Havent been here in while but last time i was there was a task creator/editor. TaskMaster i believe it was called. Actually found the link for ya.
Its tm_1_0_8a.zip on that page
Reply With Quote
  #9  
Old 10-01-2011, 11:55 AM
Expletus
Hill Giant
 
Join Date: Jan 2010
Location: Baltimore Maryland
Posts: 152
Default

Yep, get the task maker he linked above and if you don't have the PEQ Database editor, you need to look into getting that as well.
__________________
Expletus / Volgar
Reply With Quote
  #10  
Old 10-01-2011, 06:30 PM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default

you guys are awesome. Thanks so much. I am glad there are so many helpful brilliant minds out here to help us newb GMs!
Thanks again! I will report my results.
Reply With Quote
Reply


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 11:46 AM.


 

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