Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::need work

Quests::need work This is where quests that are outdated or still need work

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-11-2008, 02:06 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

The way the quest currently works is it will teleport up to 6 people to the trial area.
quests/pojustice/201078.pl (Execution Tribunal):
Code:
   30       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == 5)
   31         {
   32         quest::movepc(201,192,-1055,75);
   33 	quest::say("Then begin.");
   34         $execution=6;
   35         }
   36       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == 4)
   37         {
   38         quest::movepc(201,192,-1055,75);
   39 	quest::say("Then begin.");
   40         $execution=5;
   41         }
   42 
   43       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == 3)
   44         {
   45         quest::movepc(201,192,-1055,75);
   46 	quest::say("Then begin.");
   47         $execution=4;
   48         }
   49 
   50       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == 2)
   51         {
   52         quest::movepc(201,192,-1055,75);
   53 	quest::say("Then begin.");
   54         $execution=3;
   55         }
   56       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == 1)
   57         {
   58         quest::movepc(201,192,-1055,75);
   59 	quest::say("Then begin.");
   60         $execution=2;
   61         }
   62       if($text=~/trial of execution/i && $pop_poj_mavuin == 1 && $execution == undef)
   63 	{
   64 	quest::say("Then begin.");
   65         quest::movepc(201,192,-1055,75);
   66         $execution=1;
   67 	quest::settimer(47,30);
   68         quest::signal(201076,15000);
   69         }
   70 
   71 
   72       if(($text=~/Hail/i or $text=~/prepared/) && ($execution > 5) && $pop_poj_mavuin == 1) #prevent access if timer started
   73         {
   74         quest::say("I'm sorry, the Trial of Execution is currently underway.");
   75         }
There is a quest function to teleport a group to a location, but I'm not sure if it works properly. If so, I think it would be better to use it instead.

From the Wiki:
Quote:
quest::movegrp(zoneid,x,y,z) - Moves the user's Group that triggered the Event to the provided zone and loc.
I do know that movegrp was added in after the quest was created, so this is why it is probably still the same. But that's also why we have cavedude
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
 


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 08:26 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