Thread: DrawEngineText

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,879
    Reputation
    136
    Thanks
    10,138
    My Mood
    Yeehaw

    DrawEngineText

    Since they are all sharing something, here my contribution

    Code:
    //CF BR
    #define ADDR_LTFONTMANAGER			0x023B9010
    #define ADDR_DRAWENGINETEXT			0x0064A030
    
    __declspec( noinline ) void DrawTextEngine( const char *_str, int x, int y, DWORD dwColor, int iFontIndex, DWORD dwShadowColor, int bShadow )
    {
    	DWORD dwCShell	= ( DWORD ) GetModuleHandle( "CShell.dll" );
    
    	__asm
    	{
    		push 0Fh
    		push 0
    		push 1
    		push 0
    		push 0FFFFFFFFh
    		push 0
    		push 20h
    		push 0
    		push 0
    		push 0
    		push 0
    		push 0
    		push 0
    		push 0FF000000h
    		push 0
    		push dwShadowColor
    		push bShadow
    		push dwColor
    		push 25h
    		mov eax, [ y ]
    		add eax, 12h
    		push eax
    		push 0
    		push y
    		push x
    		push _str
    		push iFontIndex
    		mov eax, [ ADDR_LTFONTMANAGER ]
    		add eax, dwCShell
    		mov ecx, [ eax ]
    		mov eax, [ ADDR_DRAWENGINETEXT ]
    		add eax, dwCShell
    		call eax
    		add esp, 64h
    	}
    }
    Code:
    //Usage:
    
    #define COLOR_RED		0xFFFF0000
    #define COLOR_BLACK		0xFF000000
    
    DrawEngineText( "I Want Draw Something!", 0, 20, COLOR_RED, 12, COLOR_BLACK, 1 );

  2. The Following 4 Users Say Thank You to luizimloko For This Useful Post:

    CaiozinhoFC1 (01-31-2018),emiedumalasa (02-01-2018),HardHaxing (02-02-2018),malfac009 (01-30-2018)

  3. #2
    malfac009's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    68
    Reputation
    10
    Thanks
    15
    My Mood
    Cheeky
    AOB for it?

  4. #3
    CaiozinhoFC1's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    230
    Reputation
    10
    Thanks
    86
    thxxxxxxxxxx <3
    One Position Kill CFBR

  5. #4
    jayjay153's Avatar
    Join Date
    Jan 2018
    Gender
    female
    Posts
    294
    Reputation
    10
    Thanks
    113
    Pattern Scan BTW Thanks for this

  6. #5
    .L33T.'s Avatar
    Join Date
    Nov 2016
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    8
    i found it, thanks luizimloko.

    Code:
    //ADDR_LTFONTMANAGER
    //
    //100C346C  |. 68 2803C710    PUSH CShell_2.10C70328                   ;  ASCII "Initializing Render Mode ..."
    //100C3471  |> C78424 E400000>MOV DWORD PTR SS:[ESP+E4],-1
    //100C347C  |. 8B0D 10903B12  MOV ECX,DWORD PTR DS:[123B9010]
    
    //ADDR_DRAWENGINETEXT
    //
    //E8 ?? ?? ?? ?? EB 3D 68 ?? ?? ?? ??

  7. #6
    RamoXO's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Location
    At your screen
    Posts
    104
    Reputation
    28
    Thanks
    664
    My Mood
    Amazed
    @luizimloko Used it for esp its more clear looking , Thanks and please keep sharing more useful stuff

  8. #7
    Fєηix's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Brαzil
    Posts
    1,178
    Reputation
    114
    Thanks
    6,891
    My Mood
    Sleepy
    Quote Originally Posted by RamoXO View Post
    @luizimloko Used it for esp its more clear looking , Thanks and please keep sharing more useful stuff
    You should change the name of "2D Box ESP" to "ESP Door"

    This is looking like a door

  9. #8
    emiedumalasa's Avatar
    Join Date
    May 2012
    Gender
    female
    Location
    Hackershero
    Posts
    683
    Reputation
    10
    Thanks
    794
    My Mood
    Angelic
    Just like what I'm expected, great share.

    - - - Updated - - -

    Quote Originally Posted by Fєηix View Post


    You should change the name of "2D Box ESP" to "ESP Door"

    This is looking like a door
    Just missing a knob and it will be perfect to called it a door.

  10. #9
    RamoXO's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Location
    At your screen
    Posts
    104
    Reputation
    28
    Thanks
    664
    My Mood
    Amazed
    Quote Originally Posted by Fєηix View Post


    You should change the name of "2D Box ESP" to "ESP Door"

    This is looking like a door
    LMAO

  11. #10
    HardHaxing's Avatar
    Join Date
    Feb 2018
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    16
    RamoXO = mamo007

    Thanks @luizimloko

  12. #11
    ronoazoro1231's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    3
    reference string?

  13. #12
    ronoazoro1231's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    3
    where'd you get the asm part any reference ?

  14. #13
    luizimloko's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    fs:[0]
    Posts
    1,879
    Reputation
    136
    Thanks
    10,138
    My Mood
    Yeehaw
    Quote Originally Posted by ronoazoro1231 View Post
    where'd you get the asm part any reference ?
    I did not used any reference to do this assembly code, i only looked to parameter list.

  15. #14
    UltraPGNoob's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    671
    Reputation
    15
    Thanks
    611
    My Mood
    Fine
    drawenginetext changed quite a lot since 2012 it went into throw me some garbage function xD
    My Threads:

    - CrossFire Mods:
    Wooden Knife

    - CrossFire Tutorials:
    How to make a logger
    Total number of guns in weaponmgr

    - CrossFire NA Addies:
    Video Settings (not useful but just wanted to share) OUTDATED

    - CrossFire NA Hacks:
    UltraPGNoob Public Hack v1 DETECTED (02-24-2011)
    UltraPGNoob Public Hack v2 DETECTED (06-22-2011)
    UltraPGNoob Public Hack v3 DETECTED (07-04-2011)

    - CrossFire EU Hacks:
    UltraPGNoob Public Hack - Special Edition (Knife Weapon Hack) DETECTED (02-26-2012)

  16. #15
    CaiozinhoFC1's Avatar
    Join Date
    May 2016
    Gender
    male
    Posts
    230
    Reputation
    10
    Thanks
    86
    Quote Originally Posted by UltraPGNoob View Post
    drawenginetext changed quite a lot since 2012 it went into throw me some garbage function xD
    came back to the hacks area?
    Last edited by CaiozinhoFC1; 02-04-2018 at 03:05 PM.
    One Position Kill CFBR

Page 1 of 2 12 LastLast