Question

Суть вопроса понятна покупая авто в автосалоне оно не сохраняется заметил что в базе данных оно вовсе не создается залез в логи есть ошибки я мало что понимаю хочу что бы вы направили меня на нужное русло где тут найти ошибку 

Спойлер

[12:54:41] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts_cbt` SET `Money` = '18530000' WHERE `Name` = 'N", callback: "(null)", format: "(null)"
[12:54:41] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:54:41] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 3.931 milliseconds
[12:54:41] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[12:54:41] [DEBUG] mysql_format - connection: 1, len: 2048, format: "INSERT INTO `cars_cbt` (`X`, `Y`, `Z`, `F`,`color1`, `color2`, `owner`, `number`, `number2`, `number3`, `number4`, `number5`, `n..."
[12:54:41] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `cars_cbt` (`X`, `Y`, `Z`, `F`,`color1`, `color2`, `", callback: "OnPlayerBuyingCar", format: "ii"
[12:54:41] [DEBUG] CMySQLQuery::Execute[OnPlayerBuyingCar] - starting query execution
[12:54:41] [ERROR] CMySQLQuery::Execute[OnPlayerBuyingCar] - (error #1054) Unknown column 'number2' in 'field list'
[12:54:41] [DEBUG] CMySQLQuery::Execute[OnPlayerBuyingCar] - error will be triggered in OnQueryError
[12:54:41] [DEBUG] Calling callback "OnQueryError"..
[12:56:10] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `virt` = '%d' WHERE `ID` = '%d'"
[12:56:10] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:56:10] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:56:10] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 0.298 milliseconds
[12:56:10] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 256, format: "UPDATE `accounts_cbt` SET `Money` = '%d' WHERE `Name` = '%s'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts_cbt` SET `Money` = '18527500' WHERE `Name` = 'N", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `color1` = '%d', `color2` = '%d', `owner` = '%s', `number`..."
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '126.518', `Y` = '1642.232', `Z` = '", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number` = 'P' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number2` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number2` = '8' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number3` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number3` = '3' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number4` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number4` = '9' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number5` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number5` = 'A' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] mysql_format - connection: 1, len: 64, format: "UPDATE `cars_cbt` SET `number6` = '%s' WHERE `ID` = '%d'"
[12:58:31] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `number6` = 'T' WHERE `ID` = '0'", callback: "(null)", format: "(null)"
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 0.753 milliseconds
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 0.574 milliseconds
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number2' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number3' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number4' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number5' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:31] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'number6' in 'field list'
[12:58:31] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:31] [DEBUG] Calling callback "OnQueryError"..
[12:58:56] [DEBUG] mysql_format - connection: 1, len: 2048, format: "UPDATE `cars_cbt` SET `X` = '%f', `Y` = '%f', `Z` = '%f', `F` = '%f', `virt` = '%d' WHERE `ID` = '%d'"
[12:58:56] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `cars_cbt` SET `X` = '-1018.172', `Y` = '840.899', `Z` = ", callback: "(null)", format: "(null)"
[12:58:56] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:58:56] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 0.665 milliseconds
[12:58:56] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[12:59:01] [DEBUG] mysql_tquery - connection: 1, query: "", callback: "(null)", format: "(null)"
[12:59:01] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[12:59:01] [ERROR] CMySQLQuery::Execute[] - (error #1065) Query was empty
[12:59:01] [DEBUG] CMySQLQuery::Execute[] - error will be triggered in OnQueryError
[12:59:01] [DEBUG] Calling callback "OnQueryError"..
[13:00:00] [DEBUG] mysql_format - connection: 1, len: 256, format: "UPDATE `accounts_cbt` SET `Bank` = '%d' WHERE `ID` = '%d'"
[13:00:00] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts_cbt` SET `Bank` = '2000' WHERE `ID` = '154'", callback: "(null)", format: "(null)"
[13:00:00] [DEBUG] mysql_format - connection: 1, len: 256, format: "UPDATE `accounts_cbt` SET `Game` = '%d' WHERE `ID` = %d"
[13:00:00] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts_cbt` SET `Game` = '4' WHERE `ID` = 154", callback: "(null)", format: "(null)"
[13:00:00] [DEBUG] mysql_format - connection: 1, len: 256, format: "UPDATE `accounts_cbt` SET `Game` = '%d' WHERE `ID` = %d"
[13:00:00] [DEBUG] mysql_tquery - connection: 1, query: "UPDATE `accounts_cbt` SET `Game` = '21' WHERE `ID` = 153", callback: "(null)", format: "(null)"
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 6.966 milliseconds
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 3.933 milliseconds
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - starting query execution
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - query was successfully executed within 3.405 milliseconds
[13:00:00] [DEBUG] CMySQLQuery::Execute[] - no callback specified, skipping result saving
 

 

Share this post


Link to post

1 answer to this question

  • 1

Проблема решена

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Dexter Nomad
      By Dexter Nomad
      При попытке компиляции кода возникает ошибка:
      error 076: syntax error in the expression, or invalid function call
      Не могу найти причину, буду благодарен, если не только укажете, где сама ошибка, но еще и исправите ее.
      Сам код:
          if(strcmp(cmd, "/carsharing", true) == 0)     {         if(IsPlayerConnected(playerid))         {             if(PlayerInfo[playerid][CarLic] == 0) return SCM(playerid, COLOR_RED, "У вас нет вод.прав! Вы можете получить их в автошколе!");         }     }  
    • Sanya_Greison
      By Sanya_Greison
      Куплю РП мод под сервер без бонуса. Бюджет до 150 $
      А также скриптера с Украины
      мой вк vk.com/i_am_sashko