SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/01/2020, 02:48 AM   #1
vincentdineros24
Little Clucker
 
Join Date: Aug 2017
Location: (+63) PH - Caloocan City
Posts: 16
Reputation: 0
Default How to fix [ Function not Registered ]

Quote:
pawncmd sscanf streamer mysql Whirlpool SKY regex YSF nativechecker
my server.cfg
Quote:
echo Executing Server Config...
lanmode 0
rcon_password !!?
maxplayers 100
port 8888
hostname Enlightening Roleplay [EL:RP]
gamemode0 ulrp 1
filterscripts donator bugtracker helmet donorMaps Server spraytag
plugins pawncmd sscanf streamer mysql Whirlpool SKY regex YSF nativechecker
announce 1
chatlogging 1
weburl www.enlightening-roleplay.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English

The top of my script gamemode defined.
Quote:
#include <a_samp>
#include <BustAim>
#include <weapon-config>
#include <a_http>
#include <a_mysql>
#include <foreach>
#include <sscanf2>
#include <streamer>
#include <selection>
#include <tp>
#include <Pawn.CMD>
#include <DialogCenter>
#include <youtube_stream>
#include <crashdetect>
Server log.
Quote:
[02:28:08] [debug] cache_get_row_count

[02:28:08] [debug] cache_get_row_int

[02:28:08] [debug] cache_affected_rows

[02:28:08] [debug] cache_get_row

[02:28:08] [debug] SetDisableSyncBugs

[02:28:08] [debug] mysql_connect

[02:28:08] [debug] mysql_errno

[02:28:08] [debug] mysql_close

[02:28:08] Script[gamemodes/ELRP.amx]: Run time error 19: "File or function is not found"

[02:28:08] Number of vehicle models: 0



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[02:32:20]

[02:32:20] Server Plugins

[02:32:20] --------------

[02:32:20] Loading plugin: pawncmd

