Hello, Friday, February 25, 2005, 2:41:42 PM, you wrote: MvdZ> You pass an integer to the constructor of the second, it should be a MvdZ> string, like the first one.
Thanks, fixed it. Tho i'm still disappointed with the plugin API, especially concommands not getting unregistered when plugins are unloaded, etc. issues i've seen are: 1. the destructor never gets called on plugin unload. 2. no way to unregister plugin commands (and cvars), without messing with the (internal) concommand linked list of the engine. I added a g_plugin_isloaded boolean var, which i set to false on ::Unload(), and the concommands return immediately if it's false. 3. unload a plugin, update the binary file (.so) and then reload it. you'll see it loaded the old version, again. (or it might just crash) to update a plugin binary without restarting the server, you have to first plugin_unload, copy the new .so with a different name (like plugin2_i486.so) and then plugin_load the new file. needless to say after a few trials your "addons" dir is flooded with unused binaries. 4. if a plugin can't be loaded you don't see the error message. alfred was looking into this tho. anyway, hope valve resolves these issues. -- disq _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

