User registration/Login glitch
#1

I've got a pretty big problem with the script I'm using. My server is running on a LARP edit, and some people get that problem. They register an account, everything works etc, but when they come back, instead of login, they have to register again. Actually their stats are saved and user.ini file is in /users, but it acts like the user wouldn't be there. /login works at that point, but that still is a very bad bug.
Quote:

format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_YELLOW2, "Loading users from DataBase! Please Wait!");
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
//return 1;
}
else
{
gPlayerAccount[playerid] = 0;
//return 1;
}

This is the thing which should sort out new users from registered ones. But it sometimes malfunctions. It doesn't happen very often, but about every 10th user gets that error.

And please don't tell me to ask this in the LARP thread, because nobody ever answers.
Reply


Messages In This Thread
User registration/Login glitch - by 666 - 27.08.2010, 06:19
Re: User registration/Login glitch - by 666 - 27.08.2010, 11:29
Re: User registration/Login glitch - by Kyosaur - 27.08.2010, 11:36
Re: User registration/Login glitch - by 666 - 27.08.2010, 12:09
Re: User registration/Login glitch - by Kyosaur - 27.08.2010, 12:40
Re: User registration/Login glitch - by Claude - 27.08.2010, 13:10
Re: User registration/Login glitch - by 666 - 27.08.2010, 15:49
Re: User registration/Login glitch - by 666 - 29.08.2010, 12:25

Forum Jump:


Users browsing this thread: 4 Guest(s)