rafole Posted June 9, 2010 Posted June 9, 2010 I put this thing in my pack http://www.maxcheaters.com/forum/index.php?topic=35122.0 [interlude client] and when i try to create a char i get this error on GC Could not insert char data: java.sql.SQLException: Column count doesn't match value count at row 1 pack is l2jserver :x How Can i fix this error?
0 xAddytzu Posted June 9, 2010 Posted June 9, 2010 ALTER TABLE `characters` ADD `donator` decimal(1,0) NOT NULL DEFAULT 0; ALTER TABLE `characters` ADD `hero` decimal(1,0) NOT NULL DEFAULT 0;
0 kuba90 Posted June 9, 2010 Posted June 9, 2010 ALTER TABLE `characters` ADD `donator` decimal(1,0) NOT NULL DEFAULT 0; ALTER TABLE `characters` ADD `hero` decimal(1,0) NOT NULL DEFAULT 0; If that was the case the error would be unknown column "donator" bla bla. His statement is missing columns aka statement_columns < table_columns usually. But im not sure.
0 mogo Posted June 9, 2010 Posted June 9, 2010 If that was the case the error would be unknown column "donator" bla bla. His statement is missing columns aka statement_columns < table_columns usually. But im not sure. Yes he is missing some columns, which MIGHT be the "hero" and "donator" like xAddytzu said. It would be easier to determine if the author at least posted the structure of characters' table.
0 kuba90 Posted June 9, 2010 Posted June 9, 2010 I dont mean they are missing in the db, but in the statement.
0 mogo Posted June 9, 2010 Posted June 9, 2010 Yeah, you may be right actually. So the whole INSERT query and the table structure would tell what's the problem :)
Question
rafole
I put this thing in my pack http://www.maxcheaters.com/forum/index.php?topic=35122.0 [interlude client]
and when i try to create a char i get this error on GC
pack is l2jserver :x
How Can i fix this error?
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now