Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 21:06

  • Please register to post and access all features, it's quick, easy and FREE!

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%
Voters: 128. You may not vote on this poll

Closed Thread
 
Old 04/15/2011, 12:40   #3136
 
elite*gold: -1218
Join Date: Mar 2011
Posts: 672
Received Thanks: 375
Quote:
#define ADR_PLAYERPOINTER 0x00C81820
#define ADR_SERVERPOINTER 0x00B7C198
#define ADR_SPEED 0x0099D4F4

DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;

void Player()//SPEED
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; //
if(dwPlayerPtr != 0)
{
if(GetAsyncKeyState(VK_F12) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 0.0f; //
}
if(GetAsyncKeyState(VK_F1) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 20.0f; //
}

if(GetAsyncKeyState(VK_F2) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 30.0f; //
}
if(GetAsyncKeyState(VK_F3) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 40.0f; //
}
if(GetAsyncKeyState(VK_F4) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 50.0f; //
}
if(GetAsyncKeyState(VK_F5) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 60.0f; //
}
if(GetAsyncKeyState(VK_F6) &1) //
{
*(float*)(dwPlayerPtr + ADR_SPEED) = 70.0f; //
}

}
}

void HackThread()
{
for(;; )
{
if(*ingame)
{
PlayerHacks();
}
if(*outgame)
{
ServerHacks();
}
}
}
was is falsch?
.Dark.light is offline  
Old 04/15/2011, 12:43   #3137
 
Son_Goten's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 349
Received Thanks: 431
Quote:
void HackThread()
{
for(;; )
{
if(*ingame)
{
PlayerHacks();
}
if(*outgame)
{
ServerHacks();
}
}
}
ok 1 ) du hast nichtmal PlayerHacks in deinem Main also Fehler
2) das glecihe wie Serverhacks


void HackThread()
{
for(;; )
{
if(*ingame)
{
Player();
}
if(*outgame)
{
}
}
}


so ist es richtig
Son_Goten is offline  
Thanks
1 User
Old 04/15/2011, 12:48   #3138

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Code:
#include <Windows.h>
#include <stdio.h>

#define ADR_PLAYERPOINTER 0x00C81820
#define ADR_SERVERPOINTER 0x00B7C198
#define ADR_SPEED 0x0099D4F4 

DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;

int speed = 97;

void Speedhack()
{
 if(GetAsyncKeyState(VK_F12) &1) //
 {
  *(float*)(ADR_PLAYERPOINTER + ADR_SPEED) = speed; //normal
 }
 if(GetAsyncKeyState(VK_F1) &1) //
 {
  *(float*)(ADR_PLAYERPOINTER + ADR_SPEED) = (speed * 2); // mal 2
 }
 if(GetAsyncKeyState(VK_F2) &1) //
 {
  *(float*)(ADR_PLAYERPOINTER + ADR_SPEED) = (speed * 3); // mal 3
 }
 if(GetAsyncKeyState(VK_F3) &1) //
 {
  *(float*)(ADR_PLAYERPOINTER + ADR_SPEED) = (speed * 4); //mal 4
 }
 if(GetAsyncKeyState(VK_F4) &1) //
 {
  *(float*)(ADR_PLAYERPOINTER + ADR_SPEED) = 0.0f; // freeze
 }
}

void HackThread()
{
 for(;;)
 {
 if(*ingame)
 {
  Speedhack();
 } 
}

BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
	switch(DWORD_GRUND)
		{
		case 1:
			CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
			break;
		case 2:
			break;
	}
	return TRUE;
}
versuch mal das
xxfabbelxx is offline  
Thanks
1 User
Old 04/15/2011, 12:54   #3139
 
elite*gold: -1218
Join Date: Mar 2011
Posts: 672
Received Thanks: 375
so hat geklappt.

danke für eure geduld !

ich werde 100% ein buch darüber lesen dann weiß ich mehr und bin mehr selbstständig vielen dank an euch allen
.Dark.light is offline  
Old 04/15/2011, 17:20   #3140
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 16
Dark das was du am Anfang in nem Buch lernst hilft dir nur wenig bis kaum beim Coden von Wr Hacks... Wirst da erstmal an Konsolen-Anwendungen sitzen.

Danach kannst du aufs Objekt-orientierte Programmieren umsteigen, was dann um einiges besser dazu passt, jedoch solltest du natürlich das Grundwissen besitzen.

Nen kleiner OPK Loop: (CPU-Überlastungsgefahr)

Code:
void OPKloop();
{
for(;;)
{
OPK();
Sleep(-0);
}
}
In_Your_Face is offline  
Old 04/15/2011, 17:23   #3141
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
sleep(-0), u mad?
Setzt sleep mal mindestens auf 10, sonst würde sogar mein i7 einknicken.
theitfan1337 is offline  
Old 04/15/2011, 17:27   #3142
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 16
bei 10 ist das Problem (bei mir) das die Spieler nicht konstant auf einer Stelle stehen, deshalb -0
In_Your_Face is offline  
Old 04/15/2011, 19:19   #3143
 
