70RMUND / Tormund-BFV-Radar

External Radar Mod for Battlefield V
BSD 3-Clause "New" or "Revised" License
86 stars 24 forks source link

severe : exception caught! #17

Closed Gezhe14 closed 2 years ago

Gezhe14 commented 2 years ago

[+] Searching for BFV.exe... [+] [+] SEVERE: EXCEPTION CAUGHT! [+]

Traceback (most recent call last): File "Radar.py", line 602, in StartRadar() # Start the rest of the radar setup File "Radar.py", line 541, in StartRadar phandle = BFV.GetHandle() File "F:\Tormund-BFV-Radar-master\Tormund-BFV-Radar-master\BFV.py", line 469, in GetHandle pid = api.get_processid_by_name("bfv.exe") File "F:\Tormund-BFV-Radar-master\Tormund-BFV-Radar-master\MemAccess.py", line 155, in get_processid_by_name if procname.decode("utf-8").lower() == name.lower(): UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 2: invalid continuation byte

[+] [+] Exiting Radar...

Gezhe14 commented 2 years ago

MemAccess.py

if procname.decode("UTF-8").lower() == name.lower():

change "UTF-8" to "gbk"