well in charserver.ccp have the code that create chars, basic is this
DoSQL("INSERT INTO characters (account_name, char_name, face, hairStyle, sex) VALUES('%s','%s',%i,%i,%i)", thisclient->username, newname.c_str(), face, hairstyle, sex);
right?
i was tryng to make it insert the basic skills too
11,12,13,14,15,16,17,18,19,20,21,22,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
so how can i put this into the code?
i need make a new variable to receive the skills? or just put the numbers into the code, but if is this, how can i make it? XD, dont know very well c++
DoSQL("INSERT INTO characters (account_name, char_name, face, hairStyle, sex,basic_skills) VALUES('%s','%s',%i,%i,%i,what here? XD)", thisclient->username, newname.c_str(), face, hairstyle, sex,11,12,13,14,15,16,17,18,19,20,21,22,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
thx everyone






