Re: [hlcoders] Stencil shadowing and VAC

2010-10-22 Thread David Kraeutmann
VAC works with blacklists usually; however it might detect modifications to game executables too; doubt it though. On Tue, Oct 12, 2010 at 9:06 AM, Braeden Thomas Lynden boesch1...@gmail.com wrote:  On 12/10/10 5:51 PM, Krzysztof Krysztofiak wrote: Hello ! I recently worked with stencil

Re: [hlcoders] weapon_sdkbase.h

2010-08-30 Thread David Kraeutmann
Try installing the template SDK. On Tue, Aug 31, 2010 at 4:54 AM, Garrigan Stafford matori...@gmail.com wrote: I have tried to compile my multypayer mod and it says that it cannot include weapon_sdkbase.h I havent be able to find it inside the src folder so i dont know i havent or not.

Re: [hlcoders] Dugs in sdk update

2010-05-11 Thread David Kraeutmann
, 2010 at 5:37 PM, Spencer 'voogru' MacDonald voo...@voogru.com wrote: Besides that scripts are ugly as hell from a C++ coder's point of view. Fixed. -Original Message- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of David

Re: [hlcoders] Dugs in sdk update

2010-05-10 Thread David Kraeutmann
Besides that Uscript is ugly as hell from a C++ coder's point of view. On Mon, May 10, 2010 at 10:28 PM, Dexter dex...@linux.com wrote: Sure, let me just port all this C++ code to Uscript really quick .. :) On Mon, May 10, 2010 at 1:27 PM, Ryan Sheffer darksk...@gmail.com wrote: Download the

Re: [hlcoders] VS2010 vprojtomake Utility Update

2010-04-25 Thread David Kraeutmann
The only interesting thing is VS2010 support. I have no problem with xerces-c. On Sun, Apr 25, 2010 at 7:53 PM, Stephen Micheals stephen.miche...@gmail.com wrote: No more xerces? thats damn nice. Nice work. On Sat, Apr 24, 2010 at 6:46 PM, Jonathan White killermonke...@gmail.com wrote:

Re: [hlcoders] A more detailed picture of the Potentially Visible Set (PVS)

2010-04-22 Thread David Kraeutmann
That's a question like 'What flour are you using? Wheat flour, Rye flour or muffins?' On 4/22/10, Harry Jeffery harry101jeff...@googlemail.com wrote: Out of curiosity which library are you coding the graphics in? DirectX, OpenGL or something like Ogre? On 22 April 2010 20:07, Ryan Sheffer

Re: [hlcoders] (no subject)

2010-04-16 Thread David Kraeutmann
Ragequit. At it's best... SCNR. On a more serious note: I guess you'd have to look at the VGUI code to see how/when the mouse cursor is disabled by the engine/vgui controls. I'm sure the mouse cursor is shown in empires when viewing the scoreboard, I could take a look at it. On 4/16/10, Brent

Re: [hlcoders] VS2010

2010-04-13 Thread David Kraeutmann
If I recall correctly, Marek Sieradzki said that VS2010's C++ support isn't very good ATM and crashes. On Tue, Apr 13, 2010 at 7:29 AM, Bob Somers magicbob...@gmail.com wrote: It's out now, if you haven't heard. http://www.microsoft.com/visualstudio/en-us/ Did anyone here on the list use the

Re: [hlcoders] Passing data

2010-03-22 Thread David Kraeutmann
Better use CBaseHandleCBaseEntity (alias EHANDLE) On Mon, Mar 22, 2010 at 4:25 AM, Brent Lewis coder0...@hotmail.com wrote: I have a logic entity that handles some IO stuff but needs to be able to interact with the user via a vgui panel in the HUD. Is it safe to pass pointers and call

Re: [hlcoders] Steam 'Connect'

2010-03-22 Thread David Kraeutmann
Strange, it doesn't work for me... On Mon, Mar 22, 2010 at 5:06 PM, Tom Edwards t_edwa...@btinternet.com wrote: Oh yeah? Spill the beans! :p On 22/03/2010 12:03, Tobias Kammersgaard wrote: Valve is currently using Steam login shizzle on a new site which they're testing in closed beta

Re: [hlcoders] Steam 'Connect'

2010-03-21 Thread David Kraeutmann
It was never fully implemented. https://steamcommunity.com/openid/login returns main page. On Mon, Mar 22, 2010 at 12:44 AM, David Kellaway david.kella...@member.fsf.org wrote: It's a real shame the OpenID provider doesn't work properly (DotNetOpenAuth rejects it because it's not fully

Re: [hlcoders] I intend to make a free software alternative to VBCT

2010-03-18 Thread David Kraeutmann
LGPL is useless for standalone apps. BSD-style licenses are good tho'. On Thu, Mar 18, 2010 at 9:50 AM, Marek Sieradzki marek.sierad...@gmail.com wrote: My vision is to create an user-friendly general purpose batch compile tool for Source Mods. It should be written in pure C++ and licensed

Re: [hlcoders] Of hats, bonemerged models and things.

