I'v recorded the TraceRay() inputs and outputs from a clean cw_357.cpp:
Server player ID heading pitch
Server RayResult Hit entity 61,
Client player ID heading pitch
Client RayResult Hit entity 0,
rfw = RayResultT.m_rayFromWorld
rtw = RayResultT.m_rayToWorld;
hnw = RayResultT.m_hitNormalWorld;
hpw = RayResultT.m_hitPointWorld;
thanks for your report! I can reproduce this here:
Using r531, when I set convar
sv_AutoAddCompanyBot = true, start map Kidney and pick up the 9mm AR, then when I fire at the company bot, it clearly is hit and receives damage at the server side, but it is not hit at the client: the particle effect is shown at the nearby wall instead.
(In a contrast, the crate near the starting point seems to work as expected: it's hit by bullets and the particle effect is red.)
This seems to be a problem with updating the physics world on the client side, but unfortunately I've not been able to figure out its cause yet.
I've filed ticket #117 in order to make sure to not forget this. Currently, I'm working on #113, which I believe has not triggered this problem, but the related changes will also imply a rewrite of the code that updates the client-side physics world, and so I'll probably look into #117 during my work at #113.
(Right now, I still have to send official press release mails regarding the 12.05 release, work on #113 will continue immediately afterwards.)
Users browsing this forum: No registered users and 0 guests