WarRock EU - Code Snippets

03/19/2011 21:34 Yazzn˜#2731
[Only registered and activated users can see links. Click Here To Register...]
03/19/2011 23:41 _TradEmArk_˜#2732
Hat einer:
  • OFS_PLAYERSLOT
  • PLAYERID_SIZE
  • ADR_CLASSBASE
  • ADR_WEAPBASE
  • OFS_SLOTBASE
Addy?
03/20/2011 01:10 tehpolicex#2733
//+-+-+-+-+-+-+-+Weapon Binder+-+-+-+-+-+-+-+//

#define Addr_ClassBase 0x00BB4490
#define Ofs_PlayerSize 0x001CF0
#define Addr_ServerPointer 0x00B78290
#define Ofs_SlotBase 0x00FFE30
#define Ofs_PlayerSlot 0x0011B7E8
#define Addr_WeaponBase 0x00A222A0

//Cedits

//CoDeNaMe-X AdDrEsS LoGgEr TeRmInAtEd
03/20/2011 02:58 HackTec#2734
Quote:
void Premium()
{
if (CH_Premium == 1) // B
{
*(int*)(ADR_SERVERPOINTER+OFS_PREM+OFS_PREM2) = 1;
}
if (CH_Premium == 2) // S
{
*(int*)(ADR_SERVERPOINTER+OFS_PREM+OFS_PREM2) = 2;
}
if (CH_Premium == 3) // G
{
*(int*)(ADR_SERVERPOINTER+OFS_PREM+OFS_PREM2) = 3;
}
if (CH_Premium == 4) // P
{
*(int*)(ADR_SERVERPOINTER+OFS_PREM+OFS_PREM2) = 4;
}}

funzt leider nicht :D was mach ich falsch? ^^


oder lieber so?

