This commit is contained in:
@@ -718,7 +718,7 @@ void rogue_progress(struct rogue_state *rs,uint64_t seed,char *keystrokes,int32_
|
||||
sprintf(params,"[\"keystrokes\",\"17\",\"[%%22%s%%22,%%22%s%%22]\"]",Gametxidstr,hexstr);
|
||||
if ( (retstr= komodo_issuemethod(USERPASS,"cclib",params,ROGUE_PORT)) != 0 )
|
||||
{
|
||||
fprintf(stderr,"KEYSTROKES.(%s)\n",retstr);
|
||||
//fprintf(stderr,"KEYSTROKES.(%s)\n",retstr);
|
||||
free(retstr);
|
||||
}
|
||||
}
|
||||
@@ -749,7 +749,7 @@ int32_t rogue_setplayerdata(struct rogue_state *rs,char *gametxidstr)
|
||||
{
|
||||
if ( (retjson= cJSON_Parse(filestr)) != 0 && (resultjson= jobj(retjson,"result")) != 0 )
|
||||
{
|
||||
fprintf(stderr,"gameinfo.(%s)\n",jprint(resultjson,0));
|
||||
//fprintf(stderr,"gameinfo.(%s)\n",jprint(resultjson,0));
|
||||
if ( (array= jarray(&n,resultjson,"players")) != 0 )
|
||||
{
|
||||
for (i=0; i<n; i++)
|
||||
|
||||
Reference in New Issue
Block a user