游戏达人
  
- 贡献度
- 426
- 金元
- 8159
- 积分
- 2520
- 精华
- 0
- 注册时间
- 2010-10-8
|
补充一个脚本,可以减少往返基地的次数.
本来想做个腐烂国度1那样自动上交包裹,随时打开基地储存箱的功能,但始终不成功.
退而取其次吧,先用这个脚本凑合凑合.
汽车不在基地停车位也能按T传送物品到基地a
[ENABLE]
fullaccess("StateOfDecay2-UWP64-Shipping.exe",0x1000)
define(myhook_keyaction,"StateOfDecay2-UWP64-Shipping.exe"+510)
define(swich_nochange,"StateOfDecay2-UWP64-Shipping.exe"+500)
define(exit,"StateOfDecay2-UWP64-Shipping.exe"+A395AB)
swich_nochange:
call StateOfDecay2-UWP64-Shipping.exe+65C9A0
jmp exit
myhook_keyaction:
cmp edx,5
jne swich_nochange
mov byte ptr [ecx+108],0
mov byte ptr [ecx+0b0],6
jmp swich_nochange
StateOfDecay2-UWP64-Shipping.exe+66DCE0:
mov al,0
ret
StateOfDecay2-UWP64-Shipping.exe+A395A6:
jmp myhook_keyaction
[DISABLE]
StateOfDecay2-UWP64-Shipping.exe+66DCE0:
db 40 53 57
StateOfDecay2-UWP64-Shipping.exe+A395A6:
call StateOfDecay2-UWP64-Shipping.exe+65C9A0 |
|