"Error" very peculiar at startup -
munsee - 20.06.2013
When I start the server console closes immediately and it appears in the server_log:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[00:17:03]
[00:17:03] Server Plugins
[00:17:03] --------------
[00:17:03] Loading plugin: mysql.dll
[00:17:03] SA:MP MySQL Plugin 1.2.1 Loaded.
[00:17:03] Loaded.
[00:17:03] Loading plugin: streamer.dll
[00:17:03] MySQL: Query thread running. Thread safe: Yes.
[00:17:03]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[00:17:03] Loaded.
[00:17:03] Loading plugin: sscanf.dll
[00:17:03]
[00:17:03] ===============================
[00:17:03] sscanf plugin loaded.
[00:17:03] Version: 2.8.1
[00:17:03] © 2012 Alex "Y_Less" Cole
[00:17:03] ===============================
[00:17:03] Loaded.
[00:17:03] Loaded 3 plugins.
[00:17:03]
[00:17:03] Filterscripts
[00:17:03] ---------------
[00:17:03] Loaded 0 filterscripts.
Help me
Re: "Error" very peculiar at startup -
Scenario - 20.06.2013
You could really benefit yourself by searching before posting. Even if there's not a direct error shown or anything, you can search for things like "server crashes after loading filterscripts" or something like that on ******.
Now, in order to assist in the problem, you need to run the
crashdetect plugin and the
nativechecker plugin and show me the results from the server log.
Oh and for future reference, wrap your server log in [ code ] - [ / code ] tags (w/o the spaces obviously).
Re: "Error" very peculiar at startup -
munsee - 20.06.2013
I installed both plugins and now I see this:
Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[00:37:20]
[00:37:20] Server Plugins
[00:37:20] --------------
[00:37:20] Loading plugin: mysql.dll
[00:37:20] SA:MP MySQL Plugin 1.2.1 Loaded.
[00:37:20] Loaded.
[00:37:20] MySQL: Query thread running. Thread safe: Yes.
[00:37:20] Loading plugin: streamer.dll
[00:37:20]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[00:37:20] Loaded.
[00:37:20] Loading plugin: sscanf.dll
[00:37:20]
[00:37:20] ===============================
[00:37:20] sscanf plugin loaded.
[00:37:20] Version: 2.8.1
[00:37:20] © 2012 Alex "Y_Less" Cole
[00:37:20] ===============================
[00:37:20] Loaded.
[00:37:20] Loading plugin: crashdetect.dll
[00:37:20] CrashDetect v4.11.2 is OK.
[00:37:20] Loaded.
[00:37:20] Loading plugin: nativechecker.dll
[00:37:20] Loaded.
[00:37:20] Loaded 5 plugins.
[00:37:20]
[00:37:20] Filterscripts
[00:37:20] ---------------
[00:37:20] Loaded 0 filterscripts.
[00:37:20] [debug] Server crashed while executing IBP.amx
[00:37:20] [debug] AMX backtrace:
[00:37:20] [debug] #0 native mysql_connect () [10001a50] from mysql.dll
[00:37:20] [debug] #1 000189cc in public zcmd_OnGameModeInit () from IBP.amx
[00:37:20] [debug] #2 native CallLocalFunction () [00471e90] from samp-server.exe
[00:37:20] [debug] #3 00009a00 in public SSCANF_OnGameModeInit () from IBP.amx
[00:37:20] [debug] #4 00003d68 in public Itter_OnGameModeInit () from IBP.amx
[00:37:20] [debug] #5 native CallLocalFunction () [00471e90] from samp-server.exe
[00:37:20] [debug] #6 00002410 in public Streamer_OnGameModeInit () from IBP.amx
[00:37:20] [debug] #7 native CallLocalFunction () [00471e90] from samp-server.exe
[00:37:20] [debug] #8 00001abc in public OnGameModeInit () from IBP.amx
[00:37:20] [debug] Native backtrace:
[00:37:20] [debug] #0 100013d0 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\mysql.dll
[00:37:20] [debug] #1 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #2 706360ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #3 70637fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #4 70630091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #5 7063610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #6 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #7 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #8 706360ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #9 70637fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #10 70630091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #11 7063610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #12 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #13 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #14 706360ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #15 70637fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #16 70630091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #17 7063610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #18 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #19 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #20 706360ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #21 70637fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #22 70630091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #23 7063610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:37:20] [debug] #24 0046e194 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #25 65646f6d in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #26 42492f73 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:37:20] [debug] #27 6d612e50 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
Re: "Error" very peculiar at startup -
Scenario - 20.06.2013
I'd say that the error is related to your MySQL plugin, since that seems to be the first thing that crashes. Can you make it so nativechecker is the first plugin you load in your server.cfg file and post the result again?
Re: "Error" very peculiar at startup -
munsee - 20.06.2013
This is the order: plugins nativechecker.dll mysql.dll streamer.dll sscanf.dll crashdetect.dll
Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team
[00:45:24]
[00:45:24] Server Plugins
[00:45:24] --------------
[00:45:24] Loading plugin: nativechecker.dll
[00:45:24] Loaded.
[00:45:24] Loading plugin: mysql.dll
[00:45:24] SA:MP MySQL Plugin 1.2.1 Loaded.
[00:45:24] Loaded.
[00:45:24] MySQL: Query thread running. Thread safe: Yes.
[00:45:24] Loading plugin: streamer.dll
[00:45:24]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[00:45:24] Loaded.
[00:45:24] Loading plugin: sscanf.dll
[00:45:24]
[00:45:24] ===============================
[00:45:24] sscanf plugin loaded.
[00:45:24] Version: 2.8.1
[00:45:24] © 2012 Alex "Y_Less" Cole
[00:45:24] ===============================
[00:45:24] Loaded.
[00:45:24] Loading plugin: crashdetect.dll
[00:45:24] CrashDetect v4.11.2 is OK.
[00:45:24] Loaded.
[00:45:24] Loaded 5 plugins.
[00:45:24]
[00:45:24] Filterscripts
[00:45:24] ---------------
[00:45:24] Loaded 0 filterscripts.
[00:45:24] Error: Function not registered: 'Streamer_CallbackHook'
[00:45:24] Error: Function not registered: 'SSCANF_Init'
[00:45:24] Error: Function not registered: 'SSCANF_Join'
[00:45:24] Error: Function not registered: 'SSCANF_Leave'
[00:45:24] Error: Function not registered: 'mysql_query'
[00:45:24] Error: Function not registered: 'mysql_store_result'
[00:45:24] Error: Function not registered: 'mysql_fetch_row'
[00:45:24] Error: Function not registered: 'mysql_free_result'
[00:45:24] Error: Function not registered: 'mysql_num_rows'
[00:45:24] Error: Function not registered: 'CreateDynamicCP'
[00:45:24] Error: Function not registered: 'CreateDynamicPickup'
[00:45:24] Error: Function not registered: 'Streamer_TickRate'
[00:45:24] Error: Function not registered: 'Streamer_CellDistance'
[00:45:24] Error: Function not registered: 'mysql_connect'
[00:45:24] Error: Function not registered: 'CreateDynamicObject'
[00:45:24] Error: Function not registered: 'DestroyDynamicObject'
[00:45:24] Error: Function not registered: 'MoveDynamicObject'
[00:45:24] Error: Function not registered: 'CountDynamicCPs'
[00:45:24] Error: Function not registered: 'mysql_real_escape_string'
[00:45:24] Error: Function not registered: 'sscanf'
[00:45:24] Error: Function not registered: 'GetDynamicObjectPos'
[00:45:24] Error: Function not registered: 'mysql_fetch_int'
[00:45:24] Error: Function not registered: 'mysql_fetch_field'
[00:45:24] [debug] Server crashed while executing IBP.amx
[00:45:24] [debug] AMX backtrace:
[00:45:24] [debug] #0 native mysql_connect () [10001a50] from mysql.dll
[00:45:24] [debug] #1 000189cc in public zcmd_OnGameModeInit () from IBP.amx
[00:45:24] [debug] #2 native CallLocalFunction () [00471e90] from samp-server.exe
[00:45:24] [debug] #3 00009a00 in public SSCANF_OnGameModeInit () from IBP.amx
[00:45:24] [debug] #4 00003d68 in public Itter_OnGameModeInit () from IBP.amx
[00:45:24] [debug] #5 native CallLocalFunction () [00471e90] from samp-server.exe
[00:45:24] [debug] #6 00002410 in public Streamer_OnGameModeInit () from IBP.amx
[00:45:24] [debug] #7 native CallLocalFunction () [00471e90] from samp-server.exe
[00:45:24] [debug] #8 00001abc in public OnGameModeInit () from IBP.amx
[00:45:24] [debug] Native backtrace:
[00:45:24] [debug] #0 100013d0 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\mysql.dll
[00:45:24] [debug] #1 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #2 709e60ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #3 709e7fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #4 709e0091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #5 709e610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #6 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #7 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #8 709e60ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #9 709e7fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #10 709e0091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #11 709e610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #12 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #13 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #14 709e60ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #15 709e7fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #16 709e0091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #17 709e610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #18 0047219e in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #19 004010b6 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #20 709e60ba in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #21 709e7fee in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #22 709e0091 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #23 709e610a in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\plugins\crashdetect.dll
[00:45:24] [debug] #24 0046e194 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #25 65646f6d in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #26 42492f73 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
[00:45:24] [debug] #27 6d612e50 in ?? () from C:\Users\Vlad\Desktop\Server ROLEPLAY\samp-server.exe
Re: "Error" very peculiar at startup -
Scenario - 20.06.2013
I think you're using the wrong MySQL plugin/include combination. Download this plugin instead and replace your mysql.dll file with the one in the download package.
http://files.g-stylezzz.com/mysql/re...-win32_vs9.rar
Re: "Error" very peculiar at startup -
munsee - 20.06.2013
Now the console is alive but:
Code:
[00:50:50] Error: Function not registered: 'Streamer_CallbackHook'
[00:50:50] Error: Function not registered: 'SSCANF_Init'
[00:50:50] Error: Function not registered: 'SSCANF_Join'
[00:50:50] Error: Function not registered: 'SSCANF_Leave'
[00:50:50] Error: Function not registered: 'mysql_query'
[00:50:50] Error: Function not registered: 'mysql_store_result'
[00:50:50] Error: Function not registered: 'mysql_fetch_row'
[00:50:50] Error: Function not registered: 'mysql_free_result'
[00:50:50] Error: Function not registered: 'mysql_num_rows'
[00:50:50] Error: Function not registered: 'CreateDynamicCP'
[00:50:50] Error: Function not registered: 'CreateDynamicPickup'
[00:50:50] Error: Function not registered: 'Streamer_TickRate'
[00:50:50] Error: Function not registered: 'Streamer_CellDistance'
[00:50:50] Error: Function not registered: 'mysql_connect'
[00:50:50] Error: Function not registered: 'CreateDynamicObject'
[00:50:50] Error: Function not registered: 'DestroyDynamicObject'
[00:50:50] Error: Function not registered: 'MoveDynamicObject'
[00:50:50] Error: Function not registered: 'CountDynamicCPs'
[00:50:50] Error: Function not registered: 'mysql_real_escape_string'
[00:50:50] Error: Function not registered: 'sscanf'
[00:50:50] Error: Function not registered: 'GetDynamicObjectPos'
[00:50:50] Error: Function not registered: 'mysql_fetch_int'
[00:50:50] Error: Function not registered: 'mysql_fetch_field'
[00:50:50] [debug] Run time error 19: "File or function is not found"
[00:50:50] [debug] mysql_fetch_row
[00:50:50] [debug] Run time error 19: "File or function is not found"
[00:50:50] [debug] mysql_fetch_row
[00:50:50] Script[gamemodes/IBP.amx]: Run time error 19: "File or function is not found"
[00:50:50] Number of vehicle models: 0
Re: "Error" very peculiar at startup -
Scenario - 20.06.2013
Hm. Okay, I think that download package came with a .inc, right? Otherwise, get it from here:
http://files.g-stylezzz.com/mysql/rel/a_mysql.inc
Then try to compile your script with it and after, attempt to run the server. However, this time, put your plugins line like this: [..] nativechecker crashdetect - where [..] is your other plugins.
Re: "Error" very peculiar at startup -
munsee - 20.06.2013
I compile my GM and i replace a_mysql and :
Can you give me you'r Messenger or Skype ID in PM?
Code:
[01:00:05] Error: Function not registered: 'Streamer_CallbackHook'
[01:00:05] Error: Function not registered: 'SSCANF_Init'
[01:00:05] Error: Function not registered: 'SSCANF_Join'
[01:00:05] Error: Function not registered: 'SSCANF_Leave'
[01:00:05] Error: Function not registered: 'mysql_query'
[01:00:05] Error: Function not registered: 'mysql_store_result'
[01:00:05] Error: Function not registered: 'mysql_fetch_row'
[01:00:05] Error: Function not registered: 'mysql_free_result'
[01:00:05] Error: Function not registered: 'mysql_num_rows'
[01:00:05] Error: Function not registered: 'CreateDynamicCP'
[01:00:05] Error: Function not registered: 'CreateDynamicPickup'
[01:00:05] Error: Function not registered: 'Streamer_TickRate'
[01:00:05] Error: Function not registered: 'Streamer_CellDistance'
[01:00:05] Error: Function not registered: 'mysql_connect'
[01:00:05] Error: Function not registered: 'CreateDynamicObject'
[01:00:05] Error: Function not registered: 'DestroyDynamicObject'
[01:00:05] Error: Function not registered: 'MoveDynamicObject'
[01:00:05] Error: Function not registered: 'CountDynamicCPs'
[01:00:05] Error: Function not registered: 'mysql_real_escape_string'
[01:00:05] Error: Function not registered: 'sscanf'
[01:00:05] Error: Function not registered: 'GetDynamicObjectPos'
[01:00:05] Error: Function not registered: 'mysql_fetch_int'
[01:00:05] Error: Function not registered: 'mysql_fetch_field'
[01:00:05] [debug] Run time error 19: "File or function is not found"
[01:00:05] [debug] mysql_fetch_row
[01:00:05] [debug] Run time error 19: "File or function is not found"
[01:00:05] [debug] mysql_fetch_row
[01:00:05] Script[gamemodes/IBP.amx]: Run time error 19: "File or function is not found"
[01:00:05] Number of vehicle models: 0