Crash when player connects - MySQL.
#4

Ah that's good news.

Now the way to find out what is causing the problem is to move the "/*" further down the section of code, which will result in more of the code being called and eventually, the query failing.

Now since your code is so long, it would take forever if we were to move one part at a time, so first I'd recommend you make sure you can recover at least one piece of data like this:
pawn Код:
if(mysql_num_rows(connectionHandle) > 0)
    {
        mysql_retrieve_row();

        new szReturn[128];

                mysql_fetch_field_row(PlayerInfo[extraid][pPass], "Password", connectionHandle);
        /*
                mysql_fetch_field_row(szReturn, "ID", connectionHandle);
                PlayerInfo[extraid][pDBID] = strval(szReturn);
and then if this works, move it to about half way down the code
Reply


Messages In This Thread
EDIT: FIXED!! - by ryansheilds - 25.06.2012, 15:09
Re: Crash when player connects - MySQL. - by Hawky133 - 25.06.2012, 15:37
Re: Crash when player connects - MySQL. - by ryansheilds - 25.06.2012, 19:26
Re: Crash when player connects - MySQL. - by Hawky133 - 25.06.2012, 19:32
Re: Crash when player connects - MySQL. - by ryansheilds - 26.06.2012, 07:25

Forum Jump:


Users browsing this thread: 1 Guest(s)