Faction not working on new mobs
I have the latest server with the latest DB and latest SQL updates.
I first cleared the entire "freporte" zone by dropping all entries in the spawn2 table with freporte as their zone. I then created two factions, assigned them to two mobs, but both con indifferent and give no faction hits when killed. Here is the entries in faction_list: Code:
| id | name | base | (mod rows)| Code:
+------+--------------------------+----------------+-----------------------+ Code:
+----------------+------------+-------+-----------+ Code:
| id | name | lastname | level | race | class | bodytype | hp | gender | texture | helmtexture | size | hp_regen_rate | mana_regen_rate | loottable_id | merchant_id | npc_spells_id | npc_faction_id | |
You wan them to aggro each other? Did you set npc_aggro to 1 in the npc_types table?
|
Agro each other or me, right now they both con indifferent and do nothing. They don't even give a faction hit for killing them.
|
Just tried editing an existing faction and it worked fine, still no go on custom factions.
|
Just tried editing an existing faction, I thought it worked, but it did not. I tell it to use faction 1070 and it shows 1070 when I do #showstats, but the faction hits are that of faction #843. There is definitely something wrong here.
|
So, I tried dropping the entire contents of factions_list, factions_values, npc_faction, npc_faction_entries and what I get from it is that the factions do not update even after a world reboot. I created a faction of id 2, with a default of -100, yet the mob is still apprehensively with an empty faction_values? Even when you kill the mob, there is not faction hit even when npc_faction_entries is populated?
I'm at a loss for why this would not update after a world restart. |
Shortly after editing the factions in real time, zone crashed with this:
[Debug] [ZONE__INIT] Loading npc faction lists SharedMemory->datasize(409360) != iSize(200656), or 0x7f684da72000==-1, We can rebuild him faster better STRONGER! Or not.. restart all servers on this machine I also checked the logs I see errors from when I initially setup, but nothing since then. Every time a zone boots up I see "[Debug] [ZONE__INIT] Loading npc faction lists" but even with -2500 faction rating faction 1 shows indiff and faction 2 apprehensively |
Fixed it, needed to compile cleanipc and run it.
|
All times are GMT -4. The time now is 02:54 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.