diff options
| author | login000 <34250284+login000@users.noreply.github.com> | 2019-04-18 20:37:19 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-18 20:37:19 +1000 |
| commit | ca2464114c9910e4e4fc132d8bc075c6734f164e (patch) | |
| tree | b14b94153f7e2c70cf0315205dd1e570e87f974a | |
| parent | bd45e807eda9c72981fba015c5ae7dff4054e2f1 (diff) | |
| download | tcoin-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |