Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 14:56

  • 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 07/24/2011, 10:37   #4546
 
Neqqa™'s Avatar
 
elite*gold: 6
Join Date: Mar 2010
Posts: 1,184
Received Thanks: 834
von



zu

Neqqa™ is offline  
Old 07/24/2011, 11:50   #4547
 
elite*gold: 0
Join Date: Jul 2011
Posts: 12
Received Thanks: 1
if (CH_NoDelay)
{
if (Playerx!=0)
{
if (GetAsyncKeyState(VK_LBUTTON))
{
ExitProcess;
}
else if (!GetAsyncKeyState(VK_LBUTTON))
{
ExitProcess;
}
}
}
Trademark_! is offline  
Old 07/24/2011, 11:51   #4548
 
elite*gold: 1
Join Date: Jul 2011
Posts: 472
Received Thanks: 1,444
Quote:
Originally Posted by Trademark_! View Post
if (CH_NoDelay)
{
if (Playerx!=0)
{
if (GetAsyncKeyState(VK_LBUTTON))
{
ExitProcess;
}
else if (!GetAsyncKeyState(VK_LBUTTON))
{
ExitProcess;
}
}
}

Hast nen schönen Exit Process Code gemacht Namefaker
#Reported
_TradEmArk_:) is offline  
Old 07/24/2011, 11:53   #4549
 
elite*gold: 0
Join Date: May 2011
Posts: 171
Received Thanks: 81
Ist nichtma ExitProcess :P
ExitProcess geht so:

ExitProcess(0);
R3d~F!st is offline  
Thanks
1 User
Old 07/24/2011, 13:38   #4550
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 317
Es gibt aucht "exit();"
Unknow0119 is offline  
Old 07/24/2011, 16:47   #4551
 
elite*gold: 0
Join Date: May 2011
Posts: 171
Received Thanks: 81
Little Sprint Source

Code:
if(GETSTATE == RUNS)
{
*(float*)ADR_SPEED += 25;
}
else if(!GETSTATE == RUNS)
{
*(float*)ADR_SPEED = 97;
}
if(GETSTATE == RUNS && sizeof(ADR_SPEED) == 500)
{
*(float*)ADR_SPEED == 500;
}
R3d~F!st is offline  
Old 07/24/2011, 17:03   #4552
 
BlackLegend™'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
Quote:
Originally Posted by _TradEmArk_:) View Post
Hast nen schönen Exit Process Code gemacht Namefaker
#Reported
Das erinnert mich doch an was hmhm

wo war das nochmal achsoo ja:

Quote:
[18:02:00] Marvin | _TradEmArk_˜: if (AS_HardcoreWeapon ==1 )
{
ExitProcess;
}

BlackLegend™ is offline  
Old 07/24/2011, 17:43   #4553
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by R3d~F!st View Post
Little Sprint Source

Code:
if(GETSTATE == RUNS)
{
*(float*)ADR_SPEED += 25;
}
else if(!GETSTATE == RUNS)
{
*(float*)ADR_SPEED = 97;
}
if(GETSTATE == RUNS && sizeof(ADR_SPEED) == 500)
{
*(float*)ADR_SPEED == 500;
}

Selten so gelacht.

sizeof gibt einen konstanten Wert zurück, in diesem Fall (Makro / LPVOID) 4, also niemals 500.
Raz9r is offline  
Thanks
2 Users
Old 07/24/2011, 22:15   #4554
 
Dogukan47's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,490
Received Thanks: 196
ich krieg den fehler das detours.h nicht geöffnet werden kann habe so geschrieben:
Code:
#include <detours.h>
Dogukan47 is offline  
Old 07/24/2011, 22:27   #4555
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 317
Quote:
#include <detours.h>
Mache einfach vor #include ein //
Unknow0119 is offline  
Thanks
1 User
Old 07/24/2011, 22:29   #4556
 
