Little Fighter Empire - Forums
object that will always be displayed at the back - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: object that will always be displayed at the back (/showthread.php?tid=5483)



object that will always be displayed at the back - Marshall - 08-26-2010

Displayed at the back as in the furthest part of the z-axis regardless of the z-axis boundary of the background.

The one and only Silva presents to you:

Code:
invoke JmpPatch,0041A629h, addr z_draw_shit

=======================================================
.data
z_shit_1 dd 0041A636h
z_shit_2 dd 0041A62Eh

.code

z_draw_shit proc

        push eax
        MOV eax,DWORD PTR DS:[EBX+ECX*4+194h]
        mov eax, dword ptr ds:[eax+368h]
        cmp dword ptr ds:[eax+6f4h],10 [i];ID GOES HERE!!![/i]
        pop eax
        jne normal
        jmp dword ptr ds:[z_shit_2]
        
normal:
        CMP EBP,DWORD PTR DS:[ESI+18h]
        JLE sh****
        jmp dword ptr ds:[z_shit_2]
        
sh****:
        jmp dword ptr ds:[z_shit_1]

z_draw_shit endp



RE: object that will always be displayed at the back - Ascor - 08-26-2010

Awesome work!
Thumbs up


RE: object that will always be displayed at the back - Surik - 02-02-2011

So, i dont understand how work this thing! Please show screenshot.


RE: object that will always be displayed at the back - Boop - 02-02-2011

It doesn't actually work :(.