View Full Version : D3D Coming along now
ganglyman21
05-12-2008, 05:35 PM
Ok so d3d is coming along nicely.
http://www.dxth4x.com/forums/attachment.php?attachmentid=773&stc=1&d=1210631637
http://www.dxth4x.com/forums/attachment.php?attachmentid=775&stc=1&d=1210631637
http://www.dxth4x.com/forums/attachment.php?attachmentid=774&stc=1&d=1210631637
If anyone can tell me how I can add a background to my menu I would LOVE it. tried drawing a sqaure similar to crosshait but didn't have much luck.
Bigxxx
05-12-2008, 05:48 PM
YOu must use the highlight text tut ;)
It is only for text ;)
I think^^
But good work :P
ganglyman21
05-12-2008, 05:53 PM
Already got the highlight text menu. Can't see it very well hgave to downscale images.
A_Random_Person
05-12-2008, 06:09 PM
Looks good so far, did you use the 3.0 starterkit? If you need help with anything you can ask me.
ganglyman21
05-12-2008, 06:13 PM
Yeah I did. Would love to know how I can get a background on my menu so you can see it more clearly. If you know that it'd be great. Just to clarify I mean maybe drawing a rectangle behind the text. A bit like the VIP one from here used to be like.
How to do Background: Creditz to cobra ^^
///heres how to do a gui box with a border
D3DRECT HUDRect1 = {345.0f, 310.0f, 680.0f, 500.0f};
m_pD3Ddev->Clear( 1, &HUDRect3, D3DCLEAR_TARGET, txtblack, 0, 0 );
D3DRECT HUDRect2 = {350.0f, 315.0f, 675.0f, 495.0f};
m_pD3Ddev->Clear( 1, &HUDRect4, D3DCLEAR_TARGET, txtgray, 0, 0 );
////the first one is your border then you draw the second one to fill the inside of your border.
////the cord's. are x, y, width, height
ganglyman21
05-13-2008, 06:15 AM
Awesome, assume I can call this in the sawm way as I do the menu. Will fiddle about and report back, jsut adding more mem hacks atm.
(If anyone knows how I can turn a ASM hack on/off would love to know)
Currently trying this but it doesnt seem to work:
//globals
bool asmonoff = false;
void asmhackon() //on BYTE
void asmhackoff() //off BYTE
//endscene
if (asmonoff){asmhackon}
if (!asmonoff){asmhackoff}
This is the jist of the method tells u what Im doing without posting huge chunks of my code. Called by the higlight menu so Im sure you know how thats working.
A_Random_Person
05-13-2008, 06:48 AM
Awesome, assume I can call this in the sawm way as I do the menu. Will fiddle about and report back, jsut adding more mem hacks atm.
(If anyone knows how I can turn a ASM hack on/off would love to know)
Currently trying this but it doesnt seem to work:
//globals
bool asmonoff = false;
void asmhackon() //on BYTE
void asmhackoff() //off BYTE
//endscene
if (asmonoff){asmhackon}
if (!asmonoff){asmhackoff}
This is the jist of the method tells u what Im doing without posting huge chunks of my code. Called by the higlight menu so Im sure you know how thats working.
When I get home tonight I can help you with it..
Awesome, assume I can call this in the sawm way as I do the menu. Will fiddle about and report back, jsut adding more mem hacks atm.
(If anyone knows how I can turn a ASM hack on/off would love to know)
Currently trying this but it doesnt seem to work:
//globals
bool asmonoff = false;
void asmhackon() //on BYTE
void asmhackoff() //off BYTE
//endscene
if (asmonoff){asmhackon}
if (!asmonoff){asmhackoff}
This is the jist of the method tells u what Im doing without posting huge chunks of my code. Called by the higlight menu so Im sure you know how thats working.
you can do it this way: http://www.dxth4x.com/forums/showthread.php?t=511
void Esp()
{
memory();
BYTE Nop[ ] = {/*ESP ON HEX*/};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xYourAddieGoesHere), &Nop, sizeof(Nop), NULL);
}
then with your highlight menu
if (getasynckeystate(vk_.......)
Esp();
should work fine : )
ganglyman21
05-13-2008, 07:43 AM
The confusing thing is I can turn 0 delay on and off, but invisible seems to be stuck on, yet they're coded in the same way. (Only just got round to adding 0delay people love it) And I'm using virtual protect seems to kick less.
The confusing thing is I can turn 0 delay on and off, but invisible seems to be stuck on, yet they're coded in the same way. (Only just got round to adding 0delay people love it) And I'm using virtual protect seems to kick less.
i don't really understand you ^^ :P
if you want to use virtual protect then do it this way (works for me)
unsigned char InviOn[1] = { 0x1C};
unsigned char InviOff[1] = {0x2C};
void InvisOn(){unsigned long Protection;
VirtualProtect((void*)ADR_INVISIBLE, 1, PAGE_READWRITE, &Protection);
memcpy((void*)ADR_INVISIBLE, (const void*)InviOn, 1);
VirtualProtect((void*)ADR_INVISIBLE, 1, Protection, 0);
}
void InvisOff(){unsigned long Protection;
VirtualProtect((void*)ADR_INVISIBLE, 1, PAGE_READWRITE, &Protection);
memcpy((void*)ADR_INVISIBLE, (const void*)InviOff, 1);
VirtualProtect((void*)ADR_INVISIBLE, 1, Protection, 0);
}
ganglyman21
05-13-2008, 07:54 AM
That's like exxactl what I've done all the other ASM hacks are on/off now, but can't seem to make invis work lol. Don't matter I guess anti kick is working so ppl can cry all they want.
That's like exxactl what I've done all the other ASM hacks are on/off now, but can't seem to make invis work lol. Don't matter I guess anti kick is working so ppl can cry all they want.
^^ maby wrong addy :P
ganglyman21
05-13-2008, 08:01 AM
Well Im definitly invisible fisted my way thru a whole cqc lol.
masterboy
05-13-2008, 08:08 AM
Dude come on msn i can help you but my Unlim Ammo can't only turn off the rest of my asm hacks can be turned on/off
ganglyman21
05-13-2008, 10:44 AM
Don't suppose anyone knows how to make menu backgrounds translucent?
Don't suppose anyone knows how to make menu backgrounds translucent?
you can use ARGB
http://msdn.microsoft.com/en-us/library/bb172521(VS.85).aspx
while A = "translucent rate" , 0 = no background, 255 = you can't see through it..
ganglyman21
05-13-2008, 12:25 PM
Doesnt seem to have worked. On the plus side check out my latest styling:
http://bigxxxfilehost.bi.ohost.de/files/3363052120.jpg
masterboy
05-13-2008, 01:51 PM
Nice is it the background i gave u?
ganglyman21
05-16-2008, 03:37 AM
Nice is it the background i gave u?
Yeah was done using the function ya sent me. 2 rectangles drawn 1 a few pixels bigger than the other (for border)
olie122333
05-16-2008, 10:03 AM
how do you make the damage hack ?
i really wanna know plz :D
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.