- UID
- 67874
- 帖子
- 196
- 主題
- 27
- 精華
- 0
- 積分
- 55
- 楓幣
- 38
- 威望
- 50
- 存款
- 0
- 贊助金額
- 0
- 推廣
- 0
- GP
- 19
- 閱讀權限
- 10
- 性別
- 男
- 在線時間
- 105 小時
- 註冊時間
- 2014-6-27
- 最後登入
- 2024-12-10
|
a8029boy2 發表於 2016-6-30 10:47
真想知道 按鍵精靈 要怎運用這個!! - Dim 基址,偏移,Val(15),HP,MP,SP,比(2)
- HP = Array(&H708,&H210,&H608,&H7c,&H2c8)
- MP = Array(&H388, &H604, &H688, &H7c, &H264)
- SP = Array(&H708, &H218, &H784, &H188, &H758)
- 基址 = &H012A0000
- 偏移 = &H00A1C4EC
- Val(0) = Plugin.Memory.Read32Bit(Hwnd,基址 +偏移)
- //HP
- Val(1) = Plugin.Memory.Read32Bit(Hwnd, Val(0) + HP(0))
- Val(2) = Plugin.Memory.Read32Bit(Hwnd, Val(1) + HP(1))
- Val(3) = Plugin.Memory.Read32Bit(Hwnd, Val(2) + HP(2))
- Val(4) = Plugin.Memory.Read32Bit(Hwnd, Val(3) + HP(3))
- Val(5) = Plugin.Memory.Read32Bit(Hwnd, Val(4) + HP(4))
- //MP
- Val(6) = Plugin.Memory.Read32Bit(Hwnd, Val(0) + MP(0))
- Val(7) = Plugin.Memory.Read32Bit(Hwnd, Val(6) + MP(1))
- Val(8) = Plugin.Memory.Read32Bit(Hwnd, Val(7) + MP(2))
- Val(9) = Plugin.Memory.Read32Bit(Hwnd, Val(8) + MP(3))
- Val(10) = Plugin.Memory.Read32Bit(Hwnd, Val(9) + MP(4))
- //SP
- Val(11) = Plugin.Memory.Read32Bit(Hwnd, Val(0) + SP(0))
- Val(12) = Plugin.Memory.Read32Bit(Hwnd, Val(11) + SP(1))
- Val(13) = Plugin.Memory.Read32Bit(Hwnd, Val(12) + SP(2))
- Val(14) = Plugin.Memory.Read32Bit(Hwnd, Val(13) + SP(3))
- Val(15) = Plugin.Memory.ReadSingle(Hwnd, Val(14) + SP(4))
- MessageBox "HP:"&Val(5)&"MP:"&Val(10)&"SP:"&Val(15)
複製代碼 |
|