Error: Function not registered: 'CreateDynamicObject' - 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: 'CreateDynamicObject' (
/showthread.php?tid=629963)
Error: Function not registered: 'CreateDynamicObject' -
cs_waller - 06.03.2017
Before I start, I'd like to mention that I have the latest version of the streamer, added #include <streamer> on top of my gamemode, run no filterscripts so there is no point in adding the #include on any of them, the streamer.dll is placed in the plugins folder and the server.cfg looks like this
PHP код:
echo Executing Server Config...
lanmode 0
rcon_password asd
maxplayers 50
port 7777
hostname OG SERVER
gamemode0 dad
filterscripts
announce 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 2500
maxnpc 0
plugins streamer crashdetect nativechecker
logtimeformat [%H:%M:%S]
language English
Yet I still get the following errors.
PHP код:
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[18:10:21] filterscripts = "" (string)
[18:10:21]
[18:10:21] Server Plugins
[18:10:21] --------------
[18:10:21] Loading plugin: streamer
[18:10:21] Failed.
[18:10:21] Loading plugin: crashdetect
[18:10:21] CrashDetect v4.15.1 is OK.
[18:10:21] Loaded.
[18:10:21] Loading plugin: nativechecker
[18:10:21] Loaded.
[18:10:21] Loaded 2 plugins.
[18:10:21]
[18:10:21] Filterscripts
[18:10:21] ---------------
[18:10:21] Loaded 0 filterscripts.
[18:10:22] Error: Function not registered: 'CreateDynamicObject'
[18:10:22] Error: Function not registered: 'SetDynamicObjectMaterial'
[18:10:22] Error: Function not registered: 'SetDynamicObjectMaterialText'
[18:10:22] [debug] Run time error 19: "File or function is not found"
[18:10:22] [debug] CreateDynamicObject
[18:10:22] [debug] SetDynamicObjectMaterial
[18:10:22] [debug] SetDynamicObjectMaterialText
[18:10:22] [debug] Run time error 19: "File or function is not found"
[18:10:22] [debug] CreateDynamicObject
[18:10:22] [debug] SetDynamicObjectMaterial
[18:10:22] [debug] SetDynamicObjectMaterialText
[18:10:22] Script[gamemodes/dad.amx]: Run time error 19: "File or function is not found"
[18:10:22] Number of vehicle models: 0
Re: Error: Function not registered: 'CreateDynamicObject' -
4D1L - 06.03.2017
I'm assuming you are running windows since you are loading the .dll. I think the issue you are facing has something to do with the .NET framework. I'd suggest reinstalling it or installing it if you do not have it installed already. Anything above 3.5 should be alright I think.
Re: Error: Function not registered: 'CreateDynamicObject' -
TopShooter2 - 06.03.2017
PHP код:
Loading plugin: streamer
Failed.
That's why it sends this errors, check if you have the streamer.dll plugin in your plugins folder and make sure everything is alright.
Re: Error: Function not registered: 'CreateDynamicObject' -
DRIFT_HUNTER - 06.03.2017
Код:
[18:10:21] Loading plugin: streamer
[18:10:21] Failed.
Update streamer plugin and include, recompile your scripts and try to run server. If streamer is still failing to load ask for help in that topic or post issue on github.
Re: Error: Function not registered: 'CreateDynamicObject' -
cs_waller - 08.03.2017
I figured out the problem, c++ redistributable visual studio 2015 is required for some strange reason. And it gives me an error when I am trying to install it so RIP hopes of loading this streamer.