vike256 / Unibot

All in one video game assistant tool that works with and without hardware. Has aim assist, autoshoot, rapid-fire, and recoil mitigation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Invalid Region: Region should be in 1707x1067, l=0, t=0, r=2560, b=1600

cxcxxx opened this issue · comments

My screen resolution is 2560x1600, and I also set the target detection area in the config.ini file to
Fov_x=256
Fov_y=256
Aim'fov_x=256
Aim'fov_y=256
I changed the enable debug mode to true
[debug]
Enabled=true
Always_on=true
Display_mode=mask
But an error occurred with Value Error: Invalid Region: Region should be in 1707x1067, l=0, t=0, r=2560, b=1600
The code that caused the error is as follows
Def_validate.region (self, region: Tuple [int, int, int, int]):
l. T, r, b=region
If not (self. width>=r>l>=0 and self. height>=b>t>=0):
Raise Value Error(
Invalid Region: Region should be in {self.width}x {self. height}, l={l}, t={t}, r={r}, b={b}“