get_func_id()
seems to crash on plugins which previously failed loading, however does work fine on other plugins (which may or may not have this function)
I used to cycle through all plugins and after my update to AMXX 1.76a ( i386 ) started to notice frequent crashes, as I left a couple of plugins out which are now failing to load on startup and obviously the reason for the recent crashes:
Code:
for(new i=0;i<get_pluginsnum();i++){
new func = get_func_id("funcname",i)
if(func == -1) continue
...
}
IMO it should return -1 for those plugins aswell, as that's what's actually supposed to happen: it doesn't find the function, no matter what the state the plugin is in.
I'm not exactly sure if this would have happend in previous versions, because I always had all plugins at least loading fine
__________________