2010-02-02 Thread David Kraeutmann
Yes, this should be a client side entity but I don't know whether you can merge it. You only can make it behave like a physics prop with the usual commands (VPhysicsInitNormal ...), but there still will be updates of course, but not really a lot, I don't know why you worrying about that as

Re: [hlcoders] how to use cvars? (removing whitespaces)

2009-12-10 Thread David Kraeutmann
void RemoveWhitespaceCallback(IConVar *var, const char *pOldValue, float flOldValue) { ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] how to use cvars? (removing whitespaces)

2009-12-09 Thread David Kraeutmann
Declare a function with return type and parameters matching the prototype below: void ChangeCallback( IConVar* var, const char* pOldValue, float pOldValue ); Then implement it (read the old value into a temporary string, say, a CUtlString, strip the spaces, then set the new value using

Re: [hlcoders] Looking for some advice and direction

2009-11-25 Thread David Kraeutmann
Vehicles have a couple of specific physics rules, I'd suggest creating a CVehiclePlayer which extends some vehicle class or interface and implements the needed methods. On 11/25/09, Matt Hoffman lord.matt.hoff...@gmail.com wrote: Why not replacing the player with a vehicle, and making him fast?

Re: [hlcoders] Looking for some advice and direction

2009-11-25 Thread David Kraeutmann
...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of David Kraeutmann Sent: Wednesday, November 25, 2009 6:21 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Looking for some advice and direction Vehicles have a couple of specific physics rules, I'd suggest

Re: [hlcoders] Looking for some advice and direction

2009-11-25 Thread David Kraeutmann
wrote: I always was impressed with Empires lack of traditional mp vehicle view lag. Still want multiple-body groups for them though. :P On Wed, Nov 25, 2009 at 6:27 AM, David Kraeutmann da...@davidkra.net wrote: We somehow solved that problem in Empires, need to lookup tho how. Maybe

Re: [hlcoders] Looking for some advice and direction

2009-11-25 Thread David Kraeutmann
Ours, but some Valve code is mess too :) On Wed, Nov 25, 2009 at 10:37 PM, Matt Hoffman lord.matt.hoff...@gmail.com wrote: Who's code, yours or valve's? ;) On Wed, Nov 25, 2009 at 1:29 PM, David Kraeutmann da...@davidkra.netwrote: I can clean it up and post there. It's a real mess tbh

Re: [hlcoders] Looking for some advice and direction

2009-11-25 Thread David Kraeutmann
Krenzo learned to code by writing Empires, now we've got to clean up... On Wed, Nov 25, 2009 at 11:41 PM, David Kraeutmann da...@davidkra.net wrote: Ours, but some Valve code is mess too :) On Wed, Nov 25, 2009 at 10:37 PM, Matt Hoffman lord.matt.hoff...@gmail.com wrote: Who's code, yours

Re: [hlcoders] Source control solution?

