Improved the Fastbreak check greatly, reset of your magic configuration required.

Improved Pastebin Reports, all /anticheat debug reports last 30 days and are now unlisted pastes.
Compiling against CB 1.4.5-R0.2
This commit is contained in:
SuPaH sPii committed 2012-11-21 01:15:37 -06:00
1 parent 4fc6ba3e2c
commit e0a12cb0ef
6 files changed
+154 -110

No files matched your search

@@ -104,6 +104,10 @@ public class Magic
* Time to wait before checking block breaks; Type=system, +Leniency=Increase.
*/
public final int FASTBREAK_TIMEMAX;
/**
* Time to wait before checking block breaks in creative mode; Type=system, +Leniency=Increase.
*/
public final int FASTBREAK_TIMEMAX_CREATIVE;
/**
* Number of times fastbreak can be observed before taking action; Type=integer, +Leniency=Increase.
*/
@@ -344,6 +348,7 @@ public class Magic
DROP_CHECK = getInt("DROP_CHECK");
FASTBREAK_LIMIT = getInt("FASTBREAK_LIMIT");
FASTBREAK_TIMEMAX = getInt("FASTBREAK_TIMEMAX");
FASTBREAK_TIMEMAX_CREATIVE = getInt("FASTBREAK_TIMEMAX_CREATIVE");
FASTBREAK_MAXVIOLATIONS = getInt("FASTBREAK_MAXVIOLATIONS");
FASTBREAK_MAXVIOLATIONS_CREATIVE = getInt("FASTBREAK_MAXVIOLATIONS_CREATIVE");
FASTBREAK_MAXVIOLATIONTIME = getInt("FASTBREAK_MAXVIOLATIONTIME");
@@ -132,7 +132,7 @@ public class PastebinReport
conn.setDoOutput(true);
OutputStream out = conn.getOutputStream();
out.write(("api_option=paste" + "&api_dev_key=" + URLEncoder.encode("c0616def494dcb5b7632304f8c52c0f1", "utf-8") + "&api_paste_code=" + URLEncoder.encode(report.toString(), "utf-8") + "&api_paste_private=" + URLEncoder.encode("0", "utf-8") + "&api_paste_name=" + URLEncoder.encode("", "utf-8") + "&api_paste_expire_date=" + URLEncoder.encode("1D", "utf-8") + "&api_paste_format=" + URLEncoder.encode("text", "utf-8") + "&api_user_key=" + URLEncoder.encode("", "utf-8")).getBytes());
out.write(("api_option=paste" + "&api_dev_key=" + URLEncoder.encode("c0616def494dcb5b7632304f8c52c0f1", "utf-8") + "&api_paste_code=" + URLEncoder.encode(report.toString(), "utf-8") + "&api_paste_private=" + URLEncoder.encode("1", "utf-8") + "&api_paste_name=" + URLEncoder.encode("", "utf-8") + "&api_paste_expire_date=" + URLEncoder.encode("1M", "utf-8") + "&api_paste_format=" + URLEncoder.encode("text", "utf-8") + "&api_user_key=" + URLEncoder.encode("", "utf-8")).getBytes());
out.flush();
out.close();