PDA

View Full Version : NPC Faction - Stuck at amiable


vrated
06-15-2004, 09:25 PM
I am trying to modify the faction of lava beetles in Soldungb to KOS. They are currently amiable.

Here is what I have done:

1. Create a new record in faction_list. Record has unique ID "366", and a unique name, "Animals". Base is set to "-1000" and all other mods to "0".

2. Looked for the npc_faction_id of Lava Beetles in the npc_types table. This number was "3268".

3. Create a new record under npc_faction. id = "3268". name = "lava beetle". Primaryfaction = "366".

4. Create a new record under npc_faction_entries. npc_faction_id = "3268". faction_id = "366". value="0".

I do not want the player to drop or raise faction thus value set to 0 in step 4, even though all the mod's in faction_list are set to 0.

Restart the server, log in, con Lava Beetle(s). All con amiable.

Running 5.7-DR4 (06/14/04). MySQL 4.0.18.
MW_057DR2_alpha_1 db, with the govtcheese faction updates.

Other mobs for example, in Soldungb such as kobolds which in the mysql db are set to kos through their faction, do con KOS. So its not a server wide problems. I just cannot change the con on Lava beetles. I also tried it on Sonic bats, and have the same problem.

I'm stumped as to why I cannot get the faction changed.

Any ideas or help would be greatly appreciated.

Thanks.