Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Janek
I try to find where this callback could be hook for any alias but didn't succeed ;-( Still searching. 2010/4/9 Skillet skillet5...@gmail.com I don't know if checking at runtime whether commands are being executed in a batch as an alias command is possible but it certainly is possible to

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Janek
In fact I found this InstallGlobalChangeCallback but can't use it coz I'm not able to get this alias as a ConCommand. There's probably somethiing different to a standard ConCommand. J. 2010/4/9 Janek jan...@gmail.com I try to find where this callback could be hook for any alias but didn't

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Janek
From what I understand, alias list is stored in memory bu I don't know how to get access to this list. Is there anybody (even in Valve Software) to explain how to access it ? J. 2010/4/9 Janek jan...@gmail.com In fact I found this InstallGlobalChangeCallback but can't use it coz I'm not able

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Olly
Looks like all of this has been moved from Tier1/commandbuffer.cpp into the engine. Doesn't look like there is a way to access aliases from outside the engine. On 9 April 2010 16:35, Janek jan...@gmail.com wrote: From what I understand, alias list is stored in memory bu I don't know how to get

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Janek
Looking at this if 0 it seems you 're right. But we should have a way to access this alias list or being able to handle it. I'm crossing my fingers. I think, only Valve can answer. J. 2010/4/9 Olly oli...@gmail.com Looks like all of this has been moved from Tier1/commandbuffer.cpp into the

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Tony omega Sergi
You have the source to tier1 and can rebuild it. It's a lib, not a dll. You could add additional functionality to it. For example; one thing that I did in an orange box mod was add the ability to unregister console commands, so that I could replace them with my own. -Tony On Sat, Apr 10, 2010

Re: [hlcoders] Getting commands in an alias (autoexec.cfg)

2010-04-09 Thread Skillet
Yep, I just added a couple of functions to the ConCommand class in tier1 for accessing m_fnCommandCallback. http://hlcoders.pastebin.com/MB749bGE On Fri, Apr 9, 2010 at 1:34 PM, Tony omega Sergi omegal...@gmail.comwrote: You have the source to tier1 and can rebuild it. It's a lib, not a dll.