Dogukan47's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,490
Received Thanks: 196
ok^^ is auch bei deiner base

hab ne moonjump addy aber di egeht nicht hat jmd ne bessere?
:
Code:
if (CH_MJump)
{
if(GetAsyncKeyState(VK_CONTROL))
{
DWORD PlP = *(DWORD*)ADR_PlayerPointer;
if(PlP != 0)
{
*(float*)(PlP+ADR_OFS_Z) += 10; // Höhe für Moonjump bzw. Superjump
}
}
}
Dogukan47 is offline  
Old 07/24/2011, 22:35   #4557
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 317
0x00102E4
Unknow0119 is offline  
Old 07/24/2011, 22:38   #4558
 
Dogukan47's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,490
Received Thanks: 196
eine frage an CyberRazzer
könnte ich das hier so in deiner public base einfügen?:
Code:
if (hotkeys==0) DrawMenu(HOT_x,HOT_y,230,135,4,2,BKD,BKD,pDevice);
if (hotkeys==0) TextDraw("HOTKEYS",HOT_x+85,Screeny *.01,0,YELLOW);
if (hotkeys==0) TextDraw("Superjump-: Ctrl + Space",Screenx *.55+10,Screeny *.01+25,0,WHITE);
if (hotkeys==0) TextDraw("Weapons-: F1 & Roll",HOT_x+10,Screeny *.01+40,0,WHITE);
if (hotkeys==0) TextDraw("Force Kick-: Ctrl - k",HOT_x+10,Screeny *.01+55,0,WHITE);
if (hotkeys==0) TextDraw("Tele-: F5 Save F6 Load",HOT_x+10,Screeny *.01+70,0,WHITE);
if (hotkeys==0) TextDraw("Warp-: NumPad Key's",HOT_x+10,Screeny *.01+85,0,WHITE);
if (hotkeys==0) TextDraw("AutoMed-: Ctrl + M",HOT_x+10,Screeny *.01+100,0,WHITE);
if (hotkeys==0) TextDraw("Speed-: Ctrl + W",HOT_x+10,Screeny *.01+115,0,WHITE);
is eine hotkey box
hier mal ein hm warning mit message das funzt:
Code:
if(CH_gmwarn==1)
{
#define COLOR_ADM_WARNING	D3DCOLOR_ARGB(255,255,0,0)
char *gmname=(char *) (ADR_ADMIN_WARNING);	
	if (strlen(gmname)>2) { 
		char gmwarn[333];
		sprintf(gmwarn,  "ADMIN: %s => SPECTATE IN THIS ROOM", ADR_ADMIN_WARNING ); 	
		TextDraw(gmwarn,Screenx/4.2,0,2,COLOR_ADM_WARNING);
}
}
Dogukan47 is offline  
Old 07/24/2011, 23:45   #4559
 
elite*gold: 0
Join Date: Jul 2011
Posts: 166
Received Thanks: 317
Probier es aus!^^
Unknow0119 is offline  
Old 07/25/2011, 00:27   #4560
 
Dogukan47's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,490
Received Thanks: 196
frage ein cyberrazzers d3d9 base also ich möchte wallcolor machen also nciht nur on und off sondern red green blue... dann hab ich das so versuchte erstmal:
Code:
char *sColors[]= 0,Red,Blue,Yellow,Green,,Orange,Purple,Black,White;
da kommt der erste fehler
Code:
1>.\CMain.cpp(35) : error C2226: Syntaxfehler: Typ 'D3DCOLOR' nicht erwartet
so und zweitens:
Code:
menu.AddMenuItem("WallColor", &CH_WallColor,0,1, GID[1],sColors);
da kommt der nächste fehler:
Code:
:1>.\CMain.cpp(47) : error C2664: 'cMenu::AddMenuItem': Konvertierung des Parameters 6 von 'char *[]' in 'int' nicht möglich
bitte hilft mir
Dogukan47 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 14:56.


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.