|
|
Модератор форума: Dimitro |
Форум TrinityCore [TrinityCore] Help Nps teleporter |
Nps teleporter |
парни скачал nps телепортера от сюда SQL телепортер хотел залить на панду выдаёт такую ошибку
Код [Err]1136 - Column count doesn't match value count at row 1 [Err]REPLACE INTO `locales_creature` VALUES ('1000029', '', '', '', '', '', '', '', 'Маг Киндора', null, null, null, null, null, null, null, 'Телепортер'); [Msg]Finished - Unsuccessfully Как это исправить?
Сообщение # 1 написано 29.04.2016 в 22:29
|
Попробуй открыть в базе таблицу locales_creature и локализируй данного нпц, а в самом коде убери эту строку, перед тем как заливать.
Сообщение # 2 написано 29.04.2016 в 22:45
|
dowland, мне получаеться в базе надо удалить вообще страку
Код locales_creature REPLACE INTO `locales_creature` VALUES ('1000029', '', '', '', '', '', '', '', 'Маг Киндора', null, null, null, null, null, null, null, 'Телепортер');???? |
Код DELETE FROM `creature_template_locale` WHERE `entry`='1000029' AND `locale`='ruRU'; INSERT INTO `creature_template_locale` (`entry`,`locale`,`name`, `title`) values (1000029, 'ruRU', 'Маг Киндора', 'Телепортер'); Сори, не увидел сразу что под Панды. Если потребуется под Дренор, то там вот так.
Продажа готовых сборок cataclysm 4.3.4, legion (7.3.5), shadowlands, draginflight. Исправление спеллов, квестов, крашей на любых версиях вов. Цена договорная. Пишите в лс, не дорого.
|
Sergey996, вот смотри что тут над поменять для дренора?
/* Телепортер */ REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES (1000029, 0, 0, 0, 0, 0, 22951, 0, 0, 0, 'Kindor', '', '', 0, 85, 85, 0, 35, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 1, 0, 10, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0); UPDATE `creature_template` SET `scale`=0.7 WHERE `entry`=1000029; REPLACE INTO `locales_creature` VALUES ('1000029', '', '', '', '', '', '', '', 'Маг Киндора', null, null, null, null, null, null, null, 'Телепортер'); REPLACE INTO `gossip_menu` VALUES (60000, 60000); REPLACE INTO npc_text (ID, text0_0, em0_1) VALUES ('60000', 'Hello, $C', 1); REPLACE INTO `locales_npc_text` VALUES ('60000', null, null, null, null, null, null, null, 'Приветствую тебя, $C. $BЯ могу телепортировать тебя куда угодно, просто назови мне локацию.', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, '', null, null, null, null, null, null, null, ''); UPDATE `creature_template` SET `gossip_menu_id`='60000' WHERE `entry`='1000029'; DELETE FROM gossip_menu_option where menu_id=60000; INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES ('60000','0','2','Stormwind','1','1','0','0','0','0',''), ('60000','1','2','Ironforge','1','1','0','0','0','0',''), ('60000','2','2','Exodar','1','1','0','0','0','0',''), ('60000','3','2','Darnas','1','1','0','0','0','0',''), ('60000','4','2','Ordrimmar','1','1','0','0','0','0',''), ('60000','5','2','gromovoy ytes','1','1','0','0','0','0',''), ('60000','6','2','Undercity','1','1','0','0','0','0',''), ('60000','7','2','Silvermoon City','1','1','0','0','0','0',''), ('60000','8','2','Dalaran','1','1','0','0','0','0',''), ('60000','11','9','Gurubashi','1','1','0','0','0','0',''); DELETE FROM locales_gossip_menu_option where menu_id=60000; INSERT INTO `locales_gossip_menu_option` VALUES ('60000', '0', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_human:20|t Штормград', null, null, null, null, null, null, null, null), ('60000', '1', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_dwarf:20|t Стальгорн', null, null, null, null, null, null, null, null), ('60000', '2', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_draenei:20|t Экзодар', null, null, null, null, null, null, null, null), ('60000', '3', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_nightelf:20|t Дарнас', null, null, null, null, null, null, null, null), ('60000', '4', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_orc:20|t Оргриммар', null, null, null, null, null, null, null, null), ('60000', '5', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_tauren:20|t Громовой Утес', null, null, null, null, null, null, null, null), ('60000', '6', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_scourge:20|t Подгород', null, null, null, null, null, null, null, null), ('60000', '7', null, null, null, null, null, null, null, '|TInterface/ICONS/Inv_misc_tournaments_banner_bloodelf:20|t Луносвет', null, null, null, null, null, null, null, null), ('60000', '8', null, null, null, null, null, null, null, '|TInterface/ICONS/Spell_arcane_teleportdalaran:20|t Даларан', null, null, null, null, null, null, null, null), ('60000', '11', null, null, null, null, null, null, null, '|TInterface/ICONS/Achievement_arena_2v2_2:20|t Арена Гурубаши', null, null, null, null, null, null, null, null); DELETE FROM smart_scripts where entryorguid=1000029; INSERT INTO `smart_scripts` VALUES (1000029, 0, 0, 0, 62, 0, 100, 0, 60000, 0, 0, 0, 62, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, -8833, 629, 94, 4, "Stormwind"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 1, 0, 62, 0, 100, 0, 60000, 1, 0, 0, 62, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, -4918, -940, 502, 5.4, "Ironforge"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 2, 0, 62, 0, 100, 0, 60000, 2, 0, 0, 62, 530, 0, 0, 0, 0, 0, 7, 0, 0, 0, -3965, -11653, -138, 0.85, "Exodar"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 3, 0, 62, 0, 100, 0, 60000, 3, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 9952, 2280, 1342, 1.6, "Darnas"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 4, 0, 62, 0, 100, 0, 60000, 4, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1630, -4373.6, 32, 3.5, "Orgrimmar"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 6, 0, 62, 0, 100, 0, 60000, 5, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, -1277, 125, 132, 5.2, "Thunder Bluff"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 5, 0, 62, 0, 100, 0, 60000, 6, 0, 0, 62, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1584, 242, -51, 0, "Undercity"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 7, 0, 62, 0, 100, 0, 60000, 7, 0, 0, 62, 530, 0, 0, 0, 0, 0, 7, 0, 0, 0, 9487, -7279, 14, 6, "Silvermoon_City"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 8, 0, 62, 0, 100, 0, 60000, 8, 0, 0, 62, 571, 0, 0, 0, 0, 0, 7, 0, 0, 0, 5804, 624, 648, 1.6, "Dalaran"); INSERT INTO `smart_scripts` VALUES (1000029, 0, 11, 0, 62, 0, 100, 0, 60000, 11, 0, 0, 62, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, -13228, 228, 33, 1.1, "Gurubashi"); DELETE FROM conditions where SourceGroup=60000 and SourceTypeOrReferenceId=15; INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, ConditionTypeOrReference, ConditionValue1, Comment) VALUES (15, '60000', 0, 6, 469, 'Alliance'), (15, '60000', 1, 6, 469, 'Alliance'), (15, '60000', 2, 6, 469, 'Alliance'), (15, '60000', 3, 6, 469, 'Alliance'), (15, '60000', 4, 6, 67, 'Horde'), (15, '60000', 5, 6, 67, 'Horde'), (15, '60000', 6, 6, 67, 'Horde'), (15, '60000', 7, 6, 67, 'Horde');
Сообщение # 5 написано 30.04.2016 в 19:58
|
| |||
| |||