Run time error 19:"File or function is not found."
#1

Hello,

Yesterday i installed windows 7 x64 and I also installed gta san andreas.I tried to start samp-server.exe and i got run time error 19:"File or function is not found.".Few plugins didn't load(streamer,sscanf).I tried to update plugins but it didn't work.Last time I had this problem I fixed it when I installed all versions of visual c++(I used this software http://www.majorgeeks.com/files/deta...installer.html). Now I don't want to fix this error on that way because then i have problem with maps.I have to be close to object to see it,otherwise it disapears.
btw. I have run time error on every gamemode I tried.

Does anyone know the solution?
Reply
#2

bump?
Reply
#3

When you updated all your plugins to the latest versions, did you also update the .inc files that come with them?

If you didn't, try that, recompile your script and see if the error still comes up in the console.
Reply
#4

These All in One installers seem to miss something. Last time I recommended it to someone, it missed an update for one of the runtimes which was a hotfix.

Post up the log of the servers startup.
Reply
#5

there is a file that is missing in the scriptfiles
Reply
#6

I also updated .inc files.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[18:02:30] filterscripts = ""  (string)
[18:02:30] 
[18:02:30] Server Plugins
[18:02:30] --------------
[18:02:30]  Loading plugin: streamer
[18:02:31]   Failed.
[18:02:31]  Loading plugin: sscanf
[18:02:33]   Failed.
[18:02:33]  Loading plugin: FileFunctions.dll
[18:02:33]   Loaded.
[18:02:33]  Loading plugin: nativechecker
[18:02:33]   Loaded.
[18:02:33]  Loaded 2 plugins.

[18:02:33] 
[18:02:33] Ban list
[18:02:33] --------
[18:02:33]  Loaded: samp.ban
[18:02:33] 
[18:02:33] 
[18:02:33] Filterscripts
[18:02:33] ---------------
[18:02:33]   Loaded 0 filterscripts.

[18:02:33]    Error: Function not registered: 'Streamer_CallbackHook'
[18:02:33]    Error: Function not registered: 'SSCANF_Init'
[18:02:33]    Error: Function not registered: 'SSCANF_Join'
[18:02:33]    Error: Function not registered: 'SSCANF_Leave'
[18:02:33]    Error: Function not registered: 'CreateDynamicObject'
[18:02:33]    Error: Function not registered: 'CreateDynamicObjectEx'
[18:02:33]    Error: Function not registered: 'SetDynamicObjectMaterial'
[18:02:33]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[18:02:33]    Error: Function not registered: 'CreateDynamicPickup'
[18:02:33]    Error: Function not registered: 'CreateDynamicMapIcon'
[18:02:33]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[18:02:33]    Error: Function not registered: 'DestroyDynamicPickup'
[18:02:33]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[18:02:33]    Error: Function not registered: 'DestroyDynamicObject'
[18:02:33]    Error: Function not registered: 'MoveDynamicObject'
[18:02:33]    Error: Function not registered: 'sscanf'
[18:02:33]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[18:02:33]    Error: Function not registered: 'EditDynamicObject'
[18:02:33]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[18:02:33] Script[gamemodes/UC.amx]: Run time error 19: "File or function is not found"
[18:02:33] Number of vehicle models: 0
Tell me which versions of microsoft c++ and .net framework do you have.I think solution is in microsoft c++ and .net framework.
Reply
#7

Quote:
Originally Posted by Suttix
Посмотреть сообщение
I also updated .inc files.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[18:02:30] filterscripts = ""  (string)
[18:02:30] 
[18:02:30] Server Plugins
[18:02:30] --------------
[18:02:30]  Loading plugin: streamer
[18:02:31]   Failed.
[18:02:31]  Loading plugin: sscanf
[18:02:33]   Failed.
[18:02:33]  Loading plugin: FileFunctions.dll
[18:02:33]   Loaded.
[18:02:33]  Loading plugin: nativechecker
[18:02:33]   Loaded.
[18:02:33]  Loaded 2 plugins.

[18:02:33] 
[18:02:33] Ban list
[18:02:33] --------
[18:02:33]  Loaded: samp.ban
[18:02:33] 
[18:02:33] 
[18:02:33] Filterscripts
[18:02:33] ---------------
[18:02:33]   Loaded 0 filterscripts.

[18:02:33]    Error: Function not registered: 'Streamer_CallbackHook'
[18:02:33]    Error: Function not registered: 'SSCANF_Init'
[18:02:33]    Error: Function not registered: 'SSCANF_Join'
[18:02:33]    Error: Function not registered: 'SSCANF_Leave'
[18:02:33]    Error: Function not registered: 'CreateDynamicObject'
[18:02:33]    Error: Function not registered: 'CreateDynamicObjectEx'
[18:02:33]    Error: Function not registered: 'SetDynamicObjectMaterial'
[18:02:33]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[18:02:33]    Error: Function not registered: 'CreateDynamicPickup'
[18:02:33]    Error: Function not registered: 'CreateDynamicMapIcon'
[18:02:33]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[18:02:33]    Error: Function not registered: 'DestroyDynamicPickup'
[18:02:33]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[18:02:33]    Error: Function not registered: 'DestroyDynamicObject'
[18:02:33]    Error: Function not registered: 'MoveDynamicObject'
[18:02:33]    Error: Function not registered: 'sscanf'
[18:02:33]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[18:02:33]    Error: Function not registered: 'EditDynamicObject'
[18:02:33]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[18:02:33] Script[gamemodes/UC.amx]: Run time error 19: "File or function is not found"
[18:02:33] Number of vehicle models: 0
Tell me which versions of microsoft c++ and .net framework do you have.I think solution is in microsoft c++ and .net framework.
Код HTML:
[18:02:30]  Loading plugin: streamer
[18:02:31]   Failed.
[18:02:31]  Loading plugin: sscanf
[18:02:33]   Failed.
[18:02:33]  Loading plugin: FileFunctions.dll
[18:02:33]   Loaded.
[18:02:33]  Loading plugin: nativechecker
[18:02:33]   Loaded.
[18:02:33]  Loaded 2 plugins.
plugins and includes update
and complier files .pwn
Reply
#8

You should install this

https://www.microsoft.com/en-us/down....aspx?id=48145
Reply
#9

Quote:
Originally Posted by XeonMaster
Посмотреть сообщение
Same situation
Reply
#10

When I install microsoft c++ 2015 redistributable I'm able to update streamer and sscanf but then i have problem with object streaming(I have to be close to object to see it,otherwise it disapears).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)