Full&Black ...well if i think right black only should be a a lower rgb code...
Quote:
Looking for codes for:
-Fulbright
-BlackBright
Only, that is to be at the addresses!
Quote:
Addys Seurce :
int CH_FLBRGHT = 0;
if (CH_FLBRGHT==1)
{
*(int*)ADR_FLBRGHT1 = 1092779973;
*(int*)ADR_FLBRGHT2 = 1092779973;
*(int*)ADR_FLBRGHT3 = 1092779973;
}
Addys:
#define ADR_FLBRGHT1 0x9EC5BC
#define ADR_FLBRGHT2 0x9EC5C0
#define ADR_FLBRGHT3 0x9EC5C0
Menü Seurce :
int CH_Fllbrght =0; // FullBright
if (CH_Fllbrght)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));}
else
{pDevice->SetRenderState(D3DRS_AMBIENT, false);}
Depends on its calling convention, most likely to be cdecl. Then you would have to clean the stack yourself. At least I vaguely remember that thing to be as stated.Quote:
@xCeManx
yes it is possible
you just need to find the startaddress of the messagebox subroutine
and you just need to push the text and to call the startaddress
you'll need to add something likeQuote:
Depends on its calling convention, most likely to be cdecl. Then you would have to clean the stack yourself. At least I vaguely remember that thing to be as stated.
There's a little difference: pop gets from stack and decrements esp by the popped arguments size , push adds to the stack and increments the stack pointer. Incrementing the stack pointer needs to be done to let the next call be able to know where it needs to start to pop from stack. A stack is a so called LILO-structure (last-in, last-out).Quote:
Incrementing the stack pointer - what you are doing by adding the params' size to esp - is nothing else then what I meant with "cleaning the stack" ;)