it happened to me once, i had to rebuild the entire project for the command to work.
try doing that, maybe it will help. On Wed, Sep 8, 2010 at 8:32 AM, Chris Courtney <chriscourtne...@gmail.com>wrote: > > Hey guys, I've been trying to get a simple console > > command working in the sdk, when i run it it says "unknown commad" in > the console. > > I want to be able to run a specific function from the console and > using godmode > > as an example this should be all I need: > > void MyFunction_f( void ) > > { > > Msg("This is my function\n"); > > } > > ConCommand my_function( "my_function", MyFunction_f, "Shows a > message.", > > FCVAR_CHEAT ); > > > > What am I missing? > > Thanks > > On , hlcoders-requ...@list.valvesoftware.com wrote: > > > Send hlcoders mailing list submissions to > > > hlcoders@list.valvesoftware.com > > > > - Ignored: > > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > or, via email, send a message with subject or body 'help' to > > > > > hlcoders-requ...@list.valvesoftware.com > > > > > > > > > You can reach the person managing the list at > > > > > hlcoders-ow...@list.valvesoftware.com > > > > > > > > > When replying, please edit your Subject line so it is more specific > > > > > than "Re: Contents of hlcoders digest..." > > > > > > > > > > > > > Today's Topics: > > > > > > > > > 1. Asynchronous threads (Tom Edwards) > > > > > 2. Re: Asynchronous threads (Olly) > > > > > 3. Re: Asynchronous threads (Saul Rennison) > > > > > 4. Weapon_sdkbase.h (Garrigan Stafford) > > > > > 5. Re: Asynchronous threads (Harry Pidcock) > > > > > 6. Re: Asynchronous threads (Tom Edwards) > > > > > 7. Re: Weapon_sdkbase.h (Adam "amckern" McKern) > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > > Message: 1 > > > > > Date: Mon, 06 Sep 2010 20:16:52 +0100 > > > > > From: Tom Edwards t_edwa...@btinternet.com> > > > > > Subject: [hlcoders] Asynchronous threads > > > > > To: hlcoders hlcoders@list.valvesoftware.com> > > > > > Message-ID: 4c853e24.8040...@btinternet.com> > > > > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads off > > > > > to an asynch thread, but I can't work out how to do it: all of the > > > > > approaches I've tried have frozen the server while processing. Will > any > > > > > of Source's built-in thread classes actually do what I want? > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 2 > > > > > Date: Mon, 6 Sep 2010 20:26:48 +0100 > > > > > From: Olly oli...@gmail.com> > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > To: Discussion of Half-Life Programming > > > > > hlcoders@list.valvesoftware.com> > > > > > Message-ID: > > > > > > > aanlktimxp-lvppbd2qd1puoe1h7gjfdqf5cpfom+t...@mail.gmail.com<aanlktimxp-lvppbd2qd1puoe1h7gjfdqf5cpfom%2bt...@mail.gmail.com> > > > > > > > Content-Type: text/plain; charset=UTF-8 > > > > > > > > > Take a look at //public/tier0/threadtools.h > > > > > > > > > unsigned MyThread( void *params ) > > > > > { > > > > > // cast params back to MyThreadParams_t or whatever > > > > > // Do thread stuff here > > > > > } > > > > > > > > > // ----------- > > > > > > > > > struct MyThreadParams_t > > > > > { > > > > > int iVar; > > > > > float flFloat; > > > > > } > > > > > > > > > > > > > MyThreadParams_t *some_params = new MyThreadParams_t; > > > > > some_params.iVar = 1; > > > > > some_params.flFloat = 0.3f; > > > > > CreateSimpleThread( MyThread, some_params ); > > > > > > > > > > > > > VEEERY simple example, but the MyThread function will run in a > seperate > > > > > thread (along with any subsequent calls from that function). > > > > > > > > > > > > > Olly > > > > > > > > > On 6 September 2010 20:16, Tom Edwards t_edwa...@btinternet.com> > wrote: > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads > off to > > > an > > > > > > asynch thread, but I can't work out how to do it: all of the > approaches > > > I've > > > > > > tried have frozen the server while processing. Will any of > Source's > > > built-in > > > > > > thread classes actually do what I want? > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > please visit: > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 3 > > > > > Date: Mon, 6 Sep 2010 20:27:36 +0100 > > > > > From: Saul Rennison saul.renni...@gmail.com> > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > To: Discussion of Half-Life Programming > > > > > hlcoders@list.valvesoftware.com> > > > > > Message-ID: > > > > > n0ico...@mail.gmail.com> > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > > > > Tried just sending them asynchronously? via WSASend or some other > > > > > non-blocking socket call? > > > > > > > > > Thanks, > > > > > - Saul. > > > > > > > > > > > > > On 6 September 2010 20:16, Tom Edwards t_edwa...@btinternet.com> > wrote: > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads > off to > > > an > > > > > > asynch thread, but I can't work out how to do it: all of the > approaches > > > I've > > > > > > tried have frozen the server while processing. Will any of > Source's > > > built-in > > > > > > thread classes actually do what I want? > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > please visit: > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 4 > > > > > Date: Mon, 6 Sep 2010 20:20:01 -0500 > > > > > From: Garrigan Stafford matori...@gmail.com> > > > > > Subject: [hlcoders] Weapon_sdkbase.h > > > > > To: hlcoders@list.valvesoftware.com > > > > > Message-ID: > > > > > aanlktimtnptzy78vifs6vjsfowukbhba1zgdckjuq...@mail.gmail.com> > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > > > > Every Time I try to compile my Multyplayer mod it says it cannot > find > > > > > weapon_sdkbase.h > > > > > I cant find in the src folder. > > > > > I dont know what to do > > > > > Please Help > > > > > Thanks for your troubles > > > > > > > > > -- > > > > > Garrigan Stafford > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 5 > > > > > Date: Tue, 7 Sep 2010 11:29:52 +1000 > > > > > From: "Harry Pidcock" haz...@tpg.com.au> > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > To: "Discussion of Half-Life Programming" > > > > > hlcoders@list.valvesoftware.com> > > > > > Message-ID: > > > > > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > > > > > reply-type=original > > > > > > > > > Use cURL lib to do any HTTP/HTTPS etc. > > > > > > > > > -------------------------------------------------- > > > > > From: "Tom Edwards" t_edwa...@btinternet.com> > > > > > Sent: Tuesday, September 07, 2010 5:16 AM > > > > > To: "hlcoders" hlcoders@list.valvesoftware.com> > > > > > Subject: [hlcoders] Asynchronous threads > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads > off > > > > > > to an asynch thread, but I can't work out how to do it: all of the > > > > > > approaches I've tried have frozen the server while processing. > Will any > > > > > > of Source's built-in thread classes actually do what I want? > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > please visit: > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > No virus found in this incoming message. > > > > > > Checked by AVG - www.avg.com > > > > > > Version: 9.0.851 / Virus Database: 271.1.1/3118 - Release Date: > 09/07/10 > > > > > > 04:34:00 > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 6 > > > > > Date: Tue, 07 Sep 2010 08:42:13 +0100 > > > > > From: Tom Edwards t_edwa...@btinternet.com> > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > To: Discussion of Half-Life Programming > > > > > hlcoders@list.valvesoftware.com> > > > > > Message-ID: 4c85ecd5.10...@btinternet.com> > > > > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > > > > > > Thanks Olly, that's what I'm after and it's so much simpler than > > > > > CWorkerThread! > > > > > > > > > Harry, I am already using curl. It doesn't thread by itself. > > > > > > > > > On 06/09/2010 8:26, Olly wrote: > > > > > > Take a look at //public/tier0/threadtools.h > > > > > > > > > > > > unsigned MyThread( void *params ) > > > > > > { > > > > > > // cast params back to MyThreadParams_t or whatever > > > > > > // Do thread stuff here > > > > > > } > > > > > > > > > > > > // ----------- > > > > > > > > > > > > struct MyThreadParams_t > > > > > > { > > > > > > int iVar; > > > > > > float flFloat; > > > > > > } > > > > > > > > > > > > > > > > > > MyThreadParams_t *some_params = new MyThreadParams_t; > > > > > > some_params.iVar = 1; > > > > > > some_params.flFloat = 0.3f; > > > > > > CreateSimpleThread( MyThread, some_params ); > > > > > > > > > > > > > > > > > > VEEERY simple example, but the MyThread function will run in a > seperate > > > > > > thread (along with any subsequent calls from that function). > > > > > > > > > > > > > > > > > > Olly > > > > > > > > > > > > On 6 September 2010 20:16, Tom edwardst_edwa...@btinternet.com> > wrote: > > > > > > > > > > > >> Hi everyone. I'm trying to push a set of sizeable HTTP downloads > off > > > to an > > > > > >> asynch thread, but I can't work out how to do it: all of the > > > approaches I've > > > > > >> tried have frozen the server while processing. Will any of > Source's > > > built-in > > > > > >> thread classes actually do what I want? > > > > > >> > > > > > >> > > > > > >> _______________________________________________ > > > > > >> 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > Message: 7 > > > > > Date: Tue, 7 Sep 2010 00:48:33 -0700 (PDT) > > > > > From: "Adam \"amckern\" McKern" amck...@yahoo.com> > > > > > Subject: Re: [hlcoders] Weapon_sdkbase.h > > > > > To: Discussion of Half-Life Programming > > > > > hlcoders@list.valvesoftware.com> > > > > > Message-ID: 365693.80964...@web33507.mail.mud.yahoo.com> > > > > > Content-Type: text/plain; charset=utf-8 > > > > > > > > > I asked google, and this is what she said > > > > > > > > > http://pastebin.com/0zmCaGPF > > > > > > > > > -------- > > > > > Owner Nigredo Studios http://www.nigredostudios.com > > > > > > > > > --- On Tue, 7/9/10, Garrigan Stafford matori...@gmail.com> wrote: > > > > > > > > > From: Garrigan Stafford matori...@gmail.com> > > > > > Subject: [hlcoders] Weapon_sdkbase.h > > > > > To: hlcoders@list.valvesoftware.com > > > > > Received: Tuesday, 7 September, 2010, 11:20 AM > > > > > > > > > Every Time I try to compile my Multyplayer mod it says it cannot > find > > > > > weapon_sdkbase.h > > > > > I cant find in the src folder. > > > > > I dont know what to do > > > > > Please Help > > > > > Thanks for your troubles > > > > > > > > > -- > > > > > Garrigan Stafford > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > > > > > > > End of hlcoders Digest, Vol 31, Issue 8 > > > > > *************************************** > > > > > > - Done. > > > > > > > > ---------- Forwarded message ---------- > > From: chriscourtne...@gmail.com > > To: hlcoders-requ...@list.valvesoftware.com > > Date: Wed, 08 Sep 2010 14:28:36 +0000 > > Subject: Simple console command > > Hey, I tried to implement my own console command so that I can > > run a specific function from the console. I am trying just to get a basic > output string > > to the console but it keeps saying "unknown command". > > > > Obviously I am missing a declaration somewhere but I've tried putting the > following > > in client.dll using godmode as an example > > > > [code] > > void MyFunction_f( void ) > > { > > Msg("This is my function\n"); > > } > > ConCommand my_function( "my_function", MyFunction_f, "Shows a message.", > FCVAR_CHEAT ); > > [/code] > > > > What am I missing? > > Thanks > > > > On , hlcoders-requ...@list.valvesoftware.com wrote: > > > Send hlcoders mailing list submissions to > > > > > > hlcoders@list.valvesoftware.com > > > > > > > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > or, via email, send a message with subject or body 'help' to > > > > > > hlcoders-requ...@list.valvesoftware.com > > > > > > > > > > > > You can reach the person managing the list at > > > > > > hlcoders-ow...@list.valvesoftware.com > > > > > > > > > > > > When replying, please edit your Subject line so it is more specific > > > > > > than "Re: Contents of hlcoders digest..." > > > > > > > > > > > > > > > > > > Today's Topics: > > > > > > > > > > > > 1. Asynchronous threads (Tom Edwards) > > > > > > 2. Re: Asynchronous threads (Olly) > > > > > > 3. Re: Asynchronous threads (Saul Rennison) > > > > > > 4. Weapon_sdkbase.h (Garrigan Stafford) > > > > > > 5. Re: Asynchronous threads (Harry Pidcock) > > > > > > 6. Re: Asynchronous threads (Tom Edwards) > > > > > > 7. Re: Weapon_sdkbase.h (Adam "amckern" McKern) > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > > > > > > > > > Message: 1 > > > > > > Date: Mon, 06 Sep 2010 20:16:52 +0100 > > > > > > From: Tom Edwards t_edwa...@btinternet.com> > > > > > > Subject: [hlcoders] Asynchronous threads > > > > > > To: hlcoders hlcoders@list.valvesoftware.com> > > > > > > Message-ID: 4c853e24.8040...@btinternet.com> > > > > > > Content-Type: text/plain; charset=UTF-8; format=flowed > > > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads off > > > > > > to an asynch thread, but I can't work out how to do it: all of the > > > > > > approaches I've tried have frozen the server while processing. Will any > > > > > > of Source's built-in thread classes actually do what I want? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 2 > > > > > > Date: Mon, 6 Sep 2010 20:26:48 +0100 > > > > > > From: Olly oli...@gmail.com> > > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > > To: Discussion of Half-Life Programming > > > > > > hlcoders@list.valvesoftware.com> > > > > > > Message-ID: > > > > > > > > > aanlktimxp-lvppbd2qd1puoe1h7gjfdqf5cpfom+t...@mail.gmail.com<aanlktimxp-lvppbd2qd1puoe1h7gjfdqf5cpfom%2bt...@mail.gmail.com> > > > > > > > > Content-Type: text/plain; charset=UTF-8 > > > > > > > > > > > > Take a look at //public/tier0/threadtools.h > > > > > > > > > > > > unsigned MyThread( void *params ) > > > > > > { > > > > > > // cast params back to MyThreadParams_t or whatever > > > > > > // Do thread stuff here > > > > > > } > > > > > > > > > > > > // ----------- > > > > > > > > > > > > struct MyThreadParams_t > > > > > > { > > > > > > int iVar; > > > > > > float flFloat; > > > > > > } > > > > > > > > > > > > > > > > > > MyThreadParams_t *some_params = new MyThreadParams_t; > > > > > > some_params.iVar = 1; > > > > > > some_params.flFloat = 0.3f; > > > > > > CreateSimpleThread( MyThread, some_params ); > > > > > > > > > > > > > > > > > > VEEERY simple example, but the MyThread function will run in a seperate > > > > > > thread (along with any subsequent calls from that function). > > > > > > > > > > > > > > > > > > Olly > > > > > > > > > > > > On 6 September 2010 20:16, Tom Edwards t_edwa...@btinternet.com> > wrote: > > > > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads off > to an > > > > > > > asynch thread, but I can't work out how to do it: all of the > approaches I've > > > > > > > tried have frozen the server while processing. Will any of Source's > built-in > > > > > > > thread classes actually do what I want? > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > > please visit: > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 3 > > > > > > Date: Mon, 6 Sep 2010 20:27:36 +0100 > > > > > > From: Saul Rennison saul.renni...@gmail.com> > > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > > To: Discussion of Half-Life Programming > > > > > > hlcoders@list.valvesoftware.com> > > > > > > Message-ID: > > > > > > n0ico...@mail.gmail.com> > > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > > > > > > > Tried just sending them asynchronously? via WSASend or some other > > > > > > non-blocking socket call? > > > > > > > > > > > > Thanks, > > > > > > - Saul. > > > > > > > > > > > > > > > > > > On 6 September 2010 20:16, Tom Edwards t_edwa...@btinternet.com> > wrote: > > > > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads off > to an > > > > > > > asynch thread, but I can't work out how to do it: all of the > approaches I've > > > > > > > tried have frozen the server while processing. Will any of Source's > built-in > > > > > > > thread classes actually do what I want? > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > > please visit: > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 4 > > > > > > Date: Mon, 6 Sep 2010 20:20:01 -0500 > > > > > > From: Garrigan Stafford matori...@gmail.com> > > > > > > Subject: [hlcoders] Weapon_sdkbase.h > > > > > > To: hlcoders@list.valvesoftware.com > > > > > > Message-ID: > > > > > > aanlktimtnptzy78vifs6vjsfowukbhba1zgdckjuq...@mail.gmail.com> > > > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > > > > > > > Every Time I try to compile my Multyplayer mod it says it cannot find > > > > > > weapon_sdkbase.h > > > > > > I cant find in the src folder. > > > > > > I dont know what to do > > > > > > Please Help > > > > > > Thanks for your troubles > > > > > > > > > > > > -- > > > > > > Garrigan Stafford > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 5 > > > > > > Date: Tue, 7 Sep 2010 11:29:52 +1000 > > > > > > From: "Harry Pidcock" haz...@tpg.com.au> > > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > > To: "Discussion of Half-Life Programming" > > > > > > hlcoders@list.valvesoftware.com> > > > > > > Message-ID: > > > > > > Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > > > > > > reply-type=original > > > > > > > > > > > > Use cURL lib to do any HTTP/HTTPS etc. > > > > > > > > > > > > -------------------------------------------------- > > > > > > From: "Tom Edwards" t_edwa...@btinternet.com> > > > > > > Sent: Tuesday, September 07, 2010 5:16 AM > > > > > > To: "hlcoders" hlcoders@list.valvesoftware.com> > > > > > > Subject: [hlcoders] Asynchronous threads > > > > > > > > > > > > > Hi everyone. I'm trying to push a set of sizeable HTTP downloads off > > > > > > > to an asynch thread, but I can't work out how to do it: all of the > > > > > > > approaches I've tried have frozen the server while processing. Will > any > > > > > > > of Source's built-in thread classes actually do what I want? > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > > > please visit: > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > No virus found in this incoming message. > > > > > > > Checked by AVG - www.avg.com > > > > > > > Version: 9.0.851 / Virus Database: 271.1.1/3118 - Release Date: > 09/07/10 > > > > > > > 04:34:00 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 6 > > > > > > Date: Tue, 07 Sep 2010 08:42:13 +0100 > > > > > > From: Tom Edwards t_edwa...@btinternet.com> > > > > > > Subject: Re: [hlcoders] Asynchronous threads > > > > > > To: Discussion of Half-Life Programming > > > > > > hlcoders@list.valvesoftware.com> > > > > > > Message-ID: 4c85ecd5.10...@btinternet.com> > > > > > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > > > > > > > > > Thanks Olly, that's what I'm after and it's so much simpler than > > > > > > CWorkerThread! > > > > > > > > > > > > Harry, I am already using curl. It doesn't thread by itself. > > > > > > > > > > > > On 06/09/2010 8:26, Olly wrote: > > > > > > > Take a look at //public/tier0/threadtools.h > > > > > > > > > > > > > > unsigned MyThread( void *params ) > > > > > > > { > > > > > > > // cast params back to MyThreadParams_t or whatever > > > > > > > // Do thread stuff here > > > > > > > } > > > > > > > > > > > > > > // ----------- > > > > > > > > > > > > > > struct MyThreadParams_t > > > > > > > { > > > > > > > int iVar; > > > > > > > float flFloat; > > > > > > > } > > > > > > > > > > > > > > > > > > > > > MyThreadParams_t *some_params = new MyThreadParams_t; > > > > > > > some_params.iVar = 1; > > > > > > > some_params.flFloat = 0.3f; > > > > > > > CreateSimpleThread( MyThread, some_params ); > > > > > > > > > > > > > > > > > > > > > VEEERY simple example, but the MyThread function will run in a > seperate > > > > > > > thread (along with any subsequent calls from that function). > > > > > > > > > > > > > > > > > > > > > Olly > > > > > > > > > > > > > > On 6 September 2010 20:16, Tom edwardst_edwa...@btinternet.com> > wrote: > > > > > > > > > > > > > >> Hi everyone. I'm trying to push a set of sizeable HTTP downloads > off to an > > > > > > >> asynch thread, but I can't work out how to do it: all of the > approaches I've > > > > > > >> tried have frozen the server while processing. Will any of Source's > built-in > > > > > > >> thread classes actually do what I want? > > > > > > >> > > > > > > >> > > > > > > >> _______________________________________________ > > > > > > >> 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------ > > > > > > > > > > > > Message: 7 > > > > > > Date: Tue, 7 Sep 2010 00:48:33 -0700 (PDT) > > > > > > From: "Adam \"amckern\" McKern" amck...@yahoo.com> > > > > > > Subject: Re: [hlcoders] Weapon_sdkbase.h > > > > > > To: Discussion of Half-Life Programming > > > > > > hlcoders@list.valvesoftware.com> > > > > > > Message-ID: 365693.80964...@web33507.mail.mud.yahoo.com> > > > > > > Content-Type: text/plain; charset=utf-8 > > > > > > > > > > > > I asked google, and this is what she said > > > > > > > > > > > > http://pastebin.com/0zmCaGPF > > > > > > > > > > > > -------- > > > > > > Owner Nigredo Studios http://www.nigredostudios.com > > > > > > > > > > > > --- On Tue, 7/9/10, Garrigan Stafford matori...@gmail.com> wrote: > > > > > > > > > > > > From: Garrigan Stafford matori...@gmail.com> > > > > > > Subject: [hlcoders] Weapon_sdkbase.h > > > > > > To: hlcoders@list.valvesoftware.com > > > > > > Received: Tuesday, 7 September, 2010, 11:20 AM > > > > > > > > > > > > Every Time I try to compile my Multyplayer mod it says it cannot find > > > > > > weapon_sdkbase.h > > > > > > I cant find in the src folder. > > > > > > I dont know what to do > > > > > > Please Help > > > > > > Thanks for your troubles > > > > > > > > > > > > -- > > > > > > Garrigan Stafford > > > > > > _______________________________________________ > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > End of hlcoders Digest, Vol 31, Issue 8 > > > > > > *************************************** > > > > > _______________________________________________ > 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