王国:两位君主v2.1.0 ce修改

创建脚本复制,代码如下

地狱三头犬和北欧神器召唤的亡灵小队数量:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
registersymbol(number)
alloc(number,8)
label(returnhere returnhere1 returnhere2 returnhere3)
label(knight knight1)
label(archer archer1)
label(exit exit1 exit2 exit3)

newmem:
mov ecx,[number]
knight:
mov [esp+08],ecx     //骑士数量
mov [esp+04],eax
jmp exit

newmem+100:
mov ecx,[number+4]
archer:
mov [esp+08],ecx    //弓箭手数量
mov [esp+04],eax
jmp exit1

newmem+200:
mov ecx,[number]
knight1:
mov [esp+08],ecx     //骑士数量
mov [esp+04],eax
jmp exit2

newmem+300:
mov ecx,[number+4]
archer1:
mov [esp+08],ecx    //弓箭手数量
mov [esp+04],eax
jmp exit3

exit:
jmp returnhere

exit1:
jmp returnhere1

exit2:
jmp returnhere2

exit3:
jmp returnhere3

number:
dd #5
dd #12

SummonGhostSteedAbility:Activate+133:
jmp newmem
nop 3
returnhere:

SummonGhostSteedAbility:Activate+16b:
jmp newmem+100
nop 3
returnhere1:

HelsHead:TriggerItemAbility+f7:
jmp newmem+200
nop 3
returnhere2:

HelsHead:TriggerItemAbility+132:
jmp newmem+300
nop 3
returnhere3:
 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
unregistersymbol(number)
dealloc(newmem number)
SummonGhostSteedAbility:Activate+133:
db 89 4C 24 08 89 44 24 04
SummonGhostSteedAbility:Activate+16b:
db 89 4C 24 08 89 44 24 04
HelsHead:TriggerItemAbility+f7:
db 89 4C 24 08 89 44 24 04
HelsHead:TriggerItemAbility+132:
db 89 4C 24 08 89 44 24 04
//mov [esp+08],ecx
//mov [esp+04],eax

难民房子:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
push eax
mov eax,[esp+8]
mov [eax+50],1                //价格
mov [eax+dc],(float)0.1        //刷新时间,血月不刷新
pop eax

originalcode:
push ebp
mov ebp,esp
push edi
sub esp,34

exit:
jmp returnhere

CitizenHousePayable:Update:
jmp newmem
nop 2
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
CitizenHousePayable:Update:
db 55 8B EC 57 83 EC 34
//push ebp
//mov ebp,esp
//push edi
//sub esp,34

背包上限:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)


newmem:
cmp [ebx+40],(float)0.125       //比较是不是玩家
jne originalcode
mov [ebx+50],#99999999

originalcode:
mov [esp+08],ecx
mov [esp+04],esi



exit:
jmp returnhere


Wallet:SetCurrency+55:
jmp newmem
nop 3
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
Wallet:SetCurrency+55:
db 89 4C 24 08 89 74 24 04
//mov [esp+08],ecx
//mov [esp+04],esi

钱不溢出:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
mov eax,0

originalcode:
ret 
add [eax],al
add [ebp-75],dl

exit:
jmp returnhere

CurrencyBag:HasEnoughCurrency+dc:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
CurrencyBag:HasEnoughCurrency+dc:
db C3 00 00 00 55 8B
//ret 
//add [eax],al
//add [ebp-75],dl

墙无敌:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
push eax
mov eax,[ebp+08]
mov eax,[eax+30]
mov [eax+9c],#1000  //锁定墙1000血
pop eax

originalcode:
mov edi,[ebp+08]
mov eax,[edi+30]

exit:
jmp returnhere

Wall:UpdateGraphics+7:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
Wall:UpdateGraphics+7:
db 8B 7D 08 8B 47 30
//mov edi,[ebp+08]
//mov eax,[edi+30]

神器无冷却:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
push eax
mov eax,[ebp+08]
mov [eax+2c],(float)0                //_itemCooldown   冷却
mov [eax+54],(float)0              //_nextActivationTime   下次放技能时间
pop eax

originalcode:
mov edi,[ebp+08]
fld dword ptr [edi+54]

exit:
jmp returnhere

ItemOfPower:CooldownRemaining+7:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
ItemOfPower:CooldownRemaining+7:
db 8B 7D 08 D9 47 54
//mov edi,[ebp+08]
//fld dword ptr [edi+54]

坐骑技能无冷却:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
push eax
mov eax,[ebp+08]
mov [eax+20],0  //staminaCost   花费耐久
mov [eax+2c],0  //cooldown      冷却
pop eax

originalcode:
sub esp,30
mov edi,[ebp+08]

exit:
jmp returnhere

SteedAbility:Activate+5:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
SteedAbility:Activate+5:
db 83 EC 30 8B 7D 08
//sub esp,30
//mov edi,[ebp+08]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值