Run time error 19: "File or function is not found"
#1

I searched the samp forums and none of the replies were able to fix this.
server log:
Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[22:18:58] 
[22:18:58] Server Plugins
[22:18:58] --------------
[22:18:58]  Loading plugin: streamer.so
[22:18:58] 

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

[22:18:58]   Loaded.
[22:18:58]  Loading plugin: mysql.so
[22:18:58]  SA:MP MySQL Plugin v2.1.1 Loaded.
[22:18:58]   Loaded.
[22:18:58]  Loading plugin: nativechecker.so
[22:18:58]   Loaded.
[22:18:58]  Loaded 3 plugins.

[22:18:58] [MySQL] Thread running. Threadsafe: Yes.
[22:18:58] 
[22:18:58] Ban list
[22:18:58] --------
[22:18:58]  Loaded: samp.ban
[22:18:58] 
[22:18:58] 
[22:18:58] Filterscripts
[22:18:58] ---------------
[22:18:58]   Loading filterscript 'antirapid.amx'...
[22:18:58] 
--------------------------------------
[22:18:58]  Anti Rapid Fire
[22:18:58] --------------------------------------

[22:18:58]   Loaded 1 filterscripts.

[22:18:58]    Error: Function not registered: 'mysql_debug'
[22:18:58]    Error: Function not registered: 'mysql_retrieve_row'
[22:18:58]    Error: Function not registered: 'mysql_fetch_field_row'
[22:18:58] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[22:18:58] Number of vehicle models: 0
[22:19:08] --- Server Shutting Down.
[22:19:09] 

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

[22:19:09]  SA:MP MySQL Plugin v2.1.1 Unloaded.
server.cfg
Код:
echo Executing Server Config...
lanmode 0
rcon_password *******
maxplayers 35
hostname test
gamemode0 cnr 0
filterscripts antirapid
announce 1
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins streamer.so mysql.so nativechecker.so
The server works fine when I have the plugins as .dll and open it with samp-server
There is a cnr.pwn and cnr.amx in my gamemodes folder. The server starts fine but with "unknown" as gamemode.
Reply
#2

try and update your mysql plugin/include.
Reply
#3

Quote:
Originally Posted by Yves
Посмотреть сообщение
update your mysql plugin/include.
And then recompile your script with new includes and then run the gamemode !
Reply
#4

Thanks for the replies. I got the new mysql.so file and even reuploaded every file after I compiled cnr.pwn successfully. However it still seems to be giving me the same results in the server log and the server is still saying unknown for the gamemode. Any other options?
Reply
#5

What did nativechecker posted ?
Reply
#6

when I add nativechecker.so I get this in the server log
Код:
[22:18:58]    Error: Function not registered: 'mysql_debug'
[22:18:58]    Error: Function not registered: 'mysql_retrieve_row'
[22:18:58]    Error: Function not registered: 'mysql_fetch_field_row'
that isn't there when I remove nativechecker.so from plugins line.
Reply
#7

make sure you are using correct plugin for the include your using!
Reply
#8

Код:
#include <a_samp>
#include <a_mysql>
this is all I have at the top of my script. It's all mysql based.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)