插件教程 第3页
台服DNF中插件相关修改教程

修复金币异常

//修复金币异常 //CParty::UseAncientDungeonItems var CParty_UseAncientDungeonItems_ptr = ptr(0x859EAC2); var CParty_UseAncientDungeonItems = new NativeFunction(CParty_UseAncientDung...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:57
02135

指定用户强化增幅必定成功(@超级獭可)

指定用户强化增幅必定成功(@超级獭可) 重写函数可自定义概率算法,比如会员永远成功,非会员永远失败  
暴雨的头像-暴雨技术分享网暴雨7月31日 15:53
046914

使用某个物品到账点卷

var get_rand_int = new NativeFunction(ptr(0x086B1B87), 'int', ['int'], { 'abi': 'sysv' }); if ((item_id >= 10000113) && (item_id <= 10000114)) //点券充值 { rechargeCe...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:48
010915

定时邮件整理(@青梅煮酒)

/** * 第一次发送道具,代表发了两个道具 无色(3036) -> 20个,复活币(1)-> 20个(你要给在线玩家得东西) * * @type {number[][]} */ var item_list_one = [ [3036, 20], [1, 20] ]; /...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:46
0823

深渊次次非常困难(大牛头)-@消失

Interceptor.attach(ptr(0x082FFA2E), { onLeave: function (retval) { retval.replace(1); } }); int __cdecl CBattle_Field::GetHellPartyDifficulty(CParty **a1, int a2) Interceptor.attac...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:46
03034

副本捡东西喊喇叭给点卷(@青梅煮酒)

function processing_data(item_id, user, award_item_id, award_item_count, count) const itemName = api_CItem_GetItemName(item_id); if (award_item_id == 0 && count != 0) { api...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:45
03385

基于—frida — 随机强化(@青梅煮酒

第一步: nums -> 强化等级 16 17 18 19 20 weights -> 权重 越小越难出 function randomNumber() { var nums = [16, 17, 18, 19, 20]; var weights = [1, 0.2, 0.05, 0.03, 0.01]; var t...
暴雨的头像-暴雨技术分享网暴雨7月31日 15:45
033014