Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 19:38

  • 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 12/01/2011, 18:31   #5986
 
Raise_Your_Division's Avatar
 
elite*gold: 27
Join Date: Sep 2011
Posts: 303
Received Thanks: 73
@request
Zombie, Player OPK Structs
Raise_Your_Division is offline  
Old 12/01/2011, 19:19   #5987
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by WARROCK_CODER View Post
@request
Zombie, Player OPK Structs
Code:
  if(nPlayerOPK==1)//NEED UPDATED STRUCTS ;)
  {
  for(int i = 0; i < 32; i++)
 {
 CPlayer* pPlayer = pBase->player[i];
 pBase->plocal->pos1 = 0;
 pBase->plocal->pos2 = 0;
 pBase->plocal->pos3 = 0;
 pPlayer->pos1 = 0;
 pPlayer->pos2 = 0;
 pPlayer->pos3 = 0;
 *(float*)(dwPlayerPtr+OFS_NFD) = -9999999;
 }
  }
//Credits: ToxicLibrary
CyberVeezy :) is offline  
Old 12/01/2011, 19:34   #5988
 
Raise_Your_Division's Avatar
 
elite*gold: 27
Join Date: Sep 2011
Posts: 303
Received Thanks: 73
@up
ye but i don't need source for opk ...
i need STRUCTS for opk
Raise_Your_Division is offline  
Old 12/01/2011, 21:36   #5989
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1
Exclamation for Pro's, who can fixx it?

Hey dudes, I have a problem by hooking...

When I use the following things:


Code:
int iDIRECT3D(void)
{
	DWORD		hD3D, adr, *vTable;

	// wait for the d3dx dll
	hD3D=0;
	do {
		hD3D = (DWORD)GetModuleHandleA("d3d9.dll");
		Sleep(100);
	} while(!hD3D);
	adr = FindPattern(hD3D, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx");
	if(adr){
		memcpy(&vTable,(void *)(adr+2),4);
		BYTE* DipCheck = (BYTE*)vTable[82];
		
		 pReset                = (oReset)                 DetourE9((DWORD)vTable[16], (DWORD)myReset,12);
         pPresent              = (oPresent)               DetourE9((DWORD)vTable[17], (DWORD)myPresent,5);
	    pDrawIndexedPrimitive = (oDrawIndexedPrimitive)   DetourCreate85539323((DWORD)vTable[82], (DWORD)myDrawIndexedPrimitive,12);
	   while (1)

{
		if(memcmp((void*)vTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
		{
			pDrawIndexedPrimitive	= (oDrawIndexedPrimitive)	DetourCreate85539323((DWORD)vTable[82], (DWORD)myDrawIndexedPrimitive,12);
		}
		Sleep(100);
	}
	 

	return TRUE;
	} 
}
DetourCreate85539323:
Code:
DWORD DetourCreate85539323( DWORD  SrcVA, DWORD  DstVA, DWORD  Size )
{
	DWORD DetourVA, dwProtect, i;

#define SIZEOF_JMP_REL  5

	if ( SrcVA && DstVA && Size >= SIZEOF_JMP_REL )
	{
		DetourVA = (DWORD) VirtualAlloc( 
			NULL, Size + SIZEOF_JMP_REL, 
			MEM_COMMIT, PAGE_EXECUTE_READWRITE );

		if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )
		{
			for ( i=0; i < Size; i++ ) {
				*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );
			}
			
			*(BYTE*)( DetourVA + Size + 0 ) = 0xE9;
			*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA - DetourVA - SIZEOF_JMP_REL );

	    	        *(BYTE*)( SrcVA + 0 ) = 0xE9;
			*(DWORD*)( SrcVA + 1 ) = ( DstVA - SrcVA - SIZEOF_JMP_REL );

			VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );

			VirtualProtect( (VOID*)DetourVA, Size + 
				SIZEOF_JMP_REL, PAGE_EXECUTE_READ, &dwProtect );

	    	return DetourVA;
		}
	}
	return (0);
	}
