Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Effect 6 made
#1
I`m Here to post a LF2.exe for Effect 6 xDDD
Thanks for Silva help solving my problem:)
Haha, sorry but i have solved the problem before he sent back the solution to me
Here is the exe

http://www.mediafire.com/download.php?mzqjmb45zyo


I used tomny`s exe to edit it (the one that not allow one char select twice, and also id: 60+ is completely hidden not even in the chars menu
after type in the ``lf2.net`` code)

i am also here to ask how can i edit the exe to make the effect : 6
not working when the character only with 1 hp
that means i want to make a faint state
and when i do the last hit
the character first faint and die
but what i want is the character die directly and skip the faint state

please tell me if there is any bug =P
enjoy =]
Reply
Thanks given by:
#2
Just from looking at the exe, I see a few possible problems.
1:
00446454 > 83F8 06 CMP EAX,6 // (effect 6)
00446457 . 74 09 JE SHORT lf2-char.00446462
00446459 . 83F8 10 CMP EAX,10 // (effect 16)
0044645C .^0F85 349AFEFF JNZ lf2-char.0042FE96 // if not 10, then execute this jmp
00446462 > 8B8CBE 9401000>MOV ECX,DWORD PTR DS:[ESI+EDI*4+194] // if 6 jump here

With this code, the effect will run when the effect is 6, or 16. So you basically replaced effect 16(if it ever existed).




2:
00446495 . 74 13 JE SHORT lf2-char.004464AA
00446497 . C740 70 960000>MOV DWORD PTR DS:[EAX+70],96
0044649E .^E9 F399FEFF JMP lf2-char.0042FE96
004464A3 00 DB 00
004464A4 00 DB 00
004464A5 00 DB 00
004464A6 00 DB 00
004464A7 00 DB 00
004464A8 00 DB 00
004464A9 00 DB 00
004464AA > 8B4C24 0C MOV ECX,DWORD PTR SS:[ESP+C]
004464AE . 0000 ADD BYTE PTR DS:[EAX],AL

You are jumping to line 004464AA, and then you aren't jumping anywhere else. This will cause the exe to crash.

Edit: For your second question, use CMP BYTE [EAX+2FC],1 to check if the HP is one. Then do a JNZ or a JG etc etc.

Example:
00446454 > 83F8 06 CMP EAX,6
00446457 . 74 09 JE SHORT lf2-char.00446462
00446459 . 83F8 10 CMP EAX,10
0044645C .^0F85 349AFEFF JNZ lf2-char.0042FE96
00446462 EB 58 JMP SHORT lf2-char.004464BC

004464BC 80B8 FC020000 >CMP BYTE PTR DS:[EAX+2FC],1
004464C3 ^7F A4 JG SHORT lf2-char.00446469
004464C5 ^E9 CC99FEFF JMP lf2-char.0042FE96

Depending on how much you care about keeping your code clean, you can just do it my way with a jump, or rewrite most of your code :D.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#3
Haha-3-, i wrote these code to make effect 7 not working when the chars is going to die on the next hit and directly die
but crashed xP

0044653B > 83F8 07 CMP EAX,7
0044653E .^0F85 5299FEFF JNZ lf2-char.0042FE96
00446544 . 8B8CBE 9401000>MOV ECX,DWORD PTR DS:[ESI+EDI*4+194]
0044654B . 8B91 68030000 MOV EDX,DWORD PTR DS:[ECX+368]
00446551 . 83BA F8060000 >CMP DWORD PTR DS:[EDX+6F8],0
00446558 .^0F85 3899FEFF JNZ lf2-char.0042FE96
0044655E EB 46 JMP SHORT lf2-char.004465A6
......
......
004465A5 00 DB 00
004465A6 80B8 FC020000 >CMP BYTE PTR DS:[EAX+2FC],1
004465AD ^7F B1 JG SHORT lf2-char.00446560
004465AF ^E9 E298FEFF JMP lf2-char.0042FE96
......
......
00446560 8B8CBE 9401000>MOV ECX,DWORD PTR DS:[ESI+EDI*4+194]
00446567 8B91 68030000 MOV EDX,DWORD PTR DS:[ECX+368]
0044656D 83BA F8060000 >CMP DWORD PTR DS:[EDX+6F8],0
00446574 ^0F85 1C99FEFF JNZ lf2-char.0042FE96
0044657A 8BC1 MOV EAX,ECX
0044657C 8B48 78 MOV ECX,DWORD PTR DS:[EAX+78]
....
why -___-?
Reply
Thanks given by:
#4
Any chance of getting the exe? On what line does it crash? I'm not sure if it is EAX+2FC , could be EDX + 2fc or ECX + 2fc. Like I said, it is hard to find mistakes when you don't have the exe.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#5
Nice exe, but I have a problem. I have 66 main chars and I need them to not be hide. It would be great if you would to change it to hidden chars 100+ xD.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)