ce吧 关注:196,544贴子:3,801,500

回复:vb第四课,实现设计图召唤,实现技能call打团!

只看楼主收藏回复


我们查找技能call尾部发现 他没有压栈参数(push),有压栈参数回事 ret 0x**,确定了ecx就是技能的参数,ecx是一个结构体指针!


16楼2019-07-10 02:50
回复


    我圈出来的这段就是技能call结构体了
    结构如下
    指针 阵营 代码 代码伤害系数
    保留 保留 X轴 Y轴
    Z轴 保留 保留 参数数1(未知)
    保留 **10101 保留 保留
    保留 保留 保留 保留
    保留 FFFFFFFF 0101 14
    技能大小 FFFF FFFF 未知
    保留 保留 保留 保留
    保留 保留 保留 保留
    保留 保留 保留 保留
    翻译成VB源代码形式是
    '结构体
    Private Type SkillStruct
    pBase As Long
    Team As Long
    SkillID As Long
    SkillLevel As Long
    Reserve1 As Long
    Reserve2 As Long
    X As Long
    Y As Long
    Z As Long
    Reserve3 As Long
    Reserve4 As Long
    Reserve5 As Long '1
    Reserve6 As Long
    Reserve7 As Long '&H10101
    Reserve8 As Long
    Reserve9 As Long
    Reserve10 As Long
    Reserve11 As Long
    Reserve12 As Long
    Reserve13 As Long
    Reserve14 As Long
    Reserve15 As Long '&Hffffffff
    Reserve16 As Long '&H180101
    Reserve17 As Long '&H14
    Size As Single
    Reserve18 As Long '&Hffff
    Reserve19 As Long '&Hffff
    Reserve20 As Long
    Reserve21 As Long
    Reserve22 As Long
    Reserve23 As Long
    Reserve24 As Long
    Reserve25 As Long
    Reserve26 As Long
    Reserve27 As Long
    Reserve28 As Long
    Reserve29 As Long
    Reserve30 As Long
    Reserve31 As Long
    End Type
    新建一个模块名为 SkillClass并添加


    17楼2019-07-10 03:00
    回复
      常量表添加一个常量 人物基址
      Public Const Figure As Long = &H651C040
      待会用到


      18楼2019-07-10 03:01
      回复

        VB实现技能call就是那么简单,什么申请内存,找空白地址,统统不用,编译器帮我们搞定!!!


        19楼2019-07-10 03:06
        收起回复

          编译一个上游戏看看效果


          20楼2019-07-10 03:08
          回复

            这个x y 要改成100 给他固定值,不然编译不通过,等大家学到了,如何取怪物坐标就可以填怪物的XY这样子就是技能全屏了


            21楼2019-07-10 03:11
            收起回复

              效果图,本课结束,大家打团用什么代码,自己写,我只是写个例子,我不打团,也不知道用什么代码,我只喜欢写代码不喜欢玩游戏


              22楼2019-07-10 03:18
              收起回复


                IP属地:浙江来自Android客户端24楼2019-07-10 04:07
                回复
                  前面的链接全没了


                  来自Android客户端27楼2019-07-10 09:26
                  收起回复
                    我断断续续学vb挺久了,然而因为ce方面的概念太弱,看楼主的贴子也是一脸懵逼


                    IP属地:中国香港来自Android客户端28楼2019-07-10 10:43
                    回复
                      我要视频


                      IP属地:广东来自Android客户端29楼2019-07-10 16:40
                      回复
                        劫持工具那个楼


                        IP属地:浙江32楼2019-07-11 12:43
                        回复
                          大佬出个多段


                          33楼2019-07-11 20:05
                          回复
                            厉害了 大佬


                            IP属地:湖北来自iPhone客户端34楼2019-07-11 20:07
                            回复
                              vb需要过木马么


                              IP属地:新疆来自Android客户端35楼2019-07-13 00:45
                              回复