mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-08-16 22:09:38 +02:00
Update wild.py
This commit is contained in:
parent
713bbdfcb1
commit
81fa5f2275
@ -71,8 +71,8 @@ def reidentify():
|
|||||||
reidentified_rng = rngtool.reidentifyByBlinks(Xorshift(*state), observed_blinks)
|
reidentified_rng = rngtool.reidentifyByBlinks(Xorshift(*state), observed_blinks)
|
||||||
|
|
||||||
waituntil = time.perf_counter()
|
waituntil = time.perf_counter()
|
||||||
diff = -((waituntil-offset_time)//(-1))
|
diff = int(-(-(waituntil-offset_time)//1))
|
||||||
reidentified_rng.getNextRandSequence(diff)
|
reidentified_rng.advances(max(diff,0))
|
||||||
|
|
||||||
state = reidentified_rng.getState()
|
state = reidentified_rng.getState()
|
||||||
print("state(64bit 64bit)")
|
print("state(64bit 64bit)")
|
||||||
@ -86,7 +86,8 @@ def reidentify():
|
|||||||
isUnown = False
|
isUnown = False
|
||||||
wild_prng.getNextRandSequence(2+isUnown)
|
wild_prng.getNextRandSequence(2+isUnown)
|
||||||
|
|
||||||
advances = 0
|
waituntil = time.perf_counter()
|
||||||
|
time.sleep(diff - (waituntil - offset_time))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
advances += 1
|
advances += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user