Test keystrokes
This commit is contained in:
@@ -146,7 +146,7 @@ void rogue_progress(uint64_t seed,char *keystrokes,int32_t num) // use seed to l
|
|||||||
for (i=0; i<num; i++)
|
for (i=0; i<num; i++)
|
||||||
sprintf(&hexstr[i<<1],"%02x",keystrokes[i]);
|
sprintf(&hexstr[i<<1],"%02x",keystrokes[i]);
|
||||||
hexstr[i<<1] = 0;
|
hexstr[i<<1] = 0;
|
||||||
sprintf(cmd,"./komodo-cli -ac_name=ROGUE keystrokes 17 \"[%%22%s%%22,%%22%s%%22]\"",Gametxidstr,hexstr);
|
sprintf(cmd,"./komodo-cli -ac_name=ROGUE cclib keystrokes 17 \\\"[%%22%s%%22,%%22%s%%22]\\\"",Gametxidstr,hexstr);
|
||||||
if ( system(cmd) != 0 )
|
if ( system(cmd) != 0 )
|
||||||
fprintf(stderr,"error issuing (%s)\n",cmd);
|
fprintf(stderr,"error issuing (%s)\n",cmd);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#define ROGUE_REGISTRATION 5
|
#define ROGUE_REGISTRATION 5
|
||||||
#define ROGUE_REGISTRATIONSIZE (100 * 10000)
|
#define ROGUE_REGISTRATIONSIZE (100 * 10000)
|
||||||
#define ROGUE_MAXPLAYERS 64 // need to send unused fees back to globalCC address to prevent leeching
|
#define ROGUE_MAXPLAYERS 64 // need to send unused fees back to globalCC address to prevent leeching
|
||||||
#define ROGUE_MAXKEYSTROKESGAP 60
|
#define ROGUE_MAXKEYSTROKESGAP 777
|
||||||
|
|
||||||
/*
|
/*
|
||||||
the idea is that you creategame and get a txid, you specify the maxplayers and buyin for the game. the tx will have maxplayers of vouts. You must have a non-zero buyin to be able to use a preexisting character.
|
the idea is that you creategame and get a txid, you specify the maxplayers and buyin for the game. the tx will have maxplayers of vouts. You must have a non-zero buyin to be able to use a preexisting character.
|
||||||
|
|||||||
Reference in New Issue
Block a user