SA-MP Forums Archive
[Plugin] nativechecker - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] nativechecker (/showthread.php?tid=249226)

Pages: 1 2 3 4


nativechecker - Wyu - 17.04.2011

I bet anyone who does scripting for SA-MP have experienced the "File or function is not found" error.

It means that one of the native functions in your gamemode or filterscript is declared but does not really exist. Native functions are provided by the SA-MP server itself or by external plugins. So when you see this error you know you're either missing a plugin or have an outdated version of it, or more rarely - the script is compiled for another version of the server.

And as you noticed it doesn't tell you which function is actually missing. Never.

That's what nativechecker is made for.

Download: IMPORTANT: In order to make it work correcly you must put it in the end of the plugins line of your server.cfg so it will be the last one, e.g. plugins sscanf streamer nativechecker.


Re: nativechecker - Jay_ - 17.04.2011

This, actually is, pretty useful.


Re: nativechecker - iJumbo - 17.04.2011

wow very useful thx


Re: nativechecker - MEC - 17.04.2011

you got this for linux?


Re: nativechecker - Hiddos - 17.04.2011

Quote:
Originally Posted by Jay_
View Post
This, actually is, pretty useful.
Give me a reason not to quote this post. Whenever I'm getting that 'not found' error, I'm sure to use this.


Re: nativechecker - Laronic - 17.04.2011

Very useful!!!


Re: nativechecker - xRk - 17.04.2011

Finally i wont get this stupid message.Thank you for this :P


Re: nativechecker - Ricop522 - 17.04.2011

How I use this this show the error??


Re: nativechecker - Patrik356b - 19.04.2011

Wow, nice


Re: nativechecker - HighFlyer - 15.02.2012

Thank you for making this plugin. As said above, very very useful.


Re: nativechecker - T0pAz - 15.02.2012

Pretty useful!


Re: nativechecker - MP2 - 15.02.2012

Thank god someone made this. The 'file or function not found' is the most useless error in the history of computer programming. Seriously, why doesn't it natively show which file/function isn't found? :/

Great job.


Re: nativechecker - Eljayar - 18.02.2012

Why mines still doensn't worked? i followed your instructions and still mine is not working can someone help me tell me in skype eljay.mizanin if you want to help me..


Re: nativechecker - Niko_boy - 19.02.2012

Very useful i am using 10+ plugins and in script ..
i always forget why i get error of file or function not found,,.... i mean failed to guess which plugin missiong so this can be proved help ful there thank you!
EDIT: tried and tested worked awesome


Re: nativechecker - CoaPsyFactor - 19.02.2012

this is great plugin, and very useful for someone who first met with plugins


Re: nativechecker - Jay_ - 20.06.2012

This plugin has just saved me a great deal of time.
Thanks again!


Re: nativechecker - MarkoN - 04.07.2012

this is a great plugin , too bad i cant close my anti-virus to download it :/


Re: nativechecker - Scrown_X - 07.07.2012

Nice Work,
Thats a great plugin


Respuesta: nativechecker - Matyaas - 29.07.2012

Help me please

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[18:27:48] 
[18:27:48] Server Plugins
[18:27:48] --------------
[18:27:48]  Loading plugin: streamer
[18:27:48] 

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

[18:27:48]   Loaded.
[18:27:48]  Loading plugin: nativechecker
[18:27:48]   Loaded.
[18:27:48]  Loaded 2 plugins.

[18:27:48] 
[18:27:48] Ban list
[18:27:48] --------
[18:27:48]  Loaded: samp.ban
[18:27:48] 
[18:27:48] 
[18:27:48] Filterscripts
[18:27:48] ---------------
[18:27:48]   Loading filterscript 'MapasZonaDeRiesgo.amx'...
[18:27:49] 
--------------------------------------
[18:27:49]  Blank Filterscript by your name here
[18:27:49] --------------------------------------

[18:27:49]   Loading filterscript 'zAdmin.amx'...
[18:27:49]  |///////////////////////////////////////////////////////////////////////////| 
[18:27:49]  |---------------------------------------------------------------------------| 
[18:27:49]  |   Sistema de administraciуn de Andromeda FREEROAM CARGADO CON ЙXITO  | 
[18:27:49]  |---------------------------------------------------------------------------| 
[18:27:49]  |///////////////////////////////////////////////////////////////////////////| 
[18:27:49] [NICKS]: 19 NicksProhibidos Cargados!
[18:27:49]   Loaded 2 filterscripts.

[18:27:49]    Error: Function not registered: 'Streamer_CallbackHook'
[18:27:49] Script[gamemodes/ADM.amx]: Run time error 19: "File or function is not found"
[18:27:49] Number of vehicle models: 20



Re: Respuesta: nativechecker - Mark™ - 30.07.2012

Quote:
Originally Posted by Matyaas
View Post
Help me please

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[18:27:48] 
[18:27:48] Server Plugins
[18:27:48] --------------
[18:27:48]  Loading plugin: streamer
[18:27:48] 

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

[18:27:48]   Loaded.
[18:27:48]  Loading plugin: nativechecker
[18:27:48]   Loaded.
[18:27:48]  Loaded 2 plugins.

[18:27:48] 
[18:27:48] Ban list
[18:27:48] --------
[18:27:48]  Loaded: samp.ban
[18:27:48] 
[18:27:48] 
[18:27:48] Filterscripts
[18:27:48] ---------------
[18:27:48]   Loading filterscript 'MapasZonaDeRiesgo.amx'...
[18:27:49] 
--------------------------------------
[18:27:49]  Blank Filterscript by your name here
[18:27:49] --------------------------------------

[18:27:49]   Loading filterscript 'zAdmin.amx'...
[18:27:49]  |///////////////////////////////////////////////////////////////////////////| 
[18:27:49]  |---------------------------------------------------------------------------| 
[18:27:49]  |   Sistema de administraciуn de Andromeda FREEROAM CARGADO CON ЙXITO  | 
[18:27:49]  |---------------------------------------------------------------------------| 
[18:27:49]  |///////////////////////////////////////////////////////////////////////////| 
[18:27:49] [NICKS]: 19 NicksProhibidos Cargados!
[18:27:49]   Loaded 2 filterscripts.

[18:27:49]    Error: Function not registered: 'Streamer_CallbackHook'
[18:27:49] Script[gamemodes/ADM.amx]: Run time error 19: "File or function is not found"
[18:27:49] Number of vehicle models: 20
Update your streamer plugin to v2.6.1 and re-compile your script with the include from the v2.6.1's package.