SA-MP Forums Archive
Runtime error - 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 (/showthread.php?tid=632386)



Runtime error - aliimran - 13.04.2017

Hello everyone ! I am facing runtime error 19 file or function not found. I have try every best solution but still same error


Re: Runtime error - XpDeviL - 13.04.2017

Use nativechecker to see what causes that error.


Re: Runtime error - GangstaSunny. - 13.04.2017

Post your server_log.


Re: Runtime error - aliimran - 13.04.2017

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

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

[12:28:52] password = "" (string)
[12:28:52]
[12:28:52] Server Plugins
[12:28:52] --------------
[12:28:52] Loading plugin: streamer.so
[12:28:52]

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

[12:28:52] Loaded.
[12:28:52] Loading plugin: audio.so
[12:28:52]

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[12:28:52] Loaded.
[12:28:52] Loading plugin: mysqlR7.so
[12:28:52] plugin.mysql: R20 successfully loaded.
[12:28:52] Loaded.
[12:28:52] Loading plugin: whirlpool.so
[12:28:52]
[12:28:52] ==================
[12:28:52]
[12:28:52] Whirlpool loaded
[12:28:52]
[12:28:52] ==================
[12:28:52]
[12:28:52] Loaded.
[12:28:52] Loading plugin: sscanf.so
[12:28:52]

[12:28:52] ===============================

[12:28:52] sscanf plugin loaded.

[12:28:52] Version: 2.8.1

[12:28:52] © 2012 Alex "******" Cole

[12:28:52] ===============================

[12:28:52] Loaded.
[12:28:52] Loading plugin: nativechecker.so
[12:28:52] Loaded.
[12:28:52] Loaded 6 plugins.

[12:28:52]
[12:28:52] Filterscripts
[12:28:52] ---------------
[12:28:52] Loading filterscript 'UltraHost.amx'...
[12:28:52] Loading filterscript 'House.amx'...
[12:28:52]
[12:28:52] =======================================
[12:28:52] | |
[12:28:52] | YSI version 1.04.0000 |
[12:28:52] | By Alex "******" Cole |
[12:28:52] | |
[12:28:52] =======================================
[12:28:52]
[12:28:52]
--------------------------------------
[12:28:52] House System Loaded
[12:28:52] --------------------------------------

[12:28:52] Loaded 2 filterscripts.

[12:28:52] Error: Function not registered: 'mysql_query'
[12:28:52] Script[gamemodes/xTrucking.amx]: Run time error 19: "File or function is not found"
[12:28:52] Number of vehicle models: 0


Re: Runtime error - Sew_Sumi - 13.04.2017

Код:
[12:28:52] Loading plugin: mysqlR7.so
[12:28:52] plugin.mysql: R20 successfully loaded.
[12:28:52] Loaded.
The error that you're getting relates to the MySQL plugin not having the function that the script is looking for.

Being that the filename is suggesting R7, but the plugin loading suggests R20, that could be a problem.

You'll want to review what plugin you are supposed to be using with the script you are editting, and change the includes that you have in your pawno folder to match.


Re: Runtime error - aliimran - 13.04.2017

Fixed! But now it start giving me Sscanf warning: String buffer overflow and when every I login ig i can not see anthing ! black screen


Re: Runtime error - Sew_Sumi - 13.04.2017

https://sampforum.blast.hk/showthread.php?tid=196353