changed logging message slightly
This commit is contained in:
parent
3270eda941
commit
c0d9cfa343
@ -601,42 +601,42 @@ void AnalyzeStats(int client)
|
||||
if(iPerfs >= 91)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC1 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC1, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC1, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_DEFINITIVE, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 87 && (iSameAsNext >= 13 || iCloseToNext >= 18))
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC2 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC2, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC2, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_DEFINITIVE, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 85 && iSameAsNext >= 13)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC3 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC3, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC3, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_DEFINITIVE, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 80 && iSameAsNext >= 15)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC4 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC4, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC4, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_HIGH, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 75 && iVeryHighNumber >= 4 && iSameAsNext >= 3 && iCloseToNext >= 10)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC5 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC5, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC5, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_HIGH, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 85 && iCloseToNext >= 16)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC6 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC6, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC6, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_HIGH, stats_desc);
|
||||
}
|
||||
|
||||
@ -650,28 +650,28 @@ void AnalyzeStats(int client)
|
||||
else if(iPerfs >= 55 && iSameBeforeAfter >= 25)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC8 ... ") (bf %d | af %d | bfaf %d): %s", client, iLowBefores, iLowAfters, iSameBeforeAfter, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n(bf %d | af %d | bfaf %d): %s", DESC8, iLowBefores, iLowAfters, iSameBeforeAfter, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n(bf %d | af %d | bfaf %d): %s", DESC8, iLowBefores, iLowAfters, iSameBeforeAfter, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_HIGH_NOKICK, stats_desc);
|
||||
}
|
||||
|
||||
else if(iPerfs >= 40 && iLowAfters >= 45)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC9 ... ") (%d): %s", client, iLowAfters, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n(%d): %s", DESC9, iLowAfters, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n(%d): %s", DESC9, iLowAfters, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_LOW, stats_desc);
|
||||
}
|
||||
|
||||
else if(iVeryHighNumber >= 15 && (iCloseToNext >= 13 || iPerfs >= 80))
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC10 ... "): %s", client, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\n%s", DESC10, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\n%s", DESC10, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_HIGH, stats_desc);
|
||||
}
|
||||
|
||||
else if(fIntervals > 0.75)
|
||||
{
|
||||
LogToFileEx(gS_LogPath, "%L - (" ... DESC11 ... ", intervals: %.2f): %s", client, fIntervals, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s :\nintervals: %.2f: %s", DESC11, fIntervals, sScrollStats);
|
||||
Format(stats_desc, sizeof(stats_desc), "%s:\nintervals: %.2f: %s", DESC11, fIntervals, sScrollStats);
|
||||
Oryx_Trigger(client, TRIGGER_MEDIUM, stats_desc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user