游民星空 > 攻略秘籍 > 攻略 > 正文

《三国志12:威力加强版》武将属性达到10000修改方法

2013-04-09 19:10:17 来源:3DM论坛 作者:zwb49601525 我要投稿

第2页:

展开

[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
cmp [eax+10C],4
jne originalcode
movsx ecx,byte ptr [eax+44]
mov ecx,#9999
and ebx,001C0000
jmp 0059A73E

originalcode:
movsx ecx,byte ptr [eax+44]
and ebx,001C0000

exit:
jmp returnhere

"San12PK.exe"+19A734:
jmp newmem
nop
nop
nop
nop
nop
returnhere:

[DISABLE]
dealloc(newmem)
"San12PK.exe"+19A734:
movsx ecx,byte ptr [eax+44]
and ebx,001C0000

以上是统率的脚本。

上面是我用 CE6.2 找到的关键代码,是武将统率属性的,至于后面的3个属性,都在这段代码的后面一些位置,往下拉找就能很快找到的。
这个是我编写的脚本,因为这个修改时全武将统一修改的,所以要加一个人物判定的代码。有可能这个判断人物的代码没用,那就要自己去找特征值了。 
cmp [eax+10C],4
jne originalcode
就是这一句了。想要修改,自己去下载 CE 然后跳转到 "San12PK.exe"+19A734 这个地址。应该就能找到这条代码了。
在这里说一句,我的系统是 WIN7 64 的,所以其他系统可能在这个地址不是这条代码。那就要你自己去找了。

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [eax+10C],4
jnz originalcode
movsx ecx,byte ptr [eax+45]
mov ecx,#9999
push esi
jmp 0059A83F
originalcode:
movsx ecx,byte ptr [eax+45]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A83A:
jmp newmem
returnhere:

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A83A:
movsx ecx,byte ptr [eax+45]
push esi
//Alt: db 0F BE 48 45 56

以上是武力的脚本。

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [eax+10C],4
jnz originalcode
movsx ecx,byte ptr [eax+46]
mov ecx,#9999
push esi
jmp 0059A8E2
originalcode:
movsx ecx,byte ptr [eax+46]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A8DD:
jmp newmem
returnhere:

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A8DD:
movsx ecx,byte ptr [eax+46]
push esi
//Alt: db 0F BE 48 46 56

以上是智力的脚本。

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [eax+10C],4
jnz originalcode
movsx ecx,byte ptr [eax+47]
mov ecx,#9999
push esi
jmp 0059A9F2
originalcode:
movsx ecx,byte ptr [eax+47]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A9ED:
jmp newmem
returnhere:

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A9ED:
movsx ecx,byte ptr [eax+47]
push esi
//Alt: db 0F BE 48 47 56

以上是政治的脚本。

更多相关内容请关注:三国志12专区

责任编辑:迦偌

上一页 1 2
友情提示:支持键盘左右键“← →”翻页

本文是否解决了您的问题

游民星空APP
随手浏览游戏攻略
code
单机游戏下载
休闲娱乐
综合热点资讯
游民星空联运游戏