DetourE9:
Code:
DWORD DetourE9( DWORD  SrcVA, DWORD  DstVA, DWORD  Size )
{
/* detour type: jmp rel */
/* it has no effect if you specify size below SIZEOF_JMP_REL */
/* by croner */

	DWORD DetourVA, dwProtect, i;

#define SIZEOF_JMP_REL  5

	if ( SrcVA && DstVA && Size >= SIZEOF_JMP_REL )
	{
		DetourVA = (DWORD) VirtualAlloc( 
			NULL, Size + SIZEOF_JMP_REL, 
			MEM_COMMIT, PAGE_EXECUTE_READWRITE );

		if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )
		{
			for ( i=0; i < Size; i++ ) {
				*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );
			}
			
			*(BYTE*)( DetourVA + Size + 0 ) = 0xE9;
			*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA - DetourVA - SIZEOF_JMP_REL );

	    	        *(BYTE*)( SrcVA + 0 ) = 0xE9;
			*(DWORD*)( SrcVA + 1 ) = ( DstVA - SrcVA - SIZEOF_JMP_REL );

			VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );

			VirtualProtect( (VOID*)DetourVA, Size + 
				SIZEOF_JMP_REL, PAGE_EXECUTE_READ, &dwProtect );

	    	return DetourVA;
		}
	}
	return (0);
}
By using this source, you'll get partyprogramm detected...

I think only Pro's can fixx it, Is there anyone?

I really have respect to those peoples.
Wamba123123 is offline  
Old 12/01/2011, 22:14   #5990
 
Wolf0fmusic's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 39
Received Thanks: 4
Quote:
Originally Posted by Wolf0fmusic View Post
Request source code of : OFS_Rapidfire 0x1023C
??????????????
Wolf0fmusic is offline  
Old 12/01/2011, 23:13   #5991
 
boknoy24's Avatar
 
elite*gold: 0
Join Date: Nov 2007
Posts: 119
Received Thanks: 45
can you find source code of rapidfire here

boknoy24 is offline  
Old 12/02/2011, 10:50   #5992
 
xBioK1ngz's Avatar
 
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
DrawIndexedPrimitive is Detected with this Detour!
xBioK1ngz is offline  
Thanks
1 User
Old 12/02/2011, 12:11   #5993
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by WARROCK_CODER View Post
@up
ye but i don't need source for opk ...
i need STRUCTS for opk
You must search the Structs self?
CyberVeezy :) is offline  
Old 12/02/2011, 14:15   #5994
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1
Quote:
Originally Posted by xBioK1ngz View Post
DrawIndexedPrimitive is Detected with this Detour!
How to fixx ***?
Wamba123123 is offline  
Old 12/02/2011, 14:56   #5995
 
xBioK1ngz's Avatar
 
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
Quote:
Originally Posted by Wamba123123 View Post
How to fixx ***?
Find or make a undetected detour.
xBioK1ngz is offline  
Old 12/02/2011, 14:56   #5996
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1


undetected?
Wamba123123 is offline  
Old 12/02/2011, 15:11   #5997
 
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
Quote:
Originally Posted by Wamba123123 View Post


undetected?
no
Angel-Piece is offline  
Old 12/02/2011, 15:17   #5998
 
elite*gold: 0
Join Date: Oct 2011
Posts: 23
Received Thanks: 1
you have one ?
Wamba123123 is offline  
Old 12/02/2011, 19:25   #5999
 
elite*gold: 1
Join Date: Nov 2011
Posts: 437
Received Thanks: 421
Kann mir jemand sagen was Px Items für eine Art ist ?
Venom' is offline  
Old 12/02/2011, 22:40   #6000
 
elite*gold: 0
Join Date: Oct 2011
Posts: 39
Received Thanks: 14
Looking for codes for:
-Fulbright
-BlackBright
Only, that is to be at the addresses!
GraFixPL 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 19:39.


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.