SA-MP Forums Archive
Functions 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: Functions not registered (/showthread.php?tid=638069)



Functions not registered - JaydenJason - 26.07.2017

If I try to run this locally (on my own pc) it works all fine, if I try to run it from my Windows Server I'm getting the following in my server log.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[09:26:24] password = ""  (string)
[09:26:24] filterscripts = ""  (string)
[09:26:24] 
[09:26:24] Server Plugins
[09:26:24] --------------
[09:26:24]  Loading plugin: CUF.dll
[09:26:24] Console Useful Functions 0.3.0 loaded!
[09:26:24]   Loaded.
[09:26:24]  Loading plugin: mysql.dll
[09:26:25]  >> plugin.mysql: R39-5 successfully loaded.
[09:26:25]   Loaded.
[09:26:25]  Loading plugin: sscanf.dll
[09:26:25] 

[09:26:25]  ===============================

[09:26:25]       sscanf plugin loaded.     

[09:26:25]          Version:  2.8.2        

[09:26:25]    © 2012 Alex "******" Cole  

[09:26:25]  ===============================

[09:26:25]   Loaded.
[09:26:25]  Loading plugin: crashdetect.dll
[09:26:25]   CrashDetect v4.15.1 is OK.
[09:26:25]   Loaded.
[09:26:25]  Loading plugin: pawncmd.dll
[09:26:25] Pawn.CMD plugin v3.1.2 by urShadow loaded
[09:26:25]   Loaded.
[09:26:25]  Loading plugin: pawnregex.dll
[09:26:25] Pawn.Regex plugin v1.1 by urShadow loaded
[09:26:25]   Loaded.
[09:26:25]  Loading plugin: bcrypt-samp.dll
[09:26:25]   Failed.
[09:26:25]  Loading plugin: streamer.dll
[09:26:25]   Failed.
[09:26:25]  Loading plugin: SKY.dll
[09:26:25]   Loaded.
[09:26:25]  Loading plugin: nativechecker.dll
[09:26:25]   Loaded.
[09:26:25]  Loaded 8 plugins.

[09:26:25] 
[09:26:25] Filterscripts
[09:26:25] ---------------
[09:26:25]   Loaded 0 filterscripts.

[09:26:25]    Error: Function not registered: 'CreateDynamicObject'
[09:26:25]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[09:26:25]    Error: Function not registered: 'SetDynamicObjectMaterial'
[09:26:25]    Error: Function not registered: 'CreateDynamicPickup'
[09:26:25]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[09:26:25]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[09:26:25]    Error: Function not registered: 'DestroyDynamicCP'
[09:26:25]    Error: Function not registered: 'bcrypt_check'
[09:26:25]    Error: Function not registered: 'bcrypt_hash'
[09:26:25]    Error: Function not registered: 'EditDynamicObject'
[09:26:25]    Error: Function not registered: 'DestroyDynamicObject'
[09:26:25]    Error: Function not registered: 'DestroyDynamicPickup'
[09:26:25]    Error: Function not registered: 'bcrypt_is_equal'
[09:26:25]    Error: Function not registered: 'bcrypt_get_hash'
[09:26:25]    Error: Function not registered: 'IsValidDynamicObject'
[09:26:25]    Error: Function not registered: 'MoveDynamicObject'
[09:26:25] [debug] Run time error 19: "File or function is not found"
[09:26:25] [debug]  CreateDynamicObject
[09:26:25] [debug]  SetDynamicObjectMaterialText
[09:26:25] [debug]  SetDynamicObjectMaterial
[09:26:25] [debug]  CreateDynamicPickup
[09:26:25] [debug]  DestroyDynamic3DTextLabel
[09:26:25] [debug]  CreateDynamic3DTextLabel
[09:26:25] [debug]  DestroyDynamicCP
[09:26:25] [debug]  bcrypt_check
[09:26:25] [debug]  bcrypt_hash
[09:26:25] [debug]  EditDynamicObject
[09:26:25] [debug]  DestroyDynamicObject
[09:26:25] [debug]  DestroyDynamicPickup
[09:26:25] [debug]  bcrypt_is_equal
[09:26:25] [debug]  bcrypt_get_hash
[09:26:25] [debug]  IsValidDynamicObject
[09:26:25] [debug]  MoveDynamicObject
I installed visual studio 2015 c++ redistributable something

My server.cfg plugins
Код:
plugins CUF.dll mysql.dll sscanf.dll crashdetect.dll pawncmd.dll pawnregex.dll bcrypt-samp.dll streamer.dll SKY.dll nativechecker.dll
My plugins folder:



Re: Functions not registered - Sew_Sumi - 26.07.2017

You not only need to install the 2015 runtimes, but a lot more of them.

Check my started threads for a list of the cruntimes that you can install.

Check the releases for what runtimes they need, but I have been saying to some people to use the AiO installer if they can't actually find the full requirements.

https://www.sereby.org/site/All%20in...ntimes&lang=en


Re: Functions not registered - JaydenJason - 26.07.2017

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
You not only need to install the 2015 runtimes, but a lot more of them.

Check my started threads for a list of the cruntimes that you can install.

Check the releases for what runtimes they need, but I have been saying to some people to use the AiO installer if they can't actually find the full requirements.

https://www.sereby.org/site/All%20in...ntimes&lang=en
Yeah it came up to me after I started this thread, I checked what I had on my own PC and this is what I have



Cheers for the link


Re: Functions not registered - Xeon™ - 26.07.2017

Hai, try to load streamer as first and install Runtime 2015 for 32 Bits not 64


Re: Functions not registered - Sew_Sumi - 26.07.2017

Quote:
Originally Posted by XeonMaster
Посмотреть сообщение
install Runtime 2015 for 32 Bits not 64
If you look, both are already installed...


Re: Functions not registered - Xeon™ - 26.07.2017

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
If you look, both are already installed...
ah, sorry didn't notice

@OP: try to enable Runtime from Server Manager

Server Manager -> Functions (or somthing like that) -> next next -> and you will see a list that containing framwork and such things

enable framework 3.5 and 4.0 and runtime ^


Re: Functions not registered - JaydenJason - 26.07.2017

Currently have these installed on my server:


And I'm still getting these errors.

@XeonMaster there's no such thing in server manager?


Re: Functions not registered - Sew_Sumi - 26.07.2017

Post up the latest server log for this. Are there any windows popping up when you do start the server?


Re: Functions not registered - GrandTA - 26.07.2017

Are Your streamer.inc with streamer.dll is the same Version?


Re: Functions not registered - Xeon™ - 26.07.2017

Quote:
Originally Posted by JaydenJason
Посмотреть сообщение
Currently have these installed on my server:


And I'm still getting these errors.

@XeonMaster there's no such thing in server manager?
its Roles and Features , not functions sorry^