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 07-08-2009, 02:10 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Perhaps you're not utilizing the faction tables correctly.

npc_types.npc_faction_id corresponds to npc_faction.id

npc_faction.primaryfaction corresponds to faction_list.id

faction_list.id corresponds to faction_values.faction_id

So, when character # 1 cons Nagafen (npc_types.id 32040), the server sees that Nagafen has a npc_faction_id of 23.

The server checks the npc_faction record for id 23 and sees that the primary faction for this entry is 226.

The server checks the faction_list table for id 226 and builds a starting faction value from the base, race, class, and deity modifiers in the record.

The server then checks the faction_values table record matching character id #1 and faction_id # 226, adding the user-accomplished current_value number to the starting faction value from faction_list.

The server then adds in any further modifiers such as worn item faction adjustments and spell-related faction adjustments.

The final modified number determines the individual character's standing with the NPC being conned.
Reply With Quote
  #2  
Old 07-08-2009, 02:38 PM
litlamzetiv
Fire Beetle
 
Join Date: Jun 2009
Location: Alaska
Posts: 12
Default

Yeah, that's gotta be the breakdown. I was omitting an entry in faction_values for the factions I'd created.

I really appreciate you guys taking the time to break this all down in detail to a n00b.

<3
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 10:12 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