Yeah I commented out that assert as well. I thought I'd makde a KI list entry or zilla on this one but maybe not.
The assert occurs almost every time you duck, so clearly Valve's assert is just totally meaningless right there. It's not clear what the intent was. At 2006/11/09 06:08 AM, Eric Van Huss wrote: >[ Converted text/html to text/plain ] > >I've been able to fix a few of the other asserts by using >http://developer.valvesoftware.com/wiki/SDK_Known_Issues_List[1] . Thanks to >all who contributed! > >It was just this last one with Duck() that I was unsure about. Also I just >found out if you add a bot you get a bunch of asserts, so gonna look at that >too. A 'dumb' bot still appears despite the asserts. Didn't seem to respawn >after I killed em though. > >EJ > > >------------------------------------------------------------------------------ >From: Nick <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: Re: [hlcoders] Still need this assert? >Date: Wed, 8 Nov 2006 15:05:27 -0600 >>When I find any asserts i just comment them out. >> >>On 11/8/06, Skillet <[EMAIL PROTECTED]> wrote: >>>-- >>>[ Picked text/plain from multipart/alternative ] >>>It happens for me every time the duck key is released as well. >>>There's a >>>nearby comment that says it should rarely or never happen. I >>>assume >>>something changed (or something that was supposed to change didn't) >>>between >>>when the assert was added and now. >>> >>>Anyway, I doubt there's any harm in removing it. >>> >>>On 11/7/06, Eric Van Huss <[EMAIL PROTECTED]> wrote: >>>> >>>> [ Converted text/html to text/plain ] >>>> This is for the recently released sdk update. I'm new and >>>playing around >>>> with >>>> the sdk so I'll probably sound as such. I'm using 2005 Express. >>>> >>>> At the end of CGameMovement::Duck there's a "hack" check to make >>>sure the >>>> viewoffset z value is correct. In the comments about this check >>>it says it >>>> might not be needed but it's there to make sure people know if a >>>certain >>>> bug >>>> is happening. >>>> I'm getting this assert after letting go of duck almost every >>>time. If I >>>> comment >>>> out 'SetDuckedEyeOffset(0.0f)' ,at the end of the assert check, >>>the code >>>> still >>>> works and the player's viewoffset z value gets changed to the >>>correct >>>> value on >>>> it's own(64.0). >>>> >>>> In case anyone wants to know...! FinishUnDuck() sets the >>>player's >>>> viewoffset(z >>>> = 64.0). It then goes back to engine.dll(which is a pain to >>>debug :) ). >>>> Engine.dll >>>> calls CHLClient::FrameStageNotify -> OnRenderStart(), which down >>>the line >>>> calls C_BaseEntity::Interp_Interpolate(). The for loop in this >>>method >>>> changes >>>> the z value of the player's viewoffset. Then Duck() gets called >>>again and >>>> the >>>> assert happens. I guess this check/assert is not letting >>>interpolation run >>>> its >>>> course? >>>> >>>> So do we still need this check/assert. Or maybe a better >>>conditional >>>> check? >>>> >>>> Thanks, >>>> EJ >>>> _______________________________________________ >>>> 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 > >===References:=== > 1. http://developer.valvesoftware.com/wiki/SDK_Known_Issues_List > >_______________________________________________ >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

