SA-MP Forums Archive
Error Function Not Registered - 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: Error Function Not Registered (/showthread.php?tid=577110)



Error Function Not Registered - lwilson - 09.06.2015

Code:
[12:11:11]    Error: Function not registered: 'Streamer_CallbackHook'
[12:11:11]    Error: Function not registered: 'CreateDynamicObject'
[12:11:11]    Error: Function not registered: 'DestroyDynamicObject'
[12:11:11]    Error: Function not registered: 'SetDynamicObjectPos'
[12:11:11]    Error: Function not registered: 'SetDynamicObjectRot'
[12:11:11]    Error: Function not registered: 'MoveDynamicObject'
[12:11:11]    Error: Function not registered: 'StopDynamicObject'
[12:11:11]   Loading filterscript 'anims.amx'...
[12:11:11]   Loading filterscript 'staff_palomino.amx'...
[12:11:11]    Error: Function not registered: 'Streamer_CallbackHook'
[12:11:11]    Error: Function not registered: 'CreateDynamicObject'
[12:11:11]   Loaded 3 filterscripts.

[12:11:11]    Error: Function not registered: 'Streamer_CallbackHook'
[12:11:11]    Error: Function not registered: 'SSCANF_Init'
[12:11:11]    Error: Function not registered: 'SSCANF_Join'
[12:11:11]    Error: Function not registered: 'SSCANF_Leave'
[12:11:11]    Error: Function not registered: 'DestroyDynamicObject'
[12:11:11]    Error: Function not registered: 'sscanf'
[12:11:11]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[12:11:11]    Error: Function not registered: 'CreateDynamicRectangle'
[12:11:11]    Error: Function not registered: 'DestroyDynamicArea'
[12:11:11]    Error: Function not registered: 'IsPlayerInDynamicArea'
[12:11:11]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[12:11:11]    Error: Function not registered: 'CreateDynamicMapIcon'
[12:11:11]    Error: Function not registered: 'CreateDynamicObject'
[12:11:11]    Error: Function not registered: 'CreateDynamicPickup'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicObjects'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicPickups'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicCPs'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[12:11:11]    Error: Function not registered: 'DestroyAllDynamicAreas'
[12:11:11]    Error: Function not registered: 'MoveDynamicObject'
[12:11:11]    Error: Function not registered: 'Streamer_UpdateEx'
[12:11:11]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[12:11:11]    Error: Function not registered: 'IsValidDynamicObject'
[12:11:11]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[12:11:11]    Error: Function not registered: 'CountDynamicObjects'
[12:11:11]    Error: Function not registered: 'CountDynamicPickups'
[12:11:11]    Error: Function not registered: 'CountDynamicMapIcons'
[12:11:11]    Error: Function not registered: 'CountDynamic3DTextLabels'
[12:11:11]    Error: Function not registered: 'GetDynamicObjectPos'
[12:11:11]    Error: Function not registered: 'CreateDynamicSphere'
[12:11:11]    Error: Function not registered: 'SetDynamicObjectRot'
[12:11:11]    Error: Function not registered: 'WP_Hash'
[12:11:11]    Error: Function not registered: 'DestroyDynamicPickup'
[12:11:11]    Error: Function not registered: 'DestroyDynamicMapIcon'
[12:11:11]    Error: Function not registered: 'IsValidDynamicMapIcon'
[12:11:11]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[12:11:11]    Error: Function not registered: 'GetDynamicObjectRot'
[12:11:11]    Error: Function not registered: 'EditDynamicObject'
[12:11:11]    Error: Function not registered: 'Streamer_TickRate'
[12:11:11]    Error: Function not registered: 'Streamer_Update'
[12:11:11]    Error: Function not registered: 'SetDynamicObjectPos'



Re: Error Function Not Registered - SickAttack - 09.06.2015

Did you include the streamer plugin (server.cfg > plugins streamer)?


Re : Error Function Not Registered - KillerDVX - 09.06.2015

Add this :

PHP Code:
#include <streamer> 
on top of scripts.


Re: Error Function Not Registered - Konstantinos - 09.06.2015

In situations like this one is recommended to post the whole server log so others will be able to know what plugin was loaded, failed to load or you didn't add it at all.

