Box Code

Posts 1–15 of 15 · Page 1 of 1
Box Code
So you want the Box Code?

Then let's search it together !!!

We need to search the box code for those who cannot wait!!!

If we found it right then for those who cannot wait will be happy now am I right?

So let's participate each of us or many of us who are making hacks!/yea

So pls just wait till we found the code for box!
-_- It has been removed if you want box code go learn D3D.
yeah your right reigz...
but easy t code box but must learn 1st basics
Lol are you even a coder?
If you are you should be updated whats what and whens when
Yes! . . . . the codes of BOX is gone
Oh man!

I am finding one!!

That's why I cannot found at least one!!!
yea easy but hard to me T_T

if you wanna code try This


Crossfire perfect 2d box esp
Code:
void CESP::Draw2DPlayerBox( CF_Player *pPlayer, DWORD drawColor )
{
     if( !pPlayer )
         return;

     if( !pPlayer->Object )
         return;

     if( !g_Engine.GetClient() )
         return;

     LTVector vCenter, vFoot, vHead;

     //this is the centered position
     if( g_Engine.GetClient()->GetObjectPos( pPlayer->Object, &vCenter ) != LT_OK )
         return;

     //foot (bottom)
     if( g_Engine.GetClient()->GetObjectBoxMin( pPlayer->Object, vFoot ) != LT_OK )
         return;

     //head (top)
     if( g_Engine.GetClient()->GetObjectBoxMax( pPlayer->Object, vHead ) != LT_OK )
         return;

     //center the positions for 2d boxes
     vFoot.x = vCenter.x;
     vFoot.z = vCenter.z;
     vHead.x = vCenter.x;
     vHead.z = vCenter.z;

     LTVector vPlayerFootScreen, vPlayerHeadScreen;

     if( g_Engine****WorldToScreen( vFoot, vPlayerFootScreen ) && g_Engine****WorldToScreen( vHead, vPlayerHeadScreen ) )
     {
         float w = ( vPlayerFootScreen.y - vPlayerHeadScreen.y ) / 4;

         g_Engine.OutlineRGBA( vPlayerHeadScreen.x - w, vPlayerHeadScreen.y, w * 2, ( vPlayerFootScreen.y - vPlayerHeadScreen.y ), 1.0f,
             RED( drawColor ), GREEN( drawColor ), BLUE( drawColor ), ALPHA( drawColor ) );
     }
}

and chams


Code:
if( g_Cvar.GetBoolean( "vis_class" ) )
             {
                 char szMaterialName[ 256 ] = { 0 };

                 g_Engine.GetClient()->GetModelLT()->GetFilenames002( pPlayer->Object, szMaterialName, 256 );

                 char *szClassName = ((char *)szMaterialName) + strlen( "MODELS\\CHARACTER\\" );

                 for( int i = 0; i < strlen( szClassName ); i++ )
                 {
                     if( szClassName[i] == '_' )
                     {
                         szClassName[i] = '\0';

                         break;
                     }
                 }

                 g_Engine.RenderTextEngine( low_pos_2d.x, low_pos_2d.y + 20, (bIsVisible) ? drawColorFront : drawColorBack,
                     szClassName, true, false );
             }
ill try to search the codes from other sites if possible to help you coders...
box is easy but when you are beginner . hard like me having alot time to make one
yea go do your best HAXE0

yea im trying 7 hr with fixed code error but im wasting time T_T many code are fuck me!
this will help you guys...
for tips only CORRECT me if i'm wrong..
ok lets start...

CFPH uses two devices for d3d

Code:
Direct3DCreate9(32) succeeded...
Hooked Direct3D9 interface: 0x27a2140 -> 0xe74578
Direct3DCreate9(32) succeeded...
Hooked Direct3D9 interface: 0x27a8b60 -> 0xe745b0
Hooked Direct3D9 device: 0x27af420 -> 0xe746c8
(credits to titanium) (sana nde ma patch...) sorry to make this pub...

these are for cfph..

btw i used plain XP SP3 w/ DX9.0c
i've tried dx sdk(2004 summer) dx sdk(june2010)

the best to this is texture rendering not pixelshading for chams to work this includes the transparency wall to work properly...

note... DIP(DrawIndexedPrimitive) is detected so other workaround is vtable hooking... (saket sa ulo...)
(credits to UC)

mechanical post is for engine rendering i guess?...

hook with the right timing... you wont get detected by xcrap!
(credits to me? lol)

try not to use menu use only hotkeys for easy config...
MENU'S for VIP only and it will create lag for slow pc because it uses overlapping drawing it's not being injected...

i'm stuck with my project, i successfully injected the dll but chams won't work... no hotkeys no etc... i only need the d3dpointer of cfph for the hacks to work or are there anything else???

thanks! (sigaw ng mga weak? WALLER?!?!)

i'm trying to unpack the unknownpk dll because it's still working... but it's protected with something idk what? (themida?)... i'm also trying to unpack crossfire.exe because there you will find the devicepointer for d3d... but from what i've heard its protected with fu*king themida!

p.s.

these might be useful to you guys so i posted it... but before releasing pls... protect your file not using upx... because it's easy to unpack...
wait.. is the CF patch again this day?
We don't need threads like this
/closed
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us