YTDB

YTDB (http://ytdb.ru/index.php)
-   Корзина / Trash can (http://ytdb.ru/forumdisplay.php?f=21)
-   -   Disallowed `flags_extra` 512 (http://ytdb.ru/showthread.php?t=10072)

killradio_1337 21.02.2011 18:25

Disallowed `flags_extra` 512
 
YTDB r585
TrinityCore Rev: 11267+
Код HTML:

2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 11982) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 11988) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12018) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12056) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12057) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12098) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12118) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12259) with disallowed `flags_extra` 512, removing incorrect flag.
2011-02-21 21:22:01 Table `creature_template` lists creature (Entry: 12264) with disallowed `flags_extra` 512, removing incorrect flag.

У себя правил таким способом:
Код HTML:

UPDATE `creature_template` SET `flags_extra` = 1 WHERE `entry` IN (11982, 11988, 12018, 12056, 12057, 12098, 12118, 12259, 12264);
По поводу флага 512 - в вики ТС2 нету этого флага, однако в мангосе он присутствует, поэтому вопрос - в тринити есть ему аналог?

NeatElves 21.02.2011 18:37

Нет ему там аналога, убирайте через безболезненное снижение &~

YuruY 21.02.2011 20:47

И откуда там эти с десяток флагов (давно уже Cyrex нашел), в 586_Т будет:
Код:

UPDATE `creature_template` SET `flags_extra` = `flags_extra`&~512;


Текущее время: 21:56. Часовой пояс GMT +4.

YTDB - MaNGOS DataBase