Posts: 70
Threads: 30
Joined: Nov 2011
Reputation:
0
Alright, so I'm using moderntopia roleplay.
However when I get in game, connects etc. I do /register mypassword then it says "You can now login" so I do /login mypassword and it takes a second and it says "Server is restarting, connecting to server, connected, server is restarting..."
Is there any fix for this or what is going on here?
Will pay for answers that work possibly.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Isn't it obvious that your server crashes? This indicates (most likely) a missing file or folder in your scriptfiles directory.
Posts: 70
Threads: 30
Joined: Nov 2011
Reputation:
0
Yes, but everything is there?... every downloaded file, mysql plugins, etc.
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
Show your /login command.
Posts: 925
Threads: 36
Joined: Dec 2009
Reputation:
0
Does the console crash or only the client ?
Posts: 70
Threads: 30
Joined: Nov 2011
Reputation:
0
//-------------------------------[Login]--------------------------------------------------------------------------
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;
}
Posts: 20
Threads: 7
Joined: Feb 2011
Quote:
Originally Posted by FreedomtoLive
Well, when I connect, it connects successfully,
I type /register password - successfully, then I type /login password and nothing happens then it just says Server is restarting....
|
Check on your database if you have the accounts table where all the accounts are. or if by Folder check if you have the users/ folder