bin net so D3D begabt
kann mir jmd erklären wie ich Ne
Farbe transparenter wie in manchen hacks machen
also 10% sichtbar oda 70% etc
kann mir jmd erklären wie ich Ne
Farbe transparenter wie in manchen hacks machen
also 10% sichtbar oda 70% etc
sowas kann man au so machen :DQuote:
Func:
VOID WriteSpeed(FLOAT Speed)
{
DWORD dwPlayer = *(DWORD*)ADR_PTR_PLAYERPOINTER;
if (dwPlayer!=0)
{
*(FLOAT*)(ADR_SPEED) = Speed;
}
}
Usage:
WriteSpeed(200);
Hatte LW ^^
void IntHacks(void* Addy, void* PointerAddy, INT value);
{
DWORD sep = *(DWORD*)PointerAddy;
if(sep != 0)
{
*(int*)(PointerAddy+Addy) = value;
}
}
void WriteMEM(void* Addy, BYTE code, int size, void* BYTES)
{
BYTE code[] = {"BYTES"};
{
unsigned long Protection;
VirtualProtection((void*)Addy, size, PAGE_READWRITE,&Protection);
memcpy((void*)Addy,(const void*)code,size);
VirtualProtection((void*)Addy,size,Protection,0);
}
}
not rly writemem sieht anders aus...Quote:
Es gibt ya WriteASM kann man au WriteMEM machen?
wenn ya so?
ka obs klappt aber müsste oda? naja bei BYTES bin ichCode:void WriteMEM(void* Addy, BYTE code, int size, void* BYTES) { BYTE code[] = {"BYTES"}; { unsigned long Protection; VirtualProtection((void*)Addy, size, PAGE_READWRITE,&Protection); memcpy((void*)Addy,(const void*)code,size); VirtualProtection((void*)Addy,size,Protection,0); } }
mir net sicher
WritePrem(int value)
{
DWORD sep = *(DWORD*)ADR_SERVERPOINTER;
if(sep != 0)
{
*(int*)(sep+ OFS_PREMIUM) = value;
}
}
Usage:
WritePrem(1)//bronze
void Hacks(void* Addy,void* Pointer,void* value,void* code)
{
DWORD ptr = *(DWORD*)Pointer;
if(ptr != 0)
{
*(code*)(ptr+Addy) = value;
}
}
Usage:
Hacks(OFS_Z,ADR_PLAYERPOINTER,1000, float);
ich kenn Chams nur anders so benutz ichs auQuote:
Hat irgendwer ne Methode, mit der man an die Strides kommt ohne, dass WarRock abstürzt/Hack detected wird/10301 Meldung kommt ?
Ich habe schon versucht meinen Hack mit TheMedia(Demo) zu packen hilft aber nichts.
Meine Methode sieht so aus:
Irgendwie muss es ja funktionieren sonst gäbs keine Chams hacks mehr -.-
wenn m_stride 32/36 dann via pDevice Chams malen :D
//====Scopesize====
#define ADR_ScopeSize 0x00966F88
int CH_SCOPESIZE == 0;
if (CH_SCOPESIZE == 1)
{
*(int*) ADR_SCOPESIZE = (int) 1;
}
else
{
*(int*) ADR_SCOPESIZE = (int) 0;
//====Bunny Hop====
#define OFS_Z 0x00102D8
int CH_BunnyHop == 0;
if (CH_BunnyHop ==1)
{
if(GetAsyncKeyState(VK_SPACE)&1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 210;
}
}
}
//====Allways Crosshair====
#define ADR_MEMCROSSHAIR 0x00966FE4
int CH_AlwaysCrosshair == 0;
if (CH_AlwaysCrosshair
{
*(byte*) ADR_MEMCROSSHAIR = 0x22;
}
//====D3D Glasswalls====
int CH_GlassWall == 0;
if(CH_GlassWall)
{
if(m_Stride==Stride5)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
}
//Credits: _TradEmArk_ (Sources) | Codename-x (Addys)
Das geht nicht ._.Quote:
//====Scopesize====
#define ADR_ScopeSize 0x00966F88
int CH_SCOPESIZE == 0;
if (CH_SCOPESIZE == 1)
{
*(int*) ADR_SCOPESIZE = (int) 1;
}
else
{
*(int*) ADR_SCOPESIZE = (int) 0;
FAIL. :facepalm:Quote:
ka obs untere worktCode:void Hacks(void* Addy,void* Pointer,void* value,void* code) { DWORD ptr = *(DWORD*)Pointer; if(ptr != 0) { *(code*)(ptr+Addy) = value; } } Usage: Hacks(OFS_Z,ADR_PLAYERPOINTER,1000, float);
template <class X>
HRESULT write( void*ptr, void *ofs, X val ) {
if( *ptr ) {
*(X*)(*ptr + ofs) = val;
return S_OK;
}
return E_FAIL;
}