/register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
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.
Re: /register mypassword -MTRP- -
Vince - 09.12.2011
Isn't it obvious that your server crashes? This indicates (most likely) a missing file or folder in your scriptfiles directory.
Re: /register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
Yes, but everything is there?... every downloaded file, mysql plugins, etc.
Re: /register mypassword -MTRP- -
MadeMan - 09.12.2011
Show your /login command.
Re: /register mypassword -MTRP- -
sleepysnowflake - 09.12.2011
Does the console crash or only the client ?
Re: /register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
Quote:
Originally Posted by Berlovan
Does the console crash or only the client ?
|
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....
Re: /register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
//-------------------------------[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;
}
Re: /register mypassword -MTRP- -
Mr.KaPoNi - 09.12.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
Re: /register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
Quote:
Originally Posted by Mr.KaPoNi
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
|
I do.
Re: /register mypassword -MTRP- -
FreedomtoLive - 09.12.2011
Quote:
Originally Posted by Mr.KaPoNi
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
|
Quote:
Originally Posted by Vince
Isn't it obvious that your server crashes? This indicates (most likely) a missing file or folder in your scriptfiles directory.
|
I'm using a KingJ server and it's all in there.