From what I see, the filterscript is loaded so streamer plugin is loaded but you have nativechecker plugin loading before and it gives the functions as not registered. It's always good to read the original thread before using a plugin as you miss the important parts:

Quote:
Originally Posted by Wyu
View Post
IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.



Re: Error Function Not Registered - lwilson - 12.06.2015

Server.CFG
Code:
echo Executing Server Config...
lanmode 0
rcon_password ****
maxplayers 50
port 7777
hostname Los Santos Life Roleplay | lsl-rp.boards.net
gamemode0 lsl_rp 1
filterscripts yom_buttons anims staff_palomino
plugins audio nativechecker sscanf streamer Whirlpool
announce 0
query 1
chatlogging 0
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]
language English
lsl_rp.pwn
Code:
#include <a_samp>
#include <a_zones>
#include <streamer>
#include <foreach>
#include <progress>
#include <ZCMD>
#include <YSI/y_timers.inc>
#include <yom_buttons>
#include <sscanf2>
#include <audio>
Already got the includes too.


Server.log
Code:
SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[20:07:56] 
[20:07:56] Server Plugins
[20:07:56] --------------
[20:07:56]  Loading plugin: audio
[20:07:56] 

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

[20:07:56]   Loaded.
[20:07:56]  Loading plugin: nativechecker
[20:07:56]   Loaded.
[20:07:56]  Loading plugin: sscanf
[20:07:56] 

[20:07:56]  ===============================

[20:07:56]       sscanf plugin loaded.     

[20:07:56]    © 2009 Alex "******" Cole

[20:07:56]    0.3d-R2 500 Players "dnee"

[20:07:56]  ===============================

[20:07:56]   Loaded.
[20:07:56]  Loading plugin: streamer
[20:07:56] 

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

[20:07:56]   Loaded.
[20:07:56]  Loading plugin: Whirlpool
[20:07:56]  
[20:07:56]  ==================
[20:07:56]  
[20:07:56]   Whirlpool loaded
[20:07:56]  
[20:07:56]  ==================
[20:07:56]  
[20:07:56]   Loaded.
[20:07:56]  Loaded 5 plugins.

[20:07:56] 
[20:07:56] Filterscripts
[20:07:56] ---------------
[20:07:56]   Loading filterscript 'yom_buttons.amx'...
[20:07:56]    Error: Function not registered: 'Streamer_CallbackHook'
[20:07:56]    Error: Function not registered: 'CreateDynamicObject'
[20:07:56]    Error: Function not registered: 'DestroyDynamicObject'
[20:07:56]    Error: Function not registered: 'SetDynamicObjectPos'
[20:07:56]    Error: Function not registered: 'SetDynamicObjectRot'
[20:07:56]    Error: Function not registered: 'MoveDynamicObject'
[20:07:56]    Error: Function not registered: 'StopDynamicObject'
[20:07:56]   Loading filterscript 'anims.amx'...
[20:07:56]   Loading filterscript 'staff_palomino.amx'...
[20:07:56]    Error: Function not registered: 'Streamer_CallbackHook'
[20:07:56]    Error: Function not registered: 'CreateDynamicObject'
[20:07:56]   Loaded 3 filterscripts.

