Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Something About LF2 Hex...
#1
These things are what I found, I hope it could helps.

This part works for which state or id wouldn't have shade.

0041D1BC |. 8B91 68030000 |mov edx,dword ptr ds:[ecx+368]
0041D1C2 |. 8B84C2 AC070000 |mov eax,dword ptr ds:[edx+eax*8+7AC]
0041D1C9 |. 3D BD0B0000 |cmp eax,0BBD ####state: 3005####
0041D1CE |. 0F84 82000000 |je lf2.0041D256
0041D1D4 |. 3D 0D270000 |cmp eax,270D ####state: 9997####
0041D1D9 |. 74 7B |je short lf2.0041D256
0041D1DB |. 8B92 F4060000 |mov edx,dword ptr ds:[edx+6F4]
0041D1E1 |. 81FA DF000000 |cmp edx,0DF####id: 223 firzen_ball####
0041D1E7 |. 74 6D |je short lf2.0041D256
0041D1E9 |. 81FA E0000000 |cmp edx,0E0####id: 224 bat_ball####
0041D1EF |. 74 65 |je short lf2.0041D256
0041D1F1 |. 8379 08 BA |cmp dword ptr ds:[ecx+8],-46
0041D1F5 |. 7E 5F |jle short lf2.0041D256

So I guess ''dword ptr ds:[ecx+368]'' means ''state'', and ;;dword ptr ds:[edx+6F4]'' means '' id ''.

-------------------------------------------------------------------

This part makes state 18 could injure teammates

0041A315 |. 8B93 68030000 ||mov edx,dword ptr ds:[ebx+368]
0041A31B |. 83BCC2 AC070000 12 ||cmp dword ptr ds:[edx+eax*8+7AC],12####state 18####
0041A323 |. 75 11 ||jnz short lf2.0041A336
0041A325 |. 8B4424 10 ||mov eax,dword ptr ss:[esp+10]
0041A329 |. 8B40 2C ||mov eax,dword ptr ds:[eax+2C]
0041A32C |. 83F8 15 ||cmp eax,15
0041A32F |. 74 05 ||je short lf2.0041A336
0041A331 |. 83F8 16 ||cmp eax,16
0041A334 |. 75 47 ||jnz short lf2.0041A37D
0041A336 |> 8B82 F8060000 ||mov eax,dword ptr ds:[edx+6F8]

If effect is 21 or 22, then even state 18 can not injure teammates.


-------------------------------------------------------------------


These two parts are about which states would creat smoke.

