/register mypassword -MTRP-
#1

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.
Reply
#2

Isn't it obvious that your server crashes? This indicates (most likely) a missing file or folder in your scriptfiles directory.
Reply
#3

Yes, but everything is there?... every downloaded file, mysql plugins, etc.
Reply
#4

Show your /login command.
Reply
#5

Does the console crash or only the client ?
Reply
#6

Quote:
Originally Posted by Berlovan
View Post
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....
Reply
#7

//-------------------------------[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;
}
Reply
#8

Quote:
Originally Posted by FreedomtoLive
View Post
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
Reply
#9

Quote:
Originally Posted by Mr.KaPoNi
View Post
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.

Reply
#10

Quote:
Originally Posted by Mr.KaPoNi
View Post
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
View Post
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)