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 02-19-2013, 02:12 PM
Mariomario
Hill Giant
 
Join Date: Jul 2004
Posts: 143
Default

When using the default.pl it only effects NPCs who don't already have a script, so perhaps when you tried it you were killed by an NPC who already had a script of his own, therefore the EVENT_SLAY did not take precedence from the default.pl you had it contained in.

How the script chain of command works:

specific npc.pl then,

folder default.pl then,

global default.pl.

So if you have a default.pl already in a folder for a zone, a global default.pl wouldnt affect anything in that zone, and likewise for an NPC's specific .pl script. Anything you have in the default.pl for the zone wouldnt affect anything for that specific NPC.

I hope this is understandable and you figure out what you're looking for.
__________________
Wrath - Lead Admin and Owner of Enlightened Dark: Ascension

Enlightened Dark: Ascension
Reply With Quote
  #2  
Old 02-19-2013, 03:21 PM
Dhrystone
Sarnak
 
Join Date: Feb 2013
Posts: 31
Default

Thanks. Yes, very clear.

I solved the problem by adding a test of $client->GetCorpseCount > 0 to the EVENT_ENTERZONE event in global_player.pl

This works because after death the first thing that happens is a return to bind point. The ENTERZONE is triggered upon landing on your bind point.

The code in global_player.pl then casts a spell on the player to silence them for 5 days so they can't cast, and moves them to the tutoriala zone. Where there is no exit. It also sets another qglobal. If somehow they get out (maybe by waiting out the 5-day timer) then upon entry into any other zone the same event will trigger putting them right back into...purgatory!

Now, all the dead players will be able to re-enact NO EXIT in the tutoriala zone

The Survivor Server is open for beta testing of the perma-death (actually perma-purgatory) option now.

Turning on the option is done by speaking to the Avatar of Mortality in PoK.

Thank you all for the help and guidance here.

Dhry
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 12:43 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3