[Problem] SQL , Server crashes
#1

After a few hours ,i "instaled" the myqsol on an normal gf , but i have the next problem : When i attemp to /login into the account , the server crashes
pawn Код:
if (strcmp(cmd, "/login", true) ==0 )
    {
      if(IsPlayerConnected(playerid))
      {
        new tmppass[64];
            if(gPlayerLogged[playerid] == 1)
            {
                SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "SERVER: You are already logged in.");
                return 1;
            }
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "USAGE: /login [password]");
                return 1;
            }
            strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
            //Encrypt(tmppass);
            OnPlayerLogin(playerid,tmppass);
        }
        return 1;
    }
Код:
public public OnPlayerLogin(playerid,password[])
http://pastebin.com/m73f1623
The /register works fine , but the login doesn't .
Please help , i need this as soon as possibile

Or if you have an tutorial how to instal myqsol db on normal script i will apriciate.
Reply


Messages In This Thread
[Problem] SQL , Server crashes - by Dj_maryo1993 - 29.08.2009, 21:02
Re: [Problem] SQL , Server crashes - by mirkoiz - 29.08.2009, 22:24
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 29.08.2009, 22:25
Re: [Problem] SQL , Server crashes - by mirkoiz - 29.08.2009, 22:30
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 29.08.2009, 22:40
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 30.08.2009, 11:14
Re: [Problem] SQL , Server crashes - by MenaceX^ - 30.08.2009, 11:20
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 30.08.2009, 11:25
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 30.08.2009, 13:34
Re: [Problem] SQL , Server crashes - by Dj_maryo1993 - 30.08.2009, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)