Jump to content
  • 0

[Problema] MYQSOL,server crash


Guest dj_maryo1993

Question

Guest dj_maryo1993

Am incercat sa instalez myqsol intr-un gf "blank" (de plictiseala) , dar am intampinat urmatoarea problema:

La login , serverul ia crash.

[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;

}

[/pawn]

public public OnPlayerLogin(playerid,password[])
http://pastebin.com/m73f1623

/register merge bine , no problem la el , dar /login nu merge

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Aceiasi problema o am si eu Cand scriu /register se creaza contul in baza de date iar cand scriu /login BOOOM Se inchide serverul.

Mod: Moderntopia (Exact cum este pe forum fara modificari).

Am si plug si fisierul .sql incarcat.

Daca stie cineva de ce sa imi exlice si mie.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.