Ayuda En las querys Ayuda porfavor

Topic created · 2 Mensajes · 613 Visitas
  • Hola chicos nesesito una ayuda estoy intalando unas armas
    llamadas Set Diamon pink
    INSERT INTO item_proto VALUES (400, 'Set Diamon Pink', 'Set Diamon Pink', 1, 0, 0, 2, 288, 4, 16, 0, 100, 100000000, 401, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (401, 'Set Diamon Pink', 'Set Diamon Pink', 1, 2, 0, 2, 308, 4, 16, 0, 100, 100000000, 402, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (402, 'Set Diamon Pink', 'Set Diamon Pink', 1, 1, 0, 1, 308, 4, 16, 0, 100, 100000000, 403, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (403, 'Set Diamon Pink', 'Set Diamon Pink', 1, 4, 0, 1, 284, 4, 16, 0, 100, 100000000, 404, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (404, 'Set Diamon Pink', 'Set Diamon Pink', 1, 5, 0, 1, 284, 4, 16, 0, 100, 100000000, 405, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (405, 'Set Diamon Pink', 'Set Diamon Pink', 1, 4, 0, 1, 284, 4, 16, 0, 100, 100000000, 406, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (406, 'Set Diamon Pink', 'Set Diamon Pink', 1, 0, 0, 2, 300, 4, 16, 0, 100, 100000000, 407, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);

    Esas son las Query pero me da eror cuando los pongo en navicat
    PLAYER/QUERY/NEW QUERY
    ALLI LOS PONGO pero me da un eerror llamado

    [SQL] INSERT INTO item_proto VALUES (400, 'Set Diamon Pink', 'Luz Desvastadora', 1, 0, 0, 2, 288, 4, 16, 0, 100, 100000000, 401, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    [Err] 1062 - Duplicate entry '400' for key 'PRIMARY'
    y le cambie el nombre pensando que era el nombre si sigue lo mismo
    los nombres los puse haci

    INSERT INTO item_proto VALUES (400, 'Set Diamon Pink', 'Luz Desvastadora', 1, 0, 0, 2, 288, 4, 16, 0, 100, 100000000, 401, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (401, 'Set Diamon Pink', 'Resistencia Floral', 1, 2, 0, 2, 308, 4, 16, 0, 100, 100000000, 402, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (402, 'Set Diamon Pink', 'Inalacion De Poder', 1, 1, 0, 1, 308, 4, 16, 0, 100, 100000000, 403, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (403, 'Set Diamon Pink', 'Espiritu Del Bosque', 1, 4, 0, 1, 284, 4, 16, 0, 100, 100000000, 404, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (404, 'Set Diamon Pink', 'Mano De Dios Arb.', 1, 5, 0, 1, 284, 4, 16, 0, 100, 100000000, 405, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (405, 'Set Diamon Pink', 'Exhalacion Espiritual', 1, 4, 0, 1, 284, 4, 16, 0, 100, 100000000, 406, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    INSERT INTO item_proto VALUES (406, 'Set Diamon Pink', 'Poder Eterno Floral', 1, 0, 0, 2, 300, 4, 16, 0, 100, 100000000, 407, 1, 0, 15, 1, 80, 0, 0, 14, 50, 16, 50, 12, 50, 0, 1000, 3000, 1000, 3000, 0, -1, -1, -1, -1, -1, -1, 0, 80, -1);
    pero sigue saliendo el error

  • Lo que debes cambiar el el vnum, ya hay 1 item que tiene el id 400,401,402,403,404,405 y 406. Cambialos por numeros que no estén usados, y si lo cambias recuerda cambiarlos en el item_proto del cliente para que coincidan y en el item_list.