Quote:
void Premium()
{
if (CH_Premium == 0)
{
*(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 0, 10;
*(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1, 1;
}
if (CH_Premium == 1) // Bronze
{
*(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 1, 10;
*(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1, 1;
}
if (CH_Premium == 2) // Silber
{
*(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 2, 10;
*(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1, 1;
}
if (CH_Premium == 3) // Gold
{
*(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 3, 10;
*(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1, 1;
}
if (CH_Premium == 4) // Platin
{
*(long*)(dwServerPtr+ADR_OFS_PREMIUM1) = 4, 10;
*(float*)(dwServerPtr+ADR_OFS_PREMIUM2) = 1, 1;
}}



2tens


bei den Crosshair :


Quote:
if (CH_cross==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
}


Kommen folgende Fehler

Quote:
.\base.cpp(204) : error C2146: Syntaxfehler: Fehlendes ')' vor Bezeichner 'pDevice'
.\base.cpp(204) : error C2660: 'IDirect3DDevice9::Clear': Funktion akzeptiert keine 4 Argumente
.\base.cpp(204) : fatal error C1057: Unerwartetes Dateiende bei der Erweiterung eines Makros
03/20/2011 08:21 •~•Pr0Sk1ll•~•#2735
Trade von wem hast Weaponbinder source?
Hab au eine :D
03/20/2011 10:17 HackTec#2736
have fun quelle: google

Quote:
//--[Bytes]--//
BYTE QuickPlantOn [] = { 0x7D,0x16 };
BYTE QuickPlantOff [] = { 0x7D,0x53 }

Quote:
if(CH_Prone == 0)
{
WriteAsm((void *)ADR_PRONE,PRONEOFF,2);
}
if (CH_Prone==1)
{
WriteAsm((void *)ADR_PRONE,NOPS,2);
}
Quote:
if(CH_AutoAmmo == 1)
if(GetAsyncKeyState(VK_END) &1)
{
DWORD dwProtect;
const BYTE nop[6] = {0x90,0x90,0x90,0x90,0x90,0x90};
VirtualProtect((void*)(ADR_AUTOAMMO), 6, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)ADR_AUTOAMMO, &nop, 6);
VirtualProtect((void*)(ADR_AUTOAMMO), 6, dwProtect, NULL);
}

Quote:
if(CH_Spectator == 1)
{
*(long*)(ADR_SERVERPOINTER + ADR_SPECTATOR ) = 5;
}else{
*(long*)(ADR_SERVERPOINTER + ADR_SPECTATOR ) = 0;
}

Quote:
if (CH_VehicleFall == 0)
{
WriteAsm((void *)ADR_NOVEHDMG,CARDMGOFF,5);
}
if (CH_VehicleFall == 1)
{
WriteAsm((void *)ADR_NOVEHDMG,CARDMGON,5);
}

Quote:
if(CH_AntiMine == 0)
WriteAsm((void *)ADR_ANTIMINE,MINEOFF,6);

if (CH_AntiMine==1)
WriteAsm((void *)ADR_ANTIMINE,NOPS,6);

Quote:
if(RainPX==0){*(int*)OFS_Rain = 0;Sleep(20000);}
if(RainPX){*(int*)OFS_Rain = 1;}

Quote:
if(MapCollor1==1){*(float*)MapCollors1 = 250;}
if(MapCollor1==2){*(float*)MapCollors1 = 500;}
if(MapCollor1==3){*(float*)MapCollors1 = 750;}
if(MapCollor1==4){*(float*)MapCollors1 = 1000;}
if(MapCollor1==5){*(float*)MapCollors1 = 1500;}
if(MapCollor1==6){*(float*)MapCollors1 = 2000;}
if(MapCollor1==7){*(float*)MapCollors1 = 2500;}
if(MapCollor1==8){*(float*)MapCollors1 = 3000;}
if(MapCollor1==9){*(float*)MapCollors1 = 5000;}

if(MapCollor2==1){*(float*)MapCollors2 = 250;}
if(MapCollor2==2){*(float*)MapCollors2 = 500;}
if(MapCollor2==3){*(float*)MapCollors2 = 750;}
if(MapCollor2==4){*(float*)MapCollors2 = 1000;}
if(MapCollor2==5){*(float*)MapCollors2 = 1500;}
if(MapCollor2==6){*(float*)MapCollors2 = 2000;}
if(MapCollor2==7){*(float*)MapCollors2 = 2500;}
if(MapCollor2==8){*(float*)MapCollors2 = 3000;}
if(MapCollor2==9){*(float*)MapCollors2 = 5000;}

if(MapCollor3==1){*(float*)MapCollors3 = 250;}
if(MapCollor3==2){*(float*)MapCollors3 = 500;}
if(MapCollor3==3){*(float*)MapCollors3 = 750;}
if(MapCollor3==4){*(float*)MapCollors3 = 1000;}
if(MapCollor3==5){*(float*)MapCollors3 = 1500;}
if(MapCollor3==6){*(float*)MapCollors3 = 2000;}
if(MapCollor3==7){*(float*)MapCollors3 = 2500;}
if(MapCollor3==8){*(float*)MapCollors3 = 3000;}
if(MapCollor3==9){*(float*)MapCollors3 = 5000;}

Quote:
if(QuickPlant==0){WriteAsm(( void *)Adr_QPlant,QuickPlantOff,2);}
if(QuickPlant==1){WriteAsm(( void *)Adr_QPlant,QuickPlantOn,2);}
Quote:
if(AutoDie){KB(VK_F4);}
if(AutoEnter){KB(VK_RETURN);}
if(AutoJump){KB(VK_SPACE);}
if(AutoF){KB('f');}
if(AutoTele){KB(VK_F11);}


Quote:
////void __cdecl MsgBox(char* text){ //WarRock Style MSGBox
//// void* MsgF = (void*) 0x71BCE0;
//// void* MsgG = (void*) 0x43DD70;
//// _asm
//// {
//// push ecx
//// mov ecx, esp
//// mov [esp+8], esp
//// push text
//// call MsgF
//// call MsgG
//// add esp, 4
//// }
//// }


Quote:
if(WaterCollor){
*(float*)WaterCollor1 = 33943;
*(float*)WaterCollor2 = 343;
*(float*)WaterCollor3 = 393; Rehook();}
if(Waterdeep){
*(float*)WaterDeep1 = 33943;
*(float*)WaterDeep2 = 343;
*(float*)WaterDeep3 = 393; Rehook();}//Find 'Rehook' yourself
03/20/2011 10:30 Norbert8#2737
Quote:
Originally Posted by HackTec View Post
have fun
Quelle??
Und du hast einen addylogger programmiert??
wenn du angeblich c++ könntest, dann wüsstest du doch den fehler bei premium.
03/20/2011 10:36 HackTec#2738
Quote:
Originally Posted by Norbert8 View Post
Quelle??
Und du hast einen addylogger programmiert??
wenn du angeblich c++ könntest, dann wüsstest du doch den fehler bei premium.
1.google
2.Nicht Programmiert , sondern Erstellt
3.Ich hab nie behauptet das ich der Ultimative bin in c++ und alles kann o.O
4.jetzt nerv mich nicht du 1337
03/20/2011 10:38 BlackLegend™#2739
if(premium==1) // Bronze
*(int*)(Server+OFS_PREMIUM) = 1;

if(premium==2) // Silber
*(int*)(Server+OFS_PREMIUM) = 2;

if(premium==3) // Gold
*(int*)(Server+OFS_PREMIUM) = 3;

if(premium==4) // Platin
*(int*)(Server+OFS_PREMIUM) = 4;
//credits: Crasy

*pfeif*
Wenn dann 08/15 aber nicht 1337 :D
03/20/2011 10:50 *Luzifer*#2740
Quote:
Originally Posted by HackTec View Post
1.google
2.Nicht Programmiert , sondern Erstellt
3.Ich hab nie behauptet das ich der Ultimative bin in c++ und alles kann o.O
4.jetzt nerv mich nicht du 1337
1. Ich glaube die Bytes sind schon alt oda neu xD
Bin mir nich sicher...
4. Was heisst 1337 xD :D ?
03/20/2011 10:57 BlackLegend™#2741
Quote:
Originally Posted by *Luzifer* View Post
1. Ich glaube die Bytes sind schon alt oda neu xD
Bin mir nich sicher...
4. Was heisst 1337 xD :D ?
Die bytes stimmen teilweise aber er hätte Credits angeben können.......

ADR_SUPERNOSPREAD 0x98EE10

int Supernospread =0;

if(Supernospread ==1)
{
*(double*)ADR_SUPERNOSPREAD =0;
}
€: Ja es ist schon public, aber sonst wär das oben spam :D
03/20/2011 11:26 HackTec#2742
1337 heißt im grunde nur Elite , und auf ihn war es ironisch bezogen

joa creditz gib ich noch an : )
03/20/2011 11:37 CyberRazzor#2743
lol !
1337 = KIng????

egal....

Ehm bei supernospread w+rde ich empfehlen das alte Value zu Speichern weil jede waffe ein anderes Spread hat...
03/20/2011 12:03 Yazzn˜#2744
Quote:
Originally Posted by CyberRazzor View Post
lol !
1337 = KIng????

egal....

Ehm bei supernospread w+rde ich empfehlen das alte Value zu Speichern weil jede waffe ein anderes Spread hat...
1337 = LEET = Elite :)
03/20/2011 12:29 HackTec#2745
Quote:
Originally Posted by CyberRazzor View Post
lol !
1337 = KIng????.


Quote:
1337, manchmal 1337 5P34K, selten auch 31337 bzw. 313373 geschrieben.

wenn man jetzt nur das lesen könnte , jaja...


anti spam:


meint ihr das würde funzen? :D




Quote:
char *Supspreadvalue[] = {"OFF","Low","Middel","Hard","Extrem","*Amok*"} ;


Quote:
void SupernoSpread() //nicht getesten ->
{
if (CH_SUPspre == 0)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =5;
}
if (CH_SUPspre == 1)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =4;
}
if (CH_SUPspre == 2)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =3;
}
if (CH_SUPspre == 3)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =2;
}
if (CH_SUPspre == 4)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =1;
}
if (CH_SUPspre == 5)
{
*(double*)(ADR_MEM_SUPERNOSPREAD) =0;
}}