21.09.2009, 09:03
Quote:
|
Originally Posted by Rizard
the server crashes, not realy the players, at first I thought it was my dedi wich was beeing rebooted every 20 min
but since I tried anotehr another gamemode lolz it's mine where the prob is ![]() and wow, never thought of that! I'm gonna check things out right away, thnx for your quick respons allready ![]() Pls don't let this stop anyone from posting more answers like this ![]() Grts Riz EDIT: Found something that doesn't create any files, could that cause a crash (or 2? )this is the code... pawn Код:
![]() Again, pls don't let this stop anyone with helpfull repons. Grts Riz |
I'm not sure if that would cause a crash, it would, however, cause extreme lag when players are on.
You're updating those files under OnPlayerUpdate, which means it's opening files and writing data to them up to 50 times per second. I suggest you change that, though it's probably not the source of your crash.
The .cer files created from that script aren't being put in a folder, so if there are any they should be in the "scriptfiles" directory of your server.
I suggest putting in some debug messages on various callbacks (using print/SendClientMessageToAll), to see what happens before your server crashes. Then, go through the script, and check the code after your last debug message, as that is most likely where the problem is.


but since I tried anotehr another gamemode lolz it's mine where the prob is 


)