TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[DB/Gameobject] Halls of Stone

Open MitchesD opened this issue 13 years ago • 7 comments

Thanks Aokromes (sniff)

Add new data to the Halls of Stone game objects

DELETE FROM `gameobject_template` WHERE `entry` IN (191293, 191294, 191671, 191670, 191669, 193907, 190586, 193906, 191527);
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `WDBVerified`, `flags`, `faction`) VALUES
(191293, 0, 8081, 'Doodad_UL_Ulduar_doors04', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(191294, 0, 8081, 'Doodad_UL_Ulduar_doors05', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(191671, 0, 8104, 'Tribunal Head - Left', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(191670, 0, 8105, 'Tribunal Head - Right', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(191669, 0, 8106, 'Tribunal Head - Center', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(193907, 1, 8504, 'Tribunal Control Console', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.194704, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(190586, 3, 1387, 'Tribunal Chest', '', '', '', 1634, 24661, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 78, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 14545, 1065353216, 0),
(193906, 0, 8177, 'Sjonnir Console', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.769477, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0),
(191527, 0, 8107, 'Doodad_UL_SkyRoom_Floor01', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.081202, 0, 0, 0, 0, 0, 0, 14545, 3007036718, 0);

Please take a look at it

TDB: 335.52 Revision: 1f34284828465076cfaf137ff34adc781d016a86

MitchesD avatar Aug 27 '13 22:08 MitchesD

But all these gameobjects already exists in database... If there's something different it should be UPDATEd.

DDuarte avatar Aug 27 '13 22:08 DDuarte

Flag values seem kinda off as well.

DDuarte avatar Aug 27 '13 22:08 DDuarte

:trollface:

filipboev avatar Aug 28 '13 00:08 filipboev

There are more different values​​, so it better to create objects again

MitchesD avatar Aug 28 '13 08:08 MitchesD

@MitchesD we disagree, its easier for us to see what you change in an update statement, unless all values are off

ZxBiohazardZx avatar Sep 02 '13 12:09 ZxBiohazardZx

I'm sorry, an error has occurred while parsing data

Now I have the correct data. The only thing that needs to change is the faction

UPDATE `gameobject_template` SET `faction` = 1375 WHERE `entry` IN (191293, 191294, 191671, 191670, 191669, 191669, 193906, 191527);
UPDATE `gameobject_template` SET `faction` = 94 WHERE `entry` = 190586;

MitchesD avatar Sep 02 '13 13:09 MitchesD

already in db

joschiwald avatar Sep 02 '13 16:09 joschiwald