As per
http://forums.alliedmods.net/showthread.php?t=39361 I have a follow up.
If I try and load a plugin, which tries to instantiate one single interface, and return false on fail, MM:S still seems to load it, because if i then fix the error, and reload, I get a "plugin already loaded with id #" message.
Also, I've noticed lately the only way to properly test a linux dedicated that I have access to, is to add double /'s in the line. Ill explain...
I have a stub plugin, tries to load an IVEngine interface, and then checks the pointer, returns false on fail, then hooks some engine functions. On server start, it doesnt load, leaves a FAIL in meta list. If I use the following line it seg faults..
Code:
meta load addons/deadvox/bin/deadvox_mm
But, if I use the following line...
Code:
meta load addons/deadvox//bin/deadvox_mm
( // can be anywhere in the linx )
It returns the error message expected about not finding the interface.
So, if I fix the error, and use the line above with double /'s, it loads the plugin but tells me the 'already loaded' error message.
Oh, also, if a plugin returns false before any hooks are made, the hooks seem to still be getting hooked ! Because as soon as one is fired the server seg faults.
Im almost sure all of these bugs are linux only.
Hope this helps !
__________________