You can do filesystem->UnloadModule (I think that's the one). If you do
that, it's going to crash because it will try to execute the next line of
your plugin, but it will have been unloaded so therefore the memory will not
be executable. So, in regards to what you are looking for, no, there is no
function you can call to unload your plugin. The only thing I can think of
is what you already tried, Engine->ServerCommand( "plugin_unload MyPlugin\n"
). But, if you don't mind me asking, why must you unload the plugin? What's
wrong with leaving it?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ratman2000
Sent: Monday, September 03, 2007 9:53 PM
To: [email protected]
Subject: Re: [hlcoders] Is there a Bug in the Engine with Plugins???

Hello,

i like the Valve Interface... i have no problems with it..

Ok its a very bit to small / not enaugth functions
but all is fine with it for me... All what you can do without
the Intervace, you can do with the same way with the interface :)
You only need to know what you are doing :P

Is there a work around to clear the plugin manual Alfred / Mike?

Or can you tell the Function, we need to call to free the plugin manual?
(Like memory function name or other to call it to free the plugin it self!)

With friendly Reguard

Ratman2000

----- Original Message -----
From: "Spencer 'voogru' MacDonald" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 04, 2007 4:29 AM
Subject: RE: [hlcoders] Is there a Bug in the Engine with Plugins???


> I agree.
>
> The Valve plug-in interface is a slap in the face.
>
> - voogru.
>
>
> -----Original Message-----
> From: dackz [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 03, 2007 10:06 PM
> To: [email protected]
> Subject: Re: [hlcoders] Is there a Bug in the Engine with Plugins???
>
> Don't use Valve's poorly implemented and poorly documented plugin
> interface and you'll be much better off. There are alternatives, you
> know.
>
> On 9/1/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"???
>
> _______________________________________________
> 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



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to