[13:55:45] Script[gamemodes/DM.amx]: Run time error 19: "File or function is not found" [13:55:45] Number of vehicle models: 1
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[13:55:45]
[13:55:45] Server Plugins
[13:55:45] --------------
[13:55:45] Loading plugin: streamer.so
[13:55:45]
*** Streamer Plugin v2.5.2 by Incognito loaded ***
[13:55:45] Loaded.
[13:55:45] Loading plugin: sscanf.so
[13:55:45]
[13:55:45] ===============================
[13:55:45] sscanf plugin loaded.
[13:55:45] (c) 2009 Alex "******" Cole
[13:55:45] 0.3d-R2 500 Players "dnee"
[13:55:45] ===============================
[13:55:45] Loaded.
[13:55:45] Loaded 2 plugins.
[13:55:45]
[13:55:45] Filterscripts
[13:55:45] ---------------
[13:55:45] Loading filterscript 'UltraHost.amx'...
[13:55:45] Loading filterscript 'savings.amx'...
[13:55:45]
--------------------------------------
[13:55:45] Blank Filterscript by your name here
[13:55:45] --------------------------------------
[13:55:45] Loading filterscript 'CMD.amx'...
[13:55:45] Loading filterscript 'gl_realtime.amx'...
[13:55:45] Loading filterscript 'Zones.amx'...
[13:55:45] Loading filterscript 'LuxAdmin.amx'...
[13:55:45] Loading filterscript 'version_2.amx'...
[13:55:45] Loaded 7 filterscripts.
[13:55:45] Script[gamemodes/DM.amx]: Run time error 19: "File or function is not found"
[13:55:45] Number of vehicle models: 1
[13:56:03] [connection] 92.241.37.32:65001 requests connection cookie.
14:21:08] [connection] 92.241.37.32:36994 requests connection cookie.
[14:21:09] [connection] incoming connection: 92.241.37.32:36994 id: 0
[14:21:10] [join] Raniti has joined the server (0:92.241.37.32)
[14:21:10] Server Started
[14:21:19] [chat] [Raniti]: test
[14:21:34] [chat] [Raniti]: test
[14:21:35] [chat] [Raniti]: ests
[14:21:35] [chat] [Raniti]: ttest
[14:21:36] [chat] [Raniti]: est
[14:21:36] [chat] [Raniti]: s
[14:21:42] [debug] Run time error 4: "Array index out of bounds"
[14:21:42] [debug] Attempted to read/write array element at index 65535 in array of size 500
[14:21:42] [debug] AMX backtrace:
[14:21:42] [debug] #0 00001e78 in public OnPlayerDeath (0, 65535, 255) from savings.amx
[14:21:42] [death] Raniti died 255
[14:21:42] [debug] Server crashed while executing DM.amx
[14:21:42] [debug] AMX backtrace:
[14:21:42] [debug] #0 ffffffff in public OnEnterExitModShop () from DM.amx
if(killerid == 65535) return 1;
You're not checking if killerid is valid before executing some codes under OnPlayerDeath callack, so it just simple crashing, I am on phone now and can't explain much, try using samp third debug level to know the exact line which crashing, also as temp fix you may use that code under OnPlayerDeath callback:
PHP код:
|
[14:03:55] [debug] Server crashed while executing DM.amx [14:03:55] [debug] AMX backtrace: [14:03:55] [debug] #0 ffffffff in public OnEnterExitModShop () from DM.amx