plugins crashdetect and what happen please help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: plugins crashdetect and what happen please help (
/showthread.php?tid=325222)
plugins crashdetect and what happen please help -
Aloushi - 12.03.2012
Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team
[16:43:05] bind = "" (string)
[16:43:05] filterscripts = "" (string)
[16:43:05]
[16:43:05] Server Plugins
[16:43:05] --------------
[16:43:05] Loading plugin: streamer.dll
[16:43:05]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[16:43:05] Loaded.
[16:43:05] Loading plugin: sscanf.dll
[16:43:05]
[16:43:05] ===============================
[16:43:05] sscanf plugin loaded.
[16:43:05] © 2009 Alex "Y_Less" Cole
[16:43:05] ===============================
[16:43:05] Loaded.
[16:43:05] Loading plugin: Whirlpool.dll
[16:43:05]
[16:43:05] ==================
[16:43:05]
[16:43:05] Whirlpool loaded
[16:43:05]
[16:43:05] ==================
[16:43:05]
[16:43:05] Loaded.
[16:43:05] Loading plugin: crashdetect
[16:43:05] crashdetect plugin 2.0 (built on Jul 7 2011)
[16:43:05] Loaded.
[16:43:05] Loaded 4 plugins.
[16:43:05]
[16:43:05] Filterscripts
[16:43:05] ---------------
[16:43:05] Loaded 0 filterscripts.
[16:43:05] gamemodes\Faour.amx
[16:43:05] Number of vehicle models: 21
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team
[16:50:46] bind = "" (string)
[16:50:46] filterscripts = "" (string)
[16:50:46]
[16:50:46] Server Plugins
[16:50:46] --------------
[16:50:46] Loading plugin: streamer.dll
[16:50:46]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[16:50:46] Loaded.
[16:50:46] Loading plugin: sscanf.dll
[16:50:46]
[16:50:46] ===============================
[16:50:46] sscanf plugin loaded.
[16:50:46] © 2009 Alex "Y_Less" Cole
[16:50:46] ===============================
[16:50:46] Loaded.
[16:50:46] Loading plugin: Whirlpool.dll
[16:50:46]
[16:50:46] ==================
[16:50:46]
[16:50:46] Whirlpool loaded
[16:50:46]
[16:50:46] ==================
[16:50:46]
[16:50:46] Loaded.
[16:50:46] Loading plugin: crashdetect
[16:50:47] crashdetect plugin 2.0 (built on Jul 7 2011)
[16:50:47] Loaded.
[16:50:47] Loaded 4 plugins.
[16:50:47]
[16:50:47] Filterscripts
[16:50:47] ---------------
[16:50:47] Loaded 0 filterscripts.
[16:50:47] gamemodes\Faour.amx
[16:50:47] The server has been crashed by fread at address 00001004 in gamemodes\Faour.amx.
this another test but im make write plugin in my gm and get this pelase help me for [REp]
Code:
[17:02:56] [debug] Run time error 4: "Array index out of bounds"
[17:02:56] [debug] Accessing element at index 100 past array upper bound 4
[17:02:56] [debug] Backtrace (most recent call first):
[17:02:57] [debug] #0 public Streamer_OnGameModeInit()+0x1480 from Faour.amx
[17:02:57] [debug] #1 native CallLocalFunction() from samp-server.exe
[17:02:57] [debug] #2 public OnGameModeInit()+0x1210 from Faour.amx
[17:02:57] [debug] Server crashed while executing Faour.amx
[17:02:57] [debug] Backtrace (most recent call first):
[17:02:57] [debug] #0 native fread() from samp-server.exe
[17:02:57] [debug] #1 0x00000fac()+0x58 from Faour.amx
[17:02:57] [debug] #2 0x00000f8c()+0x10 from Faour.amx
[17:02:57] [debug] #3 main()+0xf7c from Faour.amx
Re: plugins crashdetect and what happen please help -
Aloushi - 12.03.2012
help guys please
Re: plugins crashdetect and what happen please help -
ColorHost-Kevin - 13.03.2012
It is something to due with a function in your gamemode.
I suggest checking through it. (preferably OnGameModeInit() )
Respuesta: plugins crashdetect and what happen please help -
dudaefj - 02.04.2012
yes, it's easy, but you should to give more information...
there is a fread trying to read a file that aren't open on your callback OnGameModeInit()
try to compile on -d2 to get more details