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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-07-2006, 01:59 PM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

There are 4 Tables with information pertaining to Faction. These tables are:

faction_list
faction_values
npc_faction
npc_faction_entries

faction_list is a list of all possible factions in the game. This base being the starting point and all the mod fields being modifiers to this base based on Class/Race/Diety - you can determine which is which based on the names and the Class/Race/Diety enumeration numbers.

faction_values only contains a character_id, faction_id and the current value of the faction for that character.

npc_faction is what I call the faction tables for the NPC's, this contains a Faction table name and ID as well as the faction id of the primary faction (the faction in which this NPC belongs to and reacts on.)

npc_faction_entries contains a list of all the entries in each faction table this starts with an ID in to the npc_faction table telling you which table this entry belongs to, then a faction ID into the faction_list table. The value field in this table is the amount either added or subtracted to PC's faction when you kill a NPC using this faction table, and I believe that last field (correct me if I am wrong) npc_value being either 1, 0 or -1 tells the NPC how to react to other creature with a primary faction of this entry. 1 being to help, 0 neutral and -1 they will attack.
__________________
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 11: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