Little Fighter Empire - Forums

Full Version: [14/08/09] LF2 DLL Framework
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
Newest Version: [14/08/09]: http://www.mediafire.com/?nxmmnk0lnjj

EXE needed to get the dll to load : http://www.mediafire.com/?qzkzzvhfvdv

How to patch your exe to load the dll : http://www.lf-empire.de/forum/showthread.php?tid=2521

Tutorial for setting up the compiler: http://www.lf-empire.de/forum/showthread.php?tid=2265
Update 14/08/09 (Click to View)
Update 12/08/09 (Click to View)
Update 02/08/09 (Click to View)
Update 17/04/09(genevrier) (Click to View)
Update 16/04/09(genevrier) (Click to View)
Update 10/04/09(genevrier) (Click to View)
Update 28/3/09 (Click to View)
Update 21/3/09 (Click to View)
Update 12/3/09 (Click to View)
wow kinda awesome
can you do much new things with dll?
is it harder to learn than normal HEX editing

somehow awesome to have an julian with armor and fast recovering
only chance to kill is a combo i think
Dear Silva, Lord

You are much too awesome for this world. Nothing can describe the awe I am in right now.
A pity that feeling will disperse until tomorrow.
This has got to be the best thing concerning LF2 so far this month.

Sincerely,
Ramond the sandbag
~Ramond
too hard tutor for me >_>
but will try...
Update 12/3/09:

Made more files to try and organize things better.

All the AI stuff is the in the AI.inc file. All the armor stuff is in the Armor.inc file etc. All uncategorized stuff goes into generic.inc.

So far, this exe includes AI of all main heros. Includes the generic D>A ball stuff. Includes all armor of louis, knight and julian... Currently working on a custom one Smile2. Includes the health thingy (which is in generic.inc).
(03-01-2009, 04:54 PM)Lf2-hacker Wrote: [ -> ]wow kinda awesome
can you do much new things with dll?
is it harder to learn than normal HEX editing

somehow awesome to have an julian with armor and fast recovering
only chance to kill is a combo i think
I should say, the dll framework make edits easy.
(But you have to spend some time setting up. )

Quote:AI.inc:

AI_Ball1 proc
cmp eax,2
je return
;cmp eax,id
;je return
jmp dword ptr [AI_BALL1_1]
return: jmp dword ptr [AI_BALL1_2]

AI_Ball1 endp
AI_Ball2 proc
cmp eax,2
je return
;cmp eax,id
;je return
jmp dword ptr [AI_BALL2_1]
return: jmp dword ptr [AI_BALL2_2]

AI_Ball2 endp
I think
'jmp dword ptr [AI_BALL1_1]'
and
'jmp dword ptr [AI_BALL1_2]'
should be reversed, also for the 'AI_Ball2' part.
Am I right?
Yep, it'll be fixed in the next release... Hopefully other people will start contributing as well :D.
I make the MP part.. (maybe not in a proper way)
Quote:;(Add in rarara.Asm)
invoke JmpPatch, 0041FB09h, addr MP
invoke WriteMem, 0041FB0Eh, addr FourNOP,4
invoke WriteMem, 0041FB12h, addr FourNOP,4
invoke WriteMem, 0041FB16h, addr doubleNOP,2
Quote:.Data
dd 0041FB18h

MP proc
cmp edx,51 ; check if ID is 51 (Firzen)
je short ; jump to if ID is 51
cmp edx,52 ; check if ID is 52 (Julian)
je short ; jump to if ID is 52
cmp edx,15 ; check if ID is 55 (your character)
je short ; jump to if ID is 55
jmp dword ptr [@MP_normal]

; for Firzen & Julian
cdq ; ignore this
sub eax,edx ; ignore this
sar eax,1 ; add 1 point more compare with normal (normal = 1)
jmp dword ptr [@MP_normal]

; for the ID 55
cdq ; ignore this
sub eax,edx ; ignore this
sar eax,2 ; add 2 point more compare with normal
jmp dword ptr [@MP_normal]

MP endp
Amazing!!

Minor changes:

cmp edx,15 ; check if ID is 55 (your character)
i changed it to "cmp edx, 55" (you were probably testing and forgot to change it back :D happens all the time).

invoke WriteMem, 0041FB0Eh, addr FourNOP,4
invoke WriteMem, 0041FB12h, addr FourNOP,4
invoke WriteMem, 0041FB16h, addr doubleNOP,2

That code is unnecessary, you jump back to "0041FB18" , therfore all the code you NOPed doesn't ever get executed anyway. So we can easily remove the NOPs.

Anyway, thanks! Added + Added your name to credits.
Bump:

Update 21/3/09:
Added MP stuff ( thanks to genevrier)
fixed bug in the AI stuff ( thanks to genevrier)
Added state 8xxx - 4xxx
Added addresses.inc , I think it can be used to store static useful addresses (such as when the cheat is enabled, if the game is paused or not, which game mode you are in etc etc). Right now it only includes the address of the lf2.net cheat (if it is 1, then cheat is on, if it is 0 then cheat is off).
Pages: 1 2 3 4 5 6 7 8 9 10