WarRock EU - Code Snippets

10/25/2011 15:24 Mircoyee111#5551
#Request AntiAFK
10/25/2011 15:42 _TradEmArk_ ™#5552
Quote:
Originally Posted by Mircoyee111 View Post
#Request AntiAFK
Code:
if(AntiAFK)
{
*(float*)(0xB0FEBC)=1;
}
10/25/2011 15:53 Mircoyee111#5553
Danke,

die Source ist richtig ;)

€dit:
if(CH_AntiAFK)
{
*(float*)(ADR_AntiAFK)=1;
}

=: error C2059: Syntaxfehler: ')'
10/25/2011 16:26 Neqqa™#5554
Code:
if(CH_AntiAFK)
{
*(float*)ADR_AntiAFK=1;
}
10/25/2011 16:31 theitfan1337#5555
Quote:
Originally Posted by .Tiq3reye™ View Post
Code:
if (BONESHOT == 1)
{
*(double*) ADR_BONESHOT = 1235; 
}
if (BONESHOT == 0)
{
*(double*) ADR_BONESHOT = 1.237e3; 
}
ADR_BONESHOT 0x84BAE0

:)
Deine Funktion teilt also Boneshot im if-case den Wert 1235 zu. Im else-case definierst du den Wert als 1235e3. e3 ist eine gängige Schreibweise für ordinale Datentypen mit der die wissenschaftliche Schreibweise von x * 10^n adaptiert wird. Sprich du lässt in einem Fall 1237 und ihm anderen Fall 1,237 * 10^3 = 1,237 * 1000 = 1237 in die Speicherzelle schreiben - wo ist der Sinn?
10/25/2011 16:33 Mircoyee111#5556
Quote:
Originally Posted by Neqqa™ View Post
Code:
if(CH_AntiAFK)
{
*(float*)ADR_AntiAFK=1;
}

error C2059: Syntaxfehler: '='

Trotzdem #Thanked aufgrund der 'versuchten' Hilfeleistung.
10/25/2011 16:57 .Chronos#5557
Quote:
Originally Posted by Mircoyee111 View Post
error C2059: Syntaxfehler: '='

Trotzdem #Thanked aufgrund der 'versuchten' Hilfeleistung.
Du willst einen VIPHack verkaufen :facepalm: ?
Kenne deine Base ansonsten kommst du nicht viel weiter !
10/25/2011 17:07 Mircoyee111#5558
Ich will kein VIP Hack verkaufen, hab ich nichtvor und werde ich auch (erstmals) nicht.

Ich such halt Hilfe und?
10/25/2011 18:41 hero9910#5559
all right?
10/25/2011 18:46 Neqqa™#5560
@Mircoyee111,

was hast du denn alles "included" in diesem Dokument, wo du diesen Source geaddet hast...
10/25/2011 22:38 #Chappy#5561
Hey moin moin Community

Hat jemand einen HS bypass für mich?

Mfg ..
10/26/2011 11:30 .Tiq3reye™#5562
Code:
{
switch(RUNSPEED)
{
case 0:*(float*)(ADR_RUNSPEED) = 1.5;break;
case 1:*(float*)(ADR_RUNSPEED) = 1.5*2;break;
case 2:*(float*)(ADR_RUNSPEED) = 1.5*3;break;
case 3:*(float*)(ADR_RUNSPEED) = 1.5*4;break;
case 4:*(float*)(ADR_RUNSPEED) = 1.5*5;break;
}
}
Code:
{
switch(ROLLSPEED)
{
case 0:*(float*)(ADR_ROLLSPEED) = 1.75;break;
case 1:*(float*)(ADR_ROLLSPEED) = 1.75*2;break;
case 2:*(float*)(ADR_ROLLSPEED) = 1.75*3;break;
case 3:*(float*)(ADR_ROLLSPEED) = 1.75*4;break;
case 4:*(float*)(ADR_ROLLSPEED) = 1.75*5;break;
}
}
10/26/2011 14:21 Büny :)#5563
Code:
/*==========================================================================*/
/*============================WALK TROUGH WALLS=============================*/
/*==========================================================================*/
/*================================CREDITS TO================================*/
/*===================================BÜNY===================================*/
/*==========================================================================*/
Code:
DWORD dwWalkTroughWalls1	= 0x84ACF0;
DWORD dwWalkTroughWalls2	= 0x84ADE0;
Code:
int WalkTroughWalls;
Code:
if(WalkTroughWalls == 1)	// Falling down -> Enabled
{
	*(double*)(dwWalkTroughWalls1) = 0;
	*(double*)(dwWalkTroughWalls2) = 1.000000e-09;
}
else if(WalkTroughWalls == 2)	// Falling down -> Disabled
{
	*(double*)(dwWalkTroughWalls1) = 0;
	*(double*)(dwWalkTroughWalls2) = 1;
}
else				// Walk Trough Walls -> Disabled
{
	*(double*)(dwWalkTroughWalls1) = 0.01;
	*(double*)(dwWalkTroughWalls2) = 1.000000e-09;
}
Credits:
Büny

