WarRock EU - Code Snippets

07/25/2011 14:10 luchetto120#4591
give me the source:

-plant/splant anywhere
-auto F
-auto start
- auto ready


please
07/25/2011 14:15 head12344#4592
bei mir geht no spawn wait und no bounds nicht. meine sources:

no spawn wait:

Quote:
void Spawn()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT3, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), Protection, 0);
}
no bounds:

Quote:
void nobounds ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), Protection, 0);
}
07/25/2011 14:16 Neqqa™#4593
Quote:
give me the source of self fe plant / splant anywhere please
thats easy,

if(autoPlantDefuse)
{
source of PlantAnyWhere/Defuse
}
{
source that the letter "f" is pressed!
}

mhm, idk, i hope it's right


Spawn/NoBounds

if(Items.Spawn==1)
{
*(int*)(ADR_Spawn1)=0;
*(int*)(ADR_Spawn2)=0;
*(int*)(ADR_Spawn3)=0;
}
if(Items.Bounds==1)
{
*(int*)(ADR_NoBounds1)=0;
*(int*)(ADR_NoBounds2)=0;
*(int*)(ADR_NoBounds3)=0;
}
07/25/2011 14:49 head12344#4594
No bounds geht no spawnwait geht immer noch nicht. BTW hat jemand eine chams source?

Mein Scalare (Smooth) superjump geht auch nicht:

Quote:
{
if(GetAsyncKeyState(VK_CONTROL) &0x8000)
{
*(float*)(Player Addy +Z Addy) = *(float*)(Player Addy +Z Addy) +70;
}
}
07/25/2011 14:54 R3d~F!st#4595
lol probiers so;:

Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],"0"/*<~>*/,"Red","Blue","Yellow","Green","Orange","Purple" ,"Black","White",NULL);
<~> : Da dass ja dein erster Aufruf ist was am Anfang da steht
bei anderen ist es OFF bei dir 0 du musst es tdm
mit "" schreiben da es ein string(Text) ist

2. NoSpawn benötigt nur Addy1/2 nicht 3
3. SmoothSJump[only D3D/No NoMenu!]
Code:
{
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(ADR_PLAYERPOINTER+OFS_Z) += 50;
}}
07/25/2011 15:10 head12344#4596
heißt also das scalare jump bei nomenu hacks nich gehen?
wenn nicht, warum nicht?
07/25/2011 15:19 R3d~F!st#4597
ka wenn dann über asm wirds gehen abder so net
ka why
07/25/2011 15:19 xCowboy#4598
Hi kann mir jemand helfen ich hab folgendes Problem:


"d3dx9.h": No such file or directory


Bekomm ich beim kompilieren..


Habe DirectX SDK bereits installiert, ich weis aber nicht wie ich den Pfad zu den Dateien angeben kann..



greetz
07/25/2011 17:56 Dogukan47#4599
[QUOTE=R3d~F!st;11959116]lol probiers so;:

Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,8, GID[1],"0"/*<~>*/,"Red","Blue","Yellow","Green","Orange","Purple" ,"Black","White",NULL);
<~> : Da dass ja dein erster Aufruf ist was am Anfang da steht
bei anderen ist es OFF bei dir 0 du musst es tdm
mit "" schreiben da es ein string(Text) ist

