Re: [hlcoders] Bringing up the main menu?

2006-04-11 Thread Tom Parker
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Ahduhthanks!

Alfred Reynolds wrote:
> Issue the "gameui_activate" con command.
>
> - Alfred
>
> Tom Parker wrote:
>
>> I'm sure this topic has been mentioned many times on this list, but I
>> missed it all
>>
>> But, is there any way to bring up the main menu via code?
>>
>> I mean, some other way of bringing it up, instead of the ESC key.
>>
>> We have a mostly mouseable UI, and we'd like to make a HUD button
>> bring
>> up the main menu.
>>
>> I've searched the engine interface high and low, and it seems that
>> there
>> is no clean way to do it, though, perhaps it can be done by hacking
>> the
>> VGUI, but I'd rather just do it the way the engine does.
>>
>>
>>
>> ___
>> 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



[hlcoders] Bringing up the main menu?

2006-04-11 Thread Tom Parker

I'm sure this topic has been mentioned many times on this list, but I
missed it all

But, is there any way to bring up the main menu via code?

I mean, some other way of bringing it up, instead of the ESC key.

We have a mostly mouseable UI, and we'd like to make a HUD button bring
up the main menu.

I've searched the engine interface high and low, and it seems that there
is no clean way to do it, though, perhaps it can be done by hacking the
VGUI, but I'd rather just do it the way the engine does.



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



Re: [hlcoders] Why VectorNormalize?

2006-03-05 Thread Tom Parker

VectorNormalize is Quake legacy code.  I have never worked with
Half-life 1, so, I'm not sure if anything has changed, but,
VectorNomalize, VectorMA VectorSubtract and etc are in all versions of
Quake, as well as the code in low level routines, like "in_main.cpp"

Replacing this code with a more C++ friendly version would require
drastic changes everywhere in the engine, and be more of a pain than a
benefit.  I haven't yet done much vector math in HL2, but I do believe
that the Vector class has C++ style functions for this?

Jorge Rodriguez wrote:

[EMAIL PROTECTED] wrote:


What are talking about with respect to "change"?  Change from what
version to what version?  Looks like it's always been that way.



Half-Life 1.


In any case, you can add another member function without worrying
about engine binary compatibility if you want.



Why do you say that? Seems to me that if you change the function
addresses it would surely cause lots of crashes in the engine.

--
Jorge "Vino" Rodriguez


___
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



Re: [hlcoders] Pipes.cpp assertion?

2006-02-22 Thread Tom Parker
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Sure:

File: .\pipes.cpp
Line: 237
Assert: Assertion Failed: bufRet.GetUint8() == k_EClientCommandCallback

And then when exiting:

File: .\steamclient.cpp
Line: 400
Assert: Assertion Failed: bufRet.GetUint8() = k_EClientCommandDisconnec

Yes, and I'm not using Friends beta

thanks for looking into this!

