Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2009, 11:03 AM
janusd
Sarnak
 
Join Date: Jan 2008
Posts: 47
Default

Wait... you got the boat to target the player without the player having to initiate contact with an entry or some other such? Pretty sexy! I'd forgotten all about those boats, honestly.

You think it's possible to work up a PERL command to make NPCs respond to text without being targeted? Just when something is said within a certain radius of 'em they respond if they're keyed to respond to it?
Reply With Quote
  #2  
Old 04-19-2009, 01:07 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

This is in SVN, and I added a_boat.pl to the templates folder on the PEQ SVN. I'll work on the spawnpoints for the broken boats. Thanks!
Reply With Quote
  #3  
Old 04-19-2009, 11:34 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

Quote:
Originally Posted by janusd View Post
Wait... you got the boat to target the player without the player having to initiate contact with an entry or some other such? Pretty sexy! I'd forgotten all about those boats, honestly.

You think it's possible to work up a PERL command to make NPCs respond to text without being targeted? Just when something is said within a certain radius of 'em they respond if they're keyed to respond to it?
The boat targeting was fairly simple because the client sends a couple of different op codes when it enters or leaves boats, so I used those to trigger the changes.

I can think of a couple of ways that NPCs could respond to things said within a certain radius, but they all involve adding a lot of extra work for the server (as every npc sifts through everything that happens near them, looking for those few relevant items). At the very least, it would probably need a database flag, similar to the quest globals flag, to designate the few NPCs that need to do that.
Reply With Quote
  #4  
Old 04-20-2009, 07:37 AM
janusd
Sarnak
 
Join Date: Jan 2008
Posts: 47
Default

If it were coded to switch on an off as PCs enter or leave a certain radius of the npc that might make the server load a lot lighter.

The main reason I ask is that there are some Live quests that require proximity speech without a target. I'm also fairly certain that the custom admins could use a similar function to their own devious ends.
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 09:06 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