Guest dj_maryo1993 Posted August 30, 2009 Posted August 30, 2009 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
RazR Posted August 30, 2009 Posted August 30, 2009 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.
matrixismyname Posted August 30, 2009 Posted August 30, 2009 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 [url=http://forum.sa-mp.ro/filter-scripts-and-gamemode
cmg4life Posted September 2, 2009 Posted September 2, 2009 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
Guest SHEEP Posted January 17, 2010 Posted January 17, 2010 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.
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]
/register merge bine , no problem la el , dar /login nu merge
4 answers to this question
Recommended Posts