Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 22:35

  • 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 11/20/2011, 19:31   #5881
 
elite*gold: 0
Join Date: Oct 2011
Posts: 81
Received Thanks: 40
if(RollSpeed==0)
*(float*)ADR_ROLLSPEED = 1,75f
else
*(float*)ADR_ROLLSPEED = 1,75f * (RollSpeed + 1);

Ich würde es so machen^^
Bei Fehlern, einfach bescheid sagen
xTriplexXx is offline  
Old 11/20/2011, 19:36   #5882
 
elite*gold: 0
Join Date: Oct 2011
Posts: 9
Received Thanks: 0
#request Cqc Prone...
#define ADR_CQCPRONE 0x8B1838

if (opt.player.cqcprone)
{
if (GetAsyncKeyState('C'))
{
*(double*)ADR_CQCPRONE=3.0f;
}
for some reason it crashes
GameOva2 is offline  
Old 11/20/2011, 19:45   #5883
 
elite*gold: 26
The Black Market: 288/1/0
Join Date: Dec 2010
Posts: 4,343
Received Thanks: 2,395
Code:
bool bChangedValue = true;
int  oldValue;


	if(sProne)
	{
		int *pProne = (int *)ADR_CQCPRONE;
		if( GetAsyncKeyState('C')&1 )
		{
			if( bChangedValue )
			{
				oldValue = *pProne;
				bChangedValue = false;
			}
			*pProne = 3;
		}
		else
		{
			if( !bChangedValue )
			{
				*pProne = oldValue;
				bChangedValue = true;
			}
		}
	}
Credits: kp mehr leider
hero9910 is offline  
Thanks
1 User
Old 11/20/2011, 19:56   #5884
 
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
Quote:
Originally Posted by hero9910 View Post
Code:
bool bChangedValue = true;
int  oldValue;


	if(sProne)
	{
		int *pProne = (int *)ADR_CQCPRONE;
		if( GetAsyncKeyState('C')&1 )
		{
			if( bChangedValue )
			{
				oldValue = *pProne;
				bChangedValue = false;
			}
			*pProne = 3;
		}
		else
		{
			if( !bChangedValue )
			{
				*pProne = oldValue;
				bChangedValue = true;
			}
		}
	}
Credits: kp mehr leider
yazzn
Angel-Piece is offline  
Thanks
3 Users
Old 11/20/2011, 20:33   #5885
 
elite*gold: 0
Join Date: Oct 2010
Posts: 147
Received Thanks: 95
Wallhack
Code:
if (WallHack)
 {
  if ( m_Stride == 36 || m_Stride == 32 )
  {
   pDevice->SetRenderState(D3DRS_ZENABLE,0);
   pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
   pDevice->SetRenderState(D3DRS_ZENABLE,1);
  }
 }
Thanks to: Venom'
lala67 is offline  
Thanks
1 User
Old 11/21/2011, 06:28   #5886
 
elite*gold: 0
Join Date: Jun 2011
Posts: 92
Received Thanks: 94
Quote:
Originally Posted by CyberVeezy :) View Post
AntiAbnormalGamePlay by CyberRazzer
Code:
#define ADR_ANTIABNORMALGAMEPLAY1 0x079E776
#define ADR_ANITABNORMALGAMEPLAY2 0x079E778
#define ADR_ANTIABNORMALGAMEPLAY2 0x079E710

Source
if(AbnormayGameplay ==1)
{
 *(int*)ADR_ANTIABNORMALGAMEPLAY1 = 1;
 *(int*)ADR_ANTIABNORMALGAMEPLAY2 = 1;
 *(int*)ADR_ANTIABNORMALGAMEPLAY3 = 0;
}
//Credits: CyberVeezy(Addys searched), CyberRazzer(Source)
Die Addys sind falsch.
1: 776
2: 778
3: 710


..?
.Electro' is offline  
Old 11/21/2011, 14:29   #5887
 
CyberVeezy :)'s Avatar
 
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
Quote:
Originally Posted by .Electro' View Post
Die Addys sind falsch.
1: 776
2: 778
3: 710


..?
Also bei mir funktioniert es und wenn es bei euch nicht geht, Pech gehabt ;P
CyberVeezy :) is offline  
Old 11/21/2011, 14:33   #5888
 