This part works to creat smoke.
But it creat ''a smoke'' in only 1 wait.(Actually, I'm not sure if really in only 1 wait. It creat so many smoke in a short while.)

0042350C |. 8B84F2 AC070000 |mov eax,dword ptr ds:[edx+esi*8+7AC]
00423513 |. 83F8 12 |cmp eax,12####state 18####
00423516 |. 74 09 |je short lf2.00423521
00423518 |. 83F8 13 |cmp eax,13####state 19####
0042351B |. 0F85 09020000 |jnz lf2.0042372A
00423521 |> 8B41 70 |mov eax,dword ptr ds:[ecx+70]
00423524 |. 33F6 |xor esi,esi
00423526 |. 897424 2C |mov dword ptr ss:[esp+2C],esi
0042352A |. 8D0C40 |lea ecx,dword ptr ds:[eax+eax*2]
0042352D |. C1E1 04 |shl ecx,4
00423530 |. 2BC8 |sub ecx,eax


This part controls the time between creat each smoke.
So the smoke wouldn't be too much.

00423532 |. 8B94CA AC070000 |mov edx,dword ptr ds:[edx+ecx*8+7AC]
00423539 |. 83FA 12 |cmp edx,12####state 18####
0042353C |. 74 0C |je short lf2.0042354A
0042353E |. 83FA 13 |cmp edx,13####state 19####
00423541 |. 74 07 |je short lf2.0042354A
00423543 |. BE 07000000 |mov esi,7
00423548 |. EB 13 |jmp short lf2.0042355D
0042354A |> 6A 04 |push 4
0042354C |. E8 EF67FFFF |call lf2.00419D40
00423551 |. 83C4 04 |add esp,4
00423554 |. 85C0 |test eax,eax
00423556 |. 75 09 |jnz short lf2.00423561

-------------------------------------------------------------------
These five parts control which id's ball could be hit to freeze_ball by Freeze.
(I really don't the exactly expression.)


Part 1
When your ball is hit to freeze_ball, this part makes ''your freeze_ball'' into ''freeze's, or enemy's freeze_ball''.
So you would be hit by ''your freeze_ball''.

0041A03A |. 8B82 F4060000 ||mov eax,dword ptr ds:[edx+6F4]
0041A040 |. 3D C8000000 ||cmp eax,0C8
0041A045 |. 894424 14 ||mov dword ptr ss:[esp+14],eax
0041A049 |. 74 2A ||je short lf2.0041A075
0041A04B |. 3D CB000000 ||cmp eax,0CB
0041A050 |. 74 23 ||je short lf2.0041A075
0041A052 |. 3D CD000000 ||cmp eax,0CD
0041A057 |. 74 1C ||je short lf2.0041A075
0041A059 |. 3D CE000000 ||cmp eax,0CE
0041A05E |. 74 15 ||je short lf2.0041A075
0041A060 |. 3D CF000000 ||cmp eax,0CF
0041A065 |. 74 0E ||je short lf2.0041A075
0041A067 |. 3D D7000000 ||cmp eax,0D7
0041A06C |. 74 07 ||je short lf2.0041A075
0041A06E |. 3D D8000000 ||cmp eax,0D8
0041A073 |. 75 2A ||jnz short lf2.0041A09F



This part works to let Freeze's ball wouldn't disappear after hit these id's ball.

0042D5F0 |. 81B9 F4060000 D1000000 |cmp dword ptr ds:[ecx+6F4],0D1
0042D5FA |. 75 44 |jnz short lf2.0042D640
0042D5FC |. 8B80 F4060000 |mov eax,dword ptr ds:[eax+6F4]
0042D602 |. 3D C8000000 |cmp eax,0C8
0042D607 |. 74 6D |je short lf2.0042D676
0042D609 |. 3D CB000000 |cmp eax,0CB
0042D60E |. 74 66 |je short lf2.0042D676
0042D610 |. 3D CD000000 |cmp eax,0CD
0042D615 |. 74 5F |je short lf2.0042D676
0042D617 |. 3D CE000000 |cmp eax,0CE
0042D61C |. 74 58 |je short lf2.0042D676
0042D61E |. 3D CF000000 |cmp eax,0CF
0042D623 |. 74 51 |je short lf2.0042D676
0042D625 |. 3D D7000000 |cmp eax,0D7
0042D62A |. 74 4A |je short lf2.0042D676
0042D62C |. 3D D8000000 |cmp eax,0D8
0042D631 |. 74 43 |je short lf2.0042D676
0042D633 |. 3D D1000000 |cmp eax,0D1
0042D638 |. 75 06 |jnz short lf2.0042D640


This part only makes these id's ball turn into freeze_ball and change the direction.

0042DBFE |. 81BA F4060000 D1000000 |cmp dword ptr ds:[edx+6F4],0D1
0042DC08 |. 0F85 86000000 |jnz lf2.0042DC94
0042DC0E |. 8B33 |mov esi,dword ptr ds:[ebx]
0042DC10 |. 8B86 68030000 |mov eax,dword ptr ds:[esi+368]
0042DC16 |. 8B80 F4060000 |mov eax,dword ptr ds:[eax+6F4]
0042DC1C |. 3D C8000000 |cmp eax,0C8
0042DC21 |. 74 2A |je short lf2.0042DC4D
0042DC23 |. 3D CB000000 |cmp eax,0CB
0042DC28 |. 74 23 |je short lf2.0042DC4D
0042DC2A |. 3D CD000000 |cmp eax,0CD
0042DC2F |. 74 1C |je short lf2.0042DC4D
0042DC31 |. 3D CE000000 |cmp eax,0CE
0042DC36 |. 74 15 |je short lf2.0042DC4D
0042DC38 |. 3D CF000000 |cmp eax,0CF
0042DC3D |. 74 0E |je short lf2.0042DC4D
0042DC3F |. 3D D7000000 |cmp eax,0D7
0042DC44 |. 74 07 |je short lf2.0042DC4D
0042DC46 |. 3D D8000000 |cmp eax,0D8
0042DC4B |. 75 45 |jnz short lf2.0042DC92


This part makes Freeze's attack be able to turn these id's ball into freeze_ball.

0042DCED |. 3D C8000000 |cmp eax,0C8
0042DCF2 |. 74 2A |je short lf2.0042DD1E
0042DCF4 |. 3D CB000000 |cmp eax,0CB
0042DCF9 |. 74 23 |je short lf2.0042DD1E
0042DCFB |. 3D CD000000 |cmp eax,0CD
0042DD00 |. 74 1C |je short lf2.0042DD1E
0042DD02 |. 3D CE000000 |cmp eax,0CE
0042DD07 |. 74 15 |je short lf2.0042DD1E
0042DD09 |. 3D CF000000 |cmp eax,0CF
0042DD0E |. 74 0E |je short lf2.0042DD1E
0042DD10 |. 3D D7000000 |cmp eax,0D7
0042DD15 |. 74 07 |je short lf2.0042DD1E
0042DD17 |. 3D D8000000 |cmp eax,0D8
0042DD1C |. 75 56 |jnz short lf2.0042DD74


This part makes ice_sword's attack be able to turn these id's ball into freeze_ball.

0042DDB2 |. 8B80 F4060000 |mov eax,dword ptr ds:[eax+6F4]
0042DDB8 |. 3D C8000000 |cmp eax,0C8
0042DDBD |. 74 2E |je short lf2.0042DDED
0042DDBF |. 3D CB000000 |cmp eax,0CB
0042DDC4 |. 74 27 |je short lf2.0042DDED
0042DDC6 |. 3D CD000000 |cmp eax,0CD
0042DDCB |. 74 20 |je short lf2.0042DDED
0042DDCD |. 3D CE000000 |cmp eax,0CE
0042DDD2 |. 74 19 |je short lf2.0042DDED
0042DDD4 |. 3D CF000000 |cmp eax,0CF
0042DDD9 |. 74 12 |je short lf2.0042DDED
0042DDDB |. 3D D7000000 |cmp eax,0D7
0042DDE0 |. 74 0B |je short lf2.0042DDED
0042DDE2 |. 3D D8000000 |cmp eax,0D8
0042DDE7 |. 0F85 96000000 |jnz lf2.0042DE83
Reply
Thanks given by:
#2
xxtomnyxx Wrote:This part makes state 18 could injure teammates

0041A315 |. 8B93 68030000 ||mov edx,dword ptr ds:[ebx+368]
0041A31B |. 83BCC2 AC070000 12 ||cmp dword ptr ds:[edx+eax*8+7AC],12####state 18####
0041A323 |. 75 11 ||jnz short lf2.0041A336
0041A325 |. 8B4424 10 ||mov eax,dword ptr ss:[esp+10]
0041A329 |. 8B40 2C ||mov eax,dword ptr ds:[eax+2C]
0041A32C |. 83F8 15 ||cmp eax,15
0041A32F |. 74 05 ||je short lf2.0041A336
0041A331 |. 83F8 16 ||cmp eax,16
0041A334 |. 75 47 ||jnz short lf2.0041A37D
0041A336 |> 8B82 F8060000 ||mov eax,dword ptr ds:[edx+6F8]

If effect is 21 or 22, then even state 18 can not injure teammates.

is it possible to make a state for hitting only teammates?
[Image: 18085qo3.png]
siggy made by scorpion

This is o_O. Help o_O by Copying and pasting o_O
into your signature to help him gain world domination.
Reply
Thanks given by:
#3
And how can i copy double freeze ball effect for others????
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)