WarRock EU - Code Snippets

03/10/2012 10:44 Pu3Mi2o#6571
Ahja noch 1ne Methode :D
03/10/2012 11:02 annapoliiis#6572
Quote:
Originally Posted by Pu3Mi2o View Post
WTW OnlyWals
Entweder macht man es so (Bug bei Off Bisel Man kan bischen in die wand gehen)
Code:
	

#define MEM_WTW					0x825C88
#define MEM_WTWOnlyWalls				MEM_WTW + 0x1

	       if (CH_WalkTroughWalls )
		{
			*(float*)(MEM_WTWOnlyWalls) = -999;
		}
		else
		{
			*(float*)(MEM_WTWOnlyWalls) = 6;
		}
Credits Pu3Mi2o & ...
oder so (Bugt nicht)

Code:
#define MEM_WTW					0x825C88

	       if (CH_WalkTroughWalls )
		{
			*(int*)(MEM_WTW) = -999;
		}
		else
		{
			*(float*)(MEM_WTW) = 6;
		}
Credits Pu3Mi2o & ...

Danke dir kein bug ;)
03/10/2012 12:30 Chown¡¡qhtz#6573
Quote:
Originally Posted by Angel-Piece View Post
correct bei speed funktioniert es nicht weil double 8 bytes hat und float nur 4 bytes.

aber int, float, long besitzten jeweils 4bytes.

du kannst bei speed auch long double statt nur double hin schreiben und es sollte auch gehen...

wenn ich mich irren sollte bitte vorregiert mich
So sollte es stimmen:

char : 1 Byte
bool : 1 Byte
short : 2 Bytes
int : 4 Bytes
long : 4 Bytes
float : 4 Bytes
double: 8 Bytes
BYTE : 1 Byte
WORD : 2 Bytes
DWORD : 4 Bytes
03/11/2012 01:29 alfmkwndk#6574
Help

memory detected


#pragma once
#ifndef __CMEMORYPATCH_H__
#define __CMEMORYPATCH_H__

#include <windows.h>

template <typename T>
class cMemPatch
{
private:
unsigned long Address;
T OffValue;
T OnValue;
int PatchStatus;
int OffValueSaved;

enum PATCHSTATUS
{
NORMAL,
PATCHED
};

bool SaveOffValue(void);

public:
cMemPatch(void);
cMemPatch(unsigned long ADR, T VAL);

void Patch(void);
void Restore(void);
};

template <typename T>
cMemPatch<T>::cMemPatch(void)
{
}

template <typename T>
cMemPatch<T>::cMemPatch(unsigned long ADR, T VAL)
{
this->Address = ADR;
this->OnValue = VAL;
this->PatchStatus = NORMAL;
this->OffValueSaved = false;
}

template <typename T>
void cMemPatch<T>::Patch()
{
if (this->PatchStatus == NORMAL)
{
if (this->OffValueSaved == false)
{
if (!this->SaveOffValue())
return;
}
else
{
//*(T*)(this->Address) = this->OnValue;
unsigned long size;
VirtualProtect((void*)this->Address, sizeof(this->OnValue), PAGE_READWRITE, &size);
memcpy((void*)this->Address, &this->OnValue , sizeof(this->OnValue));
VirtualProtect((void*)this->Address, sizeof(this->OnValue), size, 0);
this->PatchStatus = PATCHED;
}
}
}

template <typename T>
void cMemPatch<T>::Restore()
{
if (this->PatchStatus == PATCHED)
{
*(T*)(this->Address) = this->OffValue;
this->PatchStatus = NORMAL;
}
}

template <typename T>
bool cMemPatch<T>::SaveOffValue()
{
if (IsBadReadPtr((void*)(this->Address), sizeof(T)))
return false;
else
{
this->OffValue = *(T*)(this->Address);
this->OffValueSaved = true;
return true;
}
}
#endif
03/13/2012 21:20 lukasdermaster#6575
... sry.. aber hat jmd. rein zufällig für mich ne D3D Base ? und kann mir das nochmal zeigen, wie man das Redisturable in C++ einfügen kann ?? :rtfm:
03/13/2012 21:55 Raz9r#6576
Quote:
Originally Posted by lukasdermaster View Post
... sry.. aber hat jmd. rein zufällig für mich ne D3D Base ? und kann mir das nochmal zeigen, wie man das Redisturable in C++ einfügen kann ?? :rtfm:
Und was hast du dann davon? Einen kopierten Quellcode, den du nicht verstehst?
03/14/2012 15:47 ElBier#6577
Hallo sei ich

