SA-MP Forums Archive
File or Function not found - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: File or Function not found (/showthread.php?tid=329791)



File or Function not found - Plastic - 30.03.2012

Hey guys i have a problem, when i try to run the server and i keep getting this error : Script[gamemodes/ascnr.amx]: Run time error 19: "File or function is not found"

And yes before you say i tried opening gm from pawno folder and recompile it, plugins are loading so i dont think its an issue.

Heres the log :

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

SA-MP Dedicated Server
----------------------
v0.3d R2, ©2005-2011 SA-MP Team

[10:09:52] filterscripts = ""  (string)
[10:09:52] 
[10:09:52] Server Plugins
[10:09:52] --------------
[10:09:52]  Loading plugin: irc
[10:09:52] 

*** IRC Plugin v1.3.6 by Incognito loaded ***


[10:09:52]   Loaded.
[10:09:52]  Loading plugin: sscanf
[10:09:52] 

[10:09:52]  ===============================

[10:09:52]       sscanf plugin loaded.     

[10:09:52]    © 2009 Alex "Y_Less" Cole

[10:09:52]    0.3d-R2 500 Players "dnee"

[10:09:52]  ===============================

[10:09:52]   Loaded.
[10:09:52]  Loading plugin: gvar
[10:09:52] 

*** GVar Plugin v1.3 by Incognito loaded ***

[10:09:52]   Loaded.
[10:09:52]  Loaded 3 plugins.

[10:09:52] 
[10:09:52] Filter Scripts
[10:09:52] ---------------
[10:09:52]   Loaded 0 filter scripts.

[10:09:52] Script[gamemodes/ascnr.amx]: Run time error 19: "File or function is not found"
[10:09:52] Number of vehicle models: 0
[10:09:56] --- Server Shutting Down.
[10:09:56] 

*** IRC Plugin v1.3.6 by Incognito unloaded ***


[10:09:56] 

[10:09:56]  ===============================

[10:09:56]      sscanf plugin unloaded.    

[10:09:56]  ===============================

[10:09:56] 

*** GVar Plugin v1.3 by Incognito unloaded ***
heres the server.cfg :

Code:
echo Executing Server Config...
lanmode 0
password
rcon_password test123
maxplayers 30
port 7777
hostname Not gonna advertise
gamemode0 ascnr
filterscripts
plugins irc sscanf gvar
announce 1
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
Much appreciated if someone helps me out.


Re: File or Function not found - [UFM]Ryder - 30.03.2012

update your all plugins To latest version and it will be fixed


Re: File or Function not found - Plastic - 30.03.2012

still it doesnt work


Re: File or Function not found - Benzke - 30.03.2012

Update all you're Plugins to 0.3d , that Might be causing it.
or maybe a Cmd in the script is causing the problem ,did you added any new CMD lately ?

P.S. I'm iDrive


Re: File or Function not found - Plastic - 30.03.2012

oh hey, its topiary's script so i dunno the issues.


Re: File or Function not found - Mark™ - 30.03.2012

Install nativechecker plugin to check which file/plugin native is missing. Download it from Plugin Development section.


Re: File or Function not found - Plastic - 30.03.2012

thanks xtreme i found whats wrong, problem is now i dunno mysql, cus the original scripter used mysql apperantly


Re: File or Function not found - Mark™ - 30.03.2012

Quote:
Originally Posted by Plastic
View Post
thanks xtreme i found whats wrong, problem is now i dunno mysql, cus the original scripter used mysql apperantly
Would you post the new server_log ?


Re: File or Function not found - Plastic - 30.03.2012

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[11:43:47] password = ""  (string)
[11:43:47] filterscripts = ""  (string)
[11:43:47] 
[11:43:47] Server Plugins
[11:43:47] --------------
[11:43:47]  Loading plugin: irc
[11:43:47] 

*** IRC Plugin v1.4.2 by Incognito loaded ***

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: streamer
[11:43:47] 

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

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: sscanf
[11:43:47] 

