- UID
- 119417
- 帖子
- 11011
- 主題
- 4333
- 精華
- 0
- 積分
- 5407
- 楓幣
- 14246
- 威望
- 5309
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 738
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 1958 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2024-12-28
|
- // TwMs v258.4 穩定吸怪(控速版)
- // 穩不穩定請自行測試, 數據名稱不是我取的
- [Enable]
- RegisterSymbol(AitHitMobVacDelay)
- RegisterSymbol(AitHitMobVacSW)
- RegisterSymbol(MobCount)
- Alloc(AitHitMobVacDelay,08,14295FB3F)
- Alloc(AitHitMobVacTimer,08,14295FB3F)
- Alloc(AitHitMobVacICS,128,14295FB3F)
- Alloc(AitHitMobVac_1,1024,14295FB3F)
- Alloc(AitHitMobVacSW,08,14295FB3F)
- Alloc(MobCount,08,14295FB3F)
- Alloc(Count1,08,14295FB3F)
- Alloc(Count2,08,14295FB3F)
- Alloc(Temp,256,14295FB3F)
- Label(Exit)
- Label(End)
- AitHitMobVacSW: // 吸怪開關 0=關 1=開
- DQ 1
- MobCount: // 每次吸X隻,A=10隻
- DQ A
- AitHitMobVacDelay: // x秒吸一次,1388H = 5000ms = 5s
- DQ 1388
- AitHitMobVacTimer:
- DQ 0
- Count1:
- DQ 0
- Count2:
- DQ 0
- AitHitMobVacICS:
- push rax
- mov rax,[147132218]
- test rax,rax
- je Exit
- cmp [AitHitMobVacSW],0
- je Exit
- mov rax,14295FB3F
- cmp [rsp+280+08],rax
- jne Exit
- mov rax,AitHitMobVac_1
- mov [rsp+280+08],rax
- jmp Exit
- Exit:
- pop rax
- jmp GetLastError
- AitHitMobVac_1:
- inc [Count1]
- cmp [Count1],16
- jne 14295FB3F
- mov [Count1],0
- mov eax,[MobCount]
- cmp [Count2],eax
- je End
- inc [Count2]
- push rcx
- push rdx
- push rsi
- push r8
- push r9
- push r10
- push r11
- sub rsp,100
- xor rsi,rsi
- mov byte ptr [rsp+70],00
- mov [rsp+68],esi
- mov [rsp+60],rsi
- mov [rsp+58],esi
- mov [rsp+50],00000064
- mov [rsp+48],esi
- mov [rsp+40],esi
- mov rax,[147453458]
- mov eax,[rax+254]
- mov [rsp+38],eax
- mov rax,[147453458]
- mov eax,[rax+250]
- mov [rsp+30],eax
- mov [rsp+28],12
- mov [rsp+20],esi
- lea r9,[Temp]
- mov r8,0
- mov rdx,7
- mov rcx,r12
- call 14295DE90
- add rsp,100
- pop r11
- pop r10
- pop r9
- pop r8
- pop rsi
- pop rdx
- pop rcx
- jmp 14295FB3F
- End:
- push rcx
- call 14472F400
- mov r14d,eax
- sub r14d,[AitHitMobVacTimer]
- cmp r14d,[AitHitMobVacDelay]
- pop rcx
- jl 14295FB3F
- mov [AitHitMobVacTimer],eax
- mov [Count2],0
- jmp 14295FB3F
- 1460EC7E8:
- DQ AitHitMobVacICS
- [Disable]
- 1460EC7E8:
- DQ GetLastError
- DeAlloc(Temp)
- DeAlloc(Count1)
- DeAlloc(Count2)
- DeAlloc(MobCount)
- DeAlloc(AitHitMobVac_1)
- DeAlloc(AitHitMobVacSW)
- DeAlloc(AitHitMobVacICS)
- DeAlloc(AitHitMobVacDelay)
- DeAlloc(AitHitMobVacTimer)
- UnRegisterSymbol(MobCount)
- UnRegisterSymbol(AitHitMobVacSW)
- UnRegisterSymbol(AitHitMobVacDelay)
複製代碼 |
|