AMX backtrace
#1

Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[22:15:11] filterscripts = ""  (string)
[22:15:11] 
[22:15:11] Server Plugins
[22:15:11] --------------
[22:15:11]  Loading plugin: mysql
[22:15:12]  >> plugin.mysql: R33 successfully loaded.
[22:15:12]   Loaded.
[22:15:12]  Loading plugin: streamer
[22:15:12]   Loaded.
[22:15:12]  Loading plugin: whirlpool
[22:15:12]  
[22:15:12]  ==================
[22:15:12]  
[22:15:12]   Whirlpool loaded
[22:15:12]  
[22:15:12]  ==================
[22:15:12]  
[22:15:12]   Loaded.
[22:15:12]  Loading plugin: nativechecker
[22:15:12]   Loaded.
[22:15:12]  Loading plugin: crashdetect
[22:15:12]   CrashDetect v4.12 is OK.
[22:15:12]   Loaded.
[22:15:12]  Loading plugin: sscanf
[22:15:12] 

[22:15:12]  ===============================

[22:15:12]       sscanf plugin loaded.     

[22:15:12]          Version:  2.8.2        

[22:15:12]    © 2012 Alex "******" Cole  

[22:15:12]  ===============================

[22:15:12]   Loaded.
[22:15:12]  Loaded 6 plugins.

[22:15:12] 
[22:15:12] Filterscripts
[22:15:12] ---------------
[22:15:12]   Loaded 0 filterscripts.

[22:15:14]    Error: Function not registered: 'SSCANF_Init'
[22:15:14]    Error: Function not registered: 'SSCANF_IsConnected'
[22:15:14]    Error: Function not registered: 'SSCANF_Join'
[22:15:14]    Error: Function not registered: 'SSCANF_Leave'
[22:15:14]    Error: Function not registered: 'sscanf'
[22:15:15]  
[22:15:15]  
[22:15:15]  
[22:15:15]  ======================================= 
[22:15:15]  |                                     | 
[22:15:15]  |        YSI version 3.09.0684        | 
[22:15:15]  |        By Alex "******" Cole        | 
[22:15:15]  |                                     | 
[22:15:15]  ======================================= 
[22:15:15]  
[22:15:15]  
[22:15:15]  
[22:15:15] Preparing the gamemode, please wait...
[22:15:15] [debug] Server crashed while executing GMRoleplay.amx
[22:15:15] [debug] AMX backtrace:
[22:15:15] [debug] #0 native fread () [00405770] from samp-server.exe
[22:15:15] [debug] #1 0037fa78 in ?? () from GMRoleplay.amx
[22:15:15] [debug] #2 00524c5c in ?? () from GMRoleplay.amx
[22:15:15] [debug] #3 0000cf80 in public Itter_OnGameModeInit () from GMRoleplay.amx
[22:15:15] [debug] #4 native CallLocalFunction () [004743b0] from samp-server.exe
[22:15:15] [debug] #5 0000819c in public ScriptInit_OnGameModeInit () from GMRoleplay.amx
[22:15:15] [debug] #6 00007120 in public SSCANF_OnGameModeInit () from GMRoleplay.amx
[22:15:15] [debug] #7 0000147c in public zcmd_OnGameModeInit () from GMRoleplay.amx
[22:15:15] [debug] #8 native CallLocalFunction () [004743b0] from samp-server.exe
[22:15:15] [debug] #9 00000c68 in public OnGameModeInit () from GMRoleplay.amx
[22:15:15] [debug] Native backtrace:
[22:15:15] [debug] #0 77db77b2 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[22:15:15] [debug] #1 00498bb8 in ?? () from C:\Users\Wahyu\Downloads\Compressed\samp037_svr_R2-1-1_win32\samp-server.exe
[22:15:15] [debug] #2 004991e0 in ?? () from C:\Users\Wahyu\Downloads\Compressed\samp037_svr_R2-1-1_win32\samp-server.exe
[22:15:15] [debug] #3 00404f14 in ?? () from C:\Users\Wahyu\Downloads\Compressed\samp037_svr_R2-1-1_win32\samp-server.exe
Reply
#2

update your sscanf include
Reply
#3

fread() will crash the server if you try to read something from an invalid handle. You have to check whether the file you trying to read is exists / not an invalid handle or simply use sa-mp fixes include.
Reply
#4

Quote:
Originally Posted by X337
View Post
fread() will crash the server if you try to read something from an invalid handle. You have to check whether the file you trying to read is exists / not an invalid handle or simply use sa-mp fixes include.
and how can I fix
Reply
#5

You can check which file doesn't exist and fix this or you send us the right code so that we can help you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)