|
You last visited: Today at 20:35
Advertisement
WarRock EU - Code Snippets
Discussion on WarRock EU - Code Snippets within the WarRock forum part of the Shooter category.
|
View Poll Results: Wie findet ihr diesen Thread
|
|
Klasse!
|
  
|
78 |
60.94% |
Geht so
|
  
|
17 |
13.28% |
|
Sinnlos, braucht keiner
|
  
|
33 |
25.78% |
12/15/2010, 12:49
|
#556
|
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
|
*(float*)(dwPlayerPtr + ADR_PLAYERSPEED) == 200f;
|
|
|
12/15/2010, 13:59
|
#557
|
elite*gold: 2
Join Date: Jun 2010
Posts: 180
Received Thanks: 45
|
weiss einer wie ich auto f in noMenü mache??
|
|
|
12/15/2010, 18:57
|
#558
|
elite*gold: 20
Join Date: Feb 2010
Posts: 1,125
Received Thanks: 407
|
Quote:
Originally Posted by #Infraction
Hi Leute,
in diesem Thread könnt ihr Sourcecodes erfragen:
ihr könnt Fragen zu Sourcecodes stellen:
und ihr könnt natürlich eure selbst entwickelten Source Codes und evtl. Verbesserungen Posten:
Oder ähnliches halt.
Alle VK_KEYS auf einen Blick!
Regeln:
1. Postet hier nur eines der oben genannten Typen. Alles andere gilt als Spam und wird reported.
2. Stellt hier keine Fragen wie: Hat wer Link zu Hack xxx
3. Hier gelten die allgemeinen Regeln(Spam, Fremdwerbung etc)
4. Bitte beachten hier soll alles Public sein und nicht "gebt mir das und das aber nur Per PN" oder "gebe xxx per pn" Verstoß -> Report
Ich hoffe jeder hält sich daran und findet hier seinen geeigneten Sourcecode :>
------------------------------------------------------
User-released Source Codes:
1. GM Warning by .Crasy
Code:
if (CH_GMW==1) // Was an sein Muss
{
#define COLOR_ADM_WARNING D3DCOLOR_ARGB(255, 0,255, 0)
char *gmname=(char *) (GM_Warning);
if (strlen(gmname)>2) {
char gmwarn[333];
sprintf(gmwarn, "Warning: %s » is in this Room.", GM_Warning);
}
}
2. Fog Color by .Crasy
Code:
if(FogColor==1) pDevice->SetRenderState(D3DRS_FOGCOLOR,XCOL);
if(FogColor==2) pDevice->SetRenderState(D3DRS_FOGCOLOR,WHITE);
if(FogColor==3) pDevice->SetRenderState(D3DRS_FOGCOLOR,RED);
if(FogColor==4) pDevice->SetRenderState(D3DRS_FOGCOLOR,ORANGE);
if(FogColor==5) pDevice->SetRenderState(D3DRS_FOGCOLOR,BLACK);
if(FogColor==6) pDevice->SetRenderState(D3DRS_FOGCOLOR,YELLOW);
if(FogColor==7) pDevice->SetRenderState(D3DRS_FOGCOLOR,GREEN);
#define FARBE D3DCOLOR_ARGB(255,255,255,255) // WEIß
if(Funktion==1,2,3,4...)pDevice->SetRenderState(D3DRS_FOGCOLOR,FARBE)
Natürlich solltet ihr nicht 1,2,3,4 machen in eine reihe.
3. Asus Wallhack by .Crasy
Code:
#define Stride1 36
#define Stride2 32
if(WallHack==1)
{
if(m_Stride == Stride1 && Stride2 )
{
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
pDevice->SetRenderState( D3DRS_ZENABLE,false);
}
}
4. Nofog by .Crasy
Code:
if(NoFog==1)
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}
5. Level hack(Visual) by CyberPasci™ & CyberRazzer
Code:
void Level()
#define OFS_LEVEL *Level Addy*
#define EXP *EXP(bsp 37.500.000 fuer irgendwas bei 99/100)*
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr + OFS_LEVEL)= EXP;
}
}
6. Virtual Jump(ON/OFF) by HackTec
Code:
void VirtualJumpon()
{
if(GetAsyncKeyState(VK_UP) &1)
{
posiX = *(float*)(dwPlayerPtr + OFS_X);
posiY = *(float*)(dwPlayerPtr + OFS_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
*(float*)(ADR_VIRTUALJUMP) = 1000;
}
}
void VirtualJumpoff()
{
if(GetAsyncKeyState(VK_DOWN) &1)//Pfeil hoch..
{
*(float*)(dwPlayerPtr + OFS_X) = posiX;
*(float*)(dwPlayerPtr + OFS_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
*(float*)(ADR_VIRTUALJUMP) = 43;
}
}
7. Position Logger by BlacK_Ðata
Code:
#include <windows.h>
#include <stdio.h>
#include "Log.h"
#define Playerpointer 0xC62388
#define X 0x000102D4
#define Y 0x000102DC
#define Z 0x000102D8
float fX_1;
float fY_1;
float fZ_1;
VOID LogPosition(VOID)
{
Writelog("//------------------------------------------//\n///Position Logger by BlacK_Data///\n//------------------------------------------//");
for(;;)
{
DWORD Player = *(DWORD*)Playerpointer;
if(GetAsyncKeyState(VK_NUMPAD0)&1)
{
fX_1 = *(float*)(Player+X);
fY_1 = *(float*)(Player+Y);
fZ_1 = *(float*)(Player+Z);
Writelog("X: %f\nY: %f\nZ: %f\n",fX_1,fY_1,fZ_1);
}
}
}
BOOL __stdcall DllMain( HMODULE hDll , DWORD Reason )
{
if(Reason==DLL_PROCESS_ATTACH)
{
logging(hDll);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)LogPosition, NULL, NULL, NULL);
}
return TRUE;
}
Log.ccp
Code:
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <stdio.h>
#pragma warning(disable:4996)
using namespace std;
ofstream ofile;
char dlldirectory[320];
char *GetDirectoryFile(char *filename)
{
static char path[320];
strcpy(path, dlldirectory);
strcat(path, filename);
return path;
}
void __cdecl Writelog(const char *fmt, ...)
{
if(ofile != NULL)
{
if(!fmt) { return; }
va_list va_alist;
char logbuf[256] = {0};
va_start (va_alist, fmt);
_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) - strlen(logbuf), fmt, va_alist);
va_end (va_alist);
ofile << logbuf << endl;
}}
void logging(HMODULE hDll){
DisableThreadLibraryCalls(hDll);
GetModuleFileName(hDll, dlldirectory, 512);
for(int i = strlen(dlldirectory); i > 0; i--) { if(dlldirectory[i] == '\\') { dlldirectory[i+1] = 0; break; } }
ofile.open(GetDirectoryFile("Positions.txt"), ios::app);
}
Log.h
Code:
char *GetDirectoryFile(char *filename);
void __cdecl Writelog (const char * fmt, ...);
void logging(HMODULE hDll);
8. Glasswalls by Nice~Man
Code:
void Glasswalls ()
{
*(int*)ADR_GLASSWALLS = 4;
}
9. Glasswalls D3D by .Crasy
Code:
#define Stride5 40
if(GlassWall)
{
if(m_Stride==Stride5)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
}
10. Wallhack mit Khali Bug by CyberRazzer
Code:
if(CH_WallHack==1)
{
if(m_Stride == 36 && 32)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
}
}
11. Platin Prem by xxfabbelxx
Code:
void Platin()
{
*(int*)(Server+OFS_PREMIUM) = 4;
}
12. Menü Prem by .Crasy
Code:
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;
13. Scalare Jump(Smooth) by .Crasy
Code:
{
if(GetAsyncKeyState(VK_CONTROL) &0x8000)
{
*(float*)(Player Addy +Z Addy) = *(float*)(Player Addy +Z Addy) +70;
}
}
14. Zombie Freeze by CyberPasci™
Code:
void speedon0 ()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(float*)(ADR_SPEED) = 0.0f;
}
}
void speedon1 ()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(ADR_SPEED) = 97.0f;
}
}
15. NoSpawnWait by _-Jimmy-_
Code:
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);
}
16. NoFog(no Menue) by _-Jimmy-_
Code:
void nofog()
{
*(float*)ADR_FARFOG = 116612500;
*(float*)ADR_NEARFOG = 0;
}
17. Exit Warrock by _-Jimmy-_
Code:
void exit()
{
if(GetAsyncKeyState(VK_DELETE) &1<< 0xF)
{
ExitProcess(0);
}
}
18. Sehr viele Codes by CyberRazzer
19. Nobounds by Eragon5555
Code:
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);
}
20. Scope Hack(menü) by *fabirulez*
Code:
if(CH_SCOPE==1)
{
*(int*)(ADR_SCOPE) = (int)1;
}
else
{
*(int*)(ADR_SCOPE) = (int)0;
}
}
21. Position im Menü anzeigen by .Crasy
Code:
//// Defines (Unter Includes) ////
float fX_1;
float fY_1;
float fZ_1;
char cX_1[32];
char cY_1[32];
char cZ_1[32];
///////////////////////////////////
Funk Ansich:
DWORD Player = *(DWORD*)ADR_PLAYERPOINTER;
fX_1 = *(float*)(Player+X Addy);
fY_1 = *(float*)(Player+Y Addy);
fZ_1 = *(float*)(Player+Z Addy);
Sprintf:
sprintf(cX_1,"Position X: %f",fX_1);
sprintf(cY_1,"Position Y: %f",fY_1);
sprintf(cZ_1,"Position Z: %f",fZ_1);
Position:
Base->AddText(210,298,Color,cX_1);
Base->AddText(210,310,Color,cY_1);
Base->AddText(210,322,Color,cZ_1);
Credits:
Yazzn - Grund
Crasy - Umgeschrieben Bisschen
22. GM Warning by Cαlιgσ
Code:
void gmwarning()
{
char *gmname=(char*)(ADR_ADMIN_WARNING);
if (strlen(gmname)>2)
{
ExitProcess(0);
}
}
23. Level, Dinar, I'm drunk & Ghost Chams by *fabirulez*
24. Erweiterte D9 Detour by CyberRazzer
Code:
void *DetourCreateE9(BYTE *org, const BYTE *det, int len)
{
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwBack;
if(len != 0 && len < 5)
return 0;
if(!len)
{
int tmpLen = 0;
BYTE *pCurOp = org;
while(tmpLen < 5) {
int i = oplen(pCurOp);
if(i == 0 || i == -1)
return 0;
tmpLen += i;
pCurOp += i;
}
if(tmpLen < 5)
return 0;
len = tmpLen;
}
VirtualProtect(org, len, PAGE_READWRITE, &dwBack);
memcpy(jmp, org, len);
jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(org+len - jmp) - 5;
org[0] = 0xE9;
*(DWORD*)(org+1) = (DWORD)(det - org) - 5;
for(int i=5; i < len; i++)
org[i] = 0x90;
VirtualProtect(org, len, dwBack, &dwBack);
Sleep(2);
return (jmp-len);
}
Ich habe BEWUSST einige Codes herausgelassen, da man sie in den Meisten Tutorials findet.
Danke besonders an  &  , die hier viele ihrer Sourcecodes mit usn teilen!
MfG
|
ich hab jetzt mal das ganze zitiert is ja egal oder?^^
naja auf jedenfall ist doch bei der source von cyberrazzer(erweiterter E9 detour) etwas falsch, denn wenn ich das kopiere und einfüge dann steht da das der Bezeichner "oplen" nicht definiert ist. Jetzt wollte ich mal fragen wie ich diesen fehler beheben kann...
PS: ich versteh nicht sonderlich viel von detouren als naja...^^
EDIT:
Habe da noch eine Frage und zwar ich bin grad an einem hack drann aber irgendwie find ich den fehler davon nicht(ist nur noch ein fehler da)
Fehler:
(davor kommt halt wo des gespeichert wird is ja klar) fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
|
|
|
12/15/2010, 21:12
|
#559
|
elite*gold: 95
Join Date: Aug 2010
Posts: 2,254
Received Thanks: 279
|
Quote:
Originally Posted by Eragon5555
ich hab jetzt mal das ganze zitiert is ja egal oder?^^
naja auf jedenfall ist doch bei der source von cyberrazzer(erweiterter E9 detour) etwas falsch, denn wenn ich das kopiere und einfüge dann steht da das der Bezeichner "oplen" nicht definiert ist. Jetzt wollte ich mal fragen wie ich diesen fehler beheben kann...
PS: ich versteh nicht sonderlich viel von detouren als naja...^^
EDIT:
Habe da noch eine Frage und zwar ich bin grad an einem hack drann aber irgendwie find ich den fehler davon nicht(ist nur noch ein fehler da)
Fehler:
(davor kommt halt wo des gespeichert wird is ja klar) fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
|
Hast du vllt eine Headerdatei falsch eingebunden?
Bei mir war das auch mal...ich weiß nur nicht mehr wann^^
|
|
|
12/16/2010, 14:55
|
#560
|
elite*gold: 20
Join Date: Feb 2010
Posts: 1,125
Received Thanks: 407
|
mhhhhhhh kann eigntlich nicht sein, aber ich seh trotzdem noch mal gründlich nach^^
gibt thx auch wenn du mir bestimmt nicht weitergeholfen hasst denn ich denke das alles passt mit dem includen etc.^^
|
|
|
12/16/2010, 14:58
|
#561
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
Eragon bist echt Koreckter Typ Ty !
|
|
|
12/16/2010, 15:58
|
#562
|
elite*gold: 20
Join Date: Feb 2010
Posts: 1,125
Received Thanks: 407
|
hä wie meinste das jetzt?
|
|
|
12/16/2010, 16:55
|
#563
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
Du bist echt Nett und so Danke
AntiSpam:
Addys 16.12.2010
by CyberRazzer
Quote:
ADR_PLAYERPOINTER 0x00D45310
ADR_SERVERPOINTER 0x00C41938
ADR_BASEPOINTER 0x00C7A4E8
ADR_VEHICLEBASE 0x00BD4A40
ADR_CLASSBASE 0x00C7C088
ADR_PLAYERSIZE 0x001CE8
ADR_ANGELVIEW 0x00A55CC4
ADR_NOBOUNDS1 0x00BF1FC8
ADR_NOBOUNDS2 0x00BF1FD0
ADR_GLASSWALLS 0x00BCD6C0
ADR_NEARFOG 0x00BCD7D4
ADR_FARFOG 0x000BCD7D8
ADR_FOGCOLOR1 0x00BCD770
ADR_FOGCOLOR2 0x00BCD76C
ADR_FOGCOLOR3 0x00BCD768
ADR_WATERCOLOR1 0x00AE9694
ADR_WATERCOLOR2 0x00AE9690
ADR_WATERCOLOR3 0x00AE968C
ADR_FULLBRIGHT1 0x00BCD728
ADR_FULLBRIGHT2 0x00BCD724
ADR_FULLBRIGHT3 0x00BCD720
ADR_WEAPONGRAVIT 0x00A58FE0
ADR_BACKTOLOBBY 0x00558180
ADR_NOWATER 0x00AE9688
ADR_IMDRUNK 0x00BF6DE8
ADR_WATERHEIGHT 0x000BCD7D0
ADR_NOSPREAD 0x00BC78E8
ADR_SCOPE 0x00AE95B8
ADR_SCOPESIZE 0x00AE95C0
ADR_FASTLOCKON 0x00BC78F4
ADR_VISUALJUMP 0x00A55CC4
ADR_VISUALRAIN 0x00A58750
ADR_MEMCQCPRONE 0x00AE95A8
ADR_MEMUNLAMMO 0x00BFFDC8
ADR_MEMPLANTANYWHERE 0x00BC78C1
ADR_MEMCROSSHAIR 0x00AE961C
ASM_CROSSHAIR 0x0060592E
OFS_GMMODE 0x00574
OFS_5SLOT 0x001021A4
OFS_6SLOT 0x001021A5
OFS_7SLOT 0x001021A6
OFS_8SLOT 0x001021A7
OFS_WEAPON1 0x101D8
OFS_WEAPON2 0x101D2
OFS_WEAPON3 0x101D0
OFS_NFD 0x00103A4
OFS_X 0x00102D4
OFS_Y 0x00102DC
OFS_Z 0x00102D8
OFS_SUPERMASTER 0x00FC8C8
OFS_ROOMMASTER 0x0011BB6C
OFS_PREMIUM1 0x0057C
OFS_PREMIUM2 0x00580
OFS_LEVEL 0x0011A610
OFS_DINAR 0x0011A620
OFS_NORECOIL1 0x001C
OFS_NORECOIL2 0x0020
OFS_NORECOIL3 0x0024
|
|
|
|
12/16/2010, 17:00
|
#564
|
elite*gold: 6
Join Date: Nov 2010
Posts: 169
Received Thanks: 418
|
#lalalalaa unknowpk wird sonst traurig ( REMOVED )
|
|
|
12/16/2010, 17:34
|
#565
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
danke kenn ich aber :P
geht nur im room als master or?
|
|
|
12/16/2010, 19:44
|
#566
|
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
|
Quote:
Originally Posted by CyberRazzer
Du bist echt Nett und so Danke
AntiSpam:
Addys 16.12.2010
by CyberRazzer
|
manche sind falsch aber ty^^
|
|
|
12/16/2010, 20:49
|
#567
|
elite*gold: 20
Join Date: Feb 2010
Posts: 1,125
Received Thanks: 407
|
hat noch einer mehr addys??
Brauche nämlich ein paar die hier nicht aufgezählt sind....
|
|
|
12/17/2010, 15:12
|
#568
|
elite*gold: 2
Join Date: Jun 2010
Posts: 180
Received Thanks: 45
|
geht plantanywhere auch in nomenü???
|
|
|
12/17/2010, 15:38
|
#569
|
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
|
Quote:
Originally Posted by xl31tw0lfx
geht plantanywhere auch in nomenü???
|
Jop normalerweise schon
|
|
|
12/17/2010, 17:19
|
#570
|
elite*gold: 2
Join Date: Jun 2010
Posts: 180
Received Thanks: 45
|
hat einer source für plantanywhere in nomenü?????
|
|
|
 |
|
Similar Threads
|
WTB Flyff Source code snippets
04/01/2012 - Flyff Trading - 0 Replies
Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code
Payment:via Paypal
|
[Autoit] Youtube Code Snippets
07/29/2011 - AutoIt - 5 Replies
Tag Zusammen.
Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann.
Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde.
Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft.
Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
|
Some Code-Snippets[PSERVER]
07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies
This is the code of the hack which Fremo released..
I got new methods so I dont need this anymore & maybe it'll help some people...
G31 Adult Skill
if(comboBox4->Text=="Panther'crit'")
{
KC->Chat(255," Panther Skill ON");
KC->Threads=1;
KC->lasttime = timeGetTime()-15000;
}
else if(comboBox4->Text=="Tiger'otp'")
|
[Release] Code Snippets Manager
01/21/2011 - Coding Releases - 0 Replies
Code Snippets Manager
http://upit.cc/images/1d47d78e.jpg
Hab mich heute mal rangesetzt, und einen kleinen Manager für
Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert
in einer Anwendung wollte.
Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.
|
All times are GMT +1. The time now is 20:36.
|
|