mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-10-05 14:57:12 +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)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user