[hlcoders] Client File Download

2008-09-09 Thread Haza
Is there a way I can make the client download certain custom files(like lua scripts) from the server? Or would I have to write my own code to send the custom files to the client? Cheers, Haza ___ To unsubscribe, edit your list preferences, or view

Re: [hlcoders] Client File Download

2008-09-09 Thread Tom Leighton
You can use the map res files which will initiate the download of those files. There is a way in code (I believe) to control this aswell, however, I do not know how to do it exactly. Haza wrote: Is there a way I can make the client download certain custom files(like lua scripts) from the

Re: [hlcoders] Client File Download

2008-09-09 Thread LDuke
I believe the lua extension is blocked from being downloaded due to issues of abuse by server admins forcing bad scripts on the clients. On Tue, Sep 9, 2008 at 4:29 AM, Haza [EMAIL PROTECTED] wrote: Is there a way I can make the client download certain custom files(like lua scripts) from the

Re: [hlcoders] Client File Download

2008-09-09 Thread Tom Leighton
Oh yeah, forgot to mention that. It was done so to prevent Lua viruses downloading on gmod 9 (Garry uses a custom download thing in gmod 10) LDuke wrote: I believe the lua extension is blocked from being downloaded due to issues of abuse by server admins forcing bad scripts on the clients.

[hlcoders] Question about CUtlVector.

2008-09-09 Thread A.Oliver
Hi, my mod is suffering random crashes each certain amount of time and the mini dumps don't point to any useful piece of code. Well, the call stack traces parts of the code I never modified and I had a similar experience previously which confirmed such call stacks are trash basically. Here is:

Re: [hlcoders] Question about CUtlVector.

2008-09-09 Thread botman
A.Oliver wrote: Hi, my mod is suffering random crashes each certain amount of time and the mini dumps don't point to any useful piece of code. Well, the call stack traces parts of the code I never modified and I had a similar experience previously which confirmed such call stacks are trash

Re: [hlcoders] Question about CUtlVector.

2008-09-09 Thread Justin Krenz
If you run your server from the debugger, then you can get a full memory dump with heap when the crash occurs. That's a lot more help than a vague mini dump. On Tue, Sep 9, 2008 at 2:57 PM, botman [EMAIL PROTECTED] wrote: A.Oliver wrote: Hi, my mod is suffering random crashes each certain

Re: [hlcoders] Client File Download

2008-09-09 Thread Haza
This isn't for Garry's mod, I was wondering how I can send them using source sdk, and I'd rather use valve's download handling code. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Question about CUtlVector.

2008-09-09 Thread Haza
CUtlVector's destructor calls the destructors of all its elements. There should be no memory leaks when using a CUtlVector or CUtlMap. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Client File Download

2008-09-09 Thread Tom Leighton
What we've just told you. Valve blocks .lua files at the engine level. You need to think of another extension, and use whatever the map res files use to send them over. Haza wrote: This isn't for Garry's mod, I was wondering how I can send them using source sdk, and I'd rather use valve's

Re: [hlcoders] Client File Download

2008-09-09 Thread Nick
USE WGET. On Tue, Sep 9, 2008 at 6:53 PM, Tom Leighton [EMAIL PROTECTED] wrote: What we've just told you. Valve blocks .lua files at the engine level. You need to think of another extension, and use whatever the map res files use to send them over. Haza wrote: This isn't for Garry's mod, I