Question

Pawn-Scripting_training
Новичок

Я написал код регистрации и все работает. 

Но с авторизацией беда.

Вот код:

public OnPlayerConnect(playerid)
{
    GetPlayerName(playerid,player[playerid][pName],MAX_PLAYER_NAME);
    new reg[120];
    mysql_format(sql,reg,sizeof(reg),"SELECT * FROM `player` WHERE `pName` = '%s'",player[playerid][pName]);
    mysql_function_query(sql,reg,true,"check","i",playerid);
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case DLG_REG:
        {
            if(!response) return SPD(playerid,DLG_REG,input,"Здарова регистрация","Вы обязаны зарегистрироватся","{10ff01}Далее","{fe3700}Отмена");
            if(strlen(inputtext) < 4return SPD(playerid,DLG_REG,input,"Здарова регистрация","Пароль от {fafe00}4 {ffffff}до {5bff}24 {ffffff}символов!","{10ff01}Далее","{fe3700}Отмена");
            if(strlen(inputtext) > 24return SPD(playerid,DLG_REG,input,"Здарова регистрация","Пароль от {fafe00}4 {ffffff}до {5bff}24 {ffffff}символов!","{10ff01}Далее","{fe3700}Отмена");
            new query[150];
            mysql_format(sql,query,sizeof(query),"INSERT INTO `player` (`pName`,`pPassword`) VALUES ('%s','%s')",player[playerid][pName],inputtext);
            mysql_query(sql,query,true);
            strmid(player[playerid][pPassword],inputtext,0,24,25);
            printf("%s",player[playerid][pPassword]);
            spawn(playerid);
        }
        case DLG_LOG:
        {
            if(!response) return SPD(playerid,DLG_LOG,input,"Привествуем","Добро пожаловать на {15aff}New RP{ffecff}. Авторизуйтесь","{10ff01}Далее","{fe3700}Отмена");
            if(strcmp(player[playerid][pPassword],inputtext,true))
            {
                SPD(playerid,DLG_LOG,input,"Неверный пароль!","Пароль не верен","Окей","Очко побрей");
            }
            else
            {
                spawn(playerid);
            }
        }
    }
    return 1;
}
//  Форварды + паблики
forward check(playerid);
public check(playerid)
{
    new rows,fields;
    cache_get_data(rows,fields,sql);
    if(!rows)
    {
        SPD(playerid,DLG_REG,input,"Здарова регистрация","Добро пожаловать на {15aff}New RP{ffecff}. Зарегистрируйтесь","{10ff01}Далее","{fe3700}Отмена");
    }
    else
    {
        SPD(playerid,DLG_LOG,input,"Здарова авторизация","Добро пожаловать на {15aff}New RP{ffecff}. Авторизуйтесь","{10ff01}Далее","{fe3700}Отмена");
        cache_get_field_content(rows,"pPassword",player[playerid][pPassword],sql);
    }
}
forward spawn(playerid);
public spawn(playerid)
{
    SpawnPlayer(playerid);

}

Беда в том,что если в " if(strcmp(player[playerid][pPassword],inputtext,true)) "  стоит оператор то возвращается диалог с неверным паролем,а если не стоит то пропускает любой пароль

printf(...); делал для проверку правильно ли записался пароль в переменную

Edited by Pawn-Scripting_training

Share this post


Link to post

0 answers to this question

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • FriendlyRP124
      By FriendlyRP124
      [11:49:51 11/08/25] [ERROR] mysql_tquery - invalid connection handle (id: 0) [11:49:51 11/08/25] [WARNING] CMySQLHandle::Create - connection already exists [11:49:51 11/08/25] [ERROR] CMySQLQuery::Execute[load_config_server] - (error #1146) Table 'gs317228.cfg_in_server' doesn't exist (Query: "SELECT * FROM `cfg_in_server`") [11:49:51 11/08/25] [ERROR] CMySQLQuery::Execute[] - (error #1054) Unknown column 'GiveMoneyDay' in 'where clause' (Query: "UPDATE `accounts` SET `GiveMoneyDay` = '0' WHERE `GiveMoneyDay` > '0'") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('82') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('83') (Query: "SELECT * FROM `bizz` ORDER BY `bizz`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-2') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_int - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") [11:49:51 11/08/25] [ERROR] cache_get_field_content_float - invalid datatype [11:49:51 11/08/25] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('-1') (Query: "SELECT * FROM `house` ORDER BY `house`.`id` ASC ") Ссылка на БД https://disk.yandex.ru/d/YBm6ozFQlpgtCQ