[help] Икарус оружие
Скачал пухи икаруса для ИТ (у меня ИТ), заливаю в базу их sql файл и пишет:
[Err] 1062 - Duplicate entry '9513' for key 1
[Err] INSERT INTO `weapon` VALUES ('9513','Icarus Sawsword Focus','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
NSERT INTO `weapon` VALUES ('9513','Icarus Sawsword Focus','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
поменяй выделенное на другой айди к примеру 9828 и залей в базу
— Perpetuum Mobile
DikaPurple: Но как его поменять? где?
Тебе уже ответили.
Народ помогите переделать запрос под RT 1.4.6 (всем кто попытается помочь спс дам).
Вот ошибка:
[Err] 1264 - Out of range value for column 'm_dam' at row 1
[Err] INSERT INTO `weapon` VALUES ('9513','Icarus Sawsword Focus','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
[Msg] Finished - Unsuccessfully
--------------------------------------------------
Вот сам запрос:
INSERT INTO `weapon` VALUES ('9513','Icarus Sawsword Focus','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9514','Icarus Sawsword Health','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9515','Icarus Sawsword Light','rhand','true','200','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9516','Icarus Heavy Arms Focus','lrhand','true','2080','1','1','adamantaite','s','342','10','bigsword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9517','Icarus Heavy Arms Health','lrhand','true','2080','1','1','adamantaite','s','342','10','bigsword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9518','Icarus Heavy Arms Light','lrhand','true','250','1','1','adamantaite','s','342','10','bigsword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9519','Icarus Spirit Acumen','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9520','Icarus Spirit Mana Up','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9521','Icarus Spirit Conversion','rhand','true','2080','1','1','adamantaite','s','342','10','sword','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9522','Icarus Spitter Cheap Shot','lrhand','true','2080','1','1','adamantaite','s','342','10','bow','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9523','Icarus Spitter Guidance','lrhand','true','2080','1','1','adamantaite','s','342','10','bow','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9524','Icarus Spitter Focus','lrhand','true','2080','1','1','adamantaite','s','342','10','bow','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9525','Icarus Disperser Focus','rhand','true','2080','1','1','adamantaite','s','342','10','dagger','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9526','Icarus Disperser Evasion ','rhand','true','2080','1','1','adamantaite','s','342','10','dagger','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9527','Icarus Disperser Critical Damage','rhand','true','2080','1','1','adamantaite','s','342','10','dagger','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9528','Icarus Trident Anger','lrhand','true','2080','1','1','adamantaite','s','342','10','pole','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9529','Icarus Trident Critical Stun','lrhand','true','2080','1','1','adamantaite','s','342','10','pole','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9530','Icarus Trident Light','lrhand','true','200','1','1','adamantaite','s','342','10','pole','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9531','Icarus Hammer Anger','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9532','Icarus Hammer Health','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9533','Icarus Hammer Rsk Focus','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9534','Icarus Hall Mana Up','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9535','Icarus Hall Conversion','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
INSERT INTO `weapon` VALUES ('9536','Icarus Hall Acumen','rhand','true','2080','1','1','adamantaite','s','342','10','blunt','8','0.00000','0','0','0','735','0','354','-1','48800000', 2440,'true','true','true','true','0','0','0','0','0','0','0','0','0','0');
Советую тебе не ждать готовых запросов, а сделать следующее: открыть MySql, зайти в свою базу, открыть таблицу значений weapon и взять допустим за пример уже существующюю пуху допустим династи лук и нажать скопировать (всю строчку). Далее зайди в блокнот и нажми "вставить", меняем название и id предмета (к примеру икарус лука). После чего выделяем строчку и копируем. После данного действия возвращаемся в таблицу значений weapons и опускаемся в самый низ таблицы, нажимаем стрелку на клаве "вниз", опочки, появилась новая пустая строчка и туда втыкаем нашу строчку из буфера обмена. Вуаля и пуха стоит.
P.S. Для правельной работы проверь все значения в строчке запроса в базу MySql с той, что у тебя получилась в таблице weapons. Это как вариант, чуть длинее чем тыкнуть "вставить в базу" готовый запрос, зато работает ;)
Я вот поменял Ид, залил в базу, потом поменял ИД в itemname-e.dat и weapongrp.dat, в папке stats тоже поменял Ид, дальше захожу в игру прописываю любой Ид икарус пухи и ее нету...
Что делать?
Поиск поюзаем и там все написано, а не создаем по 24 темы, "а как айди менять? а где? поменял и чо теперь? а чо такое?". Для того кто просил скул для РТ, сор, РТ не когда не занимался.
reb00t2: Поиск поюзаем и там все написано, а не создаем по 24 темы, "а как айди менять? а где? поменял и чо теперь? а чо такое?". Для того кто просил скул для РТ, сор, РТ не когда не занимался.
UP!
Ballans: UP!
народ без обид..вы дауны? мануалов навалом
взять хотябы в основу идущие со сборкой sql и переделать запрос под себя...не лучше апать бесконечно тему
— Perpetuum Mobile
Я смотрел мануалы, пытался сделать скл на подобе. Но ничего не вышло. Если ты такой умняшка помог бы (это ведь так легко).







