create character error

2 replies [Last post]
Posts: 28

I just set up svn and did clear download of newest version. Then i compiled and run both server and client to check if everything is ok. Created new account, and since there was no characters program attempted to create one. And i got error:

Exception occured while trying to execute reader. Exception: MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect number of arguments for FUNCTION demogame.create_user_on_account; expected 3, got 2
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.FetchDataRow(Int32 statementId, Int32 columns)
at MySql.Data.MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns)
at MySql.Data.MySqlClient.ResultSet.GetNextRow()
at MySql.Data.MySqlClient.ResultSet..ctor(Driver d, Int32 statementId, Int32 numCols)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()

To check this out i restarted server and tried to log on to Spodi account and clicked second window in order to create another character next to defaul one and i got the same error.

Posts: 1691

Make sure you update the database, including stored procedures.

Posts: 28

Sorry, i run validator and created new DB and works now. My bad Smile