[02:32:20] Failed (plugins/pawncmd: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: sscanf

[02:32:20] Failed (plugins/sscanf: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: streamer

[02:32:20] Failed (plugins/streamer: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: mysql

[02:32:20] Failed (plugins/mysql: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: Whirlpool

[02:32:20] Failed (plugins/Whirlpool: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: SKY

[02:32:20] Failed (plugins/SKY: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: regex

[02:32:20] Failed (plugins/regex: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: YSF

[02:32:20] Failed (plugins/YSF: cannot open shared object file: No such file or directory)

[02:32:20] Loading plugin: nativechecker

[02:32:20] Failed (plugins/nativechecker: cannot open shared object file: No such file or directory)

[02:32:20] Loaded 0 plugins.



[02:32:20]

[02:32:20] Filterscripts

[02:32:20] ---------------

[02:32:20] Loading filterscript 'donator.amx'...

[02:32:20] Loading filterscript 'bugtracker.amx'...

[02:32:20] Loading filterscript 'helmet.amx'...

[02:32:20] Loading filterscript 'donorMaps.amx'...

[02:32:20] Loading filterscript 'Server.amx'...

[02:32:20] Loading filterscript 'spraytag.amx'...

[02:32:20] Loaded 6 filterscripts.



[02:32:21] Script[gamemodes/ulrp.amx]: Run time error 19: "File or function is not found"

[02:32:21] Number of vehicle models: 0



----------

Loaded log file: "server_log.txt".

----------



SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[02:42:22]

[02:42:22] Server Plugins

[02:42:22] --------------

[02:42:22] Loading plugin: pawncmd

[02:42:22] Failed (plugins/pawncmd: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: sscanf

[02:42:22] Failed (plugins/sscanf: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: streamer

[02:42:22] Failed (plugins/streamer: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: mysql

[02:42:22] Failed (plugins/mysql: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: Whirlpool

[02:42:22] Failed (plugins/Whirlpool: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: SKY

[02:42:22] Failed (plugins/SKY: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: regex

[02:42:22] Failed (plugins/regex: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: YSF

[02:42:22] Failed (plugins/YSF: cannot open shared object file: No such file or directory)

[02:42:22] Loading plugin: nativechecker

[02:42:22] Failed (plugins/nativechecker: cannot open shared object file: No such file or directory)

[02:42:22] Loaded 0 plugins.



[02:42:22]

[02:42:22] Filterscripts

[02:42:22] ---------------

[02:42:22] Loading filterscript 'donator.amx'...

[02:42:22] Loading filterscript 'bugtracker.amx'...

[02:42:22] Loading filterscript 'helmet.amx'...

[02:42:22] Loading filterscript 'donorMaps.amx'...

[02:42:22] Loading filterscript 'Server.amx'...

[02:42:22] Loading filterscript 'spraytag.amx'...

[02:42:22] Loaded 6 filterscripts.



[02:42:22] Script[gamemodes/ulrp.amx]: Run time error 19: "File or function is not found"

[02:42:22] Number of vehicle models: 0

Last edited by vincentdineros24; 15/01/2020 at 06:50 AM.
vincentdineros24 is offline   Reply With Quote
Old 15/01/2020, 03:33 AM   #2
DIRTYBYT3
Big Clucker
 
DIRTYBYT3's Avatar
 
Join Date: Sep 2018
Location: https://discord.gg/mVYChzq
Posts: 137
Reputation: 12
Default Re: How to fix [ Function not Registered ]

check your directories plugins! if your server is linux check the name plugin end in .so and be sure the plugins are updated
__________________
DIRTYBYT3 is offline   Reply With Quote
Old 15/01/2020, 06:48 AM   #3
vincentdineros24
Little Clucker
 
Join Date: Aug 2017
Location: (+63) PH - Caloocan City
Posts: 16
Reputation: 0
Default Re: How to fix [ Function not Registered ]

The Plugin window.
Quote:
pawncmd.so sscanf.so streamer.so Whirlpool.so SKY.so nativechecker.so
The Plugin Linux
Quote:
streamer.dll sscanf.dll regex.dll pawncmd.dll nativechecker.dll mysql.dll crashdetect.dll audio.dll YSF.dll Whirlpool.dll SKY.dll
I putted the .so on sever.cfg but not working check the server log below.
Quote:
echo Executing Server Config...
lanmode 0
rcon_password !!?
maxplayers 100
port 8888
hostname Enlightening Roleplay [EL:RP]
gamemode0 ulrp 1
filterscripts donator bugtracker helmet donorMaps Server spraytag
plugins pawncmd.so sscanf.so streamer.so mysql.so Whirlpool.so SKY.so regex.so YSF.so nativechecker.so
announce 1
chatlogging 1
weburl www.enlightening-roleplay.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
query 1

Server log.
Quote:
SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team



[06:42:04]

[06:42:04] Server Plugins

[06:42:04] --------------

[06:42:04] Loading plugin: pawncmd.so

[06:42:04] Pawn.CMD plugin v3.2.0 by urShadow has been loaded

[06:42:04] Loaded.

[06:42:04] Loading plugin: sscanf.so

[06:42:04]



[06:42:04] ===============================



[06:42:04] sscanf plugin loaded.



[06:42:04] Version: 2.8.3



[06:42:04] (c) 2018 Alex "******" Cole



[06:42:04] ===============================



[06:42:04] Loaded.

[06:42:04] Loading plugin: streamer.so

[06:42:04]



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



[06:42:04] Loaded.

[06:42:04] Loading plugin: mysql.so

[06:42:04] Failed (plugins/mysql.so: cannot open shared object file: No such file or directory)

[06:42:04] Loading plugin: Whirlpool.so

[06:42:04]

[06:42:04] ==================

[06:42:04]

[06:42:04] Whirlpool loaded

[06:42:04]

[06:42:04] ==================

[06:42:04]

[06:42:04] Loaded.

[06:42:04] Loading plugin: SKY.so

[06:42:04] Loaded.

[06:42:04] Loading plugin: regex.so

[06:42:04] Failed (plugins/regex.so: cannot open shared object file: No such file or directory)

[06:42:04] Loading plugin: YSF.so

[06:42:04] Failed (plugins/YSF.so: cannot open shared object file: No such file or directory)

[06:42:04] Loading plugin: nativechecker.so

[06:42:04] Loaded.

[06:42:04] Loaded 6 plugins.



[06:42:04]

[06:42:04] Filterscripts

[06:42:04] ---------------

[06:42:04] Loading filterscript 'donator.amx'...

[06:42:04] AMX (170224800) loaded

[06:42:04] Loading filterscript 'bugtracker.amx'...

[06:42:04] AMX (170423592) loaded

[06:42:04] Error: Function not registered: 'mysql_format'

[06:42:04] Error: Function not registered: 'mysql_tquery'

[06:42:04] Loading filterscript 'helmet.amx'...

[06:42:04] AMX (170420616) loaded

[06:42:04] Loading filterscript 'donorMaps.amx'...

[06:42:04] AMX (170420912) loaded

[06:42:04] Loading filterscript 'Server.amx'...

[06:42:04] *** Streamer Plugin: Include file version (0x291) does not match plugin version (0x294) (script might need to be recompiled with the correct include file).

[06:42:04] AMX (175698600) loaded

[06:42:04] Loading filterscript 'spraytag.amx'...

[06:42:04] *** Streamer Plugin: Include file version (0x27101) does not match plugin version (0x294) (script might need to be recompiled with the correct include file).

[06:42:04] AMX (176368360) loaded

[06:42:04] Error: Function not registered: 'mysql_connect'

[06:42:04] Error: Function not registered: 'mysql_tquery'

[06:42:04] Error: Function not registered: 'cache_get_data'

[06:42:04] Error: Function not registered: 'cache_get_field_content'

[06:42:04] Error: Function not registered: 'cache_insert_id'

[06:42:04] Loaded 6 filterscripts.



[06:42:04] [Pawn.CMD] AmxLoad: mismatch between the plugin and include versions

[06:42:04] *** Streamer Plugin: Include file version (0x291) does not match plugin version (0x294) (script might need to be recompiled with the correct include file).

[06:42:04] AMX (170224680) loaded

[06:42:04] Error: Function not registered: 'regex_build'

[06:42:04] Error: Function not registered: 'regex_match_exid'

[06:42:04] Error: Function not registered: 'mysql_format'

[06:42:04] Error: Function not registered: 'mysql_tquery'

[06:42:04] Error: Function not registered: 'cache_insert_id'

[06:42:04] Error: Function not registered: 'mysql_escape_string'

[06:42:04] Error: Function not registered: 'cache_get_data'

[06:42:04] Error: Function not registered: 'cache_get_field_content'

[06:42:04] Error: Function not registered: 'cache_get_field_content_int'

[06:42:04] Error: Function not registered: 'cache_get_field_content_float'

[06:42:04] Error: Function not registered: 'mysql_unprocessed_queries'

[06:42:04] Error: Function not registered: 'cache_get_row_count'

[06:42:04] Error: Function not registered: 'cache_get_row_int'

[06:42:04] Error: Function not registered: 'cache_affected_rows'

[06:42:04] Error: Function not registered: 'cache_get_row'

[06:42:04] Error: Function not registered: 'mysql_connect'

[06:42:04] Error: Function not registered: 'mysql_errno'

[06:42:04] Error: Function not registered: 'mysql_close'

[06:42:04] Script[gamemodes/ulrp.amx]: Run time error 19: "File or function is not found"
vincentdineros24 is offline   Reply With Quote
Old 15/01/2020, 09:16 AM   #4
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,161
Reputation: 73
Default Re: How to fix [ Function not Registered ]

Just changing text in server.cfg doesn't means that you have a plugin in your plugins name with that name, check plugins folder, then, edit your server.cfg, make sure you have mysql plugin. (linux version)
you can get dynamic or static versions in web.
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function not registered : ' IRC...' mhmdkh Scripting Help 2 03/07/2017 07:33 PM
Function Not Registered AMouldyLemon Scripting Help 5 21/07/2014 06:36 PM
[HELP] function not registered Luca12 Scripting Help 1 09/07/2014 03:24 PM
[HELP]Function Not registered hhaaoo123 Scripting Help 8 30/03/2014 01:42 PM
Function not registered paulll0len Server Support 5 16/03/2013 01:17 PM


All times are GMT. The time now is 06:07 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.