Server Lagging? +REP!
#1

Hey guys. I have been experiencing a major problem that whenever a player logins to the server, the server lags for 2-3 seconds and sometimes crash. If you could help me in any way i appreciate it.

If you need to have any type of code please tell me!
Reply
#2

anyone?
Reply
#3

Are you running an Ini saving system? I remember when we had LOADS of files the server would hang for a few seconds whilst finding the account..
Reply
#4

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Are you running an Ini saving system? I remember when we had LOADS of files the server would hang for a few seconds whilst finding the account..
Hmm, its INI system.

I can give u OnPlayerSpawn or OnPlayerConnect code if u like to
Reply
#5

Roughly how many accounts do you have saved?
Reply
#6

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Roughly how many accounts do you have saved?
54.

Ad i found out account name with Invalid_Name.ini
Reply
#7

also do you have anything in OnPlayerUpdate callback?
Reply
#8

Quote:
Originally Posted by doreto
Посмотреть сообщение
also do you have anything in OnPlayerUpdate callback?
yes i have one.
Here is the code:

PHP код:
public OnPlayerUpdate(playerid)
{
    new 
RolPointTXT1[250];
    if(
PlayerInfo[playerid][pPuntosCash] == 0)
    {
    
RolPointTXT1 "Ninguno";
    }
    new 
string4[250];
    
format(string4sizeof(string4), "~>~~G~GoldenBricks: ~W~%d"PlayerInfo[playerid][pPuntosCash]);
    
TextDrawSetString(RolPoint4[playerid], string4);
    return 
1;

Reply
#9

Anyone
Reply
#10

Please post the following:

OnPlayerConnect.

Also, install "Crashdetect" and see if that gives out any errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)