P47R!CK
01-08-2010, 03:53 AM
/*
Game-Deception Property License 1.0
2005-2008 Game-Deception( www.gamedeception.net )
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR Copyright HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN REGARD TO THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge and publish copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
The Software must be redistributed free of charge to third parties.
*/
void UpdateRadar(bf_read &msg)
{
if ( msg.GetNumBytesLeft() == 0 )
return;
// int iCount = 0;
do
{
int Index = msg.ReadByte();
float flCoordX = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flCoordY = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flCoordZ = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flAngle = ( float ) msg.ReadBitAngle( 9 ); // ReadSBitLong just yaw
Update( Index, Vector( flCoordX, flCoordY, flCoordZ ), flAngle );
} while ( msg.IsOverflowed() == false );
}
Advantages over Sound ESP:
Good Range
Frequently updated
offers an angle for better prediction
Game-Deception Property License 1.0
2005-2008 Game-Deception( www.gamedeception.net )
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR Copyright HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN REGARD TO THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge and publish copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies
or substantial portions of the Software.
The Software must be redistributed free of charge to third parties.
*/
void UpdateRadar(bf_read &msg)
{
if ( msg.GetNumBytesLeft() == 0 )
return;
// int iCount = 0;
do
{
int Index = msg.ReadByte();
float flCoordX = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flCoordY = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flCoordZ = ( float ) msg.ReadSBitLong( 13 ) * 4;
float flAngle = ( float ) msg.ReadBitAngle( 9 ); // ReadSBitLong just yaw
Update( Index, Vector( flCoordX, flCoordY, flCoordZ ), flAngle );
} while ( msg.IsOverflowed() == false );
}
Advantages over Sound ESP:
Good Range
Frequently updated
offers an angle for better prediction