My Server Closed. -
PinAxXx - 11.05.2015
hello Guys.
my server often close on their own without any error.
what should I do after having problems?
Please help me .
thx.
Re: My Server Closed. -
ikkentim - 11.05.2015
Are you not using the crash detect plugin: try using it.
Re: My Server Closed. -
PinAxXx - 11.05.2015
I have this plugin
#include <crashdetect>
Re: My Server Closed. -
ryansoper - 11.05.2015
Is it an issue with your hosting provider?
Re: My Server Closed. -
KayJ - 11.05.2015
Quote:
Originally Posted by PinAxXx
I have this plugin
#include <crashdetect>
|
You got it wrong...
Download crashdetect.dll (if you have Windows) or crashdetect.so (if you have Linux)
Then make a folder named "plugins" and put that there and then open server.cfg and put (or add) plugins<space>crashdetect.dll (if you have Windows) or crashdetect.so (if you have Linux)
Re: My Server Closed. -
PinAxXx - 11.05.2015
this
https://sampforum.blast.hk/showthread.php?tid=262796 ?
how to install it ?
Re: My Server Closed. -
Alex Magaсa - 11.05.2015
Quote:
Originally Posted by PinAxXx
|
1) Download this plugin.
2) Extract .dll to
plugins folder
3) Open
server.cfg and find
plugins streamer.dll sscanf.dll.
4) Press space near
streamer.dll or
sscanf.dll and write
crashdetect.dll
5) Save-Close-Run
Re: My Server Closed. -
AnnaSB - 11.05.2015
Quote:
Originally Posted by Alex Magaсa
1) Download this plugin.
2) Extract .dll to plugins folder
3) Open server.cfg and find plugins streamer.dll sscanf.dll.
4) Press space near streamer.dll or sscanf.dll and write crashdetect.dll
5) Save-Close-Run
|
Uhum... notice that
.dll must not be added in windows, only if you use Linux
*.so files, the extension shall be included.
So the line will be as bellow for Windows:
Код:
plugins streamer sscanf ...
and so for Linux/CentOS:
Код:
plugins streamer.so sscanf.so ...
Re: My Server Closed. -
PinAxXx - 11.05.2015
this bugs
[01:01:35] [debug] Run time error 4: "Array index out of bounds"
[01:01:35] [debug] Accessing element at index 65535 past array upper bound 199
[01:01:35] [debug] AMX backtrace:
[01:01:35] [debug] #0 0002a9b0 in public OnPlayerDeathEx (14, 5, 50) from rlrp.amx
[01:01:35] [debug] #1 00214954 in ?? (1, 14, -1016463360, 5, 50) from rlrp.amx
[01:01:35] [debug] #2 0000c4e4 in public OnPlayerTakeDamage (14, 5, 1134886912, 50, 3) from rlrp.amx
[01:01:35] [debug] Run time error 4: "Array index out of bounds"
[01:01:35] [debug] Accessing element at index 65535 past array upper bound 199
[01:01:35] [debug] AMX backtrace:
[01:01:35] [debug] #0 00027c60 in public FIXES_OnPlayerDeath (14, 5, 50) from rlrp.amx
[01:01:35] [debug] #1 000016c4 in public OnPlayerDeath (14, 5, 50) from rlrp.amx
[00:50:10] [debug] #0 0016c024 in public FIXES_OnPlayerCommandText (17, 578318
from rlrp.amx
[00:50:10] [debug] #1 00001018 in public OnPlayerCommandText (17, 578318
from rlrp.amx
[00:53:33] [debug] #0 74a4e33d in ?? () from C:\Windows\SYSTEM32\MSVCR110.dll
[00:53:33] [debug] #1 74b3044c in ?? () from plugins\mysql.dll
[00:53:33] [debug] #2 74b2c58f in ?? () from plugins\mysql.dll
[00:53:33] [debug] #3 74b46fae in ?? () from plugins\mysql.dll
[00:53:33] [debug] #4 74a6f2e9 in ?? () from C:\Windows\SYSTEM32\MSVCR110.dll
[00:53:33] [debug] #5 74a6f2cd in ?? () from C:\Windows\SYSTEM32\MSVCR110.dll
[00:53:33] [debug] #6 7569919f in ?? () from C:\Windows\SYSTEM32\KERNEL32.DLL
[00:53:33] [debug] #7 7756a8cb in ?? () from C:\Windows\SYSTEM32\ntdll.dll
[00:53:33] [debug] #8 7756a8a1 in ?? () from C:\Windows\SYSTEM32\ntdll.dll
Re: My Server Closed. -
Konstantinos - 11.05.2015
Check if "killerid" is a valid player (connected or not equal to INVALID_PLAYER_ID) before using it as index in arrays.
You can get the exact line by doing this:
https://github.com/Zeex/samp-plugin-...ith-debug-info
Next time it'll print the results with debug prefix, it will also print the line caused it.