aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlogin000 <34250284+login000@users.noreply.github.com>2019-04-18 20:37:19 +1000
committerGitHub <noreply@github.com>2019-04-18 20:37:19 +1000
commitca2464114c9910e4e4fc132d8bc075c6734f164e (patch)
treeb14b94153f7e2c70cf0315205dd1e570e87f974a
parentbd45e807eda9c72981fba015c5ae7dff4054e2f1 (diff)
downloadtcoin-ca2464114c9910e4e4fc132d8bc075c6734f164e.tar.gz
Fix daily-adventure integration in tcoin.cpp
daily-adventure changed how it stores state, so this new code fixes daily-adventure integration to the new format that daily-adventure stores state in.
-rw-r--r--tcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcoin.cpp b/tcoin.cpp
index 0aa583e..59052d3 100644
--- a/tcoin.cpp
+++ b/tcoin.cpp
@@ -31,7 +31,7 @@
#define BIN_ECHO_CMD "/bin/echo $$"
#define KROWBAR_SCORE_PATH "/home/krowbar/Code/irc/data/tildescores.txt"
#define WHOAMI_PATH "/usr/bin/whoami"
-#define TROIDO_DACOINS_CMD "cd /home/troido/daily_adventure/client/ && /home/troido/daily_adventure/client/daclient printinfo 2>&1 | /bin/grep -oP '(?<=\"coins\": )[[:digit:]]+'"
+#define TROIDO_DACOINS_CMD "cd /home/troido/daily_adventure/client/ && /home/troido/daily_adventure/client/daclient printinfo 2>&1 | /bin/grep -oP '(?<=\"Coins\", )[[:digit:]]+'"
#define MINERCOIN_CMD_PRE_USERNAME "/bin/grep -oP '(?<=\"~"
#define MINERCOIN_CMD_POST_USERNAME "\": )[[:digit:]]+' /home/minerobber/Code/minerbot/minercoin.json"
#define USERNAME_LENGTH_LIMIT 25