Failure to load plugins
#1

Hi all,
After install Windows 7 Home Premium x64 (Service Pack 1) I had some problems to open my samp-server.
Some plugins have stopped loading when I open my samp-server.exe followed by error 19 (File or function not found).
I've installed all updated plugins, checked my server.cfg and found nothing wrong.

Streamer Plugin version: 2.7.8
mySQL Plugin version: R39-3
dns Plugin version: 2.4

My server.cfg:
Код:
plugins sscanf mysql Whirlpool crashdetect streamer dns
My server_log:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[14:01:09] 
[14:01:09] Server Plugins
[14:01:09] --------------
[14:01:09]  Loading plugin: sscanf
[14:01:09] 

[14:01:09]  ===============================

[14:01:09]       sscanf plugin loaded.     

[14:01:09]          Version:  2.8.1        

[14:01:09]    © 2012 Alex "******" Cole  

[14:01:09]  ===============================

[14:01:09]   Loaded.
[14:01:09]  Loading plugin: mysql
[14:01:09]   Failed.
[14:01:09]  Loading plugin: Whirlpool
[14:01:09]  
[14:01:09]  ==================
[14:01:09]  
[14:01:09]   Whirlpool loaded
[14:01:09]  
[14:01:09]  ==================
[14:01:09]  
[14:01:09]   Loaded.
[14:01:09]  Loading plugin: crashdetect
[14:01:09]   Failed.
[14:01:09]  Loading plugin: streamer
[14:01:09]   Failed.
[14:01:09]  Loading plugin: dns
[14:01:09]   Failed.
[14:01:09]  Loaded 2 plugins.

[14:01:09] 
[14:01:09] Filterscripts
[14:01:09] ---------------
[14:01:09]   Loading filterscript 'RIDE2DAY.amx'...
[14:01:09]   Loaded 1 filterscripts.

[14:01:09] Script[gamemodes/inrp.amx]: Run time error 19: "File or function is not found"
[14:01:09] Number of vehicle models: 0
I tried to install, but didn't fixed the error:
  • Microsoft Visual C++ 2005 Redistributable (x64)
    Microsoft Visual C++ 2008 Redistributable - x64 9.0.21022
    Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219
    Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501.0
    Microsoft Visual C++ 2015 Redistributable (x64) - 14.0.23026.0

    Microsoft .NET Framework 4.5.2
Reply
#2

The samp-server.exe requires x86 version of those. Generally 2010, 2012 and 2015 should do the job and the rest (older versions) aren't necessary.
Reply
#3

I'm trying to install Microsoft Visual C++ 2015 Redistributable (x86), but freezes in:
Код:
Installation Progress
Processing: Windows7_MSU_x64
Reply
#4

Go to your Programs and Features and uninstall the redistributable packages you've done so far.

Are any important updates available in Control Panel\System and Security\Windows Update? If yes, install them.

Install these: http://forum.sa-mp.com/showpost.php?...51&postcount=3
x86 version for all of them.
Reply
#5

Okay,
Now I have the following errors:

- When I use mySQL r39-3, r39-4, r39:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[17:08:00] 
[17:08:00] Server Plugins
[17:08:00] --------------
[17:08:00]  Loading plugin: sscanf
[17:08:00] 

[17:08:00]  ===============================

[17:08:00]       sscanf plugin loaded.     

[17:08:00]          Version:  2.8.1        

[17:08:00]    © 2012 Alex "******" Cole  

[17:08:00]  ===============================

[17:08:00]   Loaded.
[17:08:00]  Loading plugin: mysql
[17:08:00]   Failed.
[17:08:00]  Loading plugin: Whirlpool
[17:08:00]  
[17:08:00]  ==================
[17:08:00]  
[17:08:00]   Whirlpool loaded
[17:08:00]  
[17:08:00]  ==================
[17:08:00]  
[17:08:00]   Loaded.
[17:08:00]  Loading plugin: crashdetect
[17:08:00]   CrashDetect v4.15.1 is OK.
[17:08:00]   Loaded.
[17:08:00]  Loading plugin: streamer
[17:08:00] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[17:08:00]   Loaded.
[17:08:00]  Loading plugin: dns
[17:08:00] 

*** DNS Plugin v2.4 by Incognito loaded ***

[17:08:00]   Loaded.
[17:08:00]  Loaded 5 plugins.

[17:08:00] 
[17:08:00] Filterscripts
[17:08:00] ---------------
[17:08:00]   Loading filterscript 'RIDE2DAY.amx'...
[17:08:00] [debug] Run time error 19: "File or function is not found"
[17:08:00] [debug]  db_get_field_int
[17:08:00] [debug]  db_get_field_float
[17:08:00]   Loaded 1 filterscripts.

