放一个修复npc商店卡道具
老bug了 具体怎么卡就不细说超变服比较容易出这个问题
直接放修复方法 3种任选其一
1.ceserver配合CEAA这个比较适合调试
ENABLE
//code from here to 'DISABLE' will be used to enable the cheat
081BE9F2:
//mov eax, eax+9C
db 8b 80 9c 00 00 00
//cmp eax, 0
db 83 f8 00
//jl81BEA41
db 7C 44
DISABLE
//code from here till the end of the code will be used to disable the cheat
081BE9F2:
//mov eax, eax+98
db 8b 80 98 00 00 00
//cmp eax, -1
db 83 f8 ff
//jz81BEA10
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
},
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 第一次知道能卡npc商店 显先生大义 牛哇牛哇 看不懂啊 大佬 害惨了我这个挂壁 第三种方法放哪里
页:
[1]