2009-08-24 Thread David Kraeutmann
I would recommend git On 8/24/09, Olly oli...@gmail.com wrote: SourceSafe is a bit different to SVN, but SVN is alot like CVS (as well as most new version control systems). You should try to get some more knowledge of SVN because its probably the best solution (and sounds like you are using

Re: [hlcoders] Source control solution?

2009-08-24 Thread David Kraeutmann
We tried both hg and git. Git was way faster and more stable than hg. Also, hg is more resource-intensive. I recommend cygwin git and using the git over SSH protocol. On 8/24/09, Bob Somers magicbob...@gmail.com wrote: With SVN, the tags/branches/trunk thing is purely an organizational

Re: [hlcoders] Source control solution?

2009-08-24 Thread David Kraeutmann
TortoiseGIT was the worst git GUI I ever encountered. Also, if anyone needs SVN/git/whatever hosting, write me (it'll be most probably free ;) ) On 8/24/09, Harry Jeffery harry101jeff...@googlemail.com wrote: Just finished sorting out my SVN. I now have all my code safe. I've just got to learn

Re: [hlcoders] Source control solution?

2009-08-24 Thread David Kraeutmann
Perforce seems nice for versioned binary distribution, but it is not free. On 8/24/09, Jonathan Murphy nuclearfri...@gmail.com wrote: Since using Perforce at work, I'd find it hard to return to SVN for any form of binary file management. But it is free... On Tuesday, August 25, 2009, Harry

Re: [hlcoders] Source control solution?

2009-08-24 Thread David Kraeutmann
Cygwin's/linux QT based gui. Forgot how it's called. On 8/24/09, Stephen Micheals stephen.miche...@gmail.com wrote: What other gui's are available for git on windows, i have not been able to find any that were even up to par with Tortoisegit. On Mon, Aug 24, 2009 at 2:31 PM, David

Re: [hlcoders] Where to begin?

2009-08-21 Thread David Kraeutmann
Try CEL/CrystalSpace. On Fri, Aug 21, 2009 at 2:49 PM, Fred Babafredb...@mit.edu wrote: Tha On Fri, Aug 21, 2009 at 7:20 AM, Tom Edwardst_edwa...@btinternet.com wrote: I did that the other week, though only for the game-specific code (so I still have CBaseEntity and all that). I can upload

Re: [hlcoders] My harddrive died overnight. No warning. I lost tons of data.

2009-08-20 Thread David Kraeutmann
We use svn for data files for devs, a svnsync read only mirror of sourcemod_dir for testers and git for source code. We currently evaluate using a steam content server for testing build distribution On 8/20/09, Adam Buckland adamjbuckl...@gmail.com wrote: It'll be interesting to see how much

Re: [hlcoders] My harddrive died overnight. No warning. I lost tons of data.

2009-08-20 Thread David Kraeutmann
Our tester repo is 6 GByte, 3.1 G when loading (checkouting). SC is 1G. I have no idea how much traffic is created. I think about 100G/Month. On 8/20/09, Adam Buckland adamjbuckl...@gmail.com wrote: It'll be interesting to see how much bandwidth you use when you actually release, since people

Re: [hlcoders] My harddrive died overnight. No warning. I lost tons of data.

2009-08-20 Thread David Kraeutmann
Yes. On 8/20/09, Tom Edwards t_edwa...@btinternet.com wrote: So you've got Steamworks? David Kraeutmann wrote: We use svn for data files for devs, a svnsync read only mirror of sourcemod_dir for testers and git for source code. We currently evaluate using a steam content server for testing

Re: [hlcoders] My harddrive died overnight. No warning. I lost tons of data.

2009-08-19 Thread David Kraeutmann
We use git, so every coder has a backup. + additional encrypted ftp backup On 8/19/09, Logan Baldock p3wner...@gmail.com wrote: Harry Jeffery wrote: H I really should get my code under svn before the next sdk update is released. 2009/8/19 Jed j...@wunderboy.org: 2 x 500GB in RAID 1

Re: [hlcoders] My harddrive died overnight. No warning. I lost tons of data.

2009-08-19 Thread David Kraeutmann
I'm the lead dev at Empires, FYI On 8/19/09, Harry Jeffery harry101jeff...@googlemail.com wrote: I never understood having multiple coders unless it's a large scale project. From experience usually only one is enough per mod. 2009/8/19 David Kraeutmann da...@davidkra.net: We use git, so

Re: [hlcoders] Creating a physics entity?

2009-08-17 Thread David Kraeutmann
Look at VPhysicsInitNormal. On Mon, Aug 17, 2009 at 8:36 PM, Dark Cheshire Catdarkcheshire...@gmail.com wrote: Greetings,    I have been a fan of the game and level design in general for some time. I am getting my feet wet in regards to HL2 coding. My current project necessitates the creation

Re: [hlcoders] HL1 Question

2009-07-22 Thread David Kraeutmann
Trial and Error are the most common ways to get knowledge. Stop laughing around. On Thu, Jul 23, 2009 at 12:07 AM, Nickxnicho...@gmail.com wrote: On Tue, Jul 21, 2009 at 10:35 AM, christoph neuwirthta...@hotmail.com wrote: Hello everyone. I started coding around 2 months ago. I´m currently

Re: [hlcoders] Setting C++ project to take #defines from?

2009-07-18 Thread David Kraeutmann
For me (and other coders on the Empires team) it does not. On 7/18/09, Harry Pidcock haz...@tpg.com.au wrote: Edit and Continue works fine. -- From: Olly oli...@gmail.com Sent: Saturday, July 18, 2009 9:40 PM To: Discussion of Half-Life

Re: [hlcoders] G-15 Support?

2009-07-11 Thread David Kraeutmann
Well, if it doesn't work, do it yourself. On Sat, Jul 11, 2009 at 7:23 AM, Christopher Harrischar...@resrchnet.com wrote: Will we ever get the g15.dll to implement direct in-game lcd functionality, or should we just create our own dll from the sdk and use it in place of the one referenced in

Re: [hlcoders] Could not load library client Error

2009-07-07 Thread David Kraeutmann
I think that means that there was an error loading client.dll. Try rebuilding the solution. On 7/7/09, Glen tgp1...@gmail.com wrote: Hi there, when I run the run_bat.bat file, I get an error saying Could not load library client. Help please :) ___

Re: [hlcoders] Could not load library client Error

2009-07-07 Thread David Kraeutmann
...@gmail.com Wait, I have to build it too? Say I'm not into C++ coding, and I just want to completely build my mod as-is, what can I do? On Tue, Jul 7, 2009 at 6:20 AM, David Kraeutmann da...@davidkra.net wrote: I think that means that there was an error loading client.dll. Try

Re: [hlcoders] Detecting Memory Leaks

2009-07-06 Thread David Kraeutmann
Change CBaseEntity to subclass from that class? On 7/6/09, Minh minh...@telus.net wrote: hmm.. yea, it's prolly too late for me to do that but thanks for the suggestion. I think I'm just gonna figure out how to use Memory Validator. Garry Newman wrote: I just derive all my objects from a