Jump to content
  • 0

[Request] I can't add custom items on my l2jdatabase succefully


Question

Posted

hi Devs,i started a server just yesterday so i am a newbie developer..i have a gracia final server with datapack version=6705 and server version=3614...the problem is that:when i run batch file to add a custom item..i click start but it doesnt add succefully and give me error like :"[Err] 1136 - Column count doesn't match value count at row 1

[Err] INSERT INTO `armor` VALUES ('9813', 'Epic Mask', 'face', 'false', 'none', '1', 'leather', 's', '0', '-1', '0', '0', '500', '48000000', '0', 'true', 'true', 'true', 'true', '0', '0');

[Msg] Finished - Unsuccessfully"...i asked for example Drogata and he thinks that maybe the custom items are not for my datapack..but HOW CAN BE?i have the latest datapack version..what i have to do?i tryied with weapons also and i get this:"[Err] 1136 - Column count doesn't match value count at row 1

[Err] -- ---------------------------

-- By Legollas

-- ---------------------------

INSERT INTO `weapon` VALUES ('99000', 'Hard Blade - Haste', 'rhand', 'true', '1300', '1', '1', 'adamantaite', 's', '281', '10', 'sword', '8', '0.00000', '0', '0', '0', '379', '0', '132', '-1', '-1', '48800000', '2052', 'true', 'true', 'true', 'true', '0', '0', '0', '0', '0', '0', '0', '0', '9365', '3564-1;');

[Msg] Finished - Unsuccessfully

--------------------------------------------------

 

help me guys..Regards

 

Cloud;)

Recommended Posts

  • 0
Posted

as i said i am a newbie developer?can u say me what i have to cancel/add?maybe i must remove "set into ..etc and leave only id,material etc"..hope u understand,thx u

  • 0
Posted

try this

INSERT INTO `armor` VALUES ('9813', 'Epic Mask', 'face', 'false', 'none', '1', 'leather', 's', '0', '-1', '0', '0', '500', '48000000', '0', 'true', 'true', 'true', 'true', '0-0', '0-0;');

  • 0
Posted

sorry but that was fail replies for real just when you will try again to install the sql files on your navicat press Continue On Errors if it still show you an error listen what you need to do if it's that

[Err] INSERT INTO `armor` VALUES ('9813',       

go in armor table search for this ID 9813 if already exist change it save it on your navicat and then try to put them again

you will make the same thing with INSERT INTO `weapon` VALUES ('99000'

  • 0
Posted

if you newbie in this install a clean db and than insert your stuff manually via navicat by manually i mean fill columns by hand

  • 0
Posted

uhm..is so strange i checked for weapon and armor and i dont have a item with ID "9813" and"99000"...but i get still this error..what i have to do?maybe i get this error because the first time i installed a wrong datapack and i needed to download the right one..maybe it still have the old datapack even if i installed the new and i get this error?..i am really confused,i get this error with L2J Database Editor(DragonHunter) too

  • 0
Posted

i did it now and i added a epic mask as item id 9813 and it worked..but is normal that i dont see it on armor values?(i putted it here with batch file)...

  • 0
Posted

There's nothing like a batch here lol..

Right click on the mysql table (in navicat) then choose Console.

But in your code it seems the insert doesn't match your columns.

Track / follow the columns within' your code and delete/add the missing ones ,so it could match.

  • 0
Posted

There's nothing like a batch here lol..

yes right wrong type>_<...anyway my problem is that:i fixed the values and i added it succefully..but i cant see it on armor table and if i try to add again i get this error:"[Err] 1062 - Duplicate entry '9813' for key 'PRIMARY'" i think he says that i already have a item with 9813 ID..but where is it?
  • 0
Posted

uhm..is strange..what u sayd work but..my last item on armor table is 9126 but this custom item have id 9813:(...where the hell it is..i rly love developing server but..it gives much problems:(

 

edit:problem fixed..i just changed the id:)

Guest
This topic is now closed to further replies.


  • Posts

    • I would like to know about the Acis base of the data pack I use. The server source and server file could not find that information. I respectfully ask for the help of masters.🥲
    • discord - adver745645   https://t.me/adenala2   THERE ARE A LOT OF ADEN AT A VERY GOOD PRICE!!! HURRY  
    • Artificial Intelligence for all Chronicles. Developed in L2 HighFive branch since 2023 but it can be adapted to any project including Fand-C, aCis, Frozen, Scripts even compiled projects such as Lucera with some aditional cost.   Features:  1. Grouped of templates to create your own BOT (including skill, items, appearance, sex e.t.c.) 2. Bot can participate in Olympiad (+ any event with extra cost base on your event engine) 3. Bot walk nearby NPC to receive buff, receive equipment and teleport to any other area 4. Bot will accept party & clan invitation and follow party leader to wherever he go including teleport 6. Bot will trade player back dropped items from PK or fallen Raid Bosses after they visit a peace zone 7. Bot will open store and sell configurable item in configurable prices to players. 8. Bot will attack and cast spells in a realistic way. All classes are used including buffers, summoners, bishops e.t.c. 9. Buffer and bishops will cast buff to party members when player has no available or overriden buffs. 10. Bot will enchant their equipent and re-purchase upon failure. Their weapon will also switched between hero weapon and retail weapon when they need to. 11. Bot can move in complex map system and find monsters or players but they can also follow routes for specific paths using configurable XML if you want to.   Preview of some features: Olympiad Trade Store PvP   Example of a single configurable template in XML: https://pastebin.com/RXZVGCfA   Price: 270 Euro (Compiled) - 450 Euro (Source)    Contact Me Discord: https://discord.gg/gKAsAhJNuq MaxCheaters: https://maxcheaters.com/profile/243647-out-of-time/ Gmail: l2outoftime@gmail.com RCS Message: +30 698 740 8501  
    • Good day! Due to the increasing number of questions, "Do you provide services for the client?" - I decided to answer with a separate topic. I provide services for editing/modifying the client and individual files, namely: 1. Transfer/Creation/Editing locations, geodata.   2. All kinds of work with NPCs, including transfer, animation, adding effects to them and logos.   3. Actually, Transfer/Creation/Edit any EFFECTS, including Abnormal Effects.   4. Any work with weapons, armor, accessories and everything related to it.   5. Create or edit textures, including dynamic textures.   6. Creating a Lobby Screen, Lobby Char Selection (character selection window) and Lobby Char Creation (character creation window). What I don't do: 1. Coding in any form (except for CB).   I started publishing my work recently, here - YouTube And here - RuTube If required, I respect confidentiality. Any other questions? Welcome to Telegram or PM.
  • Topics

×
×
  • Create New...