Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.
Страница 1 из 3 1 2 3 ПоследняяПоследняя
Показано с 1 по 10 из 29
  1. #1
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    346
    Репутация:
    2 ±

    Не записываются некоторые данные в БД

    Не записываются некоторые данные в БД , хотя всё по списку идёт

    PHP код:
    if(GetPVarInt(playerid, !"Logged") > 0)
        {
            new 
    query[128] = "UPDATE "table_account" SET ";

            
    format(querysizeof(query), "%s `Skin` =         '%d',",      queryPlayerInfo[playerid][pSkin]);
             
    format(querysizeof(query), "%s `Sex` =         '%d',",      queryPlayerInfo[playerid][pSex]);
            
    format(querysizeof(query), "%s `Cash` =         '%d',",      queryPlayerInfo[playerid][pCash]);
            
    format(querysizeof(query), "%s `Level` =         '%d',",      queryPlayerInfo[playerid][pLevel]);
            
    format(querysizeof(query), "%s `Admin` =         '%d',",      queryPlayerInfo[playerid][pAdmin]);
            
    format(querysizeof(query), "%s `Pohodka` =     '%d',",         queryPlayerInfo[playerid][pPohodka]);
            
    format(querysizeof(query), "%s `Rasa` =         '%d',",      queryPlayerInfo[playerid][pRasa]);
            
    format(querysizeof(query), "%s `Yazik` =         '%d',",      queryPlayerInfo[playerid][pYazik]);
            
    format(querysizeof(query), "%s `Gorod` =         '%d',",      queryPlayerInfo[playerid][pGorod]);

            
    format(querysizeof(query), "%s WHERE `Name` = '%s'"queryGN(playerid));
            
    mysql_function_query(mysql_connectionqueryfalse"""");
        }
        return 
    true

  2. #2
    Аватар для Web
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.08.2014
    Сообщений
    67
    Репутация:
    8 ±
    Не мало памяти выделено для запроса?

  3. #3
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    346
    Репутация:
    2 ±
    Цитата Сообщение от Web Посмотреть сообщение
    Не мало памяти выделено для запроса?
    Да нет даже много

  4. #4
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Запятая лишняя перед WHERE есть просто


    format(query, sizeof(query), "%s `Gorod` = '%d',", query, PlayerInfo[playerid][pGorod]);
    И вряд ли хватит 128 ячеек для запроса. Уже сейчас, даже без информации из переменных, у тебя больше 250 символов в строке
    Последний раз редактировалось DeimoS; 20.03.2018 в 20:19.
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  5. #5
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    346
    Репутация:
    2 ±
    Не сахраняет всё равно
    Последний раз редактировалось ALIT13; 20.03.2018 в 22:47.

  6. #6
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Ну так значит до сих пор есть либо ошибка в запросе, либо массива не хватает.
    Убери лишние пробелы между именем столбца и спецификатором("%d"), а после подсчитай нормально размер для запроса.


    UPD:
    PHP код:
    if(GetPVarInt(playerid, !"Logged") > 0

        new 
    query[19+(7+3)+(6+1)+(7+11)+(8+11)+(8+2)+(10+2)+(7+2)+(8+2)+(7+1)+(14+MAX_PLAYER_NAME)+1] = "UPDATE account SET ";//19

        
    format(querysizeof(query), "%s Skin=%d,"queryPlayerInfo[playerid][pSkin]);//7+3
        
    format(querysizeof(query), "%s Sex=%d,"queryPlayerInfo[playerid][pSex]);//6+1
        
    format(querysizeof(query), "%s Cash=%d,"queryPlayerInfo[playerid][pCash]);//7+11
        
    format(querysizeof(query), "%s Level=%d,"queryPlayerInfo[playerid][pLevel]);//8+11
        
    format(querysizeof(query), "%s Admin=%d,"queryPlayerInfo[playerid][pAdmin]);//8+2
        
    format(querysizeof(query), "%s Pohodka=%d,"queryPlayerInfo[playerid][pPohodka]);//10+2
        
    format(querysizeof(query), "%s Rasa=%d,"queryPlayerInfo[playerid][pRasa]);//7+2
        
    format(querysizeof(query), "%s Yazik=%d,"queryPlayerInfo[playerid][pYazik]);//8+2
        
    format(querysizeof(query), "%s Gorod=%d"queryPlayerInfo[playerid][pGorod]);//7+1

        
    format(querysizeof(query), "%s WHERE Name='%s'"queryGN(playerid));//14+MAX_PLAYER_NAME
        
    mysql_function_query(mysql_connectionqueryfalse""""); 

    Последний раз редактировалось DeimoS; 21.03.2018 в 08:41.
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  7. #7
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    346
    Репутация:
    2 ±

    Всё равно так же

  8. #8
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Ну так покажи логи MySQL
    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

  9. #9
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    346
    Репутация:
    2 ±
    PHP код:
    [23:13:14] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
    [23:13:16] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
    [23:13:16] [ERRORCMySQLConnection::Connect - (error #2003) Can't connect to MySQL server on 'localhost' (10061)
    [14:18:20] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [14:18:29] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    14:18:29] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [14:25:20] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    14:25:20] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [14:27:20] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    14:27:20] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [14:31:45] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:25:36] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:25:36] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:26:14] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:26:20] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:26:20] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:28:38] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:28:39] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:30:33] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:30:39] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:30:39] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:59:03] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:59:03] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:59:36] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [15:59:43] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    15:59:43] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:01:28] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:01:35] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    16:01:35] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:02:39] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    16:02:39] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:03:02] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:03:09] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    16:03:09] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:16:44] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:16:48] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:16:51] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [16:27:04] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [18:52:29] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    18:52:29] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [18:55:11] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    18:55:11] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:02:56] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:02:56] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:06:24] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:06:24] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:12:05] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:12:05] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:15:54] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:15:54] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:23:46] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:23:46] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:29:53] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:29:53] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:31:49] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:31:49] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:32:54] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:32:54] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:34:30] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:34:30] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:45:48] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    19:45:48] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [19:46:13] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:01:27] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:03:07] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:03:12] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    20:03:12] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:03:20] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:21:54] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:22:56] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    20:22:56] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [20:51:56] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    20:51:56] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [21:21:37] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:01:41] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:06:36] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:08:32] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [17:05:08] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [17:41:19] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [17:41:39] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [17:41:50] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [17:45:18] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [18:05:32] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [18:12:10] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [18:40:04] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:12:58] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9' at line 1
    [22:13:04] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    22:13:04] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9' at line 1
    [22:25:46] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:25:53] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    22:25:53] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:28:48] [WARNINGCMySQLResult::GetRowDataByName field not found ("ID")
    [
    22:28:48] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [22:38:01] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
    [01:46:33] [ERRORCMySQLQuery::Execute[] - (error #1136) Column count doesn't match value count at row 1
    [01:55:09] [ERRORCMySQLQuery::Execute[UploadPlayerAccountNumber] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '0' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '0' ' at line 1
    [01:58:33] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '0' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '0' ' at line 1
    [01:58:50] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '0' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '0' ' at line 1
    [02:02:39] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '2' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '1' ' at line 1
    [02:08:24] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '1' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '3' ' at line 1
    [02:14:37] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sex` =         '1' `Cash` =         '970' `Level` =         '1' `Admin` =         '0' `Pohodka` =     '3' ' at line 1
    [18:20:32] [ERRORCMySQLQuery::Execute[] - (error #1146) Table '1ns1de.account' doesn't exist
    [23:25:09] [ERRORCMySQLQuery::Execute[] - (error #1146) Table '1ns1de.account' doesn't exist
    [23:26:12] [ERRORCMySQLQuery::Execute[] - (error #1146) Table '1ns1de.account' doesn't exist

    [23:47:15] [ERRORCMySQLQuery::Execute[] - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Cub_Andersonj' at line 1 
    Последний раз редактировалось ALIT13; 21.03.2018 в 20:52.

  10. #10
    Аватар для DeimoS
    Модератор?

    Статус
    Оффлайн
    Регистрация
    27.01.2014
    Адрес
    Восточный Мордор
    Сообщений
    5,588
    Репутация:
    1984 ±
    Во-первых, ты где-то пытаешься обратиться к столбцу "ID", которого нет (у тебя столбец записан как "id")
    Во-вторых, сделай так и скинь логи сервера после выхода с этого самого сервера
    PHP код:
    if(GetPVarInt(playerid, !"Logged") > 0

        new 
    query[19+(7+3)+(6+1)+(7+11)+(8+11)+(8+2)+(10+2)+(7+2)+(8+2)+(7+1)+(14+MAX_PLAYER_NAME)+1] = "UPDATE account SET ";//19

        
    format(querysizeof(query), "%s Skin=%d,"queryPlayerInfo[playerid][pSkin]);//7+3
        
    format(querysizeof(query), "%s Sex=%d,"queryPlayerInfo[playerid][pSex]);//6+1
        
    format(querysizeof(query), "%s Cash=%d,"queryPlayerInfo[playerid][pCash]);//7+11
        
    format(querysizeof(query), "%s Level=%d,"queryPlayerInfo[playerid][pLevel]);//8+11
        
    format(querysizeof(query), "%s Admin=%d,"queryPlayerInfo[playerid][pAdmin]);//8+2
        
    format(querysizeof(query), "%s Pohodka=%d,"queryPlayerInfo[playerid][pPohodka]);//10+2
        
    format(querysizeof(query), "%s Rasa=%d,"queryPlayerInfo[playerid][pRasa]);//7+2
        
    format(querysizeof(query), "%s Yazik=%d,"queryPlayerInfo[playerid][pYazik]);//8+2
        
    format(querysizeof(query), "%s Gorod=%d"queryPlayerInfo[playerid][pGorod]);//7+1

        
    format(querysizeof(query), "%s WHERE Name='%s'"queryGN(playerid));//14+MAX_PLAYER_NAME
        
    mysql_function_query(mysql_connectionqueryfalse""""); 
        
    printf("\n\n\n\n|%s|\n\n\n\n"query);

    Связаться со мной в VK можно через личные сообщения этой группы
    Заказы не принимаю

    Широко известно, что идеи стоят 0.8333 цента каждая (исходя из рыночной цены 10 центов за дюжину).
    Великих идей полно, на них нет спроса.
    Воплощение идеи в законченную игру требует долгой работы,
    таланта, терпения и креативности, не говоря уж о затратах денег, времени и ресурсов.
    Предложить идею просто, воплотить – вот в чём проблема

    Steve Pavlina

 

 
Страница 1 из 3 1 2 3 ПоследняяПоследняя

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •