注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 小五思科技术学习笔记之SSH
 帮助

科隆2外挂源代码(VB)


2007-07-17 13:29:46
 标签:科隆2 挂源代码   [推送到技术圈]

科隆2外挂源代码(VB)[请配合FPE修改科隆2制作~]
2007-05-29 01:29
Option Explicit
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public ChraddCL As Long '人物跳转地址
Public ChraddSD As Long '商店跳转地址
Private Const keymf = 192
Dim DRHwnd As Long
Dim DRPid As Long
Dim DRProcessHandle As Long
Private Const PROCESS_ALL_ACCESS = &H1F0FFF
Private Sub Command1_Click()
DRHwnd = FindWindow("Corum Online Project", "Corum Online Project")
GetWindowThreadProcessId DRHwnd, DRPid
DRProcessHandle = OpenProcess(PROCESS_ALL_ACCESS, False, DRPid)
If DRProcessHandle = 0 Then
MsgBox "外挂开启失败", , ""
Else
     Command1.Caption = "开启成功"
     Command1.Enabled = False
    ReadProcessMemory DRProcessHandle, &H60E3BC, ChraddCL, 4, 0&
    ReadProcessMemory DRProcessHandle, &H887980, ChraddSD, 4, 0&
     Command2.Enabled = True
     Timer1.Enabled = True
     Timer2.Enabled = True
     Check3.Enabled = True
  End If
End Sub
Private Sub Command2_Click()
WriteProcessMemory DRProcessHandle, ChraddSD + 40, &O1, 1, 0&   '打开商店
End Sub
Private Sub Timer1_Timer()
  If Check3.Value Then
      WriteProcessMemory DRProcessHandle, ChraddCL + 68, &H100A, 2, 0&   '魔法锁定
      Call Sleep(1)
      WriteProcessMemory DRProcessHandle, ChraddCL + 68, &HC0A, 2, 0&   '恢复行走
  End If
End Sub
Private Sub Timer2_Timer()
  If (Not GetAsyncKeyState(9) = 0) And (Not GetAsyncKeyState(vbKeyTab) = 0) Then
    WriteProcessMemory DRProcessHandle, ChraddSD + 40, &O1, 1, 0&   'Tab 打开商店
  End If
  If (Not GetAsyncKeyState(192) = 0) And (Not GetAsyncKeyState(keymf) = 0) Then
    If Check3.Value Then
       Check3.Value = 0
    Else
       Check3.Value = 1
    End If   '~ 开启魔法
  End If
End Sub




    文章评论
 
2007-08-26 09:58:47
请问怎么用?

2007-08-26 09:59:36
请加我QQ82388582 ,教教我,我在玩科隆私服,等你哦,期待你的出现

2007-12-10 09:52:33
你觉得内存地址不改变吗?
我想知道如何查找基地址~
还有 我觉得你这个源码读起来还有点问题

2008-06-02 11:33:55
:《暗夜科隆3》将于08年6月1日晚8点火爆内测,已经封测 公测6月25日晚8点火爆开放!!
暗夜科隆3游戏内容和特色介绍
客服(QQ):100968590QQ群:62798931
工会集体加入更有丰厚的启动资金哦!!!请和GM联系!


网站地址:bbs.corum3.cn

开放时间:(24小时)
经验倍率:高
掉宝倍率:高
卡片倍率:高
服务器类型:中国电信机房100M独享带宽,专业服务器 CPU:四核 内存:4G   硬盘:500G
网络环境:专业机房,服务稳定,100M独享,7*24小时开放
系统功能:
开放飞船,开放新地图,开放强化物品
开放召唤兽
开放卡片
开放特殊物品
开放消耗性道具
开放皮包
开放终极套装
开放可占领地牢
开放工会系统

加入新特色系统:最终装备 强化系统 皮包计划 组队系统


暗夜科隆3是由前官网公会会员完成,家族全部为科隆老玩家,对游戏有深厚的感情。本着的对游戏的热爱, 服务器为玩家提供一个优质的长期稳定的免费游戏平台. 希望大家一起玩的开心。快加入吧!!!

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: