Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 02:20

  • 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 01/08/2011, 17:26   #1081
 
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
nach mal wie kann cih es erkennen ob mein hack wegen der detour oder dem rehook crasht??
joki4444 is offline  
Old 01/08/2011, 17:36   #1082
 
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
@Spin:
PHP Code:
void Glasswalls(){
static 
bool glasswalls=false
if(GetAsyncKeyState(VK_NUMPAD7)&1){glasswalls=!glasswalls;}
if(
glasswalls){*(int*)ADR_GLASSWALLS 4;}
else {*(
int*)ADR_GLASSWALLS 0;}

dsgreha is offline  
Thanks
1 User
Old 01/08/2011, 18:09   #1083
 
elite*gold: 31
Join Date: Feb 2010
Posts: 176
Received Thanks: 79
addy gesucht für

if(CH_PointMode==1)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_POINT);
}
}


Oder is das nur d3d ich wils in nomenü reinmachen
Chico™ is offline  
Old 01/08/2011, 18:57   #1084
 
surimi4's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 107
Received Thanks: 28
das ist nur d3d brauchst keine addy... aber rehook und detour^^

--------------------------------------------------------------------

@spin

PHP Code:
bool glasswalls false;

void glasswalls()
{
     if(
GetAsyncKeyState(VK_NUMPAD7))
     {
          
glasswalls glasswalls == false //wenn glasswalls = true ist wird es false und andersrum...
     
}
     if(
glasswalls == true)
     {
          *(
float*)(ADR_GLASSWALLS) = 4;  //an
     
}
     else
     {
          *(
float*)(ADR_GLASSWALLS) = 0//aus
     
}

surimi4 is offline  
Thanks
1 User
Old 01/08/2011, 19:25   #1085
 
Spin™'s Avatar
 
elite*gold: 170
Join Date: Jul 2010
Posts: 4,701
Received Thanks: 3,093
Quote:
Originally Posted by dsgreha View Post
@Spin:
PHP Code:
void Glasswalls(){
static 
bool glasswalls=false
if(GetAsyncKeyState(VK_NUMPAD7)&1){glasswalls=!glasswalls;}
if(
glasswalls){*(int*)ADR_GLASSWALLS 4;}
else {*(
int*)ADR_GLASSWALLS 0;}

Dankeschön es funktioniert
Lg.
Spin™ is offline  
Old 01/08/2011, 20:50   #1086
 
elite*gold: 219
Join Date: Jan 2011
Posts: 1,444
Received Thanks: 1,369
Hat wer Exp 5 % up Addy ?
*Pumio* is offline  
Old 01/08/2011, 21:52   #1087
 
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
Irgend wie Crasht Warrock warrock immer ??
Es muss am ReHook liegen pls help
was ist daran verkehrt

Quote:
VOID Hook(VOID)
{
hD3D9Dll = GetModuleHandleA("d3d9.dll");
do {
hEhSvc = GetModuleHandleA("EhSvc.dll");
Sleep(20);
}
while(!hD3D9Dll);
Sleep(100);
DWORD * VtablePtr = FindDevice((DWORD) hD3D9Dll, 0x128000);
if(VtablePtr == NULL)
{
MessageBoxA(NULL, "D3DDevice Pointer Not Found!", 0, MB_OK);
ExitProcess(0);
}
DWORD * VTable = 0;
*(DWORD *) &VTable = *(DWORD *) VtablePtr;

pReset = (oReset)cDetour((Dd)VTable[16],(Dd)myReset,5);
pPresent = (oPresent)cDetour((DWORD)VTable[17],(DWORD)myPresent,5);
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);

while(1)
{
if(memcmp((void*)VTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
{
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
}
Sleep(458.50);
}
return ;
}
joki4444 is offline  
Old 01/08/2011, 21:59   #1088
 
surimi4's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 107
Received Thanks: 28
Quote:
Originally Posted by joki4444 View Post
Irgend wie Crasht Warrock warrock immer ??
Es muss am ReHook liegen pls help
was ist daran verkehrt
Du hast DIP 2mal "erstellt" einmal in der schleife und einmal davor mach das DIP einfach mal NUR in die Present funk kurz vor ende und lass die schleife weg...
bei mir gehts so...
surimi4 is offline  
Old 01/08/2011, 22:04   #1089
 
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
du meinst so??

Quote:
VOID Hook(VOID)
{
hD3D9Dll = GetModuleHandleA("d3d9.dll");
do {
hEhSvc = GetModuleHandleA("EhSvc.dll");
Sleep(20);
}
while(!hD3D9Dll);
Sleep(100);
DWORD * VtablePtr = FindDevice((DWORD) hD3D9Dll, 0x128000);
if(VtablePtr == NULL)
{
MessageBoxA(NULL, "D3DDevice Pointer Not Found!", 0, MB_OK);
ExitProcess(0);
}
DWORD * VTable = 0;
*(DWORD *) &VTable = *(DWORD *) VtablePtr;

pReset = (oReset)cDetour((Dd)VTable[16],(Dd)myReset,5);
pPresent = (oPresent)cDetour((DWORD)VTable[17],(DWORD)myPresent,5);
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
return ;
}

edit habs versucht crash nach 2 min :S
joki4444 is offline  
Old 01/08/2011, 22:50   #1090
 
surimi4's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 107
Received Thanks: 28
Quote:
Originally Posted by joki4444 View Post
du meinst so??




edit habs versucht crash nach 2 min :S
nein ich mein das du in der gehookten present funktion
Code:
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
das einfügst... bei mir gehts dann besser^^

also statt unter der present funktion weißt du was ich meine??^^
surimi4 is offline  
Old 01/09/2011, 10:44   #1091
 
elite*gold: 0
Join Date: Nov 2010
Posts: 257
Received Thanks: 113
Was ist falsch???
PS: Ist im HackThread

#define OFS_Speed 0x008F37B4
seexergy is offline  
Old 01/09/2011, 11:43   #1092
 
elite*gold: 0
Join Date: Jan 2011
Posts: 271
Received Thanks: 801
Code:
void speeds()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
if(GetAsyncKeyState(VK_F5) &1<< 0xF)
{
*(float*)(OFS_Speed) = 0.0f;
}
if(GetAsyncKeyState(VK_F6) &1<< 0xF)
{
*(float*)(OFS_Speed) =97.0f;
}
if(GetAsyncKeyState(VK_F7) &1<< 0xF)
{
*(float*)(OFS_Speed) =150.0f;
[COLOR="red"]{[/COLOR][COLOR="Green"]// Vielleicht machst du daraus mal     }    o0[/COLOR]
if(GetAsyncKeyState(VK_F8) &1<< 0xF)
{
*(float*)(OFS_Speed) = 250.0f;
}
if(GetAsyncKeyState(VK_F9) &1<< 0xF)
{
*(float*)(OFS_Speed) = 350.0f;
[COLOR="Red"]{[/COLOR][COLOR="Green"]// Vielleicht machst du daraus mal    }     o0[/COLOR]
if(GetAsyncKeyState(VK_F10) &1<< 0xF)
{
*(float*)(OFS_Speed) = 500.0f;
}
if(GetAsyncKeyState(VK_F11) &1<< 0xF)
{
*(float*)(OFS_Speed) = 750.0f;
}

[COLOR="Red"]}[/COLOR][COLOR="SeaGreen"]// Fehlt.[/COLOR]
Btw der bessere Weg würde ungefähr so aussehen :

Code:
#define ADR_Speed 0x8F37B4

int speedstufe;

void speeds()
{
	if( (GetAsyncKeyState(VK_F5)&1) && ( speedstufe < 7 ) )
	{
		speedstufe++;
	}

	if( (GetAsyncKeyState(VK_F6)&1) && ( speedstufe != 0 ) )
	{
		speedstufe--;
	}
	
	*(float*)(ADR_Speed) = (97 * speedstufe);

}
Mit F5 geht die Geschwindigkeit hoch - Mit F6 geht die Geschwindigkeit runter.

------------------------------------------------------------------------------

Zu dem Code:
Code:
VOID Hook(VOID)
{ 
hD3D9Dll = GetModuleHandleA("d3d9.dll");
do {
hEhSvc = GetModuleHandleA("EhSvc.dll");
Sleep(20);
}
while(!hD3D9Dll);
Sleep(100);
DWORD * VtablePtr = FindDevice((DWORD) hD3D9Dll, 0x128000);
if(VtablePtr == NULL) 
{
MessageBoxA(NULL, "D3DDevice Pointer Not Found!", 0, MB_OK);
ExitProcess(0);
} 
DWORD * VTable = 0;
*(DWORD *) &VTable = *(DWORD *) VtablePtr;

pReset = (oReset)cDetour((Dd)VTable[16],(Dd)myReset,5);
pPresent = (oPresent)cDetour((DWORD)VTable[17],(DWORD)myPresent,5);
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);

while(1)
{
if(memcmp((void*)VTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
{
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
}
Sleep(458.50);
}
return ;
}
Erstmal muss ich sagen:
Quote:
Du hast DIP 2mal "erstellt" einmal in der schleife und einmal davor mach das DIP einfach mal NUR in die Present funk kurz vor ende und lass die schleife weg...
bei mir gehts so...
Stimmt nicht.

Er Hookt erst die DrawIndexedPrimitive und in der Schleife überprüft er ob die DrawIndexedPrimitive noch gehookt ist.

Falls sie nicht mehr gehookt ist , hookt er sie neu.

Ich frag mich zwar was dir das bringt:
Quote:
do {
hEhSvc = GetModuleHandleA("EhSvc.dll");
Sleep(20);
}
aber egal.

Versuch mal dieses Rehook:
Code:
do{
	if(memcmp((void*)VTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
	{
		pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
	}

	Sleep(2000);
}while(TRUE);
Habe es noch nicht getestet aber sollte klappen.
Yazzn˜ is offline  
Old 01/09/2011, 16:18   #1093
 
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
habs jetzt so versucht
aber crasht noch immer
und diese warnung wird angezeigt
10501



Quote:
VOID Hook(VOID)
{
hD3D9Dll = GetModuleHandleA("d3d9.dll");
{
Sleep(10);
}
while(!hD3D9Dll);
Sleep(100);
DWORD * VtablePtr = FindDevice((DWORD) hD3D9Dll, 0x128000);
if(VtablePtr == NULL)
{
MessageBoxA(NULL, "D3DDevice Pointer Not Found!", 0, MB_OK);
ExitProcess(0);
}
DWORD * VTable = 0;
*(DWORD *) &VTable = *(DWORD *) VtablePtr;

pReset = (oReset)cDetour((Dd)VTable[16],(Dd)myReset,5);
pPresent = (oPresent)cDetour((DWORD)VTable[17],(DWORD)myPresent,5);
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
do
{
if(memcmp((void*)VTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
{
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)VTable[82], (DWORD)myDrawIndexedPrimitive, 7);
}

Sleep(2000);
}
while(TRUE);
}
joki4444 is offline  
Old 01/09/2011, 17:04   #1094
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
Hooke MyDrawIndex einfach nicht ist eh detect for hackshield ;o
CyberRazzer is offline  
Old 01/09/2011, 17:07   #1095
 
elite*gold: 219
Join Date: Jan 2011
Posts: 1,444
Received Thanks: 1,369
hat wer den source code für crossinghair das es nicht blingt ?
*Pumio* 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 02:21.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.