[20:07:57]    Error: Function not registered: 'Streamer_CallbackHook'
[20:07:57]    Error: Function not registered: 'SSCANF_Init'
[20:07:57]    Error: Function not registered: 'SSCANF_Join'
[20:07:57]    Error: Function not registered: 'SSCANF_Leave'
[20:07:57]    Error: Function not registered: 'DestroyDynamicObject'
[20:07:57]    Error: Function not registered: 'sscanf'
[20:07:57]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[20:07:57]    Error: Function not registered: 'CreateDynamicRectangle'
[20:07:57]    Error: Function not registered: 'DestroyDynamicArea'
[20:07:57]    Error: Function not registered: 'IsPlayerInDynamicArea'
[20:07:57]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[20:07:57]    Error: Function not registered: 'CreateDynamicMapIcon'
[20:07:57]    Error: Function not registered: 'CreateDynamicObject'
[20:07:57]    Error: Function not registered: 'CreateDynamicPickup'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicObjects'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicPickups'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicCPs'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicMapIcons'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[20:07:57]    Error: Function not registered: 'DestroyAllDynamicAreas'
[20:07:57]    Error: Function not registered: 'MoveDynamicObject'
[20:07:57]    Error: Function not registered: 'Streamer_UpdateEx'
[20:07:57]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[20:07:57]    Error: Function not registered: 'IsValidDynamicObject'
[20:07:57]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[20:07:57]    Error: Function not registered: 'CountDynamicObjects'
[20:07:57]    Error: Function not registered: 'CountDynamicPickups'
[20:07:57]    Error: Function not registered: 'CountDynamicMapIcons'
[20:07:57]    Error: Function not registered: 'CountDynamic3DTextLabels'
[20:07:57]    Error: Function not registered: 'GetDynamicObjectPos'
[20:07:57]    Error: Function not registered: 'CreateDynamicSphere'
[20:07:57]    Error: Function not registered: 'SetDynamicObjectRot'
[20:07:57]    Error: Function not registered: 'WP_Hash'
[20:07:57]    Error: Function not registered: 'DestroyDynamicPickup'
[20:07:57]    Error: Function not registered: 'DestroyDynamicMapIcon'
[20:07:57]    Error: Function not registered: 'IsValidDynamicMapIcon'
[20:07:57]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[20:07:57]    Error: Function not registered: 'GetDynamicObjectRot'
[20:07:57]    Error: Function not registered: 'EditDynamicObject'
[20:07:57]    Error: Function not registered: 'Streamer_TickRate'
[20:07:57]    Error: Function not registered: 'Streamer_Update'
[20:07:57]    Error: Function not registered: 'SetDynamicObjectPos'
[20:07:57]  
[20:07:57]  ======================================= 
[20:07:57]  |                                     | 
[20:07:57]  |        YSI version 1.03.0011        | 
[20:07:57]  |        By Alex "******" Cole        | 
[20:07:57]  |                                     | 
[20:07:57]  |  Checking the latest YSI version..  | 
[20:07:57]  |                                     | 
[20:07:57]  ======================================= 
[20:07:57]  
[20:07:57] OnGameo
[20:07:57] *** Audio Plugin: Started TCP server on port 7777
[20:07:59] Loading Turfs.
[20:08:17] 
----------------------------------
[20:08:17] Los Santos Life Roleplay
[20:08:17] ----------------------------------

[20:08:17] Number of vehicle models: 88
[20:08:17]  
[20:08:17]  ========================================== 
[20:08:17]  |                                        | 
[20:08:17]  |  A new version (v3.09.0684) of YSI is  | 
[20:08:17]  |            available from:             | 
[20:08:17]  |                                        | 
[20:08:17]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[20:08:17]  |                                        | 
[20:08:17]  | Changelog:                             | 
[20:08:17]  |                                        | 
[20:08:17]  |   1.04.0000:                           | 
[20:08:17]  |                                        | 
[20:08:17]  |   RC 1 for YSI 3.0.  Available from:   | 
[20:08:17]  | http://www.y-less.com/YSI/YSI_3.0.rar  | 
[20:08:17]  | - includes MANY new libraries and      | 
[20:08:17]  | fixes, see                             | 
[20:08:17]  | http://forum.sa-mp.com/showthread.php? | 
[20:08:17]  | p=1425938 for more information, with   | 
[20:08:17]  | more topics and updates due over the   | 
[20:08:17]  | next few weeks.  In brief: Added       | 
[20:08:17]  | "y_inline", "y_text", "y_users",       | 
[20:08:17]  | "y_uvar", "y_svar", "y_remote";        | 
[20:08:17]  | updated "y_timers", "y_iter"; MANY     | 
[20:08:17]  | MANY fixes and tweaks in almost every  | 
[20:08:17]  | other library.                         | 
[20:08:17]  |                                        | 
[20:08:17]  |   3.00.0000:                           | 
[20:08:17]  |                                        | 
[20:08:17]  |   YSI 3.0 released!  Now includes the  | 
[20:08:17]  | "y_text" library for better messages,  | 
[20:08:17]  | and a reworked "y_classes" library.    | 
[20:08:17]  | Largely documented here                | 
[20:08:17]  | "http://forum.sa-mp.com/showthread.php | 
[20:08:17]  | ?t=321092".                            | 
[20:08:17]  |                                        | 
[20:08:17]  |   3.01.0002:                           | 
[20:08:17]  |                                        | 
[20:08:17]  |   Small fixes to "y_text" and          | 
[20:08:17]  | "y_classes".                           | 
[20:08:17]  |                                        | 
[20:08:17]  |   3.09.0684:                           | 
[20:08:17]  |                                        | 
[20:08:17]  |   Reverted to old download location.   | 
[20:08:17]  | Improved (and fixed) version checks;   | 
[20:08:17]  | added y_bitmap, y_areas, y_races,      | 
[20:08:17]  | y_zonenames, better documentation;     | 
[20:08:17]  | MANY other bug fixes - see the github  | 
[20:08:17]  | repository for more details:           | 
[20:08:17]  |                                        | 
[20:08:17]  ========================================== 
[20:08:17]  
[20:08:22] --- Server Shutting Down.



