diff --git a/landlords-client/pom.xml b/landlords-client/pom.xml
index 2b75a3d..678a491 100644
--- a/landlords-client/pom.xml
+++ b/landlords-client/pom.xml
@@ -13,14 +13,14 @@
com.smallnico.ratel
landlords
- 1.2.4
+ 1.2.5
com.smallnico.ratel
landlords-common
- 1.2.4
+ 1.2.5
diff --git a/landlords-common/pom.xml b/landlords-common/pom.xml
index 3d8911d..f6959e6 100644
--- a/landlords-common/pom.xml
+++ b/landlords-common/pom.xml
@@ -10,7 +10,7 @@
com.smallnico.ratel
landlords
- 1.2.4
+ 1.2.5
\ No newline at end of file
diff --git a/landlords-common/src/main/java/org/nico/ratel/landlords/robot/MediumRobotDecisionMakers.java b/landlords-common/src/main/java/org/nico/ratel/landlords/robot/MediumRobotDecisionMakers.java
index 3a16ac2..0009067 100644
--- a/landlords-common/src/main/java/org/nico/ratel/landlords/robot/MediumRobotDecisionMakers.java
+++ b/landlords-common/src/main/java/org/nico/ratel/landlords/robot/MediumRobotDecisionMakers.java
@@ -36,7 +36,7 @@ public class MediumRobotDecisionMakers extends AbstractRobotDecisionMakers{
private static final SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd");
- private static final Long DEDUCE_LIMIT = 100 * 5L;
+ private static final Long DEDUCE_LIMIT = 100 * 3L;
public MediumRobotDecisionMakers() {
try {
@@ -47,23 +47,6 @@ public class MediumRobotDecisionMakers extends AbstractRobotDecisionMakers{
}catch(Exception e) {
SimplePrinter.serverLog("Medium Robot init without dp.json.");
}
-
- new Thread() {
- public void run() {
- while(true) {
- try {
- Thread.sleep(1000 * 60);
- String date = SDF.format(new Date());
- FileWriter w = new FileWriter("dp_" + date + ".json", false);
- w.write(gson.toJson(DP));
- w.flush();
- w.close();
- } catch (InterruptedException | IOException e) {
- e.printStackTrace();
- }
- }
- }
- }.start();
}
@Override
@@ -150,7 +133,6 @@ public class MediumRobotDecisionMakers extends AbstractRobotDecisionMakers{
if(suc != null) {
score = (long)(suc ? 1 : -1);
counter.addAndGet(score);
- dp.put(key, score);
}
}
pokersList.set(cursor, original);
diff --git a/landlords-server/pom.xml b/landlords-server/pom.xml
index 3a7f0d2..fd249e0 100644
--- a/landlords-server/pom.xml
+++ b/landlords-server/pom.xml
@@ -9,7 +9,7 @@
com.smallnico.ratel
landlords
- 1.2.4
+ 1.2.5
@@ -20,7 +20,7 @@
com.smallnico.ratel
landlords-common
- 1.2.4
+ 1.2.5
diff --git a/pom.xml b/pom.xml
index 492d982..c196f2f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.smallnico.ratel
landlords
- 1.2.4
+ 1.2.5
ratel
https://github.com/ainilili/ratel
pom