Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2018, 11:17 PM
John C
Sarnak
 
Join Date: Jul 2018
Location: Atlanta, GA
Posts: 49
Default Highkeep Guards on Strike?

For some reason, the guards in High Keep appear to be on strike. If I train out with Goblins, they watch them beat on me and take absolutely no action to help.

Before I go looking for myself, does anyone know what causes guards to help or not help? Is it tied to faction? NPC guard flag?

Thanks.
Reply With Quote
  #2  
Old 08-05-2018, 05:12 AM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Ok, so to make a 'guard' work you need a few things:

1) The npc_aggro fag in npc_types has to be set to 1.
2) The faction attached to the guard has to have a line telling it to attack the target faction. This is denoted in npc_faction_entries by a -1 in the npc_value and the faction number of what you want the guard to attack in the faction_id. For reference the faction for the Pickclaw Goblins is 249.
3) The creature you want the guard to attack must have a faction attached.

Finally: There appears to be a hard limit to how may factions any npc can keep track of, so if you have added several factions before 249 in the Highkeep Guards faction tables, there will be a cut of point where they just ignore the later ones.

I hope this helps.
Reply With Quote
  #3  
Old 08-05-2018, 05:40 AM
Cusser
Sarnak
 
Join Date: Sep 2017
Posts: 89
Default

In the source code (features.h)

Code:
//max factions per npc faction list
#define MAX_NPC_FACTIONS 20
Reply With Quote
  #4  
Old 08-05-2018, 05:54 AM
dagulus2
Hill Giant
 
Join Date: Feb 2013
Posts: 220
Default

Quote:
Originally Posted by Cusser View Post
In the source code (features.h)

Code:
//max factions per npc faction list
#define MAX_NPC_FACTIONS 20
Thanks, that's something I have wanted to know for years.
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:15 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