黃易群俠傳M脫機外掛應用程式黃易神行
1076
1

[發問] 寫程式問題,請各大大教導

ray268 發表於 2009-7-5 10:14:49 | 只看該作者 回帖獎勵 |正序瀏覽 |
宣告
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long

Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Private Declare Function ReadProcessMemory Lib "kernel32.dll" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, ByRef lpBuffer As Any, ByVal nSize As Long, ByRef lpNumberOfBytesWritten As Long) As Long
Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

以下是那出了問題?下面是兩個程式,是跳躍跟建築隱藏,基址是跟大大寫的貼上,但只有跳躍能用; 試建築完美就給彈走了YCT44B  是那裡騙錯了YCT62B 請大大們幫忙YCT41B  解釋錯在那YCT65B
Private Sub Check1_Click()
  
  hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
  
  If Check1.Value = 1 Then
    WriteProcessMemory hProcess, ByVal &H452C16, &H1, 1, 0& '開啟
  Else
    WriteProcessMemory hProcess, ByVal &H452C16, &HA, 1, 0& '關閉
  End If
  CloseHandle hProcess
End Sub
----------------------------------------------------
Private Sub Check2_Click()

   hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
  
  If Check2.Value = 1 Then
    WriteProcessMemory hProcess, ByVal &H422028, &H1, 1, 0& '開啟
  Else
    WriteProcessMemory hProcess, ByVal &H422028, &HA, 1, 0& '關閉
  End If
    CloseHandle hProcess
End Sub
收藏收藏 分享分享 讚 幹 分享分享 FB分享
回覆

使用道具 舉報


laserrkimo 當前離線
UID
910460
熱心
289 值
嘉獎
0 次
違規
0 次
在線時間
219 小時
經驗
360 點
積分
7033
精華
4
最後登錄
2018-8-6
閱讀權限
55
註冊時間
2008-6-29
論壇幣
6106 幣
聯合幣
40 枚
幸運鑽
3 顆
招待卷
40000 點
查看詳細資料
Rank: 5Rank: 5Rank: 5
laserrkimo 2009-7-5 13:36:43
隱藏建築 開關錯誤 解決方法如下:
1. 先學會使用CE開啟跟關閉的設定
2.學會VB撰寫以及修改功能位子
3.別只學複製貼上,那是沒用的
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊


手機版 | Archiver | 外掛聯合國

GMT+8, 2024-11-25 06:56 , Processed in 0.047500 second(s), 17 queries , Memcache On.

版權說明:
  本站不會製作、經銷、代理外掛程式。僅免費提供外掛程式下載前之掃毒及掃木馬等安全檢測驗證,協助會員遠離盜號危險程式。本站所有資料均來自網際網路收集整理,說明文字暨下載連結轉載自原程 式開發站。站上出現之公司名稱、遊戲名稱、程式等,商標及著作權,均歸各公司及程式原創所有,本站程式所有權歸外掛聯合國所有。本程式所有權歸外掛聯合國所有.......

回頂部
第二步?
第三步?