Добавлено (11.03.2013, 21:30) --------------------------------------------- Так же при заливке 2013_02_18_00_world_misc_equip.sql из ядра, выходит ошибка
Код
[Err] 1054 - Unknown column 'equipment_id' in 'field list' [Err] -- creature_template.equipment_id deleted -- creature_equip_template.entry == creature_template.entry -- id field added to creature_equip_template -> PK(entry, id) -- id field in creature_equip_template starts at 1 -- creature.equipment_id references id of creature_equip_template -- creature.equipment_id = 0 means no equipment at all (default 1) -- creature.equipment_id = -1 means pick a random equipment from creature_equip_template
-- Diff_entries should use the same template of the normal entry UPDATE `creature_template` SET `equipment_id` = 0 WHERE `name` LIKE '%(1)' OR `name` LIKE '%(2)' OR `name` LIKE '%(3)' OR `name` LIKE '%(4)'; [Msg] Finished - Unsuccessfully --------------------------------------------------
Сообщение # 1 отредактировано slay313 - Понедельник, 11.03.2013, 21:33
slay313, со вторым ты меня озадачил, как можно заливать из ядра?.. В общем. Если тебе лень запихнуть текст ошибки хотя бы в переводчик, то скажу сам. У тебя в базе отсутствует столбец `equipment_id`, кароч ты похоже залил в базу скрипт, который убрал этот столбец, точнее насколько я помню в трине его уже нету... ну я могу и ошибаться, но вроде бы именно так.
Я имел ввиду скульник из сорцов, неправильно выразился Даже если отсутствует столбец `equipment_id`, черт с ним, как обьяснишь ошибку при заливке 635 релиза от димитро?
Сообщение # 3 отредактировано slay313 - Понедельник, 11.03.2013, 22:35
Добавлено (12.03.2013, 16:50) --------------------------------------------- Azteco, спасибо фул 635 нормально залил А так из сорцов с ошибками заливаются только 2 скульника:
Поставил Полный фулл 635 база Заливаю sql из сорцов от 2013_02_19_00_world_creature_template.sql до 2013_03_11_00_world_playercreateinfo_spell.
Собственно: 2013_03_03_02_world_sai.sql
Код
-- Issue 9250 -- A Worthy Weapon (thx Durotar) UPDATE `creature_template` SET `InhabitType`=4, `hoverheight`=1065353216, `AIName`='SmartAI', `ScriptName`='' WHERE `entry`=33273; -- Set visual effect: sitting DELETE FROM `creature_template_addon` WHERE `entry`=33273; INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`,`emote`) VALUES (33273,1,1,0); -- Winter Hyacinth (item 45000) Send Script Event (20990) by right-click DELETE FROM `event_scripts` WHERE `id`=20990; INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `x`, `y`, `z`, `o`) VALUES (20990, 0, 10, 33273, 42000, 4602.977, -1600.141, 156.7834, 0.7504916); -- TEMP Drak'Mar Offering Ring SET @ObjectGuid := 6068; -- set by TDB staff DELETE FROM `gameobject` WHERE `id`=300009; INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotatio n3`,`spawntimesecs`,`animprogress`,`state`) VALUES (@ObjectGuid+0,300009,571,1,1, 4606.72, -1606.91, 156.659, 1.62734,0.0,0.0, 0.726811, 0.686837,300,0,1), (@ObjectGuid+1,300009,571,1,1, 4596.78, -1606.69, 156.659, 1.5488,0.0,0.0, 0.699286, 0.714842,300,0,1), (@ObjectGuid+2,300009,571,1,1, 4597.1, -1594.08, 156.658, 1.53702,0.0,0.0, 0.695063, 0.718949,300,0,1), (@ObjectGuid+3,300009,571,1,1, 4608.33, -1592.98, 156.658, 0.162569,0.0,0.0, 0.0811951, 0.996698,300,0,1), (@ObjectGuid+4,300009,571,1,1, 4602.78, -1600.05, 156.658, 4.08564,0.0,0.0, 0.890651, -0.454688,300,0,1); -- creature_text DELETE FROM `creature_text` WHERE `entry`=33273 AND `groupid` BETWEEN 0 AND 3; INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`) VALUES (33273,0,0, 'Are those winter hyacinths? For me?',12,0,100,6,0,0, 'Maiden of Drak''Mar'), (33273,1,0, 'It''s been so long since a traveler has come here bearing flowers.',12,0,100,1,0,0, 'Maiden of Drak''Mar'), (33273,2,0, 'The lake has been too lonely these past years. The travelers stopped coming and evil came to these waters.',12,0,100,1,0,0, 'Maiden of Drak''Mar'), (33273,3,0, 'Your gift is a rare kindness, traveler. Please take this blade with my gratitude. Long ago, another traveler left it here, but I have little use for it.',12,0,100,1,0,0, 'Maiden of Drak''Mar'); -- SAI DELETE FROM `smart_scripts` WHERE `entryorguid`=33273 AND `source_type`=0 AND `id`=0; DELETE FROM `smart_scripts` WHERE `entryorguid`=33273*100 AND `source_type`=9 AND `id` BETWEEN 0 AND 6; INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_p aram3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_ type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES (33273,0,0,0,54,0,100,0,0,0,0,0,80,33273*100,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On spawn - Run script'), (33273*100,9,0,0,0,0,100,0,0,0,0,0,50,194239,42000,0,0,0,0,8,0,0,0,4602.977,-1600.141,156.7834,0, 'Maiden of DrakMar - On script - Summon GO DrakMar Lily Pad'), (33273*100,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 0'), (33273*100,9,2,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 1'), (33273*100,9,3,0,0,0,100,0,6000,6000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 2'), (33273*100,9,4,0,0,0,100,0,7000,7000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Maiden of DrakMar - On script - Say 3'), (33273*100,9,5,0,0,0,100,0,0,0,0,0,50,194238,20000,0,0,0,0,8,0,0,0,4603.351,-1599.288,156.8822,2.234018, 'Maiden of DrakMar - On script - Summon GO Blade of DrakMar');
SET @GUID := 40470; SET @PATH := @GUID*10; DELETE FROM `creature` where `id`=18686; INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`sp awndist`,`currentwaypoint`,`curhealth`,`curmana`,`MovementType`,`npcflag`,`unit_flags`,`dynamicflags`) VALUES (@GUID,18686,530,1,1,0,0,-2847.327,3195.10722,7.4167,.0910940,300,0,0,9144,13525,2,0,0,0);
С 2 удаляешь С 1 удаляешь
Цитата (slay313)
-- TEMP Drak'Mar Offering Ring SET @ObjectGuid := 6068; -- set by TDB staff DELETE FROM `gameobject` WHERE `id`=300009; INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotatio n3`,`spawntimesecs`,`animprogress`,`state`) VALUES (@ObjectGuid+0,300009,571,1,1, 4606.72, -1606.91, 156.659, 1.62734,0.0,0.0, 0.726811, 0.686837,300,0,1), (@ObjectGuid+1,300009,571,1,1, 4596.78, -1606.69, 156.659, 1.5488,0.0,0.0, 0.699286, 0.714842,300,0,1), (@ObjectGuid+2,300009,571,1,1, 4597.1, -1594.08, 156.658, 1.53702,0.0,0.0, 0.695063, 0.718949,300,0,1), (@ObjectGuid+3,300009,571,1,1, 4608.33, -1592.98, 156.658, 0.162569,0.0,0.0, 0.0811951, 0.996698,300,0,1), (@ObjectGuid+4,300009,571,1,1, 4602.78, -1600.05, 156.658, 4.08564,0.0,0.0, 0.890651, -0.454688,300,0,1);
Сообщение # 13 отредактировано Azteco - Вторник, 12.03.2013, 17:35