示例#1
0
basic_string Detection_CmdFlood::GetDataDump ()
{
	basic_string ret ( ":::: List of commands entered last second {" );
	size_t id ( 0 );
	size_t const max ( GetDataStruct ()->commands.Size () );
	for( PlayerConCommandS* it ( &( GetDataStruct ()->commands[ id ] ) ); id != max; it = &( GetDataStruct ()->commands[ ++id ] ) )
	{
		ret.append ( Helpers::format ( "\n:::::::: PlayerConCommandS {\n:::::::::::: ConCommand String : %s,\n:::::::::::: Is ConCommand Spam Ignored : %s,\n:::::::::::: Insertion Time %f\n::::::::}", it->cmd.c_str (), Helpers::boolToString ( it->isSpamIgnored ), it->time ) );
	}
	ret.append ( "\n:::: }" );
	return ret;
}
示例#2
0
const char * Detection_BunnyHopProgram::GetDataDump()
{
	return Helpers::format("BunnyHopInfoT { OnGroundHolderT { %d, %d, %d }, JumpCmdHolderT { %d, %d, %d, %d }, %d, %d, %d, %d }\0",
							GetDataStruct()->onGroundHolder.onGround_Tick, GetDataStruct()->onGroundHolder.notOnGround_Tick, GetDataStruct()->onGroundHolder.jumpCount,
							GetDataStruct()->jumpCmdHolder.lastJumpCmdState, GetDataStruct()->jumpCmdHolder.JumpDown_Tick, GetDataStruct()->jumpCmdHolder.JumpUp_Tick, GetDataStruct()->jumpCmdHolder.outsideJumpCmdCount,
							GetDataStruct()->total_bhopCount,
							GetDataStruct()->goodBhopsCount,
							GetDataStruct()->perfectBhopsPercent,
							GetDataStruct()->perfectBhopsCount,
							GetDataStruct()->isOnGround).c_str();
}
示例#3
0
basic_string Detection_EyeAngleZ::GetDetectionLogMessage ()
{
	if( Helpers::IsInt ( GetDataStruct ()->z.value ) )
	{
		return "Anti-Aim";
	}
	else
	{
		return "No recoil";
	}
}
示例#4
0
basic_string Detection_EyeAngle::GetDataDump ()
{
	return Helpers::format ( ":::: EyeAngleInfo {\n:::::::: EyeAngleX {\n:::::::::::: Angle : %f,\n:::::::::::: Detections Count : %ud\n:::::::: },\n:::::::: EyeAngleY {\n:::::::::::: Angle : %f,\n:::::::::::: Detections Count : %ud\n:::::::: },\n:::::::: EyeAngleZ {\n:::::::::::: Angle : %f,\n:::::::::::: Detections Count : %ud\n:::::::: }\n:::: }",
							 GetDataStruct ()->x.value, GetDataStruct ()->x.detectionsCount,
							 GetDataStruct ()->y.value, GetDataStruct ()->y.detectionsCount,
							 GetDataStruct ()->z.value, GetDataStruct ()->z.detectionsCount );
}
示例#5
0
basic_string ShotDetection::GetDataDump ()
{
	return Helpers::format ( ":::: ShotStatsT {\n"
							 ":::::::: Attack1 Button Up At (Time) : %f,\n"
							 ":::::::: Attack1 Button Down At (Time) : %f,\n"
							 ":::::::: Clicks {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: ShortClicks {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: WithHand {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: WithPistol {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: WithAuto {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: OnTarget {\n"
							 ":::::::::::: Clicks Count : %lu,\n"
							 ":::::::::::: Detection Ratio : %f,\n"
							 ":::::::::::: Average Button Down Hold Time : %f s\n"
							 ":::::::: },\n"
							 ":::::::: Consecutive Detections Count : %lu,\n"
							 ":::::::: Last Detection Time : %f\n"
							 ":::: }",
							 GetDataStruct ()->up_time, GetDataStruct ()->down_time,
							 GetDataStruct ()->clicks.n, GetDataStruct ()->clicks.ratio, GetDataStruct ()->clicks.avg_time,
							 GetDataStruct ()->short_clicks.n, GetDataStruct ()->short_clicks.ratio, GetDataStruct ()->short_clicks.avg_time,
							 GetDataStruct ()->with_hand.n, GetDataStruct ()->with_hand.ratio, GetDataStruct ()->with_hand.avg_time,
							 GetDataStruct ()->with_pistol.n, GetDataStruct ()->with_pistol.ratio, GetDataStruct ()->with_pistol.avg_time,
							 GetDataStruct ()->with_auto.n, GetDataStruct ()->with_auto.ratio, GetDataStruct ()->with_auto.avg_time,
							 GetDataStruct ()->on_target.n, GetDataStruct ()->on_target.ratio, GetDataStruct ()->on_target.avg_time,
							 GetDataStruct ()->row, GetDataStruct ()->last_detection );
}