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 05-07-2006, 10:26 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default Looking for info on fixing factions

Hello all, I am using the PEQ database and I have noticed some problems in a couple zones. In Najena, Befallen, and Unrest many of the mobs are conning as indifferent to most race/class combos. Only the ghouls in unrest seem to come up as "scowling and ready to attack" in Unrest to just about any character. I did notice that to a dark elf necro they conned "warmly." In befallen only some of the skeletons on the first level are attacking and conning correctly.

I am thinking this is a db issue and not a map files issue because some of the mobs are conning correctly and attacking when approached. I looked over the schema here and have tried searching this forum and the PEQ forum, but some very unhelpful results came up with little to do with this problem.

I was hoping there was some information on how to go about fixing this out there already. I see the schema lists faction_lists and faction_values but it only provides details on the values table. Are there any other tables involved in factions? How much is the value incremented/decremented when a player makes a kill? What is the correct default value for most characters? Is it race, class, or diety based?

I am not even sure I know what the correct defaults should be, I thought I remembered unrest being KOS to everyone that entered because they are undead there.

Any info would help,
Thank you.
Reply With Quote
  #2  
Old 05-07-2006, 10:27 AM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Ok, this ended up in Quests for some reason. I started the post in the General section. What happened???
Reply With Quote
  #3  
Old 05-07-2006, 11:05 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

In both zones, your best bet is to find an NPC that is on correct faction, use #showstats on that NPC to find its faction ID, then go to the other mobs in the zone and use #setfaction [correct mob's faction id] to set the other mobs to the same faction of the mob you saw.
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #4  
Old 05-07-2006, 12:26 PM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Thanks for moving the post to the correct area.

I was hoping for a little more information than that. If I understand how the faction system works, I can just correct the problem. I really don't want to start changing what faction a mob is on.

I looked up the dark elf necros faction in blackburrow. He is KOS there and the current_value in faction_values is -420. The same char in najena is listed at -180. So I am guessing that the lower the value is, the worse you are with that faction. I was wondering what scale the value follows. Is zero = indifferent?

Also, in the faction_list table there is a column called "base." What is this for? Is this the default that the character will start at for a particular faction? Also there are then many columns for "mod" values. I am guessing that these are the increment/decrement values for things like killing mobs and having a particular race/class/diety combo. Is there a list somewhere on what they correspond to?
Reply With Quote
  #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
  #6  
Old 05-07-2006, 04:36 PM
Kirgothi
Sarnak
 
Join Date: Apr 2006
Posts: 59
Default

Thanks Sesmar,

I went through unrest with my GM and did a #showstats on the monsters. The factionID that comes up is the primary key of the npc_faction table. For example, a ghoul in unrest comes up as factionID 512. On the npc_faction table this is listed as a_ghoul with a primaryfaction of 117, which is the Ghouls of Neriak on the faction_list table. Makes sense.

Now the majority of the mobs in unrest have a primaryfaction of 0 (zero). Is this because we just don't know what faction they are on? Or does 0 represent something else? I tried checking some sites but they don't list a faction for these monsters, like a dry bones skeleton.

I am going to check out the other zones I am having problems with and I suspect there will be a similar problem with this faction 0.
Reply With Quote
Reply


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 05:50 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