游戏狂人
![Rank: 6](static/image/common/star_level3.gif) ![Rank: 6](static/image/common/star_level2.gif)
- 贡献度
- 94
- 金元
- 7265
- 积分
- 1103
- 精华
- 0
- 注册时间
- 2017-10-10
![滑稽](static/image/common/medal266.gif) ![爱蜜莉雅](static/image/common/medal289.gif) ![万圣节幽灵](static/image/common/medal282.gif)
|
本帖最后由 seresuthin2996 于 2024-9-8 11:52 编辑
新增一项获取忍具功能(不用打箱子就可以直接获取想要的忍具):复制下面的代码粘贴到CE空白区域即可生成脚本。
有些忍具我不认识(还没收集图鉴)所以名字写的问号,真的认不出来是啥。管理能帮忙在一楼更新下附件和图片吗?我编辑后显示没权限
B站发布了修改教程视频,希望大家能支持一下。
视频演示:https://www.bilibili.com/video/BV1DyHfeYEzu/?spm_id_from=333.1365.list.card_archive.click&vd_source=55a8a5e8411eecc5fffbb35923ff6c90
![](static/image/hrline/1.gif)
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>33</ID>
<Description>"忍具CALL"</Description>
<Options moHideChildren="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,256,"GameAssembly.dll"+3EE455)
label(returnhere)
label(ptrz,num,id)
registersymbol(ptrz,num,id)
label(originalcode)
label(exit)
newmem:
mov rax,[rdx+rax*8+20]
originalcode:
mov [ptrz],rax
exit:
jmp returnhere
ptrz:
dq 0
num:
dd #-1
id:
dd #35
"GameAssembly.dll"+3EE455:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
unregistersymbol(ptrz,num,id)
"GameAssembly.dll"+3EE455:
db 48 8B 44 C2 20
//mov rax,[rdx+rax*8+20]
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>31</ID>
<Description>"获取(按F2)"</Description>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
alloc(MS,100)
createThread(MS)
MS:
push r8
push rdx
push rcx
push r11
push r12
mov r11,num
mov r8d,[r11]
mov r12,id
mov edx,[r12]
mov rcx,ptrz
mov rcx,[rcx]
call GameAssembly.dll+31C800
pop r12
pop r11
pop rcx
pop rdx
pop r8
ret
[DISABLE]
//dealloc(MS)
alloc(MS,100)
createThread(MS)
MS:
push r8
push rdx
push rcx
push r11
push r12
mov r11,num
mov r8d,[r11]
mov r12,id
mov edx,[r12]
mov rcx,ptrz
mov rcx,[rcx]
call GameAssembly.dll+31C800
pop r12
pop r11
pop rcx
pop rdx
pop r8
ret
</AssemblerScript>
<Hotkeys>
<Hotkey>
<Action>Toggle Activation</Action>
<Keys>
<Key>113</Key>
</Keys>
<ID>0</ID>
</Hotkey>
</Hotkeys>
</CheatEntry>
<CheatEntry>
<ID>34</ID>
<Description>"获取量"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">-1:无限
</DropDownList>
<ShowAsSigned>1</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>num</Address>
</CheatEntry>
<CheatEntry>
<ID>35</ID>
<Description>"指定ID"</Description>
<DropDownList DescriptionOnly="1" DisplayValueAsItem="1">10:大砍刀
11:棒球棍
12:锯齿刀
13:狼牙棒
14:大太刀
15:大刀
16:大棒槌
17:光剑?
20:近战苦无
21:单拐
22:爪子
23:拳套?
24:斧头
25:拳刃?
26:铁环?
27:??
30:霰弹枪
31:加特林
32:大炮
33:扩散炮
34:喷火器
35:火箭筒
36:?枪
37:激光枪
40:?食物
41:苹果
42:面包
43:饭团
44:红鱼
45:汉堡鸡腿?
46:肉
47:蘑菇?
50:w饮料
51:茶?
52:M饮料
53:药葫芦
54:能量饮料
55:无敌药
56:血量上限药
57:能量?酒
60:手里剑
61:远程苦无
62:风车手里剑
63:铁刺
64:手雷
65:炸弹
66:???
67:手里剑炸弹
68:扇子
70:吹箭
71:??袋
72:召唤??
73:无人机??
74:招财猫
</DropDownList>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>ID</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
![](static/image/hrline/1.gif)
再新增一项免疫伤害且不会受到僵直,这回无敌闪烁可以删了。
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>36</ID>
<Description>"免疫伤害且不会陷入僵直"</Description>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>
[ENABLE]
aobscanmodule(MUD,GameAssembly.dll,84 C0 0F 85 44 02 00 00 48 89)
registersymbol(MUD)
MUD:
db 84 D2
[DISABLE]
MUD:
db 84 C0 0F 85 44 02 00 00
unregistersymbol(MUD)
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
![](static/image/hrline/1.gif)
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|