public override void OnResponseError(List<string> lstRequestWords, string strError)
{
if (!fIsEnabled) return;
if (lstRequestWords == null || lstRequestWords.Count == 0) return;
try {
String msg = "Request(" + String.Join(", ", lstRequestWords.ToArray()) + "): ERROR = " + strError;
int level = 7;
if (lstRequestWords[0] == "player.ping") level = 8;
DebugWrite("^9^bGot OnResponseError, " + msg, level);
bool isMove = false;
if (lstRequestWords.Count > 2 && lstRequestWords[0] == "admin.movePlayer") {
DebugWrite("^1Move of ^b" + lstRequestWords[1] + "^n failed with error: " + strError, 4);
isMove = true;
}
// Record problems during a scramble
if (isMove && (fGameState == GameState.RoundEnding || fGameState == GameState.RoundStarting)) {
lock (fExtrasLock) {
fDebugScramblerSuspects[lstRequestWords[1]] = "Move of ^b{0}^n during scramble got an error: " + strError;
}
}
} catch (Exception e) {
ConsoleException(e);
}
}