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 10-11-2009, 03:15 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default player.pl is there npc.pl?

I was wondering if there was a global file for all npcs, as there is for players?
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #2  
Old 10-11-2009, 03:19 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

I believe it is default.pl, in the quest\templates folder
__________________
Server Op of Bonds of Strength(custom-Legit)
Reply With Quote
  #3  
Old 10-11-2009, 03:22 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Don't see a default.pl in the templates folder. There is one in the quests/plugins directory but it looks more like a setup than an action file.

Tried using quests/zone/default.pl but the mobs aren't taking to it.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #4  
Old 10-11-2009, 03:50 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

There is a default.pl in tutorialb with a hail = "Shh, I think I here the kobolds."

But, to test I hailed Guard Kaikachi and he doesn't respond to anything.

Is this the right file name or is it supposed to work?
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #5  
Old 10-15-2009, 09:32 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Tried default.pl, did not work. Anyone have any insight on this one?
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #6  
Old 10-15-2009, 11:34 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I don't believe that there is currently a way to access a default.pl file. Player quests were implemented by KLS to access the player.pl file, so I'd imagine something similar would have to be created for this case.

The templates folder is a way to place a single file for an NPC in all zones, such as the Nexus Scions. Rather than having to place the file every zone with a scion, one file can control them all.

This is a good idea, though, and I believe it's been talked about in the past. I'd be interested to see it so that return plug-ins could be created for every NPC easily, so that they'd return items. However, there would of course have to be an exception set so that pets wouldn't use the same file.
Reply With Quote
  #7  
Old 10-15-2009, 11:38 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Good thinking, didn't even think about pets trying to use the same file.

Hopefully this is an easy thing to implement. It looks like someone wanted to do it since there was the default.pl in the tutorialb zone.

Any takers?
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #8  
Old 10-15-2009, 12:18 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

why shouldn't pets use the same file?
Reply With Quote
  #9  
Old 10-15-2009, 12:20 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I know it was discussed here as a result of an attempt that went wrong. However, I can't seem to find the original plug-in that was tested and prompted that post.
Reply With Quote
  #10  
Old 10-15-2009, 12:34 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

You don't want pets to use the same npc_default.pl (just a name I'm tossing out, it's a hypothetical at this point) because pets need to keep items that are given to them like weapons and armor, and you wouldn't want NPCs to do that by default. You'd want NPCs to return items that are given to them, unless they aren't caught in sub EVENT_ITEM.
Reply With Quote
  #11  
Old 10-15-2009, 01:26 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Hopefully you can find that plugin, it will greatly save my hair and frustration!
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #12  
Old 10-15-2009, 03:02 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by So_1337 View Post
You don't want pets to use the same npc_default.pl (just a name I'm tossing out, it's a hypothetical at this point) because pets need to keep items that are given to them like weapons and armor, and you wouldn't want NPCs to do that by default. You'd want NPCs to return items that are given to them, unless they aren't caught in sub EVENT_ITEM.
unless there is a indivudual .pl file for each pet, which I belive should prevent default scripts running for them.
Reply With Quote
  #13  
Old 10-15-2009, 03:27 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Okay, here we go.

Quote:
Originally Posted by Cavedude
default.pl already works, both by zone, and server wide. (It goes in the root directory of quests, not templates. Never made sense to me, but it works.)
It was originally discussed in this thread, though it seems that the code was eventually taken out (as explained in the thread I linked to previously over at PEQ).

It seems to have been awhile since this was explored, but you may get the results you want just by experimenting. Hope this has helped =)
Reply With Quote
  #14  
Old 10-15-2009, 08:06 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

But, it doesn't work. Like I said, the default.pl in tutorialb doesn't make the guards(non-quest) say "shh, i hear kobolds"
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #15  
Old 10-15-2009, 08:27 PM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default

it works fine on my test server running rev 1000 -ish
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 11:38 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3