Server Crash
#7

First of all, change io_write to io_append. At least this way, if a file is missing, it will create it for you.

Add this line to the TOP of the SaveTeleport function:
pawn Код:
if(!fexist("LuxAdmin/Config/CreatedTeles.cfg")) return 0;
The server may be crashing due to you opening a file that doesn't exist. Either do the following that I have listed above (io_append is definitely recommended however), otherwise make sure that the file in your script files directory exists. File path: "scriptfiles/LuxAdmin/Config/CreatedTeles.cfg"

If nine of those folders, directories or files exist, I would recommend that you create them...
Reply


Messages In This Thread
Server Crash - by DarkB0y - 12.03.2013, 12:47
Re: Server Crash - by Misiur - 12.03.2013, 13:24
Re: Server Crash - by DarkB0y - 12.03.2013, 13:30
Re: Server Crash - by DarkB0y - 13.03.2013, 20:38
Re: Server Crash - by Threshold - 13.03.2013, 20:40
Re: Server Crash - by DarkB0y - 13.03.2013, 21:14
Re: Server Crash - by Threshold - 13.03.2013, 22:46

Forum Jump:


Users browsing this thread: 4 Guest(s)