EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   How can you make bixies KOS to guards? (https://www.eqemulator.org/forums/showthread.php?t=34669)

EQstarr 01-01-2012 08:54 PM

How can you make bixies KOS to guards?
 
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.

What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.

Secrets 01-02-2012 01:24 AM

Quote:

Originally Posted by EQstarr (Post 205608)
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.

What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.

0 Points is for player faction only. You want the npc_faction and npc_faction_entries table for what you are trying to do. You can read up on them on the wiki here:

http://www.eqemulator.net/wiki/wikka...DatabaseSchema

EQstarr 01-02-2012 11:44 AM

These are the tables I'm messing with actually. Here's what I have. Maybe I'm missing something?
Code:

INSERT INTO `npc_faction_entries` (`npc_faction_id`, `faction_id`, `value`, `npc_value`) VALUES (218, 313, 0, -1);
INSERT INTO `npc_faction` (`id`, `name`, `primaryfaction`, `ignore_primary_assist`) VALUES (218, 'Hamburglars', 133, 0);
INSERT INTO `faction_list` (`id`, `name`, `base`, `mod_c1`, `mod_c2`, `mod_c3`, `mod_c4`, `mod_c5`, `mod_c6`, `mod_c7`, `mod_c8`, `mod_c9`, `mod_c10`, `mod_c11`, `mod_c12`, `mod_c13`, `mod_c14`, `mod_c15`, `mod_c16`, `mod_r1`, `mod_r2`, `mod_r3`, `mod_r4`, `mod_r5`, `mod_r6`, `mod_r7`, `mod_r8`, `mod_r9`, `mod_r10`, `mod_r11`, `mod_r12`, `mod_r14`, `mod_r60`, `mod_r75`, `mod_r108`, `mod_r120`, `mod_r128`, `mod_r130`, `mod_r161`, `mod_r330`, `mod_d140`, `mod_d201`, `mod_d202`, `mod_d203`, `mod_d204`, `mod_d205`, `mod_d206`, `mod_d207`, `mod_d208`, `mod_d209`, `mod_d210`, `mod_d211`, `mod_d212`, `mod_d213`, `mod_d214`, `mod_d215`, `mod_d216`) VALUES (313, 'Stone Hive Bixies', -1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `npc_faction` (`id`, `name`, `primaryfaction`, `ignore_primary_assist`) VALUES (736, 'A_Bixie', 313, 0);

If I'm reading this correctly, the "Hamburglar" halfling guards see Primary Faction of 313 as -1 which is Ready to Attack. Stone Hive Bixies has a faction ID of 313. And 313 is set as the primary faction for "a_bixie". What did I miss?

cavedude 01-02-2012 12:23 PM

Quote:

Originally Posted by EQstarr (Post 205608)
I've been messing around with faction tables to make those annoying bixies KOS to the guards like some of the other animals, but it doesn't seem to work. Bixies are on a Primary Faction of Stone Hive Bixies.

What I've tried doing is adding Stone Hive Bixies as Aggressive to the guards faction list at 0 points (like KOS animal, etc. already are). No luck.

You're correct, that's how it's done. 0 is used when you want an NPC to be KOS/Assist another, without having a faction hit when you kill that NPC.

But, which database are you using? (I assume PEQ since I created the Hamburglar faction.) Bixies already are KOS to the guards in the database. I just tried it out in-game and worked fine. Do any NPCs attack others on your setup?


All times are GMT -4. The time now is 01:22 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.