+prints
This commit is contained in:
@@ -217,7 +217,7 @@ int32_t rogue_replay2(uint8_t *newdata,uint64_t seed,char *keystrokes,int32_t nu
|
|||||||
{
|
{
|
||||||
rs->P = *player;
|
rs->P = *player;
|
||||||
rs->restoring = 1;
|
rs->restoring = 1;
|
||||||
fprintf(stderr,"restore player\n");
|
fprintf(stderr,"restore player packsize.%d\n",rp->P.packsize);
|
||||||
}
|
}
|
||||||
uint32_t starttime = (uint32_t)time(NULL);
|
uint32_t starttime = (uint32_t)time(NULL);
|
||||||
rogueiterate(rs);
|
rogueiterate(rs);
|
||||||
|
|||||||
@@ -1371,9 +1371,9 @@ void rogue_restoreobject(THING *o,struct rogue_packitem *item)
|
|||||||
ws_info[item->which].oi_know = TRUE;
|
ws_info[item->which].oi_know = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
//char packitemstr[256];
|
char packitemstr[256];
|
||||||
//strcpy(packitemstr,inv_name(o,FALSE));
|
strcpy(packitemstr,inv_name(o,FALSE));
|
||||||
//fprintf(stderr,"packitem.(%s)\n",packitemstr);
|
fprintf(stderr,"packitem.(%s)\n",packitemstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)
|
void rogue_packitemstr(char *packitemstr,struct rogue_packitem *item)
|
||||||
|
|||||||
@@ -810,7 +810,6 @@ UniValue rogue_finishgame(uint64_t txfee,struct CCcontract_info *cp,cJSON *param
|
|||||||
seed = rogue_gamefields(obj,maxplayers,buyin,gametxid,myrogueaddr);
|
seed = rogue_gamefields(obj,maxplayers,buyin,gametxid,myrogueaddr);
|
||||||
fprintf(stderr,"found baton %s numkeys.%d seed.%llu playerdata.%d\n",batontxid.ToString().c_str(),numkeys,(long long)seed,(int32_t)playerdata.size());
|
fprintf(stderr,"found baton %s numkeys.%d seed.%llu playerdata.%d\n",batontxid.ToString().c_str(),numkeys,(long long)seed,(int32_t)playerdata.size());
|
||||||
memset(&P,0,sizeof(P));
|
memset(&P,0,sizeof(P));
|
||||||
sleep(60);
|
|
||||||
if ( playerdata.size() > 0 )
|
if ( playerdata.size() > 0 )
|
||||||
{
|
{
|
||||||
for (i=0; i<playerdata.size(); i++)
|
for (i=0; i<playerdata.size(); i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user