PDA

View Full Version : Run Time Error 19 [ + REP ]


Clad
21/03/2014, 02:49 PM
Solved.

Clad
21/03/2014, 03:03 PM
Anyone ?

benjaminjones
21/03/2014, 03:05 PM
Use nativechecker and tell us what's the actual error, please.

Carac
21/03/2014, 03:09 PM
You've probably changed hosts, I had this 2 weeks ago I bought my own VPS server (Windows) But I had to download the vcredits packages etc. That was the solution after all these posts haha.

Clad
21/03/2014, 03:10 PM
Server log after using nativechecker

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[16:12:00] filterscripts = "" (string)
[16:12:00] password = "" (string)
[16:12:00]
[16:12:00] Server Plugins
[16:12:00] --------------
[16:12:00] Loading plugin: mysql.dll
[16:12:00]

> MySQL plugin R7 successfully loaded.

[16:12:00] Loaded.
[16:12:00] Loading plugin: sscanf.dll
[16:12:00]

[16:12:00] ===============================

[16:12:00] sscanf plugin loaded.

[16:12:00] Version: 2.8.1

[16:12:00] (c) 2012 Alex "******" Cole

[16:12:00] ===============================

[16:12:00] Loaded.
[16:12:00] Loading plugin: streamer.dll
[16:12:00]

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

[16:12:00] Loaded.
[16:12:00] Loading plugin: Whirlpool.dll
[16:12:00]
[16:12:00] ==================
[16:12:00]
[16:12:00] Whirlpool loaded
[16:12:00]
[16:12:00] ==================
[16:12:00]
[16:12:00] Loaded.
[16:12:00] Loading plugin: nativechecker.dll
[16:12:00] Loaded.
[16:12:00] Loaded 5 plugins.

[16:12:00]
[16:12:00] Filterscripts
[16:12:00] ---------------
[16:12:00] Loaded 0 filterscripts.

[16:12:00] Error: Function not registered: 'mysql_log'
[16:12:00] Error: Function not registered: 'mysql_tquery'
[16:12:00] Error: Function not registered: 'cache_get_field_content_float'
[16:12:00] Error: Function not registered: 'cache_get_field_content_int'
[16:12:00] Error: Function not registered: 'mysql_escape_string'
[16:12:00] Script[gamemodes/tf2.amx]: Run time error 19: "File or function is not found"
[16:12:00] Number of vehicle models: 0
[16:12:02] --- Server Shutting Down.
[16:12:02]

> MySQL plugin unloaded.

[16:12:02]

[16:12:02] ===============================

[16:12:02] sscanf plugin unloaded.

[16:12:02] ===============================

[16:12:02]

*** Streamer Plugin v2.7 by Incognito unloaded ***

[16:12:02]
[16:12:02] ====================
[16:12:02]
[16:12:02] Whirlpool unloaded
[16:12:02]
[16:12:02] ====================
[16:12:02]

UnknownOwner
21/03/2014, 03:15 PM
Use MySql.dll plugin. You need mysql plugin....