omg ich dank dir so viel aber jez kommt da dieser fehler :(:
Code:
1>.\CMain.cpp(58) : error C2664: 'cMenu::AddMenuItem': Konvertierung des Parameters 6 von 'const char [2]' in 'int' nicht möglich
07/25/2011 18:19 head12344#4600
omg mein fast spawn funktioniert einfach nicht!
07/25/2011 20:35 .Eragon#4601
Quote:
Originally Posted by head12344 View Post
omg mein fast spawn funktioniert einfach nicht!
schonmal so versucht ? :

Quote:
if (NoSpawnWait==1){
if (*(int*)(ADR_NOSPAWNWAIT1) > 1){
*(int*)(ADR_NOSPAWNWAIT1) = 0;}
if (*(int*)(ADR_NOSPAWNWAIT2) > 1){
*(int*)(ADR_NOSPAWNWAIT2) = 0;}
if (*(int*)(ADR_NOSPAWNWAIT3) > 1){
*(int*)(ADR_NOSPAWNWAIT3) = 0;}}

falls das nicht funktioniert muss es an den addys liegen.
07/25/2011 20:41 SIEG.FRIED#4602
Was passt hier nicht:

PHP Code:
#include <windows.h>
#include <stdio.h>

#define Playerpointer 0xBC3228  // Müssen ersetzt werden
#define Z_Offset 0x00000128
#define NFD_Offset 0x000002F0


int x 5000//beliebige Höhe
void Superjump()
{
if(
GetAsyncKeyState(VK_CONTROL))
{
DWORD PlP = *(DWORD*)Playerpointer;
if(
PlP != 0)
{
   *(
float*)(PlP+Z_Offset) = 1500;


}
}
}



void NFD()


    {
   
DWORD dwPlP = *(DWORD*)Playerpointer;
   if(
dwPlP != 0)

       {
   *(
float*)(dwPlP+NFD_Offset) = -25000;

   
}
}

    
void TheHacks()

        
{for(;;)
{


Superjump();
NFD();


Sleep(30);


}
}


 
BOOL WINAPI DllMain(HINSTANCE modDWORD DWORD_GRUNDLPVOID res)
{
switch(
DWORD_GRUND)
{
case 
1:
MessageBoxA(NULL"T0xXicC - toxic-store.tk""Made by T0xXicC"MB_OK);
CreateThread(00, (LPTHREAD_START_ROUTINE)TheHacks 000);
break;
case 
2:
ShellExecuteA(NULL,"Open","http://toxic-store.tk",NULL,NULL,1);
break;
}
return 
TRUE;

Der Hack wird zwar Injectet, aber funktioniert nicht.
Superjump,MsgBox und Seite öffnen :/

LG
07/25/2011 20:53 head12344#4603
hat jemand den sorce von unl. stamina?

BTW:
Quote:
void nofog()
{
*(float*)ADR_FARFOG = 116612500;
*(float*)ADR_NEARFOG = 0;
}
Bei Nofog unterringelt es die = ? Da Steht: Error - Es wurde ein Ausruck erwartet. LOL?

PS: Gibt es wirklich kein Superjump Smooth bei nomenu hacks? das kann ich mir iwie nich vorstellen
07/25/2011 23:47 Unknow0119#4604
Code:
**************************************************
*******CyberRazzer CPlayerInfo Updater v1.0*******
**************************************************
**************************************************
struct CPlayerInfo
{
    char xStartStruct[8];//0x00
    int  Premium;//0x009F2510
    char xJumpAdress1[1712];//0x009F2514
    int  Ping;//0x009F2BC4
    char xJumpAdress2[20];//0x009F2BC8
    int  Ip;//0x009F2BDC
    char xJumpAdress3[152];//0x009F2BE0
    int  Exp;//0x009F2C78
    char xJumpAdress4[12];//0x009F2C7C
    int  Dinar;//0x009F2C88
    char xJumpAdress5[576];//0x009F2C8C
    char Name;//0x009F2ECC
    char xJumpAdress6[4519];//0x009F2ECD
    int Points;//0x009F4074
    char xJumpAdress7[48];//0x009F4078
    int Branch;//0x009F40A8
    char xJumpAdress8[20];//0x009F4094
    int Kills;//0x009F4090
    int Deaths;//0x009F4094
    int Flags;//0x009F4098
    int Health;//0x009F409C
    char xJumpAdress9[144];//0x009F40A0
    int Ready;//0x009F4130
    char xEndStruct[168];//0x009F4134
    byte Team;//0x009F41DC
};
07/26/2011 01:55 H4cKeRBasE#4605
Ich habe hier ma für euch chames ! ich will wenigstens viele Thx sehen ;) ne spaß da habt ihr :D

Quote:
if(Color)
{
GenerateTexture(pDevice, &aRed, Red);
GenerateTexture(pDevice, &aYellow, Yellow);
GenerateTexture(pDevice, &aGreen, Green);
GenerateTexture(pDevice, &aBlue, Blue);
GenerateTexture(pDevice, &aPurple, Purple);
GenerateTexture(pDevice, &aPink, Pink);
GenerateTexture(pDevice, &aOrange, Orange);
GenerateTexture(pDevice, &aBlack, Black);
GenerateTexture(pDevice, &aWhite, White);
GenerateTexture(pDevice, &aGrey, Grey);
GenerateTexture(pDevice, &aCyan , Cyan);
Color = false;
}

if(nEnable==1)
{
if(nColorA)
{
if(m_Stride==36 || m_Stride==32)
{
if(nColorA) pDevice->SetRenderState(D3DRS_LIGHTING,false);
if(nColorA) pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(nColorA) pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
if(nColorA==1){pDevice->SetTexture(0, aRed);}
if(nColorA==2){pDevice->SetTexture(0, aYellow);}
if(nColorA==3){pDevice->SetTexture(0, aOrange);}
if(nColorA==4){pDevice->SetTexture(0, aGreen);}
if(nColorA==5){pDevice->SetTexture(0, aBlue);}
if(nColorA==6){pDevice->SetTexture(0, aPurple);}
if(nColorA==7){pDevice->SetTexture(0, aPink);}
if(nColorA==8){pDevice->SetTexture(0, aBlack);}
if(nColorA==9){pDevice->SetTexture(0, aGrey);}
if(nColorA==10){pDevice->SetTexture(0, aCyan);}
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
}

if(nColorB)
{
if(m_Stride==36 || m_Stride==32)
{
if(nColorB) pDevice->SetRenderState(D3DRS_LIGHTING, false);
if(nColorB) pDevice->SetRenderState(D3DRS_ZENABLE, true);
if(nColorB) pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
if(nColorB==1){pDevice->SetTexture(0, aRed);}
if(nColorB==2){pDevice->SetTexture(0, aYellow);}
if(nColorB==3){pDevice->SetTexture(0, aOrange);}
if(nColorB==4){pDevice->SetTexture(0, aGreen);}
if(nColorB==5){pDevice->SetTexture(0, aBlue);}
if(nColorB==6){pDevice->SetTexture(0, aPurple);}
if(nColorB==7){pDevice->SetTexture(0, aPink);}
if(nColorB==8){pDevice->SetTexture(0, aBlack);}
if(nColorB==9){pDevice->SetTexture(0, aGrey);}
if(nColorB==10){pDevice->SetTexture(0, aCyan);}
}
}