elite*gold: 0
Join Date: Nov 2011
Posts: 41
Received Thanks: 2
#request unli ammoMEM for no menu with On/off
Mr. Muscle is offline  
Old 11/21/2011, 15:06   #5889
 
Wolf0fmusic's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 39
Received Thanks: 4
Request GmWarn please
Wolf0fmusic is offline  
Old 11/21/2011, 16:44   #5890
 
elite*gold: 0
Join Date: Oct 2011
Posts: 89
Received Thanks: 64
Quote:
Originally Posted by Mr. Muscle View Post
#request unli ammoMEM for no menu with On/off
Einfach float auf 0 für an und 1 für off.

und gmwarn einfach nen check nach entweder byte change oder nach nem string
WarFk is offline  
Old 11/21/2011, 17:27   #5891
 
elite*gold: 1
Join Date: Nov 2011
Posts: 437
Received Thanks: 421
Quote:
Originally Posted by WarFk View Post
Einfach float auf 0 für an und 1 für off.

und gmwarn einfach nen check nach entweder byte change oder nach nem string
Code:
int UnlAmmo;

if(UnlAmmo)
{
*(float*)MEM_UNLAMMO=0
}
else
{
*(float*)MEM_UNLAMMO=1
}

So ist auch Crashgefahr ;)
Venom' is offline  
Old 11/21/2011, 18:46   #5892
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Quote:
Originally Posted by Venom' View Post
Code:
int UnlAmmo;

if(UnlAmmo)
{
*(float*)MEM_UNLAMMO=0
}
else
{
*(float*)MEM_UNLAMMO=1
}

So ist auch Crashgefahr ;)
Normalerweise müsste das einen Error geben weil das if-Statement kein booleanscher Ausdruck ist. Zumindest in Delphi müsste man da UnlAmmo als bool casten. Ob in cpp der Compiler da großzügig drüberhinweg sieht weiß ich nicht.
theitfan1337 is offline  
Old 11/21/2011, 19:06   #5893
 
elite*gold: 1
Join Date: Nov 2011
Posts: 437
Received Thanks: 421
Quote:
Originally Posted by Wolf0fmusic View Post
Request GmWarn please
Code:
      char RenameMeifyouwant [50];
        char RenameMeIfyouWanttoo[333];
                if(CH_GM==1)
                {
                        char *RenameMeifyouwant =(char*) (ADR_GmWarning);// RenameMe... = Addy ..        
                        if (strlen(RenameMeifyouwant)>2)
                        { 
                                sprintf(RenameMeIfyouWanttoo,  "R3d~L!n3 WARNING :  TYPE WHAT YOU NEED", ADR_GmWarning); //Check Messege       
                                DrawFont(400,400,RED,RenameMeIfyouWanttoo);//BackGround So you can see messege better
                        }
                }
                if(CH_GM==2) // Simple  if Admin logged = Get me Out
                {
                        char *RenameMeifyouwant = (char *) (ADR_GmWarning); 
                        if       (strlen(RenameMeifyouwant ) > 2)
                        {
                                ExitProcess(0); // You Can Add key or nutella its back to you
                        }
                }
Credits : R3d~L!n3
Quote:
Originally Posted by Nomad' View Post
Normalerweise müsste das einen Error geben weil das if-Statement kein booleanscher Ausdruck ist. Zumindest in Delphi müsste man da UnlAmmo als bool casten. Ob in cpp der Compiler da großzügig drüberhinweg sieht weiß ich nicht.
Nein, zeigt keinen error an und klappt auch InGame.
Venom' is offline  
Old 11/21/2011, 19:48   #5894
 
xMicroX's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 460
Received Thanks: 794
Quote:
Originally Posted by Venom' View Post
Code:
int UnlAmmo;

if(UnlAmmo)
{
*(float*)MEM_UNLAMMO=0
}
else
{
*(float*)MEM_UNLAMMO=1
}

So ist auch Crashgefahr ;)
When you exit room crashed
xMicroX is offline  
Thanks
1 User
Old 11/21/2011, 19:57   #5895
 
elite*gold: 0
Join Date: Feb 2010
Posts: 1,359
Received Thanks: 306
Request STW Source
FFFFFUUUUU 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 22:36.


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.