Error: Function not registered: 'CreateDynamicObject'
#1

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:21filterscripts ""  (string)
[
18:10:21
[
18:10:21Server Plugins
[18:10:21] --------------
[
18:10:21]  Loading pluginstreamer
[18:10:21]   Failed.
[
18:10:21]  Loading plugincrashdetect
[18:10:21]   CrashDetect v4.15.1 is OK.
[
18:10:21]   Loaded.
[
18:10:21]  Loading pluginnativechecker
[18:10:21]   Loaded.
[
18:10:21]  Loaded 2 plugins.
[
18:10:21
[
18:10:21Filterscripts
[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] [debugRun 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] [debugRun 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:22Script[gamemodes/dad.amx]: Run time error 19"File or function is not found"
[18:10:22Number of vehicle models
Reply
#2

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.
Reply
#3

PHP код:
Loading pluginstreamer 
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.
Reply
#4

Код:
[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.
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)