Edit: Die Addys müsst ihr selber updaten.
10/26/2011 14:51 CyberVeezy :)#5564
Ich poste jetzt mal mein Chams :)
Code:
 if(Enable==1)
{
if(ColorA)
{
if(m_Stride==36 || m_Stride==32)
{
if(ColorA) pDevice->SetRenderState(D3DRS_LIGHTING,false);
if(ColorA) pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(ColorA) pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
if(ColorA==1){pDevice->SetTexture(0, aRed);}
if(ColorA==2){pDevice->SetTexture(0, aYellow);}
if(ColorA==3){pDevice->SetTexture(0, aOrange);}
if(ColorA==4){pDevice->SetTexture(0, aGreen);}
if(ColorA==5){pDevice->SetTexture(0, aBlue);}
if(ColorA==6){pDevice->SetTexture(0, aPurple);}
if(ColorA==7){pDevice->SetTexture(0, aPink);}
if(ColorA==8){pDevice->SetTexture(0, aBlack);}
if(ColorA==9){pDevice->SetTexture(0, aGrey);}
if(ColorA==10){pDevice->SetTexture(0, aCyan);}
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
}

if(ColorB)
{
if(m_Stride==36 || m_Stride==32)
{
if(ColorB) pDevice->SetRenderState(D3DRS_LIGHTING, false);
if(ColorB) pDevice->SetRenderState(D3DRS_ZENABLE, true);
if(ColorB) pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
if(ColorB==1){pDevice->SetTexture(0, aRed);}
if(ColorB==2){pDevice->SetTexture(0, aYellow);}
if(ColorB==3){pDevice->SetTexture(0, aOrange);}
if(ColorB==4){pDevice->SetTexture(0, aGreen);}
if(ColorB==5){pDevice->SetTexture(0, aBlue);}
if(ColorB==6){pDevice->SetTexture(0, aPurple);}
if(ColorB==7){pDevice->SetTexture(0, aPink);}
if(ColorB==8){pDevice->SetTexture(0, aBlack);}
if(ColorB==9){pDevice->SetTexture(0, aGrey);}
if(ColorB==10){pDevice->SetTexture(0, aCyan);}
}
}
}
10/26/2011 15:10 hero9910#5565
Quote:
Originally Posted by CyberVeezy :) View Post
[CENTER] Ich poste jetzt mal mein Chams
brauch man dafür akktuelle detour ?

Code:
 { DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0)
  
if(Slot5){*(long*)(dwSrvrPtr+OFS_Slot5)=1;}
if(Slot6){*(long*)(dwSrvrPtr+OFS_Slot6)=1;}
if(Slot7){*(long*)(dwSrvrPtr+OFS_Slot7)=1;}
if(Slot8){*(long*)(dwSrvrPtr+OFS_Slot8)=1;}
 }
kann mal eine gucken was mit meinem Slot stuff los ist??ß geht nicht -.-

#define OFS_Slot5 0x00102B4//26.10
#define OFS_Slot6 0x00102B5//26.10
#define OFS_Slot7 0x00102B6//26.10
#define OFS_Slot8 0x00102B7 //26.10