SA-MP Forums Archive
File or function not found? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: File or function not found? (/showthread.php?tid=385304)



File or function not found? - Laure - 15.10.2012

Hy, i need a help, I cannot run my server however it compiles correctly it says something like this whenever i try to run samp-server.exe
Код:
[18:09:30] Script[gamemodes/UTRP.amx]: Run time error 19: "File or function is not found"
[18:09:30] Number of vehicle models: 0



Re: File or function not found? - myhaitza97 - 15.10.2012

use nativechecker and see what it says.. put it at the begging of the line
plugins nativechecker ..etc

Probably you don't have the plugin it needs or the updated version of it.. or the right version ..


Re: File or function not found? - Laure - 15.10.2012

I didnt understand can you please explain?


Re: File or function not found? - Mark™ - 15.10.2012

Post a complete server_log too.


Re: File or function not found? - Skaizo - 15.10.2012

of course,
download this https://sampforum.blast.hk/showthread.php?tid=249226dll for windows,.so for linux,add to folder Plugins then open server.cfg see line Plugins(if is not,add Plugins) and write nativechecker
ex:
Plugins streamer nativechecker then save
start again server then show server log


Re: File or function not found? - Laure - 15.10.2012

This error message after adding the nativechecker.
Код:
SA-MP Dedicated Server
----------------------
v0.3e-R2, ©2005-2012 SA-MP Team

[18:24:03] 
[18:24:03] Server Plugins
[18:24:03] --------------
[18:24:03]  Loading plugin: streamer.dll
[18:24:03] 

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

[18:24:03]   Loaded.
[18:24:03]  Loading plugin: audio.dll
[18:24:03]   Failed.
[18:24:03]  Loading plugin: sscanf.dll
[18:24:03] 

[18:24:03]  ===============================

[18:24:03]       sscanf plugin loaded.     

[18:24:03]    © 2009 Alex "******" Cole

[18:24:03]  ===============================

[18:24:03]   Loaded.
[18:24:03]  Loading plugin: Whirlpool
[18:24:03]  
[18:24:03]  ==================
[18:24:03]  
[18:24:03]   Whirlpool loaded
[18:24:03]  
[18:24:03]  ==================
[18:24:03]  
[18:24:03]   Loaded.
[18:24:03]  Loading plugin: sscanf
[18:24:03] 

[18:24:03]  ===============================

[18:24:03]       sscanf plugin loaded.     

[18:24:03]    © 2009 Alex "******" Cole

[18:24:03]  ===============================

[18:24:03]   Loaded.
[18:24:03]  Loading plugin: xml
[18:24:03]   Loaded.
[18:24:03]  Loading plugin: nativechecker.dll
[18:24:03]   Loaded.
[18:24:03]  Loaded 6 plugins.

[18:24:03] 
[18:24:03] Filterscripts
[18:24:03] ---------------
[18:24:03]   Loading filterscript 'Firework.amx'...
[18:24:03]   Loading filterscript 'gcustom.amx'...
[18:24:03]   Loading filterscript 'buttons.amx'...
[18:24:03]   Loading filterscript 'audio.amx'...
[18:24:03]    Error: Function not registered: 'Audio_CreateTCPServer'
[18:24:03]    Error: Function not registered: 'Audio_AddPlayer'
[18:24:03]    Error: Function not registered: 'Audio_RemovePlayer'
[18:24:03]    Error: Function not registered: 'Audio_SetPack'
[18:24:03]    Error: Function not registered: 'Audio_CreateSequence'
[18:24:03]    Error: Function not registered: 'Audio_DestroySequence'
[18:24:03]    Error: Function not registered: 'Audio_AddToSequence'
[18:24:03]    Error: Function not registered: 'Audio_RemoveFromSequence'
[18:24:03]    Error: Function not registered: 'Audio_Play'
[18:24:03]    Error: Function not registered: 'Audio_PlaySequence'
[18:24:03]    Error: Function not registered: 'Audio_PlayStreamed'
[18:24:03]    Error: Function not registered: 'Audio_Pause'
[18:24:03]    Error: Function not registered: 'Audio_Resume'
[18:24:03]    Error: Function not registered: 'Audio_Stop'
[18:24:03]    Error: Function not registered: 'Audio_Restart'
[18:24:03]    Error: Function not registered: 'Audio_Seek'
[18:24:03]    Error: Function not registered: 'Audio_SetVolume'
[18:24:03]    Error: Function not registered: 'Audio_Set3DPosition'
[18:24:03]    Error: Function not registered: 'Audio_Set3DOffsets'
[18:24:03]    Error: Function not registered: 'Audio_SetEAX'
[18:24:03]    Error: Function not registered: 'Audio_RemoveEAX'
[18:24:03]    Error: Function not registered: 'Audio_SetFX'
[18:24:03]    Error: Function not registered: 'Audio_RemoveFX'
[18:24:03]    Error: Function not registered: 'Audio_IsClientConnected'
[18:24:03]    Error: Function not registered: 'Audio_TransferPack'
[18:24:03]   Loading filterscript 'maploader.amx'...
[18:24:03] MTA Map Loader by Chaser98 loaded
[18:24:03]   Loading filterscript 'F_Streamer.amx'...
[18:24:03] F_Streamer Loaded successful.
[18:24:03]   Loaded 6 filterscripts.

[18:24:03]    Error: Function not registered: 'Audio_CreateTCPServer'
[18:24:03]    Error: Function not registered: 'Audio_AddPlayer'
[18:24:03]    Error: Function not registered: 'Audio_RemovePlayer'
[18:24:03]    Error: Function not registered: 'Audio_TransferPack'
[18:24:03]    Error: Function not registered: 'Audio_IsClientConnected'
[18:24:03]    Error: Function not registered: 'Audio_Play'
[18:24:03]    Error: Function not registered: 'Audio_SetVolume'
[18:24:03]    Error: Function not registered: 'Audio_Seek'
[18:24:03]    Error: Function not registered: 'Audio_Set3DPosition'
[18:24:03]    Error: Function not registered: 'Audio_PlayStreamed'
[18:24:03]    Error: Function not registered: 'Audio_Stop'
[18:24:03]    Error: Function not registered: 'Audio_SetPack'
[18:24:03] Script[gamemodes/UTRP.amx]: Run time error 19: "File or function is not found"
[18:24:03] Number of vehicle models: 0



Re: File or function not found? - Skaizo - 15.10.2012

recompile audio.pwn,and sure if you have #include audio
and UTRP.PWN in gamemode


Re: File or function not found? - Laure - 15.10.2012

Same problem didnt work and showed the same error messages.


Re: File or function not found? - myhaitza97 - 15.10.2012

Download this : https://sampforum.blast.hk/showthread.php?tid=82162

And add it to the plugins list


Re: File or function not found? - Skaizo - 15.10.2012

[18:24:03] Loading plugin: audio.dll
[18:24:03] Failed.
you have this in folder Plugins?if no,then add,open server.cfg see plugins add audio