mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-11-20 17:32:43 +01:00
update wild
This commit is contained in:
parent
0d04e41aa1
commit
97505655f7
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SysDVR": true,
|
"SysDVR": true,
|
||||||
"image": "./trainer/cave/eye.png",
|
"image": "./trainer/cave/eye.png",
|
||||||
"view": [620, 340, 20, 20],
|
"view": [610, 330, 30, 30],
|
||||||
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
|
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
|
||||||
}
|
}
|
6
config_unown.json
Normal file
6
config_unown.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"SysDVR": true,
|
||||||
|
"image": "./trainer/cave/eye.png",
|
||||||
|
"view": [610, 330, 30, 30],
|
||||||
|
"reidentify": "0x37a35d28 0x488e6831 0xb7f56519 0x79a3b387"
|
||||||
|
}
|
6
config_wild.json
Normal file
6
config_wild.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"SysDVR": true,
|
||||||
|
"image": "./trainer/ruins/eye.png",
|
||||||
|
"view": [610, 330, 30, 30],
|
||||||
|
"reidentify": ""
|
||||||
|
}
|
@ -4,7 +4,7 @@ import time
|
|||||||
import json
|
import json
|
||||||
from xorshift import Xorshift
|
from xorshift import Xorshift
|
||||||
|
|
||||||
config = json.load(open("config_cave.json"))
|
config = json.load(open("config_wild.json"))
|
||||||
|
|
||||||
def expr():
|
def expr():
|
||||||
player_eye = cv2.imread(config["image"], cv2.IMREAD_GRAYSCALE)
|
player_eye = cv2.imread(config["image"], cv2.IMREAD_GRAYSCALE)
|
||||||
@ -70,9 +70,7 @@ def reidentify():
|
|||||||
time.sleep(next_time)
|
time.sleep(next_time)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# inp = input("Find State or Reidentify? (S/R): ")
|
if config["reidentify"] != "":
|
||||||
inp = "R"
|
|
||||||
if inp == "R":
|
|
||||||
reidentify()
|
reidentify()
|
||||||
else:
|
else:
|
||||||
expr()
|
expr()
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 577 B |
Loading…
Reference in New Issue
Block a user