Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas Solucionadas (https://secretexperience.net/forumdisplay.php?f=653)
-   -   Error de sql (https://secretexperience.net/showthread.php?t=11128)

Garcia 01-08-2009 08:41 PM

Error de sql
 
aqui esta o error
Spoiler
Código:

[Err] 1062 - Entrada '9513' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9513', 'Titanium Armor', 'fullarmor', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '370', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9514' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9514', 'Titanium Gloves', 'gloves', 'true', 'heavy', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9515' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9515', 'Titanium Boots', 'feet', 'true', 'heavy', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err]
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9516', 'Titanium Helmet', 'head', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '', '0', '0');
[Err] 1062 - Entrada '9517' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9517', 'Titanium Armor', 'fullarmor', 'true', 'light', 570, 'leather', 's', '0', '-1', '180', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9518' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9518', 'Titanium Gloves', 'gloves', 'true', 'light', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9519' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9519', 'Titanium Boots', 'feet', 'true', 'light', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9520' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9520', 'Titanium Helmet', 'head', 'true', 'light', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9521' duplicada para a chave 1
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9521', 'Titanium Armor', 'fullarmor', 'true', 'magic', 570, 'leather', 's', '0', '-1', '120', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err]
[Err] INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, ``item_skill_lvl`)
VALUES
  ('9522', 'Titanium Gloves', 'gloves', 'true', 'magic', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');

INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9523', 'Titanium Boots', 'feet', 'true', 'magic', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');

INSERT INTO armor
  (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
  ('9524', 'Titanium Hat', 'head', 'true', 'magic', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
[Msg] Finished - Unsuccessfully
-------------------------------------------------



aqui esta a sql
Spoiler
Código:

INSERT INTO armor VALUES ('9513', 'Titanium Armor', 'fullarmor', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '370', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9514', 'Titanium Gloves', 'gloves', 'true', 'heavy', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9516', 'Titanium Helmet', 'head', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '', '0', '0');
INSERT INTO armor VALUES ('9517', 'Titanium Armor', 'fullarmor', 'true', 'light', 570, 'leather', 's', '0', '-1', '180', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9518', 'Titanium Gloves', 'gloves', 'true', 'light', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9519', 'Titanium Boots', 'feet', 'true', 'light', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9520', 'Titanium Helmet', 'head', 'true', 'light', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9521', 'Titanium Armor', 'fullarmor', 'true', 'magic', 570, 'leather', 's', '0', '-1', '120', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9522', 'Titanium Gloves', 'gloves', 'true', 'magic', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9523', 'Titanium Boots', 'feet', 'true', 'magic', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9524', 'Titanium Hat', 'head', 'true', 'magic', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');



alguem pode me ajuda a resolver pos esto desde meio dia tentando :frown:

nunca acredite na palavra de uma mulher q ainda depente do pai para viver pos elas nao sabem oq diz :twitcy:

Nycole :wubclub:

Setokaiba 01-08-2009 09:01 PM

Preparei uma query aqui pra tu:
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]


Rode ela antes de rodar a que está dando erro.
Dê o feedback para saber se resolveu.

Garcia 01-08-2009 09:20 PM

Seto meu rei Te AMO !!!:twitcy:
vlwwwwwwwwww :1a:


Nycole:wubclub:


Horários baseados na GMT -3. Agora são 12:56 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.