Thread: Mysql problem.
View Single Post
Old 13/08/2017, 09:02 AM   #1
ShadowMortar
Huge Clucker
 
Join Date: Jul 2016
Posts: 292
Reputation: 5
Default Mysql problem.

Code:
[10:44:41] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
[10:44:41] [ERROR] cache_get_field_content_int - invalid datatype
[10:47:01] [ERROR] CMySQLQuery::Execute[sqlAddHouse] - (error #1264) Out of range value for column 'OwnerID' at row 1
Code:
[10:47:01] [cmd] [$h@d0w] /createhouse 1 1
[10:47:01] OnQueryError: errorid: 1264, error: Out of range value for column 'OwnerID' at row 1, callback: sqlAddHouse, query: INSERT INTO `houses` (`OwnerID`, `Created`, `Owned`, `Value`, `OutsideX`, `OutsideY`, `OutsideZ`, `OutsideA`, `InsideX`, `InsideY`, `InsideZ`, `InsideA`, `Interior`, `Locked`, `Alarm`, `AlarmStatus`, `Cash`, `Materials`, `Pot`, `Crack`, `Gun1`, `Gun2`, `Gun3`, `Gun4`, `Tag`, `Level`) VALUES(-1, 1, 0, 1, 1535.305297, -1674.420166, 13.382812, 357.553039, 244.500000, 305.000000, 999.148376, 270.000000, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'House', 2), connectionHandle: 1
SS:
ShadowMortar is offline   Reply With Quote