Hello Everybody,
First off, I would like to apologize sincerely for the double post. This post is regarding a completely different issue/feature :D.
I managed to 'master' the itr/kind8 feature in the source code. (with Nave's and Lord Silva's help, of course :D). As a result, I elaborated on it, and created a bunch more effects (included to the ones that Nave already created). But first, the coding and installation.
_________________________________________________________________________________
Ok, now for the explanation :D.
First of all, a key:
Key:
dvx= Itr/Kind8 Frame Tracking
centerx='Centerx' Auto-Alignment
centery='Centery' Auto-Alignment
Type#=ID Type of Body Requirement(s)
---
Now for the list of effects.
Type 0:
Itr/kind8: dvx, centerx
Itr/kind 80: dvx
Itr/kind 81: centerx
Itr/kind 82: centery
Itr/kind 83: dvx, centery
Itr/kind 84: centerx, centery
Itr/kind 85: centerx, centery, dvx
Type 3:
Itr/kind808: dvx, centerx
Itr/kind 86: dvx
Itr/kind 87: centerx
Itr/kind 88: centery
Itr/kind 89: dvx, centery
Itr/kind 800: centerx, centery
Itr/kind 801: centerx, centery, dvx
All Types:
Itr/kind809: dvx, centerx
Itr/kind 802: dvx
Itr/kind 803: centerx
Itr/kind 804: centery
Itr/kind 805: dvx, centery
Itr/kind 806: centerx, centery
Itr/kind 807: centerx, centery, dvx
______________________________________________________________________________________________________________________________________
EDIT: Added new ones :D.
Item Types (Type 1, Type 2, Type 4, Type 6):
Itr/kind810: dvx, centerx
Itr/kind 811: dvx
Itr/kind 812: centerx
Itr/kind 813: centery
Itr/kind 814: dvx, centery
Itr/kind 815: centerx, centery
Itr/kind 816: centerx, centery, dvx
Type 1:
Itr/kind817: dvx, centerx
Itr/kind 818: dvx
Itr/kind 819: centerx
Itr/kind 820: centery
Itr/kind 821: dvx, centery
Itr/kind 822: centerx, centery
Itr/kind 823: centerx, centery, dvx
_______________________________________________________________________________________________
Well, that's about it. Hope these effects prove useful to DCers (who are willing to patch the DLL, of course :D), and I hope you guys can keep track of the looong list of Itr/kind Numbers. If not, you can always use this post as your reference :D.
---
Enjoy, and Happy Coding :D
~Solomon Leung
First off, I would like to apologize sincerely for the double post. This post is regarding a completely different issue/feature :D.
I managed to 'master' the itr/kind8 feature in the source code. (with Nave's and Lord Silva's help, of course :D). As a result, I elaborated on it, and created a bunch more effects (included to the ones that Nave already created). But first, the coding and installation.
ASM-Code:
;Startup (DLL Startup proc) (rarara.asm) ;No-Num Version invoke JmpPatch, 00430CECh, addr itr_kind8 invoke JmpPatch, 004176CCh, addr itr_kind8_2 ;Num-Original Version invoke JmpPatch, 00430D5Ch, addr itr_kind8 invoke JmpPatch, 0041773Ch, addr itr_kind8_2 |
ASM-Code:
;Head (.Data) (Generic.inc) ;No-Num Version ;itr/kind8 ik8_pos1 dd 00430CECh ik8_pos2 dd 00430D4Bh ik8_pos3 dd 004318DAh ik8_pos4 dd 00447A00h ;itr/kind8_2 ik8_other1 dd 004176EBh ik8_other2 dd 00417F7Dh ;Num-Original Version ;itr/kind8 ik8_pos1 dd 00430D5Ch ik8_pos2 dd 00430DBBh ik8_pos3 dd 0043194Ah ik8_pos4 dd 00447A08h ;itr/kind8_2 ik8_other1 dd 0041775Bh ik8_other2 dd 00417FEDh |
ASM-Code:
;Body Part 1 (.Code) (Generic.inc) itr_kind8 proc CMP EDX,8 JE kind8 CMP EDX,80 JE kind80 CMP EDX,81 JE kind81 CMP EDX,82 JE kind82 CMP EDX,83 JE kind83 CMP EDX,84 JE kind84 CMP EDX,85 JE kind85 CMP EDX,86 JE kind80 CMP EDX,87 JE kind81 CMP EDX,88 JE kind82 CMP EDX,89 JE kind83 CMP EDX,800 JE kind84 CMP EDX,801 JE kind85 CMP EDX,802 JE kind80 CMP EDX,803 JE kind81 CMP EDX,804 JE kind82 CMP EDX,805 JE kind83 CMP EDX,806 JE kind84 CMP EDX,807 JE kind85 CMP EDX,808 JE kind8 CMP EDX,809 JE kind8 CMP EDX,810 JE kind8 CMP EDX,811 JE kind80 CMP EDX,812 JE kind81 CMP EDX,813 JE kind82 CMP EDX,814 JE kind83 CMP EDX,815 JE kind84 CMP EDX,816 JE kind85 CMP EDX,817 JE kind8 CMP EDX,818 JE kind80 CMP EDX,819 JE kind81 CMP EDX,820 JE kind82 CMP EDX,821 JE kind83 CMP EDX,822 JE kind84 CMP EDX,823 JE kind85 JMP ik8_pos2 kind8: MOV EAX,DWORD PTR SS:[ESP+0Ch] MOV EDX,DWORD PTR DS:[EAX+44h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] ADD EDX,3E8h MOV DWORD PTR DS:[ECX+0E0h],EDX MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] MOV EAX,DWORD PTR DS:[EAX+14h] MOV DWORD PTR DS:[EDX+70h],EAX MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+58h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+58h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 kind80: MOV EAX,DWORD PTR SS:[ESP+0Ch] MOV EDX,DWORD PTR DS:[EAX+44h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] ADD EDX,3E8h MOV DWORD PTR DS:[ECX+0E0h],EDX MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] MOV EAX,DWORD PTR DS:[EAX+14h] MOV DWORD PTR DS:[EDX+70h],EAX JMP ik8_pos3 kind81: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+58h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+58h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 kind82: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+60h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+60h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 kind83: MOV EAX,DWORD PTR SS:[ESP+0Ch] MOV EDX,DWORD PTR DS:[EAX+44h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] ADD EDX,3E8h MOV DWORD PTR DS:[ECX+0E0h],EDX MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] MOV EAX,DWORD PTR DS:[EAX+14h] MOV DWORD PTR DS:[EDX+70h],EAX MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+60h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+60h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 kind84: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+58h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+58h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+60h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+60h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 kind85: MOV EAX,DWORD PTR SS:[ESP+0Ch] MOV EDX,DWORD PTR DS:[EAX+44h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] ADD EDX,3E8h MOV DWORD PTR DS:[ECX+0E0h],EDX MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] MOV EAX,DWORD PTR DS:[EAX+14h] MOV DWORD PTR DS:[EDX+70h],EAX MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+58h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+58h] MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[ECX+60h] MOV EDX,DWORD PTR DS:[EBX*4+ESI+194h] FSTP QWORD PTR DS:[EDX+60h] MOV EAX,DWORD PTR DS:[EDI*4+ESI+194h] FLD QWORD PTR DS:[EAX+68h] MOV ECX,DWORD PTR DS:[EBX*4+ESI+194h] FADD QWORD PTR DS:[ik8_pos4] FSTP QWORD PTR DS:[ECX+68h] JMP ik8_pos3 itr_kind8 endp |
ASM-Code:
;Body Part 2 (.Code) (Generic.inc) itr_kind8_2 proc CMP EDX,8 JE kind8 CMP EDX,80 JE kind8 CMP EDX,81 JE kind8 CMP EDX,82 JE kind82 CMP EDX,83 JE kind8 CMP EDX,84 JE kind8 CMP EDX,85 JE kind8 CMP EDX,86 JE kind84 CMP EDX,87 JE kind84 CMP EDX,88 JE kind84 CMP EDX,89 JE kind84 CMP EDX,800 JE kind84 CMP EDX,801 JE kind84 CMP EDX,802 JE kind85 CMP EDX,803 JE kind85 CMP EDX,804 JE kind85 CMP EDX,805 JE kind85 CMP EDX,806 JE kind85 CMP EDX,807 JE kind85 CMP EDX,808 JE kind84 CMP EDX,809 JE kind85 CMP EDX,810 JE kind86 CMP EDX,811 JE kind86 CMP EDX,812 JE kind86 CMP EDX,813 JE kind86 CMP EDX,814 JE kind86 CMP EDX,815 JE kind86 CMP EDX,816 JE kind86 CMP EDX,817 JE kind87 CMP EDX,818 JE kind87 CMP EDX,819 JE kind87 CMP EDX,820 JE kind87 CMP EDX,821 JE kind87 CMP EDX,822 JE kind87 CMP EDX,823 JE kind87 JMP ik8_other1 kind8: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],0 JNE skip JMP ik8_other1 kind82: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],0 JNE skip JMP ik8_other1 kind83: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],0 JE skip JMP ik8_other1 kind84: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],3 JNE skip JMP ik8_other1 kind85: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],0 JMP ik8_other1 kind86: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],1 JE kind86a CMP DWORD PTR DS:[EAX+6F8h],2 JE kind86a CMP DWORD PTR DS:[EAX+6F8h],4 JE kind86a CMP DWORD PTR DS:[EAX+6F8h],6 JE kind86a JMP skip kind86a: JMP ik8_other1 kind87: MOV ECX,DWORD PTR DS:[EDI*4+ESI+194h] MOV EAX,DWORD PTR DS:[ECX+368h] CMP DWORD PTR DS:[EAX+6F8h],1 JNE skip JMP ik8_other1 skip: JMP ik8_other2 itr_kind8_2 endp |
_________________________________________________________________________________
Ok, now for the explanation :D.
First of all, a key:
Key:
dvx= Itr/Kind8 Frame Tracking
centerx='Centerx' Auto-Alignment
centery='Centery' Auto-Alignment
Type#=ID Type of Body Requirement(s)
---
Now for the list of effects.
Type 0:
Itr/kind8: dvx, centerx
Itr/kind 80: dvx
Itr/kind 81: centerx
Itr/kind 82: centery
Itr/kind 83: dvx, centery
Itr/kind 84: centerx, centery
Itr/kind 85: centerx, centery, dvx
Type 3:
Itr/kind808: dvx, centerx
Itr/kind 86: dvx
Itr/kind 87: centerx
Itr/kind 88: centery
Itr/kind 89: dvx, centery
Itr/kind 800: centerx, centery
Itr/kind 801: centerx, centery, dvx
All Types:
Itr/kind809: dvx, centerx
Itr/kind 802: dvx
Itr/kind 803: centerx
Itr/kind 804: centery
Itr/kind 805: dvx, centery
Itr/kind 806: centerx, centery
Itr/kind 807: centerx, centery, dvx
______________________________________________________________________________________________________________________________________
EDIT: Added new ones :D.
Item Types (Type 1, Type 2, Type 4, Type 6):
Itr/kind810: dvx, centerx
Itr/kind 811: dvx
Itr/kind 812: centerx
Itr/kind 813: centery
Itr/kind 814: dvx, centery
Itr/kind 815: centerx, centery
Itr/kind 816: centerx, centery, dvx
Type 1:
Itr/kind817: dvx, centerx
Itr/kind 818: dvx
Itr/kind 819: centerx
Itr/kind 820: centery
Itr/kind 821: dvx, centery
Itr/kind 822: centerx, centery
Itr/kind 823: centerx, centery, dvx
_______________________________________________________________________________________________
Well, that's about it. Hope these effects prove useful to DCers (who are willing to patch the DLL, of course :D), and I hope you guys can keep track of the looong list of Itr/kind Numbers. If not, you can always use this post as your reference :D.
---
Enjoy, and Happy Coding :D
~Solomon Leung
<div style="background-image:url('http://f.imagehost.org/0086/Fill.png'); filter:alpha(opacity=70); border-top:1px solid #000000; border-right:1px solid #000000; border-left: 1px solid #000000; border-bottom: 1px solid #000000"> <table border="0" width="100%"><tr><td width="500"><img src=http://g.imagehost.org/0170/FORUM_SIGNATURE.png opacity="1" alt="Little Fighter Code Lyoko"></td><td width="30"><img src="http://www.antoninasdesigns.com/images/real-gray-square.gif" width="1" height="100"></td><td><font face=monotype corsiva><font color=#0A298F><font size="4"><b><i>~Solomon Leung</size><br><font size="2">P.S. I Just Lost <a href="http://www.losethegame.org" target="_blank" style="text-decoration: none"><font color=#0A298F>The Game</font></a></b></i></font></font></size></td></tr></table></div>