Log in

View Full Version : How do you create a faction hit?


eski2
12-30-2009, 02:10 PM
For example, Critters of JaggedPine is on factionlist, id 61. In the npc_types table, id 181038 is a_Darkpaw_warrior. I can see it's npc_faction_id is 857 .

Looking at table npc_faction_entries npc_faction_id 857, i can see (god i wish i could copy paste a few relevant rows from heidiSQL instead of the whole table)

faction_id value npc_value
73 -30 1
159 10 0

So i assume this means every kill equals 30 points off faction_list id 73 (Darkpaws of Jaggedpine) but i don't know what npc_value is.
159 is Jaggedpine Treefolk so that's slowly going up by 10. I presume if i add a row
857 61 30 0

then killing a gnoll of that type will make the critters of jaggedpaw less homicidal to me. Does this make sense or am i making a mistake?

ChaosSlayerZ
12-30-2009, 02:18 PM
faction works guide

http://www.eqemulator.net/wiki/wikka.php?wakka=FactionTables

btw npc_value means if npc hate or assist this faction

eski2
12-30-2009, 02:57 PM
I was experimenting with this when i noticed the merchants of jaggedpine were on faction 0, not 271 ("Residents of Jaggedpine"). I reset them and conned them again but they were still indifferent. May faction with 271 is maxed. I tried rebooting the server but no effect. Is there anything else i needed to do?

eski2
12-30-2009, 02:59 PM
I have to admit i'm rather excited about being able to alter things to make Halas factions less insanely difficult to improve! I could never understand why the goblins didn't give positive hits, or why they were KOS to wolf form but seemed to use wolves as allies; perhaps if there were nastier enemy wolves giving positive halas faction hits...

ChaosSlayerZ
12-30-2009, 03:13 PM
I was experimenting with this when i noticed the merchants of jaggedpine were on faction 0, not 271 ("Residents of Jaggedpine"). I reset them and conned them again but they were still indifferent. May faction with 271 is maxed. I tried rebooting the server but no effect. Is there anything else i needed to do?

that is because you looking at primary faction again, instead of sub faction like I told you before. No npc uses a primary faction id - they all use sub-faction ids, which listed in a different table

copy/paste from sub faction table for all sub factions connected to primary faction 271

7703, 'a_black_panther', 271, 0
7715, 'A_Docile_Bear', 271, 0
7720, 'A_Greenwood_Grizzly', 271, 0
7731, 'Annous_Pineshadow', 271, 0
7739, 'Jeremy_Leafrunner', 271, 0
7833, 'FierceWind', 271, 0
17874, 'A_Great_Kodiak', 271, 0

Secrets
12-30-2009, 08:24 PM
Seriously? This is STILL the wrong forum.