Possibly The Best Valve Doc Ever
john_sheu
Join Date: 2004-02-26 Member: 26917Members
<div class="IPBDescription">how HL 1/2 netcode works, for dummies</div> <a href='http://www.valve-erc.com/srcsdk/general/multiplayer_networking.html' target='_blank'>Docs, on VERC</a>
Could clear up a lot of debate/confusion. Sure did for me.
edit:
I do realize, of course, that it's about the Source engine. But I can say with confidence that <i>every</i> point raised is relevant to HL1 in general, and NS particularly.
Could clear up a lot of debate/confusion. Sure did for me.
edit:
I do realize, of course, that it's about the Source engine. But I can say with confidence that <i>every</i> point raised is relevant to HL1 in general, and NS particularly.
Comments
Even made some sense to me
Now to exploit it!
QFT.
Just for jokes, I bound my mouse1 to "+attack;fullupdate", to see if it would help fix registration (or at least what your client sees), it didn't.. but it was fun to play with!! (downloading undelta compressed packets = slow feedback ftw <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->)
Also note, something a guessed about long ago, that spikes in latency are always worse than a constant high latency. The forumla used for backlogging the hitboxes are based on your average latency. Durring a spike, your clients extrapolation takes over and is going to be quite a bit off from the actual model.
There is some problem (that ive seen in the past, it may have been recently fixed) that made blood marks when the client confirmed a hit, but the server did not, so blood would fly, and the player would be unhurt. It was a little annoying, but it didn't really affect gameplay too much.
Put simply, lag and hitboxes is blamed for alot more than it should.
A quote from a poster in CS:S's cs_office:
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Ping, Being the scapegoat for your inadequacies since 1974.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->