Querys gehen nicht !

09/18/2011 10:22 Schlafhut#1
Hey

Ich wollte eben die neuen Metin Steine mithilfe dieser Query

PHP Code:
INSERT INTO mob_proto VALUES(8028, 'Metin der Hoffnung', 'Metin der Hoffnung', 5, 2, 3, 95, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8029, 'Metin des Schreckens', 'Metin des Schreckens', 5, 2, 3, 100, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8030, 'Metin des Zorns', 'Metin des Zorns', 5, 2, 3, 105, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8031, 'Metin der Barmherzigkeit', 'Metin der Barmherzigkeit', 5, 2, 3, 110, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8032, 'Metin der Unterwelt', 'Metin der Unterwelt', 5, 2, 3, 115, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0); 
INSERT INTO mob_proto VALUES(8033, 'Metin der Wiedergeburt', 'Metin der Wiedergeburt', 5, 2, 3, 120, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0); 
INSERT INTO mob_proto VALUES(8034, 'Metin der Wut', 'Metin der Wut', 5, 2, 3, 125, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8035, 'Metin der Vernunft', 'Metin der Vernunft', 5, 2, 3, 130, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8036, 'Metin des Lichts', 'Metin des Lichts', 5, 2, 3, 135, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8037, 'Metin der Verzweiflung', 'Metin der Verzweiflung', 5, 2, 3, 140, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO mob_proto VALUES(8038, 'Metin der Geduld', 'Metin der Geduld', 5, 2, 3, 145, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0); 
INSERT INTO mob_proto VALUES(8038, 'Metin der Elemente', 'Metin der Geduld', 5, 2, 3, 150, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0); 
einfügen.

Aber ich kriege immer diesen Fehler

PHP Code:
[SQL] 
INSERT INTO mob_proto VALUES(8028, 'Metin der Hoffnung', 'Metin der Hoffnung', 5, 2, 3, 95, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 70104, 0, 0, 0, 0, 0, 0, 0, 0, 0);
[
Err] 1136 - Column count doesn't match value count at row 1 

Ich glaube die Query ist für 07 Files geschrieben darum funzt es nicht oder ?

Vielleicht könnte sie mir ja einer zu 2010 Query umschreiben wäre mega nett !

EDIT : Ich habe die 2010 Serverfiles von Daroo

Vielen Dank !

Euer Schlafhut
09/18/2011 10:24 Jakomo'#2
Die 2010er Files haben 6 Spalten mehr als die 2007er.

Also einfach bei jeder Query am Ende 6 Nullen hinzuschreiben, dann geht's :)
09/18/2011 10:26 Schlafhut#3
Quote:
Originally Posted by .Zirkon' View Post
Die 2010er Files haben 6 Spalten mehr als die 2007er.

Also einfach bei jeder Query am Ende 6 Nullen hinzuschreiben, dann geht's :)
Hmm versuche es eben !

EDIT : Yeahh !!! Danke hat geklappt !! Hast ein Thanks !

#closerequest