在此將v85版所有代碼總整理如有不實之代碼請以簡訊告知我
- //V85 掛機專用R1(專業版)
- //原作:各位大大
- //Address:00506085
- //EIP:ZOO
- //順移使用方法:
- //記錄順移點:左趴1秒.右趴1秒就記錄了
- //啟動順移:只要攻擊次數超過設定值.就會順移(村莊堣]可使用)
- //順移安全點:人物左坐.就記錄了
- //清除一切順移紀錄:人物右坐.就清除一切順移紀錄.回村換頻不需要再關數據了
- //順移注意事項:
- //一.人物每次順移後.盡量有移動的動作(不然容易斷線)
- // 搭配R2的MISS無敵+R3的定點碰撞.比較穩定
- //二.攻擊次數不要調太低.順移太快.容易斷線
- //-----------------------------------------------
- [ENABLE]
- registersymbol(ZOO)
- alloc(ZOO,4096)
- registersymbol(ZOOKEY)
- alloc(ZOOKEY,4)
- registersymbol(MKAUTOKEY)
- alloc(MKAUTOKEY,4)
- registersymbol(MKAUTOKEY1)
- alloc(MKAUTOKEY1,4)
- label(ZOO00)
- label(MKL)
- label(MKL00)
- label(MKR)
- label(MKR00)
- label(MKLR)
- label(MKAUTO)
- label(MKAUTOLR)
- label(MKAUTOLR00)
- label(MKWORK)
- label(MKWORK00)
- label(MKJMP)
- label(MKJMP00)
- registersymbol(MKSTOPKEY)
- alloc(MKSTOPKEY,4)
- registersymbol(MKSTOPXY)
- alloc(MKSTOPXY,4)
- label(MKSTOP)
- label(MKSTOP00)
- label(MKSTOP01)
- registersymbol(SLAKEY)
- alloc(SLAKEY,4)
- label(SLA)
- label(SLA00)
- registersymbol(MKJMPDOWNKEY)
- alloc(MKJMPDOWNKEY,4)
- label(MKJMPDOWN)
- registersymbol(MKJMPDOWN2KEY)
- alloc(MKJMPDOWN2KEY,4)
- label(MKJMPDOWN2)
- label(MKJMPDOWN200)
- registersymbol(MYGOKEY)
- alloc(MYGOKEY,4)
- registersymbol(MYGOREOF)
- alloc(MYGOREOF,4)
- registersymbol(MYGOREOF00)
- alloc(MYGOREOF00,4)
- registersymbol(MYGORE110)
- alloc(MYGORE110,1024)
- registersymbol(MYGOREKEY)
- alloc(MYGOREKEY,4)
- registersymbol(MYGOUSEUPKEY)
- alloc(MYGOUSEUPKEY,4)
- registersymbol(MYGOUSEUPKEY1)
- alloc(MYGOUSEUPKEY1,4)
- registersymbol(MYGOUSEUPKEY2)
- alloc(MYGOUSEUPKEY2,4)
- registersymbol(MYGORED110)
- alloc(MYGORED110,4)
- registersymbol(MYGOREDKEY)
- alloc(MYGOREDKEY,4)
- registersymbol(MYGOREDPL)
- alloc(MYGOREDPL,4)
- label(MYGO)
- label(MYGO00)
- label(MYGOUP)
- label(MYGOUP01)
- label(MYGORE)
- label(MYGORE01)
- label(MYGORE0100)
- label(MYGORE02)
- label(MYGORE0200)
- label(MYGOUSE)
- label(MYGOUSE00)
- label(MYGOUSE01)
- label(MYGORED)
- label(MYGORED00)
- label(MYGORED01)
- label(MYGORED011)
- label(MYGORED02)
- label(MYGORED021)
- label(MYGODEL)
- label(MYGODEL00)
- //-----------------------------------------------
- ZOOKEY:
- DD 1 //總開關: 0.關 1.開
- MKAUTOKEY:
- DD 3 //走怪: 0.關 1.右走 2.左走 3.跟隨
- MKAUTOKEY1:
- DD 3 //跳怪: 0.關 1.右走 2.左走 3.跟隨
- MKSTOPKEY:
- DD 0 //定怪: 0.關 1.開
- MKSTOPXY:
- DD C8 //定怪範圍: 16進位.目前距離人物XY範圍200
- SLAKEY:
- DD 1 //快速撿物: 0.關 1.開
- MKJMPDOWNKEY:
- DD 0 //跳怪掉落1: 0.關 1.開
- MKJMPDOWN2KEY:
- DD 0 //跳怪掉落2: 0.關 1.開
- //清除順移一切記錄(人物右坐)
- MYGOKEY:
- DD 1 //人物順移: 0.關 1.開(記錄點:人物先左趴1秒.在右趴1秒)
- MYGOUSEUPKEY:
- DD F //人物順移攻擊次數:16進位.目前攻擊15次左右順移
- MYGOREDKEY:
- DD 1 //遇人順移安全點: 0.關 1.開(記錄點:人物左坐.必須開人物順移才能使用)
- MYGOREDPL:
- DD 0 //遇人順移安全點人數允許量: 16進位.(目前0人)畫面玩家超過設定時.啟動順移安全點
- //-----------------------------------------------
- MYGOREKEY:
- DD 0
- MYGOREOF:
- DD 0
- MYGOREOF00:
- DD 0
- MYGORE110:
- DD 0
- MYGOUSEUPKEY1:
- DD 0
- MYGOUSEUPKEY2:
- DD 0
- MYGORED110:
- DD 0
- //-----------------------------------------------
- ZOO:
- cmp [ZOOKEY],0
- je ZOO00
- call SLA
- call MYGO
- cmp dword ptr [esp], 0086D196
- je MKAUTO
- cmp dword ptr [esp], 0086D692
- je MKJMPDOWN2
- jmp ZOO00
- //-----------------------------------------------
- ZOO00:
- ret
- //-----------------------------------------------
- MKL:
- cmp [ebx+140],2
- je MKL00
- mov [ebx+494],0
- ret
- MKL00:
- mov [ebx+494],FFFF
- ret
- //-----------------------------------------------
- MKR:
- cmp [ebx+140],3
- je MKR00
- mov [ebx+494],0
- ret
- MKR00:
- mov [ebx+494],FFFF
- ret
- //-----------------------------------------------
- MKLR:
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+B9C]
- cmp [ebx+1C4],eax
- pop eax
- jl MKL
- jg MKR
- ret
- //-----------------------------------------------
- MKAUTO:
- add esp,4
- call MKAUTOLR
- call MKSTOP
- cmp [MKJMPDOWNKEY],0
- je MKAUTOLR00
- cmp [ebx+230],2
- je MKJMPDOWN
- jmp MKAUTOLR00
- MKAUTOLR00:
- fsubr qword ptr [ebp-18]
- jmp 0086D199
- //-----------------------------------------------
- MKJMPDOWN:
- fsubr qword ptr [ebp-18]
- add esp,10
- fst qword ptr [ebp-18]
- fcomp qword ptr [00970a30]
- jmp 0086d525
- //-----------------------------------------------
- MKAUTOLR:
- cmp [ebx+230],1
- je MKWORK
- cmp [ebx+230],2
- je MKJMP
- ret
- //-----------------------------------------------
- MKWORK:
- cmp [MKAUTOKEY],0
- je MKWORK00
- cmp [MKAUTOKEY],1
- je MKL
- cmp [MKAUTOKEY],2
- je MKR
- cmp [MKAUTOKEY],3
- je MKLR
- ret
- MKWORK00:
- ret
- //-----------------------------------------------
- MKJMP:
- cmp [MKAUTOKEY1],0
- je MKJMP00
- cmp [MKAUTOKEY1],1
- je MKL
- cmp [MKAUTOKEY1],2
- je MKR
- cmp [MKAUTOKEY1],3
- je MKLR
- ret
- MKJMP00:
- ret
- //-----------------------------------------------
- MKSTOP:
- cmp [MKSTOPKEY],0
- je MKSTOP00
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+B9C]
- sub eax,[MKSTOPXY]
- cmp [ebx+1C4],eax
- pop eax
- jl MKSTOP00
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+B9C]
- add eax,[MKSTOPXY]
- cmp [ebx+1C4],eax
- pop eax
- jg MKSTOP00
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+BA0]
- sub eax,[MKSTOPXY]
- cmp [ebx+1C8],eax
- pop eax
- jl MKSTOP00
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+BA0]
- add eax,[MKSTOPXY]
- cmp [ebx+1C8],eax
- pop eax
- jg MKSTOP00
- cmp [ebx+140],4
- je MKSTOP01
- cmp [ebx+140],5
- je MKSTOP01
- mov [ebx+494],0
- ret
- //-----------------------------------------------
- MKSTOP00:
- ret
- //-----------------------------------------------
- MKSTOP01:
- mov [ebx+494],FFFF
- ret
- //-----------------------------------------------
- SLA:
- cmp [SLAKEY],0
- je SLA00
- push eax
- mov eax,[00A0A614]
- mov [eax+206C],0
- pop eax
- ret
- SLA00:
- ret
- //-----------------------------------------------
- MKJMPDOWN2:
- add esp,4
- cmp [MKJMPDOWN2KEY],0
- je MKJMPDOWN200
- fcomp qword ptr [ebp-08]
- pop ecx
- pop ecx
- jmp 0086d6fc
- MKJMPDOWN200:
- fcomp qword ptr [ebp-08]
- jmp 0086D695
- //-----------------------------------------------
- MYGO:
- cmp [MYGOKEY],0
- je MYGO00
- call MYGOUP
- call MYGORE
- call MYGOUSE
- call MYGORED
- call MYGODEL
- ret
- //-----------------------------------------------
- MYGO00:
- ret
- //-----------------------------------------------
- MYGOUP:
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+1D50]
- cmp [MYGOUSEUPKEY2],eax
- pop eax
- jne MYGOUP01
- ret
- MYGOUP01:
- add [MYGOUSEUPKEY1],1
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+1D50]
- mov [MYGOUSEUPKEY2],eax
- pop eax
- ret
- //-----------------------------------------------
- MYGORE:
- call MYGORE01
- call MYGORE02
- ret
- //-----------------------------------------------
- MYGORE01:
- cmp [MYGOREKEY],0
- jne MYGORE0100
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+364]
- cmp eax,B
- pop eax
- jne MYGORE0100
- mov [MYGOREKEY],1
- ret
- MYGORE0100:
- ret
- //-----------------------------------------------
- MYGORE02:
- cmp [MYGOREKEY],1
- jne MYGORE0200
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+364]
- cmp eax,A
- pop eax
- jne MYGORE0200
- mov [MYGOREKEY],0
- push eax
- push ebx
- add [MYGOREOF],1
- mov eax,[MYGOREOF]
- mov ebx,[00A0A604]
- add ebx,BDC
- mov ebx,[ebx]
- sub ebx,C
- mov ebx,[ebx+110]
- mov [MYGORE110+eax*4],ebx
- mov [MYGOREOF00],eax
- pop ebx
- pop eax
- ret
- MYGORE0200:
- ret
- //-----------------------------------------------
- MYGOUSE:
- cmp [MYGOREOF],0
- je MYGOUSE00
- push eax
- mov eax,[MYGOUSEUPKEY1]
- cmp eax,[MYGOUSEUPKEY]
- pop eax
- jl MYGOUSE00
- mov [MYGOUSEUPKEY1],0
- push eax
- push ebx
- mov eax,[MYGOREOF00]
- mov eax,[MYGORE110+eax*4]
- mov ebx,[00A0A604]
- add ebx,BDC
- mov ebx,[ebx]
- sub ebx,C
- mov [ebx+110],eax
- pop ebx
- pop eax
- sub [MYGOREOF00],1
- cmp [MYGOREOF00],0
- jle MYGOUSE01
- ret
- //-----------------------------------------------
- MYGOUSE00:
- ret
- //-----------------------------------------------
- MYGOUSE01:
- push eax
- mov eax,[MYGOREOF]
- mov [MYGOREOF00],eax
- pop eax
- ret
- //-----------------------------------------------
- MYGORED:
- cmp [MYGOREDKEY],0
- je MYGORED00
- call MYGORED01
- call MYGORED02
- ret
- //-----------------------------------------------
- MYGORED00:
- ret
- //-----------------------------------------------
- MYGORED01:
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+364]
- cmp eax,15
- pop eax
- jne MYGORED011
- push eax
- mov eax,[00A0A604]
- add eax,BDC
- mov eax,[eax]
- sub eax,C
- mov eax,[eax+110]
- mov [MYGORED110],eax
- pop eax
- ret
- MYGORED011:
- ret
- //-----------------------------------------------
- MYGORED02:
- cmp [MYGORED110],0
- je MYGORED021
- push eax
- mov eax,[00A0A5FC]
- mov eax,[eax+18]
- cmp eax,[MYGOREDPL]
- pop eax
- jle MYGORED021
- push eax
- push ebx
- mov eax,[00A0A604]
- add eax,BDC
- mov eax,[eax]
- sub eax,C
- mov ebx,[MYGORED110]
- mov [eax+110],ebx
- pop ebx
- pop eax
- ret
- MYGORED021:
- ret
- //-----------------------------------------------
- MYGODEL:
- push eax
- mov eax,[00A0A604]
- mov eax,[eax+364]
- cmp eax,14
- pop eax
- jne MYGODEL00
- mov [MYGOREOF],0
- mov [MYGOREOF00],0
- mov [MYGORED110],0
- ret
- MYGODEL00:
- ret
- //-----------------------------------------------
- [DISABLE]
- dealloc(ZOO)
- unregistersymbol(ZOO)
- dealloc(ZOOKEY)
- unregistersymbol(ZOOKEY)
- dealloc(MKAUTOKEY)
- unregistersymbol(MKAUTOKEY)
- dealloc(MKAUTOKEY1)
- unregistersymbol(MKAUTOKEY1)
- dealloc(MKSTOPKEY)
- unregistersymbol(MKSTOPKEY)
- dealloc(MKSTOPXY)
- unregistersymbol(MKSTOPXY)
- dealloc(SLAKEY)
- unregistersymbol(SLAKEY)
- dealloc(MKJMPDOWNKEY)
- unregistersymbol(MKJMPDOWNKEY)
- dealloc(MKJMPDOWN2KEY)
- unregistersymbol(MKJMPDOWN2KEY)
- dealloc(MYGOKEY)
- unregistersymbol(MYGOKEY)
- dealloc(MYGOREOF)
- unregistersymbol(MYGOREOF)
- dealloc(MYGOREOF00)
- unregistersymbol(MYGOREOF00)
- dealloc(MYGORE110)
- unregistersymbol(MYGORE110)
- dealloc(MYGOREKEY)
- unregistersymbol(MYGOREKEY)
- dealloc(MYGOUSEUPKEY)
- unregistersymbol(MYGOUSEUPKEY)
- dealloc(MYGOUSEUPKEY1)
- unregistersymbol(MYGOUSEUPKEY1)
- dealloc(MYGOUSEUPKEY2)
- unregistersymbol(MYGOUSEUPKEY2)
- dealloc(MYGOREDKEY)
- unregistersymbol(MYGOREDKEY)
- dealloc(MYGORED110)
- unregistersymbol(MYGORED110)
- dealloc(MYGOREDPL)
- unregistersymbol(MYGOREDPL)
複製代碼
[ 本帖最後由 娜莫莉 於 2009-2-6 16:57 編輯 ] |