{

DWORD dwPlayerPtr = *(DWORD*)ADR_POINTER_PLAYER;
if ( dwPlayerPtr )
if(cPlayerHacks.superjump==1) // Scalare (Moon) Jump.

{
if(GetAsyncKeyState(VK_CONTROL) &0x8000)
{
*(float*)(dwPlayerPtr+OFS_Z) = *(float*)(dwPlayerPtr+OFS_Z) +70;
}

Das eigeFügt Habe gehen die player Funktionen nicht mehr hat wer smoth jump wo geht
03/14/2012 19:26 'xLeatz.#6578
Bombsites:

NoDelay:

NoReload:
Boneshot

Credits:
All the Coders ;)

Kein Ahnung ob die Codes gehen habe ich alle aus meiner alten Base
03/14/2012 22:03 Pu3Mi2o#6579
NoDelay & NoReload funkt nicht :OO
03/15/2012 07:13 'xLeatz.#6580
Quote:
Originally Posted by Pu3Mi2o View Post
NoDelay & NoReload funkt nicht :OO
Ja sag ich ja ;) Weiß´auch nicht genau was geht und was nicht ^^
03/15/2012 11:40 cabbar97#6581
Request :

PlayerOpk
Wallhack
Chams
Esp

Note :
Quote:

if (OPK ==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPOINTER;
if (dwPlayerPtr != 0 && dwServerPointer != 0)
for(int i = 0; i < 32; i++)
{
TPlayer* pPlayerA = g_pBase->player[i];
pPlayerA->x=0;
pPlayerA->y=0;
pPlayerA->z=0;
}
}

______________________________
'TPlayer' : undeclared identifier
'pPlayerA' : undeclared identifier
g_pBase' : undeclared identifier
left of '->player' must point to class/struct/union/generic type
1> type is ''unknown-type''
'pPlayerA' : undeclared identifier
left of '->x' must point to class/struct/union/generic type
1> type is ''unknown-type''
.
.
.
03/15/2012 16:29 'xLeatz.#6582
Quote:
Originally Posted by cabbar97 View Post
---
You need structs!
Wallhack, Chams only Vip :D ;)
03/15/2012 18:00 .Tiq3reye™#6583
Quote:
Originally Posted by ~Public~ View Post
You need structs!
Wallhack, Chams only SiroSix ;)
Not only SiroSix :facepalm:
03/15/2012 18:16 cabbar97#6584
Yes , not only sirosix.
Request :

PlayerOpk
Wallhack
Chams
Esp
03/17/2012 08:37 Ven0m'#6585
Code:
INT BypassMain()
 
{
DWORD dwEhSvc;
do
{
dwEhSvc = (DWORD)GetModuleHandleA("EhSvc.dll");
}
while(!dwEhSvc);
WriteMemory((VOID*)(dwEhSvc+NanoCheck1),(PBYTE)"\xB8\x01\x00\x00\x00\xC3",6); //EHSVC NANO CHECK
WriteMemory((VOID*)(dwEhSvc+NanoCheck2),(PBYTE)"\xB8\x01\x00\x00\x00\xC3",6); //EHSVC NANO CHECK
WriteMemory((VOID*)(dwEhSvc+NanoCheck3),(PBYTE)"\xB8\x01\x00\x00\x00\xC3",6); //EHSVC NANO CHECK
WriteMemory((VOID*)(dwEhSvc+EhsvcSelfCrC),(PBYTE)"\xC2\x04\x00",3); // CRC CHECK
WriteMemory((VOID*)(dwEhSvc+Detection),(PBYTE)"\x90\x90",2); // ASM DETECTION CHECK
WriteMemory((VOID*)(dwEhSvc+AsmDetection),(PBYTE)"\x90\x90",2); // ASM DETECTION CHECK
WriteMemory((VOID*)(dwEhSvc+HSAntiCrash),(PBYTE)"\x90\x90",2); // ANTI CRASH
return ( 0 );
}
 
//================= EHSVC =================//
#define EhsvcSelfCrC	 0x0075C3C
#define Detection	 0x0009DA0
#define HSAntiCrash	 0x00394CE
#define Asm Detection	 0x0029551
#define NanoCheck1 0x003945E
#define NanoCheck2	 0x003688F
#define NanoCheck3	 0x0038916
//================= LOGGED =================//
//=================== 7 ==================//
//========= Made By BlackLegend & NikM ========//