Re: Error Function Not Registered - rappy93 - 12.06.2015

Change your server.cfg to this:

Code:
echo Executing Server Config...
lanmode 0
rcon_password ****
maxplayers 50
port 7777
hostname Los Santos Life Roleplay | lsl-rp.boards.net
gamemode0 lsl_rp 1
filterscripts yom_buttons anims staff_palomino
plugins audio sscanf streamer Whirlpool nativechecker
announce 0
query 1
chatlogging 0
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]
language English
You should also read what people say in their posts because Konstantinos gave you the solution already but you somehow ignored it.

Quote:
Originally Posted by Konstantinos
View Post
In situations like this one is recommended to post the whole server log so others will be able to know what plugin was loaded, failed to load or you didn't add it at all.

From what I see, the filterscript is loaded so streamer plugin is loaded but you have nativechecker plugin loading before and it gives the functions as not registered. It's always good to read the original thread before using a plugin as you miss the important parts:



Re: Error Function Not Registered - lwilson - 13.06.2015

It works! Thank you!


Re: Error Function Not Registered - mhmdkh - 28.06.2017

I have the same problem, but with a small difference


Code:
echo Executing Server Config...
lanmode 0
rcon_password **********
maxplayers 100
port 7777
hostname CNR
gamemode0 CNR-GameOver 1
filterscripts animha
plugins crashdetect libRegEx streamer TDE sscanf libeay32 nativechecker irc
announce 0
chatlogging 1
query 1
weburl "Spersgame.com"
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat [%H:%M:%S]
language Persian/Farsi



Re: Error Function Not Registered - Fairuz - 28.06.2017

Konstantinos' post says everything buddy..
It should be like this..
PHP Code:
echo Executing Server Config...
lanmode 0
rcon_password 
**********
maxplayers 100
port 7777
hostname CNR
gamemode0 CNR
-GameOver 1
filterscripts animha
plugins crashdetect libRegEx streamer TDE sscanf libeay32 irc nativechecker
announce 0
chatlogging 1
query 1
weburl 
"Spersgame.com"
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat 
[%H:%M:%S]
language Persian/Farsi 



Re: Error Function Not Registered - mhmdkh - 28.06.2017

I did not fix my problem

On my computer are ruins
On Other computers don't have any error

help me

Code:
echo Executing Server Config...
lanmode 0
rcon_password **********
maxplayers 100
port 7777
hostname CNR
gamemode0 CNR-GameOver 1
filterscripts animha
plugins crashdetect libRegEx streamer TDE sscanf libeay32 irc nativechecker
announce 0
chatlogging 1
query 1
weburl "Spersgame.com"
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 5
logtimeformat [%H:%M:%S]
language Persian/Fars



Re: Error Function Not Registered - mhmdkh - 28.06.2017

pls help


Re: Error Function Not Registered - OneDay - 28.06.2017

libeay32 is not a plugin i think


Re: Error Function Not Registered - mhmdkh - 28.06.2017

libeay32 is a plugin and my problem not this


Re: Error Function Not Registered - ValueA - 28.06.2017

same problem, maybe streamer is fucked up, I will try to fix mine, then reply here.


Re: Error Function Not Registered - mhmdkh - 29.06.2017

Do you need anything to fix the problem?