v98版的代碼貼於在此此為集中區不需回覆只提供集中代碼
最後一次警告如果在回覆不關代碼者此篇文章將提高權限請不要在來亂了
- //怪物順移全集
- //原作: a00764599
- //順移原本代碼作者: maxjojo
- //更新者: qwe8966351
- //Address : 00414647
- //Eip : ALLFAST
- //=================注意================注意===================
- [ENABLE]
- registersymbol(ALLFAST)
- registersymbol(Moves1onoff)
- registersymbol(Moves2onoff)
- registersymbol(Moves3onoff)
- registersymbol(Moves4onoff)
- alloc(ALLFAST, 1024)
- alloc(Moves1onoff, 4)
- alloc(Moves2onoff, 4)
- alloc(Moves3onoff, 4)
- alloc(Moves4onoff, 4)
- label(Stop)
- label(Moves1)
- label(Moves1Normal)
- label(Moves2)
- label(Moves2Normal)
- label(Moves3)
- label(Moves3Normal)
- label(Moves4)
- label(Moves4Normal)
- //=======================================================
- //怪瞬移1號開關 【0】關 【1】開
- //=======================================================
- Moves1onoff:
- dd 1
- //=======================================================
- //怪瞬移2號開關 【0】關 【1】開
- //=======================================================
- Moves2onoff:
- dd 0
- //=======================================================
- //怪瞬移3號開關 【0】關 【1】開
- //=======================================================
- Moves3onoff:
- dd 0
- //=======================================================
- //怪瞬移4號開關 【0】關 【1】開
- //=======================================================
- Moves4onoff:
- dd 1
- //=======================================================
- ALLFAST:
- cmp dword ptr [esp], 00655975 //怪瞬移1號
- je Moves1
- cmp dword ptr [esp], 0065592A //怪瞬移2號
- je Moves2
- cmp dword ptr [esp], 0065591C //怪瞬移3號
- je Moves3
- cmp dword ptr [esp], 00655995//怪瞬移4號
- je Moves4
- //=======================================================
- Stop:
- push ebp
- jmp 00414648
- //===怪瞬移1號====================================
- Moves1:
- cmp [Moves1onoff], 1
- jne Moves1Normal
- ret
- Moves1Normal:
- jmp Stop
- //===怪瞬移2號====================================
- Moves2:
- cmp [Moves2onoff], 1
- jne Moves2Normal
- ret
- Moves2Normal:
- jmp Stop
- //===怪瞬移3號====================================
- Moves3:
- cmp [Moves3onoff], 1
- jne Moves3Normal
- ret
- Moves3Normal:
- jmp Stop
- //===怪瞬移4號====================================
- Moves4:
- cmp [Moves4onoff], 1
- jne Moves4Normal
- ret
- Moves4Normal:
- jmp Stop
- [disable]
- unregistersymbol(ALLFAST)
- unregistersymbol(Moves1onoff)
- unregistersymbol(Moves2onoff)
- unregistersymbol(Moves3onoff)
- unregistersymbol(Moves4onoff)
- dealloc(Monster along moves)
- dealloc(Moves1onoff)
- dealloc(Moves2onoff)
- dealloc(Moves3onoff)
- dealloc(Moves4onoff)
複製代碼 以測試OK 可用
============================================分格線- //版本:TWMS098
- //數據名稱:攻擊不停
- //更新:sam456
- //日期:2009/7/29
- // 代碼 :008F9000
- // EIP : CSX
- [Enable]
- registersymbol(CSX)
- alloc(CSX,128)
- label(CSXReturn)
- CSX: //CSEAX X
- push eax
- mov eax,[00adc0d4]
- mov eax,[eax+2588]
- cmp eax,2
- pop eax
- jg CSXReturn
- push eax
- mov eax,[00adc0d4]
- mov eax,[eax+0D6C]
- cmp esi,eax
- pop eax
- jne CSXReturn
- add eax,0a
- jmp CSXReturn
- CSXReturn:
- mov [ebx], eax
- jmp 008F9002
- [Disable]
- unregistersymbol(CSX)
- dealloc(CSX)
複製代碼 ============================================分格線- 說話重複不限3次 004819DE ZF[V][V]
複製代碼-
- //TWMS098 滑鼠移動(右趴左趴板)
- // 更新者=6510429s
- //EIP=CSX
- //address:008F9000
- //熱鍵控制: 右趴下=開 左趴下=關
- [Enable]
- alloc(MouserX,512)
- alloc(MouserY,512)
- alloc(CSX,128)
- registersymbol(CSX)
- alloc(OnOff,128)
- registersymbol(OnOff)
- label(normal)
- label(normalx)
- label(normaly)
- label(back)
- label(return)
- label(On)
- label(Off)
- OnOff:
- dd 0
- CSX:
- push eax
- mov eax,[00ADC0D4]
- cmp [eax+0384],a
- je On
- cmp [eax+0384],b
- je Off
- pop eax
- jmp MouserX
- normal:
- pop eax
- mov [ebx], eax
- mov edi,[ebp+10]
- jmp back
- back:
- jmp 008f9005
- return:
- jmp 008f906a
- On:
- pop eax
- mov [OnOff],1
- jmp MouserX
- Off:
- pop eax
- mov [OnOff],0
- jmp MouserX
- MouserX:
- cmp [OnOff],0
- je normalx
- push eax
- mov eax,[00ADC0D4]
- mov eax,[eax+0D6C]
- cmp esi,eax
- pop eax
- jne normalx
-
- mov eax, [00ADC270]
- mov eax, [eax+0978]
- mov eax, [eax+84]
- mov [ebx], eax
- mov edi,[ebp+10]
- test edi, edi
- jne MouserY
- jmp 008f9083
-
- normalx:
- mov [ebx], eax
- mov edi,[ebp+10]
- jmp back
-
- MouserY:
- push eax
- mov eax,[00ADC0D4]
- mov eax,[eax+0D6C]
- cmp esi,eax
- pop eax
- jne normaly
-
- mov eax, [00ADC270]
- mov eax, [eax+0978]
- mov eax, [eax+88]
- mov [edi], eax
- mov ebx,[ebp+14]
- jmp return
-
- normaly:
- mov [edi], eax
- mov ebx,[ebp+14]
- jmp return
- [Disable]
- dealloc(MouserX)
- dealloc(MouserY)
- dealloc(CSX)
- unregistersymbol(CSX)
- dealloc(OnOff)
- unregistersymbol(OnOff)
複製代碼-
- //V98跳怪掉落
- //原作:zgenden 更新:a00764599
- //Address: 008FD3B9
- //EIP: ALLDOWN
- [ENABLE]
- registersymbol(ALLDOWN)
- alloc(ALLDOWN,128)
- label(ALLDOWN01)
- ALLDOWN:
- cmp eax,01
- je ALLDOWN01
- add [ebx+00000230],1
- mov eax,[ebx+00000230]
- jmp ALLDOWN01
- ALLDOWN01:
- cmp eax,01
- jmp 008FD3BC
- [DISABLE]
- dealloc(ALLDOWN)
- unregistersymbol(ALLDOWN)
複製代碼-
- [enable]
- //================================================
- // 名稱: 疾風掉怪N合1 [無防紅點]
- // 功能: 1.走, 跳怪左右走 2.笨怪 3.10秒PG無敵 4.跳怪不跳
- // 5.致命的吸引力
- // 說明: 左趴往左,右趴往右,坐下停止控制
- // 版本: TWMS098
- // 更新時間: 2009/7/30
- // 更新作者: momomom
- // ADD: 00414757
- // EIP: MyLR // 請輸入8碼並非前4碼
- // LR: 掉怪方向 1停 3左 2右
- // VarMaxBloom: 最高損血量: 初始值: 2滴, 採用16進次
- // VarMinBloom: 最低損血量: 初始值: 1滴, 採用16進次 (設0=miss)
- //================================================
- registersymbol(MyLR)
- registersymbol(LR)
- registersymbol(VarMaxBloom)
- registersymbol(VarMinBloom)
- alloc(VarMaxBloom, 4)
- alloc(VarMinBloom, 4)
- alloc(RunSW, 4)
- alloc(MyLR,1024)
- alloc(MyDir,4)
- alloc(MyCt,4)
- alloc(MyPt1,4)
- alloc(LR,4)
- label(MyLR1)
- label(GoLR)
- label(GoLR1)
- label(GoLR2)
- label(GoLR3)
- label(GoLR4)
- label(GoLR5)
- label(GoLRback)
- label(JmpLR)
- label(JmpLR1)
- label(JmpLR2)
- label(JmpLRback)
- label(MyStupid)
- label(MyNoBack)
- label(MyState)
- label(MyCharX)
- label(MyNoJmp)
- label(LRDir1)
- label(LRDir2)
- label(LRDir3)
- label(LRDir4)
- label(LRDir5)
- label(LRDir6)
- label(LRDir7)
- label(CBR100)
- //--------↓PG無敵↓--------------
- VarMaxBloom:
- DD 2 // 最高損血量: 初始值: 2滴, 採用16進次
- VarMinBloom:
- DD 1 // 最低損血量: 初始值: 1滴, 採用16進次 (設0=miss)
- //--------↑PG無敵↑--------------
- LR:
- DD 1 // 掉怪方向 1停 3左 2右
- MyDir:
- DD 1
- MyLR:
- push eax
- cmp [00ADC0E8],0
- je MyLR1
- pop eax
- cmp dword ptr [esp], 008FC6C5
- je GoLR
- cmp dword ptr [esp], 008FCADF
- je JmpLR
- cmp dword ptr [esp], 008FB65C
- je MyStupid
- cmp dword ptr [esp], 008A2E97
- jz MyNoBack
- cmp dword ptr [esp], 008FCA97
- jz MyNoJmp
- ret
- MyLR1:
- pop eax
- ret
- //================================
- GoLR:
- add esp,4
- call MyState
- push 03
- pop ecx
- mov [edi+20],eax
- xor edx,edx
- div ecx
- cmp [MyDir], 1
- je GoLRback
- cmp [MyDir], 3
- je GoLR1
- cmp [MyDir], 4
- je GoLR3
- cmp edx, [MyDir]
- je GoLRback
- mov [esi+000004D0],0
- jmp GoLRback
- GoLR1:
- push eax
- call MyCharX
- jmp GoLR4
- GoLR3:
- push eax
- mov eax,[MyPt1]
- GoLR4:
- cmp edx, 1
- je GoLR5
- jg GoLR2
- cmp eax,[esi+1c4]
- pop eax
- mov [esi+000004D0],5
- jl GoLRback
- mov [esi+000004D0],0
- jmp GoLRback
- GoLR2:
- cmp eax,[esi+1c4]
- pop eax
- mov [esi+000004D0],5
- jg GoLRback
- mov [esi+000004D0],0
- jmp GoLRback
- GoLR5:
- pop eax
- mov [esi+000004D0],0
- GoLRback:
- jmp 008FC6CF
- //================================
- JmpLR:
- add esp,4
- call MyState
- cmp [MyDir], 1
- je JmpLRback
- cmp [MyDir], 2
- mov eax,2
- je JmpLRback
- cmp [MyDir], 0
- mov eax,3
- je JmpLRback
- cmp [MyDir], 4
- je JmpLR1
- call MyCharX
- jmp JmpLR2
- JmpLR1:
- mov eax,[MyPt1]
- JmpLR2:
- cmp eax,[esi+1c4]
- mov eax,2
- mov [esi+000004D0],5
- jg JmpLRback
- mov eax,3
- JmpLRback:
- //------↓跳怪掉落↓------------
- cmp [esi+00000230],1
- je LRDir7
- cmp eax,[LR]
- jne LRDir7
- sub [esi+00000230],2
- LRDir7:
- //------↑跳怪掉落↑------------
- push 03
- jmp 008FCAE1
- //================================
- MyCharX:
- mov eax [00ADC0D4]
- mov eax, [eax+000D2C]
- ret
- //================================
- MyState:
- push eax
- mov eax, [00ADC0D4]
- mov eax, [eax+00000384]
- cmp eax, a
- je LRDir1
- cmp eax, b
- je LRDir2
- cmp eax, 14
- je LRDir3
- cmp eax, 15
- je LRDir3
- mov [MyCt], 0
- jmp LRDir4
- LRDir1:
- mov [MyDir],2
- cmp [MyCt], 32
- ja LRDir5
- inc [MyCt]
- jmp LRDir4
- LRDir2:
- mov [MyDir],0
- cmp [MyCt], 32
- ja LRDir6
- inc [MyCt]
- jmp LRDir4
- LRDir3:
- mov [MyDir],1
- jmp LRDir4
- LRDir5:
- mov [MyDir],3
- jmp LRDir4
- LRDir6:
- mov [MyDir],4
- call MyCharX
- mov [MyPt1],eax
- LRDir4:
- pop eax
- ret
- //============================
- MyStupid:
- add esp, 4
- xor edx,edx
- mov ecx,0000ea60
- div ecx
- lea eax,[esi+00000238]
- add edx,0002bf20
- mov [esi+00000240],edx
- mov edx,[esp+10]
- cmp [eax],edx
- je 008FB6A7
- cmp [esi+0000023C],edi
- lea ecx,[esi+0000023C]
- je 008FB6A7
- jmp 008FB68D
- //============================
- MyNoBack:
- add esp,4
- //--------↓PG無敵↓--------------
- push eax
- push ebx
- push ecx
- push edx
- xor edx, edx
- mov eax,[00ADC0D4]
- mov eax,[eax+18]
- mov ecx, [VarMaxBloom]
- mov ebx, [VarMinBloom]
- sub ecx, ebx
- jz CBR100
- div ecx
- CBR100:
- add edx, ebx
- mov [ebp+8], edx
- pop edx
- pop ecx
- pop ebx
- pop eax
- //--------↑PG無敵↑--------------
- mov eax,[ebp-10]
- lea ecx,[eax+0000187c]
- push FFFFD8F0
- jmp 008a35bb
- // 原始值=FFFFFA24=1.5秒
- // 預設值是10秒,想要增加無敵時間只要將前面的 // 對調就可以了
- // push FFFFD8F0 //=10秒
- // push FFFFB1E0 //=20秒
- // push FFFF8AD0 //=30秒
- // push FFFF63C0 //=40秒
- // push FFFF1D70 //=58秒
- // 10000(dec) = 2710(hex)
- // (0-2710) 用小算盤 16進制
- // 毫秒先轉16進位,再用0去減16進制的毫秒
- //============================
- MyNoJmp:
- add esp,4
- jmp 008FCAAB
- [disable]
- unregistersymbol(MyLR)
- unregistersymbol(LR)
- dealloc(MyDir)
- dealloc(MyCt)
- dealloc(MyPt1)
- dealloc(MyLR)
- dealloc(LR)
複製代碼
[ 本帖最後由 ~小畢~ 於 2009-7-30 17:22 編輯 ] |