Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2008, 08:56 PM
jdam7459
Sarnak
 
Join Date: Mar 2007
Posts: 45
Default Help with Faction

I have been having a faction problem with my tutorial guards.

Here's the database values...

peq.faction_list

Code:
Name: Guards / Base: 250
Name: Mobs   / Base: -1000
peq.npc_faction

Code:
Name: Guards / Primaryfaction: 483 / Ignore: 0
Name: Mobs   / Primaryfaction: 484 / Ignore: 0
peq.npc_faction_entries

Code:
Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000  / Npc_Value:  1
Npc_faction_id: 20000 / Faction_id: 483 /  Value: 100   / Npc_Value: -1
Npc_faction_id: 20001 / Faction_id: 484 /  Value: 10    / Npc_Value: -1
Npc_faction_id: 20001 / Faction_id: 484 /  Value: -10   / Npc_Value:  1
Any information would be better than what I have and greatly appreciated!
Reply With Quote
  #2  
Old 04-12-2008, 09:51 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

this:
Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000 / Npc_Value: 1
Npc_faction_id: 20000 / Faction_id: 483 / Value: 100 / Npc_Value: -1

and this

Npc_faction_id: 20001 / Faction_id: 484 / Value: 10 / Npc_Value: -1
Npc_faction_id: 20001 / Faction_id: 484 / Value: -10 / Npc_Value: 1

dose not make any sence.

first you telling the server to:
faction 20000(primary 483) to assist each other and you loose 1k points to killing them
then you telling the server that faction 20000 kos to itself and you get 100 points for killing them.


same for 200001


what you should have is this:

Npc_faction_id: 20000 / Faction_id: 483 / Value: -1000 / Npc_Value: 1
Npc_faction_id: 20000 / Faction_id: 484 / Value: 100 / Npc_Value: -1

Npc_faction_id: 20001 / Faction_id: 484 / Value: -10 / Npc_Value: 1
Npc_faction_id: 20001 / Faction_id: 483 / Value: 10 / Npc_Value: -1

Last edited by ChaosSlayer; 04-13-2008 at 05:54 AM..
Reply With Quote
  #3  
Old 04-13-2008, 03:16 PM
jdam7459
Sarnak
 
Join Date: Mar 2007
Posts: 45
Default

No dice...

Guards still not attacking the mobs when they get close...

Using information from your last post...

Anything else it could possibly be?
Reply With Quote
  #4  
Old 04-13-2008, 03:27 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

do guards npc have npc_aggro value set to 1 in npc_types table?
Reply With Quote
  #5  
Old 04-13-2008, 03:33 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

and I assume that here

Name: Guards / Primaryfaction: 483 / Ignore: 0
Name: Mobs / Primaryfaction: 484 / Ignore: 0


20000 corespands to Guards
and 20001 to Mobs
Reply With Quote
  #6  
Old 04-13-2008, 03:36 PM
jdam7459
Sarnak
 
Join Date: Mar 2007
Posts: 45
Default

lemme check chaos...

will get back to ya...
Reply With Quote
  #7  
Old 04-13-2008, 03:38 PM
jdam7459
Sarnak
 
Join Date: Mar 2007
Posts: 45
Default

Guards are set to 1
Mobs to 0 for some reason, both aggro radii are 20
Reply With Quote
  #8  
Old 04-13-2008, 04:01 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

hmm 20 could be a bit low, but puting guard and mob face to face should work.

do any of the old opposing factions guard to mob attack work?
given you downloaded default PEQ db
Reply With Quote
  #9  
Old 04-13-2008, 04:03 PM
jdam7459
Sarnak
 
Join Date: Mar 2007
Posts: 45
Default

Found reason...faction is loaded with buy server reset (/bonks self)

Thanks Chaos

And btw if you know how to make weapons show on npcs (Guard's weapons, shields, etc...)

I could use that info too

Thanks again!
Reply With Quote
  #10  
Old 04-13-2008, 04:15 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

weapon show- assuming you running build 1090+, then

a) specific guard needs to have that weapon as part of his loot
b) in a collumn when it asked if item should be equiped, you must put 1/yes
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 09:55 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