28.08.2015, 07:02
I bought a windows host samp server, the server is working correctly on my local host but when i uploaded all my data to my bought windows host and start the server, and entered command like /commands or any command, the server got crash.
Used crashdetect and the results are this.
by the way my filterscript commands are working but not my gamemode commands working.
Using CNRSF script.
See the problem in this?
So please solve my this problem.
Used crashdetect and the results are this.
Код:
[08:19:50] [debug] Server crashed while executing CnR.amx [08:19:50] [debug] AMX backtrace: [08:19:50] [debug] #0 native fclose () [004056f0] from samp-server.exe [08:19:50] [debug] #1 0007d03c in ?? () from CnR.amx [08:19:50] [debug] #2 00140444 in public OnPlayerCommandReceived () from CnR.amx [08:19:50] [debug] #3 native CallLocalFunction () [00474110] from samp-server.exe [08:19:50] [debug] #4 00003f20 in public OnPlayerCommandText () from CnR.amx [08:19:50] [debug] System backtrace: [08:19:50] [debug] #0 004056fd in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #1 702e39e2 in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #2 702e5e26 in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #3 702dbf3f in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #4 702e3a0e in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #5 0047441e in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #6 004010b6 in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #7 702e39e2 in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #8 702e5e26 in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #9 702dbf3f in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #10 702e3a0e in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #11 0046dbc0 in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #12 004528f0 in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #13 702e3a0e in ?? () from C:\TCAFiles\Users\shreyr\280\plugins\crashdetect.DLL [08:19:50] [debug] #14 0046e780 in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #15 0049d629 in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #16 0045b3aa in ?? () from C:\TCAFiles\Users\shreyr\280\samp-server.exe [08:19:50] [debug] #17 758e14ab in ?? () from C:\Windows\syswow64\KERNELBASE.dll [08:19:50] [debug] #18 758e14de in ?? () from C:\Windows\syswow64\KERNELBASE.dll
Using CNRSF script.
See the problem in this?
Код:
function GetINIString(file[], result[]) { new File:inifile, line[512]; inifile = fopen(file, io_read); if(!inifile) { printf("Fatal Error: Couldn't open \"%s\"!", file); return 0; } while(fread(inifile, line)) format(result, sizeof(line), "%s", line); fclose(inifile); return 0; } function WriteNIString(file[], string[]) { new File:inifile; inifile = fopen(file, io_write); if(!inifile) { printf("Fatal Error: Couldn't open \"%s\"!", file); return 0; } fwrite(inifile, string); fclose(inifile); return 0; }