台服dnf吧 关注:120,542贴子:1,962,706

我有一个深刻的烦恼。

只看楼主收藏回复

我有一个深刻的烦恼。我一直在在一位杰出人士的帮助下学习如何将0627中的地图和商店变成窗口。然而,它是用简易语言(Easy Language)编写的,而不是我的专业领域C++,所以在将其转换为1031时遇到了相当大的困难。此外,根据原作者的要求,严格禁止透露他的身份和源代码。因此,TOD的更新一直受到阻碍。根据我的计算,要将地图和商店变成窗口,需要寻找的地址值数量最少约40个,最多可能达到60个左右。因此,我陷入了严重的困境。请分享您的意见。由于这是通过AI翻译的,可能会出现相当程度的意义扭曲,请提前谅解。


IP属地:韩国1楼2025-05-07 01:42回复
    大佬加油👏顶你(보스 화이팅, 최고야


    IP属地:山东来自iPhone客户端3楼2025-05-07 06:55
    回复
      2025-07-31 17:00:43
      广告
      不感兴趣
      开通SVIP免广告
      慢慢来不着急 可以的话也能把代码交给AI来转换易语言和c+.


      IP属地:陕西来自Android客户端4楼2025-05-07 07:15
      回复


        IP属地:广东来自Android客户端5楼2025-05-07 07:19
        回复


          IP属地:河南来自iPhone客户端6楼2025-05-07 07:38
          回复
            There is a library in Python, angr, Can it be used for reverse analysis on the client side, and perhaps Angr can be used for symbol execution analysis and comparison of key function offsets? I'm not sure if this is helpful. Here is an example code
            # Using Angr for Symbolic Execution AnalysisUsing Angr for Symbolic Execution Analysis
            import angr
            def find_offset_diff(old_bin, new_bin):
            old_proj = angr.Project(old_bin, auto_load_libs=False)
            new_proj = angr.Project(new_bin, auto_load_libs=False)
            # Establish a function call graph for comparison
            old_cfg = old_proj.analyses.CFGFast()
            new_cfg = new_proj.analyses.CFGFast()
            # Compare key function offsets
            func_diff = {}
            for addr, func in old_proj.kb.functions.items():
            new_func = new_cfg.functions.get(func.name, None)
            if new_func:
            func_diff[func.addr] = new_func.addr - func.addr
            return func_diff


            IP属地:上海7楼2025-05-07 08:30
            回复
              可以尝试让ai转换语言?


              IP属地:湖北来自Android客户端8楼2025-05-07 09:56
              回复
                哇,韩国的盆友 66666


                IP属地:广东来自Android客户端11楼2025-05-07 10:43
                回复
                  2025-07-31 16:54:43
                  广告
                  不感兴趣
                  开通SVIP免广告
                  대형, 압도적으로 앞서네. 바이두 티에바 역사에 이름을 새기고, 회원들의 존경을 한몸에 받다."
                  Big shot, way ahead of the game. Etched into Baidu Tieba's history and revered by fellow users.
                  大佬,遥遥领先。在百度贴吧铭刻于历史中,受吧友敬仰。


                  IP属地:广东来自Android客户端12楼2025-05-07 11:05
                  回复
                    转发狗哥的原话
                    sub_10561E0是控件位置
                    sub_1058170和sub_1067CE0是贴图
                    //0x00E63A06
                    FunctionPtr readPvfInt_1241550 = (FunctionPtr)0x01241550;
                    FunctionPtr SetWideMiniMapWorldIconRet = (FunctionPtr)0x00E63A0B;
                    extern "C" Naked void SetWideMiniMapWorldIcon_E63A06()
                    {
                    __asm {
                    call readPvfInt_1241550
                    add eax, [WidthOffset]
                    jmp SetWideMiniMapWorldIconRet
                    }
                    }
                    //0x00E61E8C
                    FunctionPtr SetWideMiniMapAreaRectRet = (FunctionPtr)0x00E61EA2;
                    extern "C" Naked void SetWideMiniMapAreaRect_E61E8C()
                    {
                    __asm {
                    call readPvfInt_1241550
                    add eax, [WidthOffset]
                    push ebx
                    mov [esi], eax
                    call readPvfInt_1241550
                    push ebx
                    mov [esi + 4], eax
                    call readPvfInt_1241550
                    add eax, [WidthOffset]
                    jmp SetWideMiniMapAreaRectRet
                    }
                    }
                    WriteJmpCode((void*)0x00E63A06, SetWideMiniMapWorldIcon_E63A06);
                    WriteJmpCode((void*)0x00E61E8C, SetWideMiniMapAreaRect_E61E8C);
                    响应区和图标位置
                    这个就是居中,没法拖动1031
                    看看能不能帮上啥忙


                    IP属地:河南来自iPhone客户端13楼2025-05-07 11:12
                    回复
                      不明觉厉


                      IP属地:河南14楼2025-05-07 13:39
                      回复
                        如果只是居中,不做窗口化会不会好一点。


                        IP属地:河南来自iPhone客户端15楼2025-05-08 15:52
                        回复
                          什么乱七八糟的,游戏本身就是窗口化的,你还要什么窗口化,原汁原味不好吗?真是搞不明白什么意思。


                          IP属地:河北来自Android客户端16楼2025-05-08 19:46
                          回复
                            地图应该也属于窗口创建,应该是创建了一个比游戏窗口更大的窗口,并且窗口在创建的时候,类型不同所以无法拖动。
                            你尝试hook地图窗口创建部分,重新设置它的尺寸和坐标以及窗口类型,让它变为常规可拖动窗口。


                            IP属地:湖北17楼2025-05-08 20:00
                            回复
                              2025-07-31 16:48:43
                              广告
                              不感兴趣
                              开通SVIP免广告
                              围观一下


                              IP属地:江苏18楼2025-05-08 21:09
                              回复