[17:08:01] [debug] Run time error 19: "File or function is not found"
[17:08:01] [debug]  mysql_connect
[17:08:01] [debug]  mysql_errno
[17:08:01] [debug]  mysql_tquery
[17:08:01] [debug]  cache_get_field_content
[17:08:01] [debug]  mysql_escape_string
[17:08:01] [debug]  cache_get_data
[17:08:01] [debug]  cache_affected_rows
[17:08:01] [debug]  cache_insert_id
[17:08:01] [debug]  cache_get_row
[17:08:01] [debug]  mysql_format
[17:08:01] [debug]  cache_get_field_content_int
[17:08:01] [debug]  cache_get_field_content_float
[17:08:01] [debug] Run time error 19: "File or function is not found"
[17:08:01] [debug]  mysql_connect
[17:08:01] [debug]  mysql_errno
[17:08:01] [debug]  mysql_tquery
[17:08:01] [debug]  cache_get_field_content
[17:08:01] [debug]  mysql_escape_string
[17:08:01] [debug]  cache_get_data
[17:08:01] [debug]  cache_affected_rows
[17:08:01] [debug]  cache_insert_id
[17:08:01] [debug]  cache_get_row
[17:08:01] [debug]  mysql_format
[17:08:01] [debug]  cache_get_field_content_int
[17:08:01] [debug]  cache_get_field_content_float
[17:08:01] Script[gamemodes/inrp.amx]: Run time error 19: "File or function is not found"
[17:08:01] Number of vehicle models: 0
When I use mySQL r-41:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[17:08:22] 
[17:08:22] Server Plugins
[17:08:22] --------------
[17:08:22]  Loading plugin: sscanf
[17:08:22] 

[17:08:22]  ===============================

[17:08:22]       sscanf plugin loaded.     

[17:08:22]          Version:  2.8.1        

[17:08:22]    © 2012 Alex "******" Cole  

[17:08:22]  ===============================

[17:08:22]   Loaded.
[17:08:22]  Loading plugin: mysql
[17:08:22]  >> plugin.mysql: R41 successfully loaded.
[17:08:22]   Loaded.
[17:08:22]  Loading plugin: Whirlpool
[17:08:22]  
[17:08:22]  ==================
[17:08:22]  
[17:08:22]   Whirlpool loaded
[17:08:22]  
[17:08:22]  ==================
[17:08:22]  
[17:08:22]   Loaded.
[17:08:22]  Loading plugin: crashdetect
[17:08:22]   CrashDetect v4.15.1 is OK.
[17:08:22]   Loaded.
[17:08:22]  Loading plugin: streamer
[17:08:22] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[17:08:22]   Loaded.
[17:08:22]  Loading plugin: dns
[17:08:22] 

*** DNS Plugin v2.4 by Incognito loaded ***

[17:08:22]   Loaded.
[17:08:22]  Loaded 6 plugins.

[17:08:22] 
[17:08:22] Filterscripts
[17:08:22] ---------------
[17:08:22]   Loading filterscript 'RIDE2DAY.amx'...
[17:08:22] [debug] Run time error 19: "File or function is not found"
[17:08:22] [debug]  db_get_field_int
[17:08:22] [debug]  db_get_field_float
[17:08:22]   Loaded 1 filterscripts.

[17:08:22] [debug] Run time error 19: "File or function is not found"
[17:08:22] [debug]  cache_get_field_content
[17:08:22] [debug]  cache_get_data
[17:08:22] [debug]  cache_get_row
[17:08:22] [debug]  cache_get_field_content_int
[17:08:22] [debug]  cache_get_field_content_float
[17:08:22] [debug] Run time error 19: "File or function is not found"
[17:08:22] [debug]  cache_get_field_content
[17:08:22] [debug]  cache_get_data
[17:08:22] [debug]  cache_get_row
[17:08:22] [debug]  cache_get_field_content_int
[17:08:22] [debug]  cache_get_field_content_float
[17:08:22] Script[gamemodes/inrp.amx]: Run time error 19: "File or function is not found"
[17:08:22] Number of vehicle models: 0
Reply
#6

I'm not really sure why versions r39-3, r39-4, r39 failed (forgot libmysqld.dll perhaps?) but as you got R41 loaded, it's okay.

You will need to update the scripts though because there were code-break changes in R40. Here's a tutorial: https://sampforum.blast.hk/showthread.php?tid=616103
It shouldn't take that long to update them honestly.

About db_get_field_int and db_get_field_float functions, they were added in 0.3.7 R1 or R2 version. Update executable (include as well) files: https://sampforum.blast.hk/showthread.php?tid=581259
Reply
#7

I installed MySQL Plugin R39-6 and it works.
Thanks for your helping
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)