aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlogin000 <34250284+login000@users.noreply.github.com>2019-04-18 21:44:57 +1000
committerGitHub <noreply@github.com>2019-04-18 21:44:57 +1000
commit710767dee559445f702e54f065a8ecc8f2206ef0 (patch)
tree03ab05a93965aa86e527ec37b657b7370fe88852
parentca2464114c9910e4e4fc132d8bc075c6734f164e (diff)
downloadtcoin-710767dee559445f702e54f065a8ecc8f2206ef0.tar.gz
Fixing daily-adventure integration in pcoin.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--pcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcoin.cpp b/pcoin.cpp
index c48d03c..e4eeb86 100644
--- a/pcoin.cpp
+++ b/pcoin.cpp
@@ -32,7 +32,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