Konstantinos
21/03/2014, 03:16 PM
The gamemode uses the latest versions of the MySQL plugin but you loaded R7 so some functions have been removed and new have been added; hence the errors about 'Function not registered'. Load a version between R34-R38 (R38 since it's the latest is recommended): https://github.com/pBlueG/SA-MP-MySQL/releases

Use MySql.dll plugin. You need mysql plugin....

He already does, it's just incorrect version.

Carac
21/03/2014, 03:17 PM
Use MySql.dll plugin. You need mysql plugin....

[16:12:00] Server Plugins
[16:12:00] --------------
[16:12:00] Loading plugin: mysql.dll

He has one.

Update your mysql.dll plugin.

Clad
21/03/2014, 03:20 PM
The gamemode uses the latest versions of the MySQL plugin but you loaded R7 so some functions have been removed and new have been added; hence the errors about 'Function not registered'. Load a version between R34-R38 (R38 since it's the latest is recommended): https://github.com/pBlueG/SA-MP-MySQL/releases



He already does, it's just incorrect version.
I think Konstantinos is right, Because I saw this and I didn't download it, I did download only .dll file

Carac
21/03/2014, 03:28 PM
He is right, that's what we both told you.

Clad
21/03/2014, 03:39 PM
I got this after downloading R38
SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[16:35:51] filterscripts = "" (string)
[16:35:51] password = "" (string)
[16:35:51]
[16:35:51] Server Plugins
[16:35:51] --------------
[16:35:51] Loading plugin: mysql.dll
[16:35:54] Failed.
[16:35:54] Loading plugin: sscanf.dll
[16:35:54]

[16:35:54] ===============================

[16:35:54] sscanf plugin loaded.

[16:35:54] Version: 2.8.1

[16:35:54] (c) 2012 Alex "******" Cole

[16:35:54] ===============================

[16:35:54] Loaded.
[16:35:54] Loading plugin: streamer.dll
[16:35:54]

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

[16:35:54] Loaded.
[16:35:54] Loading plugin: Whirlpool.dll
[16:35:54]
[16:35:54] ==================
[16:35:54]
[16:35:54] Whirlpool loaded
[16:35:54]
[16:35:54] ==================
[16:35:54]
[16:35:54] Loaded.
[16:35:54] Loading plugin: nativechecker.dll
[16:35:54] Loaded.
[16:35:54] Loaded 4 plugins.

[16:35:54]
[16:35:54] Filterscripts
[16:35:54] ---------------
[16:35:54] Loaded 0 filterscripts.

[16:35:54] Error: Function not registered: 'mysql_close'
[16:35:54] Error: Function not registered: 'mysql_log'
[16:35:54] Error: Function not registered: 'mysql_connect'
[16:35:54] Error: Function not registered: 'mysql_errno'
[16:35:54] Error: Function not registered: 'mysql_tquery'
[16:35:54] Error: Function not registered: 'cache_get_data'
[16:35:54] Error: Function not registered: 'cache_get_field_content_float'
[16:35:54] Error: Function not registered: 'cache_get_field_content_int'
[16:35:54] Error: Function not registered: 'mysql_format'
[16:35:54] Error: Function not registered: 'cache_get_field_content'
[16:35:54] Error: Function not registered: 'mysql_escape_string'
[16:35:54] Error: Function not registered: 'cache_get_row'
[16:35:54] Script[gamemodes/tf2.amx]: Run time error 19: "File or function is not found"
[16:35:54] Number of vehicle models: 0
[16:35:55] --- Server Shutting Down.
[16:35:55]

[16:35:55] ===============================

[16:35:55] sscanf plugin unloaded.

[16:35:55] ===============================

[16:35:55]

*** Streamer Plugin v2.7 by Incognito unloaded ***

[16:35:55]
[16:35:55] ====================
[16:35:55]
[16:35:55] Whirlpool unloaded
[16:35:55]
[16:35:55] ====================
[16:35:55]

shourya12
21/03/2014, 03:40 PM
Update your Plugins with includes

Clad
21/03/2014, 03:45 PM
Update your Plugins with includes

What do you mean by that, I already have updated them

Carac
21/03/2014, 03:53 PM
You got to update the includes in your PAWN includes folder aswell.

Konstantinos
21/03/2014, 04:11 PM
Well the plugin failed. If you do have mysql.dll into the plugins folder with version R38 and it doesn't load, try either downgrade the version till you get it working or post in BlueG's plugin thread so maddinat0r can help you (I'm not aware of why it failed to load).

shourya12
21/03/2014, 04:47 PM
What do you mean by that, I already have updated them

Dude just update/add includes to pwn folder and in include folder too.

Clad
21/03/2014, 04:52 PM
Before when I was compiling I didn't get any errors, But now after I downloaded R7 MySQL I got this
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2219) : error 017: undefined symbol "mysql_log"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2478) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2511) : error 017: undefined symbol "cache_get_field_content_float"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2512) : error 017: undefined symbol "cache_get_field_content_float"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2513) : error 017: undefined symbol "cache_get_field_content_float"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2514) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2515) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2516) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2517) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2518) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2519) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2520) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2521) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2525) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2526) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2529) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2560) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2965) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2966) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(2978) : error 017: undefined symbol "cache_get_field_content_int"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3007) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3008) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3022) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3023) : error 017: undefined symbol "mysql_tquery"
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3037) : error 035: argument type mismatch (argument 3)
C:\Documents and Settings\Administrateur\Bureau\Team Fortress 0.3z - Upload\gamemodes\tf2.pwn(3038) : error 017: undefined symbol "mysql_tquery"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Clad
21/03/2014, 04:54 PM
I'm using this a_mysql.inc
Link (http://files.g-stylezzz.com/mysql/rel/R7/a_mysql.inc)