Jump to content
  • 0

[Problema] MYQSOL,server crash


Question

Guest dj_maryo1993
Posted

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

4 answers to this question

Recommended Posts

Posted

Posteaza:

public OnPlayerLogin(playerid, password[])
si
public OnPlayerRegister(playerid, password[])

B-Zone: Role Play Server -  77.81.202.202:7777 [url=http://www.game-monitor.com/sa-mp_GameServer/77.

Posted

gf blank cu helperi ? ia da si mie link de download la el.

cat despre problema ta, baza,schema de mysql ai ? adica acel fisier.sql ? l-ai urcat in baza de date? ia posteaza si /register ca poate nu se creeaza contul bine

ir2tc1.png [url=http://forum.sa-mp.ro/filter-scripts-and-gamemode
Posted

Deci GF Blank e una noua  =))

Mi-am mai zis unu' "Eu am facut cel mai tare GF".

@OnTopic: Lasa-te de Gf, fa-ti singur un mod de la 0 si experimenteaza pe el .

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Posted

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.

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.