diff options
| author | login000 <34250284+login000@users.noreply.github.com> | 2019-04-18 21:44:57 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-18 21:44:57 +1000 |
| commit | 710767dee559445f702e54f065a8ecc8f2206ef0 (patch) | |
| tree | 03ab05a93965aa86e527ec37b657b7370fe88852 | |
| parent | ca2464114c9910e4e4fc132d8bc075c6734f164e (diff) | |
| download | tcoin-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |