Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 23:49

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

Advertisement



Warrock - Code Snippets

Discussion on Warrock - Code Snippets within the WarRock forum part of the Shooter category.

Closed Thread
 
Old 01/23/2013, 18:20   #646
 
elite*gold: 0
Join Date: Aug 2011
Posts: 726
Received Thanks: 3,211
This is way better than the ****** addie of FastStuff ..

Code:
ADR_QuickPlantTime                            0x00906CC4
ADR_QuickDefuseTime                           0x0089A7B0

	template <typename T>VOID __Functions( void *Addie , T Vaule )
	{

		MemWrite((void*)Addie,(BYTE*)&Vaule,sizeof ( T ) );

	}

				if (QuickDefuseTime==1)
				{

					  __Functions<float>((void*)ADR_QuickDefuseTime , 0.1f);
						
				}
				else
				{
				             
					 __Functions<float>((void*)ADR_QuickDefuseTime , 7.0f);

				}

				if (RedLine.rPlayer.QuickPlantTime==1)
				{
					if(QPlant == false)
					{

						__Functions<float>((void*)ADR_QuickPlantTime , 0.1f);
						QPlant = true;
					
					}
				}
				else
				{
					if(QPlant == true)
					{

						 __Functions<float>((void*)ADR_QuickPlantTime , 4.0f);
						QPlant = false;
					
					}       
				}
Credits :
R3d_L!n3
R3d_L!n3 is offline  
Thanks
2 Users
Old 01/23/2013, 18:32   #647
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
There should be a new rule on this topic requiring proper indentation.
Raz9r is offline  
Thanks
1 User
Old 01/23/2013, 20:46   #648

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by __underScore View Post
There should be a new rule on this topic requiring proper indentation.
verlesen like a baus .__.
xxfabbelxx is offline  
Old 01/23/2013, 20:49   #649



 
+Yazzn's Avatar
 
elite*gold: 420
Join Date: Jan 2012
Posts: 1,082
Received Thanks: 1,000
Quote:
Originally Posted by xxfabbelxx View Post
...
Die Rede war von ordentlicher Einrückung bzw. Formatierung.
+Yazzn is offline  
Thanks
2 Users
Old 01/24/2013, 21:09   #650
 
elite*gold: 5
Join Date: Jan 2012
Posts: 738
Received Thanks: 1,707
Screen:


Download + Epvp Injector:




Virustotal:


Credits:
Hans
ntKid

Keine Credits zu mir!
BlackLegend™# is offline  
Thanks
9 Users
Old 01/26/2013, 07:48   #651
 
elite*gold: 0
Join Date: Feb 2012
Posts: 22
Received Thanks: 0
Detected hook.

Quote:
Originally Posted by BlackLegend™# View Post
Screen:


Download + Epvp Injector:




Virustotal:


Credits:
Hans
ntKid

Keine Credits zu mir!
Detected hook.
Infern017 is offline  
Old 01/26/2013, 08:34   #652
 
elite*gold: 0
Join Date: Nov 2012
Posts: 51
Received Thanks: 21


Any idea for that?
Lazl07 is offline  
Old 01/26/2013, 09:40   #653
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by Lazl07 View Post


Any idea for that?
Don't get confused with __stdcall and __cdecl. Also you should compile using /MT (see "Command Line Options" in Visual Studio).
Raz9r is offline  
Thanks
1 User
Old 01/26/2013, 11:07   #654
 
~ExoduS~*'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 1,426
Received Thanks: 1,370
Arrow

Quote:
Originally Posted by Infern017 View Post
Detected hook.



Detected hook.
öhm vtble is detected einfach über funk machen...
~ExoduS~* is offline  
Old 01/26/2013, 11:15   #655
 
elite*gold: 0
Join Date: Nov 2012
Posts: 51
Received Thanks: 21
Code:
void ESP(LPDIRECT3DDEVICE9 pDevice)
{

		DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
	if ( dwPlayerPtr != 0 )
	{
		
		for (INT MaxPlayer = 0; MaxPlayer < 32; MaxPlayer++)
        {
			 CPlayerInfo *pInfo = GetGlobalInfo(MaxPlayer);


			 CPlayer* pPlayer = p_Player->pGlobal[MaxPlayer];
			D3DXVECTOR3 PlayerView(p_Player->pGlobal[MaxPlayer]->ViewX,p_Player->pGlobal[MaxPlayer]->ViewY,p_Player->pGlobal[MaxPlayer]->ViewZ),EspView; 
        	if(GetScreenCoordFromWorld(pDevice,EspView,PlayerView))
        	{
				
if(A3sp0n0ff)
			{
				if ( pInfo->HEALTH > 0 )
                {
							if ( N4m33sp )
						{
							char chTeam[100];
							wsprintf(chTeam,"Name : %s",GetGlobalInfo(MaxPlayer)->NAME);
							if(GetGlobalInfo(GetLocalInfo())->TEAM != GetGlobalInfo(MaxPlayer)->TEAM)
							Bl4ck->DrawTextR(EspView.x,(EspView.y),aRed,chTeam,pFont);
							else
							Bl4ck->DrawTextR(EspView.x,(EspView.y),aGreen,chTeam,pFont);
							EspView.y += 12;
						}
				}
}
			}
		}}}
When it counting back from 10 and i press OK ingame the game stopped working any idea why?
Lazl07 is offline  
Old 01/26/2013, 11:46   #656
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by ~ExoduS~* View Post
öhm vtble is detected einfach über funk machen...
Die VMT (Virtual Method Table) kann nicht "detected" werden, da sie die Grundlage von Vererbung in Klassen bildet. Über die VMT kann man die Adressen der virtuellen Methoden (möglicherweise also überschriebenen) dynamischer Typen bekommen. Ein solcher dynamischer Typ ist zum Beispiel eine jede Implementation der Klasse IDirect3DDevice9.

Wenn man sich deinen Post also noch einmal anschaut, merkt man, dass er keinen Sinn macht.

---

Quote:
Originally Posted by Lazl07 View Post
Code:
...
When it counting back from 10 and i press OK ingame the game stopped working any idea why?
Now tell us what the context between "counting back from 10" and the given source code actually is.
Raz9r is offline  
Thanks
1 User
Old 01/26/2013, 11:50   #657
 
elite*gold: 0
Join Date: Nov 2012
Posts: 51
Received Thanks: 21
Quote:
Originally Posted by __underScore View Post
Die VMT (Virtual Method Table) kann nicht "detected" werden, da sie die Grundlage von Vererbung in Klassen bildet. Über die VMT kann man die Adressen der virtuellen Methoden (möglicherweise also überschriebenen) dynamischer Typen bekommen. Ein solcher dynamischer Typ ist zum Beispiel eine jede Implementation der Klasse IDirect3DDevice9.

Wenn man sich deinen Post also noch einmal anschaut, merkt man, dass er keinen Sinn macht.

---



Now tell us what the context between "counting back from 10" and the given source code actually is.
I mean the ingame spawntime.
Lazl07 is offline  
Old 01/26/2013, 12:03   #658
 
elite*gold: 0
Join Date: Aug 2011
Posts: 726
Received Thanks: 3,211
Quote:
Originally Posted by Lazl07 View Post
I mean the ingame spawntime.
Just set log between eatch step you do then u find the wrong part of ur source
R3d_L!n3 is offline  
Old 01/26/2013, 12:28   #659
 
Spe@ker's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 169
Received Thanks: 130
Quote:
Originally Posted by ~ExoduS~* View Post
öhm vtble is detected einfach über funk machen...
Remove only:
Code:
	pAdpDrawIndexedPrimitive = (HRESULT(__stdcall*)(ULONG,D3DDDIARG_DRAWINDEXEDPRIMITIVE*))\
		DetourFunction((PBYTE)_this->AdapterFuncs[AdpDrawIndexedPrimitive],(PBYTE)myAdpDrawIndexedPrimitive);
and
Code:
if(pAdpDrawIndexedPrimitive)
		DetourRemove((PBYTE)pAdpDrawIndexedPrimitive,(PBYTE)myAdpDrawIndexedPrimitive);
Spe@ker is offline  
Old 01/26/2013, 13:12   #660
 
~ExoduS~*'s Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 1,426
Received Thanks: 1,370
Arrow

Quote:
Originally Posted by Spe@ker View Post
Remove only:
Code:
	pAdpDrawIndexedPrimitive = (HRESULT(__stdcall*)(ULONG,D3DDDIARG_DRAWINDEXEDPRIMITIVE*))\
		DetourFunction((PBYTE)_this->AdapterFuncs[AdpDrawIndexedPrimitive],(PBYTE)myAdpDrawIndexedPrimitive);
and
Code:
if(pAdpDrawIndexedPrimitive)
		DetourRemove((PBYTE)pAdpDrawIndexedPrimitive,(PBYTE)myAdpDrawIndexedPrimitive);
I not use this base I told hem how to fixx it xD


kann mir einer tipp geben wie ich items scroll mache oder itemscroll source requesten?


könnte mir jemand auch sagen warum die funktion nicht plant also wieso geht die nicht auto oO

Code:
if ( AutoPlant )
		{
			*(INT*)(PlayerCheck+Offset_Weaponstate) = *(INT*)(Offset_WeaponStateShot);
			*(DWORD*) (PlayerCheck+Offset_AutoPlant) = 1;
		}
~ExoduS~* is offline  
Closed Thread


Similar Threads Similar Threads
WarRock EU - Code Snippets
07/12/2012 - WarRock - 7490 Replies
Hi Leute, in diesem Thread könnt ihr: -> Nach Sourcecodes fragen(Beispiel unten) -> Eure Sourcecodes posten(Wenn sie nicht von euch sind mit Credits!) -> Fragen ob eure Source evtl. einen Fehler hat -> Fragen was welcher Fehler bedeuted -> Sourcecodes entnehmen(Bitte beim Release dann Credits angeben!)



All times are GMT +1. The time now is 23:50.


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.