[10:01:40] [debug] Server crashed while executing dsrpnew.amx [10:01:40] [debug] AMX backtrace: [10:01:40] [debug] #0 native fread () from samp-server.exe [10:01:40] [debug] #1 00028cc8 in ?? (76062636) from dsrpnew.amx [10:01:40] [debug] #2 0003f07c in public RL_OnPlayerConnect (0) from dsrpnew.amx [10:01:40] [debug] #3 native CallLocalFunction () from samp-server.exe [10:01:40] [debug] #4 00013528 in public Audio_OnPlayerConnect (0) from dsrpnew.amx [10:01:40] [debug] #5 native CallLocalFunction () from samp-server.exe [10:01:40] [debug] #6 0001157c in public SSCANF_OnPlayerConnect (0) from dsrpnew.amx [10:01:40] [debug] #7 0000b688 in public Itter_OnPlayerConnect (0) from dsrpnew.amx [10:01:40] [debug] #8 native CallLocalFunction () from samp-server.exe [10:01:40] [debug] #9 00000da4 in public OnPlayerConnect (0) from dsrpnew.amx [10:01:40] [debug] Native backtrace: [10:01:40] [debug] #0 776c5e93 in ?? () from C:\Windows\SYSTEM32\ntdll.dll [10:01:40] [debug] #1 00498bb8 in ?? () from samp-server.exe [10:01:40] [debug] #2 004991e0 in ?? () from samp-server.exe [10:01:40] [debug] #3 00404f14 in ?? () from samp-server.exe
/* Sa-Mp Include Fix
*
* © by Kaliber, 2015
*
*/
/******************************************************************************/
#if !defined _samp_included
#include <a_samp>
#endif
/******************************************************************************/
#if defined _samp_fix
#endinput
#endif
#define _samp_fix
/******************************************************************************/
native __fread(File:handle, string[], size = sizeof string, bool: pack = false) = fread;
/******************************************************************************/
stock _fread(File:handle, string[], size = sizeof string, bool: pack = false)
return (!fexist(string)) ? 0 : __fread(handle,string,size,pack);
/******************************************************************************/
#if defined _ALS_fread
#undef fread
#else
#define _ALS_fread
#endif
#define fread _fread
/******************************************************************************/
Here i wrote u an fix.
Write this in an file and save it as fix.inc: PHP код:
|
/* Sa-Mp Include Fix
*
* © by Kaliber, 2015
*
*/
/******************************************************************************/
#if !defined _samp_included
#include <a_samp>
#endif
/******************************************************************************/
#if defined _samp_fix
#endinput
#endif
#define _samp_fix
/******************************************************************************/
native __fopen(name[], filemode:mode = io_readwrite) = fopen;
native __fread(File:handle, string[], size = sizeof string, bool: pack = false) = fread;
native __fclose(File:handle) = fclose;
/******************************************************************************/
stock File:_fopen(name[], filemode:mode = io_readwrite) {
const File:error = File:-1;
return (!fexist(name)) ? error : File:__fopen(name,mode);
}
/******************************************************************************/
#if defined _ALS_fopen
#undef fopen
#else
#define _ALS_fopen
#endif
#define fopen _fopen
/******************************************************************************/
stock _fread(File:handle, string[], size = sizeof string, bool: pack = false)
return (handle == File:-1) ? 0 : __fread(handle,string,size,pack);
/******************************************************************************/
#if defined _ALS_fread
#undef fread
#else
#define _ALS_fread
#endif
#define fread _fread
/******************************************************************************/
stock _fclose(File:handle)
return (handle == File:-1) ? 0 : __fclose(handle);
/******************************************************************************/
#if defined _ALS_fclose
#undef fclose
#else
#define _ALS_fclose
#endif
#define fclose _fclose
/******************************************************************************/
Nah i am sry...
It is a little bit more complex the problem Okay here the new fix: PHP код:
|
[10:42:11] [connection] 127.0.0.1:57682 requests connection cookie. [10:42:12] [connection] incoming connection: 127.0.0.1:57682 id: 0 [10:42:12] [join] Jai_Brooks has joined the server (0:127.0.0.1) [10:42:12] [debug] Server crashed while executing dsrpnew.amx [10:42:12] [debug] AMX backtrace: [10:42:12] [debug] #0 native fread () from samp-server.exe [10:42:12] [debug] #1 00028cc8 in ?? (76062664) from dsrpnew.amx [10:42:12] [debug] #2 0003f07c in public RL_OnPlayerConnect (0) from dsrpnew.amx [10:42:12] [debug] #3 native CallLocalFunction () from samp-server.exe [10:42:12] [debug] #4 00013528 in public Audio_OnPlayerConnect (0) from dsrpnew.amx [10:42:12] [debug] #5 native CallLocalFunction () from samp-server.exe [10:42:12] [debug] #6 0001157c in public SSCANF_OnPlayerConnect (0) from dsrpnew.amx [10:42:12] [debug] #7 0000b688 in public Itter_OnPlayerConnect (0) from dsrpnew.amx [10:42:12] [debug] #8 native CallLocalFunction () from samp-server.exe [10:42:12] [debug] #9 00000da4 in public OnPlayerConnect (0) from dsrpnew.amx [10:42:12] [debug] Native backtrace: [10:42:12] [debug] #0 776c5e93 in ?? () from C:\Windows\SYSTEM32\ntdll.dll [10:42:12] [debug] #1 00498bb8 in ?? () from samp-server.exe [10:42:12] [debug] #2 004991e0 in ?? () from samp-server.exe [10:42:12] [debug] #3 00404f14 in ?? () from samp-server.exe
[10:54:49] [debug] #0 776c5e93 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
Код:
[10:54:49] [debug] #0 776c5e93 in ?? () from C:\Windows\SYSTEM32\ntdll.dll I recommend you try hosting your server on a linux machine to check if it happens there as well. Might be a windows thing. |