Hello,
Im running skybird released by Johno, but i have come across 2 issues one of them i know how to fix the other i don't.
In the emu it says Error in Query Caught, when i check the MYSQLerror logs i come across these two issues;
Groups;
Error in query:
INSERT INTO groups (`name`, `desc`,`badge`,`owner_id`,`created`,`room_id`,`colour1`,`colour2`) VALUES(@[USER=7391]name[/USER], @desc, @badge, 2, UNIX_TIMESTAMP(), 75,'bd2121','ffffff')
MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect integer value: 'bd2121' for column 'colour1' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteScalar()
at Database_Manager.Database.Session_Details.QueryAdapter.insertQuery() in e:\Documents\Emulator [L]\Emulator [L]\Plus Emulator\DatabaseManager\Database_Manager\Database\Session_Details\QueryAdapter.cs:line 164
Which i have no idea how to fix but i have the feeling its somthing similer to this issue,
Rooms;
This happens when a user moves furni, picks up furni, rotates furni & places furni.
Error in query:UPDATE items SET user_id = 2, room_id='' WHERE id = 4334;UPDATE items SET user_id = 2, room_id='' WHERE id = 4333;UPDATE items SET user_id = 2, room_id='' WHERE id = 4332;UPDATE items SET user_id = 2, room_id='' WHERE id = 4331;UPDATE items SET user_id = 2, room_id='' WHERE id = 4335;UPDATE items SET user_id = 2, room_id='' WHERE id = 4337;UPDATE items SET user_id = 2, room_id='' WHERE id = 4336;UPDATE items SET user_id = 2, room_id='' WHERE id = 0
MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect integer value: '' for column 'room_id' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Database_Manager.Database.Session_Details.QueryAdapter.runQuery() in e:\Documents\Emulator [L]\Emulator [L]\Plus Emulator\DatabaseManager\Database_Manager\Database\Session_Details\QueryAdapter.cs:line 193Error in query: UPDATE items SET user_id = 33, room_id='' WHERE id = 5345
MySql.Data.MySqlClient.MySqlException (0x80004005): Incorrect integer value: '' for column 'room_id' at row 1
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int32& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery()
at Database_Manager.Database.Session_Details.QueryAdapter.runQuery() in e:\Documents\Emulator [L]\Emulator [L]\Plus Emulator\DatabaseManager\Database_Manager\Database\Session_Details\QueryAdapter.cs:line 193
This one i researched and found this said by Sledmore,
Just CTRL + F for all results that come up for 'room_id='' WHERE' and change them to '`room_id` = '0' WHERE'.
But my problem is i don't know were to look for that.
Any help with both these issues would be greatful, thanks.
Josh
- - - Updated - - -
I searched all the files for 'room_id='' WHERE' and could find nothing.


Reply With Quote


