Jump to content

[Help] SQL Error


MrPerfect20
 Share

Recommended Posts

Hello guys i try to adapt one item from a cronicle to another and i get this error when i try to execute batch ...

 

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '28001, 'GM Gaiters', 'legs', 'true', 'light', 1570, 'leather', 's80', 0, -1, -1,' at line 1

[Err] (28001, 'GM Gaiters', 'legs', 'true', 'light', 1570, 'leather', 's80', 0, -1, -1, 46, 0, 0, 73200, 135, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

[Msg] Finished - Unsuccessfully

 

Can you guys tell me what im doing wrong ?

Link to comment
Share on other sites

This are the lines ...

(28000, 'GM Shirt', 'chest', 'true', 'light', 4570, 'leather', 's80', 0, -1, -1, 73, 0, 0, 117000, 216, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28001, 'GM Gaiters', 'legs', 'true', 'light', 1570, 'leather', 's80', 0, -1, -1, 46, 0, 0, 73200, 135, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28002, 'GM Gloves', 'gloves', 'true', 'none', 640, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28003, 'GM Boots', 'feet', 'true', 'none', 1280, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28004, 'GM Helm', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28005, 'GM Helmet', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

 

L2j C2.3

Link to comment
Share on other sites

This are the lines ...

(28000, 'GM Shirt', 'chest', 'true', 'light', 4570, 'leather', 's80', 0, -1, -1, 73, 0, 0, 117000, 216, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28001, 'GM Gaiters', 'legs', 'true', 'light', 1570, 'leather', 's80', 0, -1, -1, 46, 0, 0, 73200, 135, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28002, 'GM Gloves', 'gloves', 'true', 'none', 640, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28003, 'GM Boots', 'feet', 'true', 'none', 1280, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28004, 'GM Helm', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28005, 'GM Helmet', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

 

L2j C2.3

pff i don't have the files ok then look what you see you make one copy of the sql who is in server/sql

you take from there the armor.sql

and you change from there 6 lines one for one part of the armor if i see good it four and 2 heml

so do it and tell me!!

Link to comment
Share on other sites

This are the lines ...

(28000, 'GM Shirt', 'chest', 'true', 'light', 4570, 'leather', 's80', 0, -1, -1, 73, 0, 0, 117000, 216, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28001, 'GM Gaiters', 'legs', 'true', 'light', 1570, 'leather', 's80', 0, -1, -1, 46, 0, 0, 73200, 135, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28002, 'GM Gloves', 'gloves', 'true', 'none', 640, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28003, 'GM Boots', 'feet', 'true', 'none', 1280, 'leather', 's80', 0, -1, -1, 24, 0, 0, 39100, 72, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28004, 'GM Helm', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

(28005, 'GM Helmet', 'hairall', 'false', 'none', 10, 'wood', 's80', 0, -1, -1, 0, 0, 0, 0, 0, 'true', 'true', 'true', 'true', 'true', '0-0', '0-0;');

 

L2j C2.3

pff i don't have the files ok then look what you see you make one copy of the sql who is in server/sql

you take from there the armor.sql

and you change from there 6 lines one for one part of the armor if i see good it four and 2 heml

so do it and tell me!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock