Hah, thanks for giving me a reason to hunt this one down. The Forsaken
testers have been after me a while to fix it... anyways... here you go. A
fix.
Step 1: In PlayerState.h around line 34 change:
QAngle v_angle;
To
CNetworkQAngle(v_angle);
Step 2: In player.cpp around line 6484 add in after sending the dead flag:
SendPropQAngles (SENDINFO(v_angle), 13),
Step 3: In c_baseplayer.cpp around line 85 add in after receiving the dead
flag:
RecvPropQAngles (RECVINFO(v_angle)),
Enjoy!
P.S. The cause of this is in baseplayer_shared when calling EyeAngles. It
returns pl.v_angle which is initialized to a zero-vector. By enabling it to
be sent over the network this resolves the issue.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Houston
Sent: Monday, January 30, 2006 11:29 AM
To: [email protected]
Subject: Re: [hlcoders] First Person Spectator
--
[ Picked text/plain from multipart/alternative ]
This is a bad one D: A few of BGII's players have gotten kicked because an
admin has looked in spectator mode and seen them shoot somewhere they appear
not to be looking(we are missing the up/down angle) xD
It's just a missing network variable somewhere, look for where it finds the
other angles and try adding the missing ones, shouldn't be too hard really.
:)
--
Draco
--
_______________________________________________
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