[11:43:47]  ===============================

[11:43:47]       sscanf plugin loaded.     

[11:43:47]    © 2009 Alex "Y_Less" Cole

[11:43:47]    0.3d-R2 500 Players "dnee"

[11:43:47]  ===============================

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: gvar
[11:43:47] 

*** GVar Plugin v1.3 by Incognito loaded ***

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: nativechecker
[11:43:47]   Loaded.
[11:43:47]  Loaded 5 plugins.

[11:43:47] 
[11:43:47] Filterscripts
[11:43:47] ---------------
[11:43:47]   Loaded 0 filterscripts.

[11:43:47]    Error: Function not registered: 'mysql_debug'
[11:43:47]    Error: Function not registered: 'mysql_connect'
[11:43:47]    Error: Function not registered: 'mysql_close'
[11:43:47]    Error: Function not registered: 'mysql_ping'
[11:43:47]    Error: Function not registered: 'mysql_query'
[11:43:47]    Error: Function not registered: 'mysql_store_result'
[11:43:47]    Error: Function not registered: 'mysql_fetch_row_format'
[11:43:47]    Error: Function not registered: 'mysql_free_result'
[11:43:47]    Error: Function not registered: 'mysql_affected_rows'
[11:43:47]    Error: Function not registered: 'mysql_num_rows'
[11:43:47]    Error: Function not registered: 'mysql_real_escape_string'
[11:43:47]    Error: Function not registered: 'mysql_fetch_int'
[11:43:47] Script[gamemodes/ascnr.amx]: Run time error 19: "File or function is not found"
[11:43:47] Number of vehicle models: 0



Re: File or Function not found - Mark™ - 30.03.2012

Quote:
Originally Posted by Plastic
View Post
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[11:43:47] password = ""  (string)
[11:43:47] filterscripts = ""  (string)
[11:43:47] 
[11:43:47] Server Plugins
[11:43:47] --------------
[11:43:47]  Loading plugin: irc
[11:43:47] 

*** IRC Plugin v1.4.2 by Incognito loaded ***

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: streamer
[11:43:47] 

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

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: sscanf
[11:43:47] 

[11:43:47]  ===============================

[11:43:47]       sscanf plugin loaded.     

[11:43:47]    © 2009 Alex "Y_Less" Cole

[11:43:47]    0.3d-R2 500 Players "dnee"

[11:43:47]  ===============================

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: gvar
[11:43:47] 

*** GVar Plugin v1.3 by Incognito loaded ***

[11:43:47]   Loaded.
[11:43:47]  Loading plugin: nativechecker
[11:43:47]   Loaded.
[11:43:47]  Loaded 5 plugins.

[11:43:47] 
[11:43:47] Filterscripts
[11:43:47] ---------------
[11:43:47]   Loaded 0 filterscripts.

[11:43:47]    Error: Function not registered: 'mysql_debug'
[11:43:47]    Error: Function not registered: 'mysql_connect'
[11:43:47]    Error: Function not registered: 'mysql_close'
[11:43:47]    Error: Function not registered: 'mysql_ping'
[11:43:47]    Error: Function not registered: 'mysql_query'
[11:43:47]    Error: Function not registered: 'mysql_store_result'
[11:43:47]    Error: Function not registered: 'mysql_fetch_row_format'
[11:43:47]    Error: Function not registered: 'mysql_free_result'
[11:43:47]    Error: Function not registered: 'mysql_affected_rows'
[11:43:47]    Error: Function not registered: 'mysql_num_rows'
[11:43:47]    Error: Function not registered: 'mysql_real_escape_string'
[11:43:47]    Error: Function not registered: 'mysql_fetch_int'
[11:43:47] Script[gamemodes/ascnr.amx]: Run time error 19: "File or function is not found"
[11:43:47] Number of vehicle models: 0
There's your problem, you forgot to load Blue G's mysql plugin.Download it from Plugin Development section and install that.