Ya, Mike promised me he would look into it. When you unload a plugin, it never really gets unloaded. UnloadModule never seems to get called on the DLL, so it is still loaded in RAM and therefore the DLL cannot be deleted or replaced since it is in use. I wanted to be able to use plugin_unload to unload my plugin, update the DLL, and then load it again, but it instead I have to restart the server.
However, the issue you mentioned isn't the same as the one I am experiencing. As far as I know, if I run plugin_unload for my plugin, it will stop receiving any function calls. Have you tried typing "plugin_unload MyPlugin" in the console and seeing if it still receives GameFrame calls like it does if you run the command from the code? Perhaps you're getting bizarre issues since you are trying to unload your plugin from the very same plugin. I dunno, just a thought. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Kammersgaard Sent: Saturday, September 01, 2007 6:41 PM To: [email protected] Subject: Re: [hlcoders] Is there a Bug in the Engine with Plugins??? -- [ Picked text/plain from multipart/alternative ] I believe this is a bug, it was mentioned here earlier. :-) Think Mike promissed to look into it, but I haven't heard anything about it. /ProZak On 02/09/07, Ratman2000 <[EMAIL PROTECTED]> wrote: > > Hello, > > i have written a small plugin what removes only a special entity from a > Map > and Unloads > itself after doing that... > > So i have added a small log text to Game Frame to see whats doing becouse > the unload... > > So i have startet it, the plugin starts, removes the entity and unloads > fine... > > But after server activate, my plugin begins to printing the Game Frame > Funktion AFTER unloading the Plugin > > whats wrong??? Why CS:S calls the Plugin after its Unloaded??? > > Why we can unload plugins, when they dont get unloaded??? > > I call in my Plugin in Load this: > > Engine->ServerCommand( "plugin_unload MyPlugin\n" ); > > Is there a bug or a "feature"??? > > With friendly Reguards from Germany > > Ratman2000 > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