elite*gold: 0
Join Date: Apr 2010
Posts: 41
Received Thanks: 3
Code:
if(AutoDie){if(GetAsyncKeyState(VK_F4));}
if(AutoEnter){if(GetAsyncKeyState(VK_RETURN));}
if(AutoJump){if(GetAsyncKeyState(VK_SPACE));}
if(AutoF){if(GetAsyncKeyState('f'));}
if(AutoTele){if(GetAsyncKeyState(VK_F11));}
they are auto funcs.

HAVE FUN!
futbolcuadem is offline  
Old 04/15/2011, 19:41   #3144
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Quote:
Originally Posted by .BreakDance View Post
bei 10 ist das Problem (bei mir) das die Spieler nicht konstant auf einer Stelle stehen, deshalb -0
Stimmt, soweit hab ich nicht gedacht. Trz würde da auch ein guter Prozessor iwann einknicken, die sleepanweisung sollte dann in die OPK function ...

Quote:
Originally Posted by futbolcuadem View Post
Code:
if(AutoDie){if(GetAsyncKeyState(VK_F4));}
if(AutoEnter){if(GetAsyncKeyState(VK_RETURN));}
if(AutoJump){if(GetAsyncKeyState(VK_SPACE));}
if(AutoF){if(GetAsyncKeyState('f'));}
if(AutoTele){if(GetAsyncKeyState(VK_F11));}
they are auto funcs.

HAVE FUN!
As they wont work for 32bit, they are kinda useless bro.
theitfan1337 is offline  
Thanks
1 User
Old 04/15/2011, 19:46   #3145
 
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
Quote:
Originally Posted by ɴoмαd View Post
Stimmt, soweit hab ich nicht gedacht. Trz würde da auch ein guter Prozessor iwann einknicken, die sleepanweisung sollte dann in die OPK function ...



As they wont work for 32bit, they are kinda useless bro.
+ the code is bullsh....

It wont work.
Yazzn˜ is offline  
Thanks
1 User
Old 04/15/2011, 20:48   #3146
 
elite*gold: 0
Join Date: Jan 2011
Posts: 146
Received Thanks: 16
Quote:
Originally Posted by futbolcuadem View Post
Code:
if(AutoDie){if(GetAsyncKeyState(VK_F4));}
if(AutoEnter){if(GetAsyncKeyState(VK_RETURN));}
if(AutoJump){if(GetAsyncKeyState(VK_SPACE));}
if(AutoF){if(GetAsyncKeyState('f'));}
if(AutoTele){if(GetAsyncKeyState(VK_F11));}
they are auto funcs.

HAVE FUN!
Ich übersetz mal Grob:

Wenn F4 gedrückt wird.
Wenn AutoEnter, dann wenn VK_Return gedrückt wird.
....


Reinster Mist O.o
In_Your_Face is offline  
Old 04/15/2011, 21:19   #3147
 
•~•Pr0Sk1ll•~•'s Avatar
 
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
wegen opkloop bei mir reicht netma 1 ich brauch 0,x1 x=x*0
und wenn dein i7 da verreckt dann haste ya sowas von bullshit gekauft
und wurdest voll verarscht @"Autocoder"
so muss mans machen
Code:
if(***){keybd_event(VK_X,0,0,0);Sleep(10);}
***=Funktion Bsp:AutoEnter
X=Key BSP:ENTER,bei buchstaben des VK_weglassen un so 'Key' machen
wers net blickt
•~•Pr0Sk1ll•~• is offline  
Old 04/15/2011, 21:26   #3148
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Quote:
Originally Posted by •~•Pr0Sk1ll•~• View Post
wegen opkloop bei mir reicht netma 1 ich brauch 0,x1 x=x*0
und wenn dein i7 da verreckt dann haste ya sowas von bullshit gekauft
und wurdest voll verarscht
Ironie lässt grüßen.
btw ergibt 0,x1 mit x=x*0 keinen Sinn, weil x dann immer 0 ist.
theitfan1337 is offline  
Thanks
1 User
Old 04/15/2011, 21:27   #3149
 
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
Quote:
Originally Posted by •~•Pr0Sk1ll•~• View Post
wegen opkloop bei mir reicht netma 1 ich brauch 0,x1 x=x*0
und wenn dein i7 da verreckt dann haste ya sowas von bullshit gekauft
und wurdest voll verarscht @"Autocoder"
so muss mans machen
Code:
[COLOR="MediumTurquoise"]if(***){keybd_event(VK_X,0,0,0);Sleep(10);}
***=Funktion Bsp:AutoEnter
X=Key BSP:ENTER,bei buchstaben des VK_weglassen un so 'Key' machen[/COLOR]
wers net blickt
What the f.. re ya talkin bout?


Zum Grünen:
Quote:
wie er mich ernst nimmt xDDD
Yazzn˜ is offline  
Thanks
1 User
Old 04/16/2011, 08:33   #3150
 
•~•Pr0Sk1ll•~•'s Avatar
 
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
@nomad
Bsp 3*0 heisst das x mit 000 ersetzt wird
@yazzn
über autofunktionen
->
if(AutoF){keybd_event('F',0,0,0);Sleep(10);}
•~•Pr0Sk1ll•~• is offline  
Closed Thread


Similar Threads 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 21:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.