Skip to content

Commit

Permalink
Fixed cyrillic nicknames issue, fixed ISH for hardcore players
Browse files Browse the repository at this point in the history
  • Loading branch information
Exslims committed Mar 23, 2017
1 parent 6f6c55f commit 1098f4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Created by Константин on 29.01.2017.
*/
public class MercuryConstants {
public static final String APP_VERSION = "1.0.0.7";
public static final String APP_VERSION = "1.0.0.9";
public static final String SERVER_HOST = "exslims.ddns.net";
public static final int PORT = 5555;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class MessageParser {
private final static String poeTradePattern = "^(.*\\s)?(\\w+):.+ to buy your (.+) listed for (\\d+) (.+) in ([\\w-]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$";
private final static String poeCurrencyPattern = "^(.*\\s)?(\\w+):.+ to buy your (\\d+) (.+) for my (\\d+) (.+) in ([\\w-]+)\\.*\\s*(.*)$";
private final static String poeTradeNoBuyout = "^(.*\\s)?(\\w+):.+ to buy your (.+) in ([\\w-]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$";
private final static String poeTradePattern = "^(.*\\s)?(.+):.+ to buy your (.+) listed for (\\d+) (.+) in ([\\w\\-\\s]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$";
private final static String poeCurrencyPattern = "^(.*\\s)?(.+):.+ to buy your (\\d+) (.+) for my (\\d+) (.+) in ([\\w\\-\\s]+)\\.*\\s*(.*)$";
private final static String poeTradeNoBuyout = "^(.*\\s)?(.+):.+ to buy your (.+) in ([\\w\\-\\s]+)\\.*\\s*(\\(stash tab \"(.*)\"; position: left (\\d+), top (\\d+)\\))?\\s*(.*)$";

private Pattern poeTradeItemPattern;
private Pattern poeTradeCurrencyPattern;
Expand Down

0 comments on commit 1098f4a

Please sign in to comment.