[Plugin] nativechecker
#1

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

This, actually is, pretty useful.
Reply
#3

wow very useful thx
Reply
#4

you got this for linux?
Reply
#5

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

Very useful!!!
Reply
#7

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

How I use this this show the error??
Reply
#9

Wow, nice
Reply
#10

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

Pretty useful!
Reply
#12

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

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

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
Reply
#15

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

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

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

Nice Work,
Thats a great plugin
Reply
#19

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
Reply
#20

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


Forum Jump:


Users browsing this thread: 1 Guest(s)