修复npc商店卡道具(@红龙阿奎255)

老bug了 具体怎么卡就不细说
超变服比较容易出这个问题
直接放修复方法 3种任选其一
1.ceserver配合CEAA 这个比较适合调试
[lbk]ENABLE[rbk]
//code from here to ‘[lbk]DISABLE[rbk]’ will be used to enable the cheat
081BE9F2:
//mov eax, [lbk]eax+9C[rbk]
db 8b 80 9c 00 00 00
//cmp eax, 0
db 83 f8 00
//jl 81BEA41
db 7C 44
[lbk]DISABLE[rbk]
//code from here till the end of the code will be used to disable the cheat
081BE9F2:
//mov eax, [lbk]eax+98[rbk]
db 8b 80 98 00 00 00
//cmp eax, -1
db 83 f8 ff
//jz 81BEA10
db 74 13

 

 

 

2. frida
//int __cdecl DisPatcher_BuyItem::get_data(DisPatcher_BuyItem *a1, CUserCharacInfo *a2, int a3, BuyItemParam *a4)
Interceptor.attach(ptr(0x081BE658), {
onEnter: function (args) {
this BuyItemParam = args[3]
},
onLeave: function (retval) {
if(this.BuyItemParam.add(156).readInt()<0) return retval.replace(10)
}
});

 

3.直接修复服务端文件 以一键端为例
cd ~/game
./root/stop
cp df_game_r df_game_r_back
xxd -p df_game_r > df_game_r.
sed -i ‘s/8b809800000083f8ff7413/8b809c00000083f8007c44/g’ df_game_r.
xxd -r -p df_game_r. df_game_r

声明:本站文章素材多源于网络,版权归原作者。 声明中文字加粗部分,仅为突出重点信息展示,无其他特殊含义。任何个人或组织,在未经原版权方及本站许可时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

重要限制:本站素材仅供单机学习交流,请在24小时内删除

给TA仙缘
共{{data.count}}人
人已仙缘
DNF搭建教程DNF教学资源

外网组队红电脑方法

2024-12-28 15:26:34

DNF教学资源DNF疑难杂症

GMtool2021版本无法启动,启动无反应的解决教程

2024-12-28 15:26:37

动态加载多个广告位

宝子们!这里可是超棒的固定广告位哟!要是你有广告推广的想法,想让更多人看到你的好东西,别犹豫,赶紧联系博主呀,咱们一起把精彩传递出去。

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索