Update wild.py

This commit is contained in:
niart120 2022-01-04 01:57:10 +09:00
parent 713bbdfcb1
commit 81fa5f2275

View File

@ -71,8 +71,8 @@ def reidentify():
reidentified_rng = rngtool.reidentifyByBlinks(Xorshift(*state), observed_blinks)
waituntil = time.perf_counter()
diff = -((waituntil-offset_time)//(-1))
reidentified_rng.getNextRandSequence(diff)
diff = int(-(-(waituntil-offset_time)//1))
reidentified_rng.advances(max(diff,0))
state = reidentified_rng.getState()
print("state(64bit 64bit)")
@ -86,7 +86,8 @@ def reidentify():
isUnown = False
wild_prng.getNextRandSequence(2+isUnown)
advances = 0
waituntil = time.perf_counter()
time.sleep(diff - (waituntil - offset_time))
while True:
advances += 1