SA-MP Forums Archive
Runtime Error 19: File or function not found - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Runtime Error 19: File or function not found (/showthread.php?tid=489679)



Runtime Error 19: File or function not found - MattGregory - 23.01.2014

Hello.

I am trying to get a gamemode on my server (Updated Ravens script with MYSQL, etc). When I try to load the server with nativechecker.dll, this pops up on the console. I've tried a ton of things and still no result. If you want I can send you the link to the download of the server.

Код:
[18:35:13] Filterscripts
[18:35:13] ---------------
[18:35:13]   Loaded 0 filterscripts.

[18:35:13]    Error: Function not registered: 'Audio_CreateTCPServer'
[18:35:13]    Error: Function not registered: 'Audio_AddPlayer'
[18:35:13]    Error: Function not registered: 'Audio_RemovePlayer'
[18:35:13]    Error: Function not registered: 'Audio_RenamePlayer'
[18:35:13]    Error: Function not registered: 'SSCANF_Init'
[18:35:13]    Error: Function not registered: 'SSCANF_Join'
[18:35:13]    Error: Function not registered: 'SSCANF_Leave'
[18:35:13]    Error: Function not registered: 'mysql_format'
[18:35:13]    Error: Function not registered: 'mysql_tquery'
[18:35:13]    Error: Function not registered: 'sscanf'
[18:35:13]    Error: Function not registered: 'cache_insert_id'
[18:35:13]    Error: Function not registered: 'cache_get_row_int'
[18:35:13]    Error: Function not registered: 'cache_get_data'
[18:35:13]    Error: Function not registered: 'Audio_SetVolume'
[18:35:13]    Error: Function not registered: 'cache_affected_rows'
[18:35:13]    Error: Function not registered: 'cache_get_row'
[18:35:13]    Error: Function not registered: 'WP_Hash'
[18:35:13]    Error: Function not registered: 'cache_get_row_float'
[18:35:13]    Error: Function not registered: 'cache_get_field_content'
[18:35:13]    Error: Function not registered: 'cache_get_field_content_int'
[18:35:13]    Error: Function not registered: 'mysql_connect'
[18:35:13]    Error: Function not registered: 'mysql_log'
[18:35:13]    Error: Function not registered: 'mysql_errno'
[18:35:13] Script[gamemodes/ugrp.amx]: Run time error 19: "File or function is not found"
[18:35:13] Number of vehicle models: 0



Re: Runtime Error 19: File or function not found - MattGregory - 23.01.2014

bump


Re: Runtime Error 19: File or function not found - Acres - 23.01.2014

Update your streamer files.


Re: Runtime Error 19: File or function not found - MattGregory - 24.01.2014

Nope. I updated them but I get the same errors.


Re: Runtime Error 19: File or function not found - Scottas - 24.01.2014

Seems that you are missing sscanf, audio, mysql and whirpool plugins. Download them and put into your plugins directory (don't forget to insert their names into server.cfg)


Re: Runtime Error 19: File or function not found - MattGregory - 24.01.2014

Added them. It's still the same...


Re: Runtime Error 19: File or function not found - MattGregory - 24.01.2014

Just compiled after re-adding my gamemode and these errors came up. I didn't adjust it at all..

Quote:

C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(235) : error 035: argument type mismatch (argument 3)
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(236) : error 017: undefined symbol "mysql_tquery"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(17127) : error 017: undefined symbol "mysql_tquery"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(17130) : error 035: argument type mismatch (argument 3)
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(17131) : error 017: undefined symbol "mysql_tquery"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(17133) : error 017: undefined symbol "mysql_tquery"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26219) : error 017: undefined symbol "inline"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26219) : error 017: undefined symbol "Grabber"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26220) : error 017: undefined symbol "cache_insert_id"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26224) : error 017: undefined symbol "mysql_tquery_inline"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26224) : error 017: undefined symbol "inline"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26224) : error 017: undefined symbol "Grabber"
C:\Users\pc\Documents\SAMP Servers\UGRP\gamemodes\ugrp.pwn(26224) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


13 Errors.




Re: Runtime Error 19: File or function not found - MattGregory - 24.01.2014

bump...


Re: Runtime Error 19: File or function not found - Lynn - 24.01.2014

Open Pawno, select File > Open, Select your GM, compile.
It should read the include after that, and disregard the errors for you.
As for Runtime Error 19: That means a plugin(s) aren't being loaded.