FOPEN problem
#1

After 24-36 hours ( it depend by the number of players online) my server cant open any file.
I add crashdetect.so , but he found nothing !
So i add some logs and i saw that this problem always appear on OnPlayerUpdateEx()
PlayerUpdateEx is called just when the user disconnect.
After the server fail to open Users's files to update there data he fail to open all of the other files.

ServerLog:
Код:
[20:57:18] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:18] [part] BlackDemon has left the server (15:1)
[20:57:26] [part] Choose has left the server (17:1)
[20:57:31] [part] Manciys has left the server (14:1)
[20:57:32] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:32] [part] SuBeCO has left the server (10:1)
[20:57:34] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:34] [part] OzioZb has left the server (9:1)
[20:57:35] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:35] [part] NortoN has left the server (11:1)
[20:57:36] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:36] [part] BandiTu has left the server (8:1)
[20:57:37] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:37] [part] MosuOfficial has left the server (6:1)
[20:57:38] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:38] [part] BeuTy has left the server (3:1)
[20:57:39] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:39] [part] Jhoony has left the server (2:1)
[20:57:40] Error: Couldn't open file PLAYERUPDATEex STEP
[20:57:40] [part] Andrei_Marius has left the server (5:1)
[20:57:40] Error: Couldn't open file masini.cfg
[20:57:41] Incoming connection: 89.46.96.118:58828
[20:57:41] Error: Couldn't open file PLAYERUPDATEex STEP
OnPlayerUpdateEx: http://pastebin.com/0QsbUBPe

#Note: That last thing after the error message is added by me to crash my server and restart because he isn't able to open files anymoore and he need that .
I mean this code:
Код:
 
            new File:f = fopen("wzcasda.txt", io_write);
            fwrite(f, "hi");
            fclose(f);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)