Alfred Reynolds wrote:
> Can you send the exact text of the assert? I suspect you are hitting the
> 60 second timeout in the IPC pipe logic on the client (if for example,
> you break in the debugger for a while). The Friends Beta release should
> NOT have this problem (we moved from a purely time based assert to a
> queue depth warning which shouldn't trigger in normal operation).
>
> - Alfred
>
> Tom Parker wrote:
>
>> This is a multi-part message in MIME format.
>> --
>> [ Picked text/plain from multipart/alternative ]
>> No, actuallyI've never heard anything about that until now.
>> ...But educational now that I know that we aren't isolated.
>>
>> I guess we can hope for it to go away with an upcoming steam update.
>>
>>
>> Garry Newman wrote:
>>
>>> Are you using the friends beta?
>>>
>>> I've noticed that about 1 in 10 times when launching my mod in debug
>>> mode it'll crash in the steamclient.dll when I have the friends beta
>>> enabled.
>>>
>>> On 2/21/06, Tom Parker <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>> Hello all
>>>>
>>>> I'm wondering if any of you sporadically get an assertion from
>>>> pipes.cpp?
>>>> This started happening in our mod a little while ago, and we
>>>> naturally
>>>> thought that it was something that we were doing, so we've been
>>>> pulling
>>>> our hair out trying to debug it.
>>>>
>>>> Desperate, we created a new mod project, and compiled with fresh
>>>> code.
>>>> And and it still happens!  We were relieved to find this out, but
>>>> its
>>>> going to get old real fast during the rest of our development.
>>>>
>>>> Anybody have any ideas?  Obviously, by the callstacks below, it is
>>>> Steamdoes anyone know if a recent update caused this?  Can we
>>>> turn
>>>> off Steam asserts?
>>>> we are running with: -dev -sw -allowdebug
>>>>
>>>> It happens sporadically, but you can always duplicate it by
>>>> disabling
>>>> your network while the game is running.
>>>> And, of course, it doesn't affect the game in release mode.
>>>>
>>>> pipes.cpp:
>>>> There is no code location and the callstack is:
>>>>  steamclient.dll!103d861e()
>>>>  steamclient.dll!103def8b()
>>>>  steamclient.dll!103c140b()
>>>>  ServerBrowser.dll!1e73f04a()
>>>>  ServerBrowser.dll!1e774bcc()
>>>>  ServerBrowser.dll!1e738018()
>>>>  ServerBrowser.dll!1e7953f5()
>>>>  vgui2.dll!0d7fb398()
>>>>  vgui2.dll!0d8009b8()
>>>>  vgui2.dll!0d7fd56e()
>>>>  vgui2.dll!0d7fcdbe()
>>>>  engine.dll!0db45f68()
>>>>  engine.dll!0db31012()
>>>>  engine.dll!0d9e3be7()
>>>>  engine.dll!0da6fe86()
>>>>  engine.dll!0da7a9dc()
>>>>  engine.dll!0da7b073()
>>>>  engine.dll!0da85b75()
>>>>  engine.dll!0da85c62()
>>>>  engine.dll!0da85cff()
>>>>  engine.dll!0db2605c()
>>>>  engine.dll!0db25c27()
>>>>  MaterialSystem.dll!0d58d135()
>>>>  engine.dll!0daa58fb()
>>>>  engine.dll!0db25eae()
>>>>  engine.dll!0db25ce4()
>>>>  engine.dll!0db25cef()
>>>>  engine.dll!0db25d8c()
>>>>  launcher.dll!1000369b()
>>>>  launcher.dll!10007f70()
>>>>  launcher.dll!10007f70()
>>>>  launcher.dll!100057f8()
>>>>
>>>> And then another always occurs when the assertion is ignored, and
>>>> "quit"
>>>> is typed into the console.
>>>> in steamclient.cpp:
>>>>
>>>> steamclient.dll!103e352c()
>>>>  engine.dll!0db05684()
>>>>  engine.dll!0da7a14d()
>>>>  engine.dll!0db238dd()
>>>>

Re: [hlcoders] Pipes.cpp assertion?

2006-02-21 Thread Tom Parker
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
No, actuallyI've never heard anything about that until now.
...But educational now that I know that we aren't isolated.

I guess we can hope for it to go away with an upcoming steam update.


Garry Newman wrote:
> Are you using the friends beta?
>
> I've noticed that about 1 in 10 times when launching my mod in debug
> mode it'll crash in the steamclient.dll when I have the friends beta
> enabled.
>
> On 2/21/06, Tom Parker <[EMAIL PROTECTED]> wrote:
>
>> Hello all
>>
>> I'm wondering if any of you sporadically get an assertion from pipes.cpp?
>> This started happening in our mod a little while ago, and we naturally
>> thought that it was something that we were doing, so we've been pulling
>> our hair out trying to debug it.
>>
>> Desperate, we created a new mod project, and compiled with fresh code.
>> And and it still happens!  We were relieved to find this out, but its
>> going to get old real fast during the rest of our development.
>>
>> Anybody have any ideas?  Obviously, by the callstacks below, it is
>> Steamdoes anyone know if a recent update caused this?  Can we turn
>> off Steam asserts?
>> we are running with: -dev -sw -allowdebug
>>
>> It happens sporadically, but you can always duplicate it by disabling
>> your network while the game is running.
>> And, of course, it doesn't affect the game in release mode.
>>
>> pipes.cpp:
>> There is no code location and the callstack is:
>>  steamclient.dll!103d861e()
>>  steamclient.dll!103def8b()
>>  steamclient.dll!103c140b()
>>  ServerBrowser.dll!1e73f04a()
>>  ServerBrowser.dll!1e774bcc()
>>  ServerBrowser.dll!1e738018()
>>  ServerBrowser.dll!1e7953f5()
>>  vgui2.dll!0d7fb398()
>>  vgui2.dll!0d8009b8()
>>  vgui2.dll!0d7fd56e()
>>  vgui2.dll!0d7fcdbe()
>>  engine.dll!0db45f68()
>>  engine.dll!0db31012()
>>  engine.dll!0d9e3be7()
>>  engine.dll!0da6fe86()
>>  engine.dll!0da7a9dc()
>>  engine.dll!0da7b073()
>>  engine.dll!0da85b75()
>>  engine.dll!0da85c62()
>>  engine.dll!0da85cff()
>>  engine.dll!0db2605c()
>>  engine.dll!0db25c27()
>>  MaterialSystem.dll!0d58d135()
>>  engine.dll!0daa58fb()
>>  engine.dll!0db25eae()
>>  engine.dll!0db25ce4()
>>  engine.dll!0db25cef()
>>  engine.dll!0db25d8c()
>>  launcher.dll!1000369b()
>>  launcher.dll!10007f70()
>>  launcher.dll!10007f70()
>>  launcher.dll!100057f8()
>>
>> And then another always occurs when the assertion is ignored, and "quit"
>> is typed into the console.
>> in steamclient.cpp:
>>
>> steamclient.dll!103e352c()
>>  engine.dll!0db05684()
>>  engine.dll!0da7a14d()
>>  engine.dll!0db238dd()
>>  engine.dll!0db25e48()
>>  engine.dll!0db25cfa()
>>  engine.dll!0db25d8c()
>>  launcher.dll!1000369b()
>>  launcher.dll!10007f70()
>>  launcher.dll!10007f70()
>>  launcher.dll!100057f8()
>>
>>
>>
>>
>> ___
>> 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



[hlcoders] Pipes.cpp assertion?

2006-02-21 Thread Tom Parker

Hello all

I'm wondering if any of you sporadically get an assertion from pipes.cpp?
This started happening in our mod a little while ago, and we naturally
thought that it was something that we were doing, so we've been pulling
our hair out trying to debug it.

Desperate, we created a new mod project, and compiled with fresh code.
And and it still happens!  We were relieved to find this out, but its
going to get old real fast during the rest of our development.

Anybody have any ideas?  Obviously, by the callstacks below, it is
Steamdoes anyone know if a recent update caused this?  Can we turn
off Steam asserts?
we are running with: -dev -sw -allowdebug

It happens sporadically, but you can always duplicate it by disabling
your network while the game is running.
And, of course, it doesn't affect the game in release mode.

pipes.cpp:
There is no code location and the callstack is:
steamclient.dll!103d861e()
steamclient.dll!103def8b()
steamclient.dll!103c140b()
ServerBrowser.dll!1e73f04a()
ServerBrowser.dll!1e774bcc()
ServerBrowser.dll!1e738018()
ServerBrowser.dll!1e7953f5()
vgui2.dll!0d7fb398()
vgui2.dll!0d8009b8()
vgui2.dll!0d7fd56e()
vgui2.dll!0d7fcdbe()
engine.dll!0db45f68()
engine.dll!0db31012()
engine.dll!0d9e3be7()
engine.dll!0da6fe86()
engine.dll!0da7a9dc()
engine.dll!0da7b073()
engine.dll!0da85b75()
engine.dll!0da85c62()
engine.dll!0da85cff()
engine.dll!0db2605c()
engine.dll!0db25c27()
MaterialSystem.dll!0d58d135()
engine.dll!0daa58fb()
engine.dll!0db25eae()
engine.dll!0db25ce4()
engine.dll!0db25cef()
engine.dll!0db25d8c()
launcher.dll!1000369b()
launcher.dll!10007f70()
launcher.dll!10007f70()
launcher.dll!100057f8()

And then another always occurs when the assertion is ignored, and "quit"
is typed into the console.
in steamclient.cpp:

   steamclient.dll!103e352c()
engine.dll!0db05684()
engine.dll!0da7a14d()
engine.dll!0db238dd()
engine.dll!0db25e48()
engine.dll!0db25cfa()
engine.dll!0db25d8c()
launcher.dll!1000369b()
launcher.dll!10007f70()
launcher.dll!10007f70()
launcher.dll!100057f8()




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