Server crashed due to an unknown error
#1

Hey !

I tried to code a plugin today, using Kyosaur's tut and Zeex's sampgdk plugin.

Though, when I start the server, it crashes. Then, I decided to load crashdetect to locate the crash source, and it displays me this :

Код:
[22:21:59]   Loading filterscript 'test_fs.amx'... // the filterscript where I test the natives I added
[22:22:00] [debug] Server crashed due to an unknown error
[22:22:00] [debug] Native backtrace:
[22:22:00] [debug] #0 0f2e1b92 in AmxLoad () from plugins\plugin.dll
[22:22:00] [debug] #1 00469205 in ?? () from samp-server.exe
The strange thing here is that my AmxLoad function contains nothing unusual :

PHP код:

AMX_NATIVE_LIST natives
[] =
{
      {
"IsVirtualKeyPressed"IsVirtualKeyPressed_},
      
// more natives
      
NULLNULL }
};
PLUGIN_EXPORT int PLUGIN_CALL AmxLoad(AMX *amx)
{
    return 
amx_Register(amxnatives, -1);

It compiled with no errors in Visual Studio 2013.

Full code here : http://pastebin.com/79qEH8id
Reply


Messages In This Thread
Server crashed due to an unknown error - by S4t3K - 02.04.2015, 20:29
Respuesta: Server crashed due to an unknown error - by JustBored - 02.04.2015, 20:41
Re : Server crashed due to an unknown error - by S4t3K - 02.04.2015, 21:01
Re: Server crashed due to an unknown error - by kurta999 - 02.04.2015, 21:14
Re: Server crashed due to an unknown error - by kurta999 - 02.04.2015, 21:22
Re: Server crashed due to an unknown error - by xeeZ - 03.04.2015, 06:41
Re: Server crashed due to an unknown error - by vermaritt - 03.04.2015, 07:30
Re : Server crashed due to an unknown error - by S4t3K - 03.04.2015, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)