Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-10-2007, 08:56 AM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

quick answer, ignore all the "extra columns" and set the base faction to something very negative (like -1500).

the R_xxx and D_xxx and C_xxx columns are for race/diety/class specific modifiers (e.g. i dont like you, but since you worship bertoxx, i'll consider you dubiously rather than threateningly).

since there isnt a way to raise or lower faction with PoN residence, you can just create a faction if your DB doesnt have one, and attach it to the npc_types via the faction join tables (iirc, there is a 4 table join between a mob, their faction entry, its primary faction, and mods for killing them/others related).

look at how npc_types, npc_faction, npc_faction_entries, and faction_list.

again, since the PoN is a trivial case (everything is either a quest npc or a KoS mob) you can just ignore npc_faction_entries because killing stuff wont raise or lower your faction.

thus you would need a faction_list entry for something like "KoS PoN residents" or something similar, if there isnt one already. then create a npc_faction entry that links to that faction_list entry (primary_faction column). then edit the npc_types table, setting the npc_faction_id column to the npc_faction entry that corresponds. you dont have to take the (usual) inefficient 1 npc_faction per npc_type route in this case because you dont have to handle special quest cases or some-such.

== sfisque

Last edited by sfisque; 10-10-2007 at 05:00 PM..
Reply With Quote
 

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 02:25 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