Open flier268 opened 8 years ago
I got the answer!! Edit Autopot.ahk
ReadPlayerStats(hwnd, byRef PlayerStats) { global baseMgrPtr global Steam global Taiwan global Singapore global GlobalS
If (Steam) { global Offset1:=0x154 global Offset2:=0x4c4 global Offset3:=0x158 global Offset4:=0x220 global Offset5:=0x2E80 global Offset6:=0x15a8 global Offset7:=0x15ac global Offset8:=0xa24 global Offset9:=0x9cc global Offset10:=0x12C global Offset11:=0x198 } Else If (Taiwan) { ;Take the value as same as Global version global Offset1:=0x138 global Offset2:=0x4c4 global Offset3:=0x13c global Offset4:=0x220 global Offset5:=0x36b4 global Offset6:=0x1588 global Offset7:=0x158c global Offset8:=0xa24 global Offset9:=0x9cc global Offset10:=0xa50 global Offset11:=0xab4 }
if i set autopot'client version to Taiwan,autopot can not get my HP,MP,...etc. It only can get value in Global version,but key is wrong. (I'm playing Taiwan version)