Jump to content

Question

Posted

i try to pass an npc everything is correct and when i execute the sql file always i get an error but i try to pass the same npc to the second l2jdb i got on navicat and everything works fine there .

 

thats the error: [Err] 1136 - Column count doesn't match value count at row 1

[Err] INSERT INTO custom_npc VALUES ('5', '5', 'Hyperion', '0', 'Global Gatekeeper', '0', 'Monster2.ketra_orc_chieftain_20_bi', '17.00', '46.20', '80', 'male', 'L2Teleporter', '40', '300327', '1524', '368.11', '9.81', '60', '57', '73', '76', '70', '80', '3775961', '557272', '2423', '1731', '477', '768', '230', '0', '3819', '6719', '0', '0', '38', '307', '', '0', '0', '0', 'LAST_HIT');
[Msg] Finished - Unsuccessfully

5 answers to this question

Recommended Posts

  • 0
Posted

the sql is fine i passed on the other l2jdb2 i got on navicat and works but dont work on this l2jdb1

thats the sql:

INSERT INTO custom_npc VALUES ('5', '5', 'Hyperion', '0', 'Global Gatekeeper', '0', 'Monster2.ketra_orc_chieftain_20_bi', '17.00', '46.20', '80', 'male', 'L2Teleporter', '40', '300327', '1524', '368.11', '9.81', '60', '57', '73', '76', '70', '80', '3775961', '557272', '2423', '1731', '477', '768', '230', '0', '3819', '6719', '0', '0', '38', '307', '', '0', '0', '0', 'LAST_HIT');

  • 0
Posted

Insert the values manually, obviously, there's a difference between your table structure and that SQL script.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..