[REJECTED][Creature] Rare Creatures Factions.[REJECTED]

DB: TDB 335.11.45

This creatures should’n be friendly.


-- Vigdis the War Maiden must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32386;

-- Griegen must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32471;

-- King Ping must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32398;

-- High Thane Jorfus must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32501;

-- Hildana Deathstealer must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32495;

-- Old Crystalbark must be monster

UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 32357;

16 faction

If I’m not wrong faction_X=14 is Monster and faction_X=16 is Gnoll - Riverpaw (according to Faction.dbc that is)

So what should be?

Here some other rare mobs that are with faction 35 (friendly)

[CODE]-- Perobas the Bloodthirster faction change

UPDATE creature_template SET faction_A = 14, faction_H = 14 WHERE entry = 32377;

– Tukemuth faction change

UPDATE creature_template SET faction_A = 14, faction_H = 14 WHERE entry = 32400;

– Icehorn faction change

UPDATE creature_template SET faction_A = 14, faction_H = 14 WHERE entry = 32361;

– Aotona fix level and faction change

UPDATE creature_template SET minlevel = 75, maxlevel = 75, faction_A = 14, faction_H = 14 WHERE entry = 32481;

– Terror Spinner faction change

UPDATE creature_template SET faction_A = 14, faction_H = 14 WHERE entry = 32475;[/CODE]

Maybe only Tukemuth isn’t monster, should be none aggressive. I’m not sure for the faction.

Is it really that hard to search around? Such hacks have been posted about 20 times by now and will NEVE be accepted.

Perobas the Bloodthirster has faction 16, others are unknown and shouldn’t be guessed.

Maybe is “hack” if you say so, but they are NOT faction 35 too!

Just because they are not right as of yet doesn’t mean we can guess values based on bad sources.

Alein, you can use them as a hack until the proper faction values are found but they will not be added to the db.

factions come from sniffs, I believe, or wdb, either way, they need to be verified, not guessed.

Can anyone confirm weather the faction_X should be taken from Faction.dbc or FactionTemplate.dbc and why?

No, faction must come from sniffs.

@Aokromes lets say I want to know what is the faction of an NPC (for example Skoll 35189). I see it’s faction_X=35, should I look in Faction.dbc or FactionTemplate.dbc for it’s meaning and why?

P.S. I guess I wasn’t clear enough in my previous post.

Faction comes from sniff, you don’t need to search on another place, the meaning is useless. You don’t search the meaning of level 80 no? A sample:


[1] UpdateType: CreateObject2

[1] GUID: Full: 0xF1405ABE0500316B Type: Pet Low: 12651

[1] Object Type: Unit (3)

[1] Update Flags: Living, StationaryObject (96)

[1] Movement Flags: Forward, SplineEnabled (134217729)

[1] Extra Movement Flags: None (0)

[1] Time: 1970898787

[1] Position: X: -514.6415 Y: -490.1075 Z: 11.10239 O: 4.735076

[1] Fall Time: 0

[1] Walk Speed: 2.5

[1] Run Speed: 8

[1] RunBack Speed: 4.5

[1] Swim Speed: 4.722222

[1] SwimBack Speed: 2.5

[1] Turn Speed: 7

[1] Fly Speed: 4.5

[1] FlyBack Speed: 3.141593

[1] Pitch Speed: 3.141593

[1] Spline Flags: None (0)

[1] Spline Time: 0

[1] Spline Full Time: 1200

[1] Spline Unk Int32 1: 70186546

[1] Spline Duration Multiplier: 1

[1] Spline Unit Interval: 1

[1] Spline Unk Float 2: 0

[1] Spline Height Time: 0

[1] [0] Spline Waypoint: X: -514.6642 Y: -489.1078 Z: 11.01906

[1] [1] Spline Waypoint: X: -514.6415 Y: -490.1075 Z: 11.01906

[1] [2] Spline Waypoint: X: -514.5734 Y: -493.1068 Z: 11.0185

[1] [3] Spline Waypoint: X: -514.5734 Y: -493.1068 Z: 11.0185

[1] Spline Mode: Linear (0)

[1] Spline Endpoint: X: -514.5734 Y: -493.1068 Z: 11.0185

[1] OBJECT_FIELD_GUID: 83898731/6.027608E-36

[1] 1: -247440706/-9.524932E+29

[1] OBJECT_FIELD_TYPE: 9/1.261169E-44

[1] OBJECT_FIELD_ENTRY: 416/5.829402E-43

[1] OBJECT_FIELD_SCALE_X: 1065353216/1

[1] UNIT_FIELD_SUMMONEDBY: 46839798/2.978682E-37

[1] 15: 100663296/2.407412E-35

[1] UNIT_FIELD_CREATEDBY: 46839798/2.978682E-37

[1] 17: 100663296/2.407412E-35

[1] UNIT_FIELD_BYTES_0: 2048/2.869859E-42

[1] UNIT_FIELD_HEALTH: 5013/7.024709E-42

[1] UNIT_FIELD_POWER1: 3181/4.45753E-42

[1] UNIT_FIELD_POWER3: 100/1.401298E-43

[1] UNIT_FIELD_POWER4: 33/4.624285E-44

[1] UNIT_FIELD_POWER5: 1000000/1.401298E-39

[1] UNIT_FIELD_MAXHEALTH: 5013/7.024709E-42

[1] UNIT_FIELD_MAXPOWER1: 3181/4.45753E-42

[1] UNIT_FIELD_MAXPOWER3: 100/1.401298E-43

[1] UNIT_FIELD_MAXPOWER4: 33/4.624285E-44

[1] UNIT_FIELD_MAXPOWER5: 1000000/1.401298E-39

[1] UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER: 1103772066/25.27814

[1] UNIT_FIELD_LEVEL: 80/1.121039E-43

[1] UNIT_FIELD_FACTIONTEMPLATE: 1/1.401298E-45

[1] UNIT_FIELD_FLAGS: 8/1.121039E-44

[1] UNIT_FIELD_FLAGS_2: 2048/2.869859E-42

[1] UNIT_FIELD_BASEATTACKTIME: 2000/2.802597E-42

[1] UNIT_FIELD_UNK63: 2000/2.802597E-42

[1] UNIT_FIELD_BOUNDINGRADIUS: 1056964608/0.5

[1] UNIT_FIELD_COMBATREACH: 1061158912/0.75

[1] UNIT_FIELD_DISPLAYID: 4449/6.234377E-42

[1] UNIT_FIELD_NATIVEDISPLAYID: 4449/6.234377E-42

[1] UNIT_FIELD_MINDAMAGE: 1136758275/387.1095

[1] UNIT_FIELD_MAXDAMAGE: 1141303939/539.6642

[1] UNIT_FIELD_MINOFFHANDDAMAGE: 1128369667/193.5547

[1] UNIT_FIELD_MAXOFFHANDDAMAGE: 1132915331/269.8321

[1] UNIT_FIELD_PETNUMBER: 5946885/8.333361E-39

[1] UNIT_FIELD_PET_NAME_TIMESTAMP: 1257903419/8194718

[1] UNIT_FIELD_PETNEXTLEVELEXP: 2147483647/NaN

[1] UNIT_MOD_CAST_SPEED: 1065353216/1

[1] UNIT_CREATED_BY_SPELL: 688/9.640933E-43

[1] UNIT_FIELD_STAT0: 297/4.161856E-43

[1] UNIT_FIELD_STAT1: 79/1.107026E-43

[1] UNIT_FIELD_STAT2: 135/1.891753E-43

[1] UNIT_FIELD_STAT3: 424/5.941505E-43

[1] UNIT_FIELD_STAT4: 367/5.142765E-43

[1] UNIT_FIELD_RESISTANCES: 6273/8.790345E-42

[1] UNIT_FIELD_BASE_MANA: 3268/4.579443E-42

[1] UNIT_FIELD_BASE_HEALTH: 6963/9.757241E-42

[1] UNIT_FIELD_BYTES_2: 1/1.401298E-45

[1] UNIT_FIELD_ATTACK_POWER: 574/8.043453E-43

[1] UNIT_FIELD_RANGED_ATTACK_POWER: 69/9.668959E-44

[1] UNIT_FIELD_MINRANGEDDAMAGE: 1134394298/314.9666

[1] UNIT_FIELD_MAXRANGEDDAMAGE: 1139393212/467.5214

[1] UNIT_FIELD_HOVERHEIGHT: 1065353216/1