Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 06:34

  • 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 09/10/2012, 14:38   #301
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Die Sache ist simpel und einfach: Im kartesischen Raum gibt es drei Koordinatenachsen: x1, x2 und x3. Die Höhe nennt man in der Regel x3 oder auch z, das kann aber variieren.

Könnt ihr jetzt aufhören, euch wie kleine Kinder aufzuführen und hier wegen Nichtigkeiten zu streiten?
Raz9r is offline  
Thanks
1 User
Old 09/10/2012, 16:02   #302
 
Spe@ker's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 169
Received Thanks: 130
Quote:
Originally Posted by xroute66x™ :) View Post
Ist ja noch so das _UnderScore Mathematik sudiert/e und es den (tschuldige) Idioten schon einmal erklärt hatte.
NEIN ihr wisst es ja besser

Z = height !
no, y is height :P
Spe@ker is offline  
Old 09/10/2012, 17:57   #303
 
elite*gold: 0
Join Date: Mar 2012
Posts: 194
Received Thanks: 311
Quote:
Originally Posted by Spe@ker View Post
no, y is height :P
No, Z is height
cheatslaw is offline  
Old 09/10/2012, 18:05   #304
 
Spe@ker's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 169
Received Thanks: 130
No! Y is height. Check and write, remember to talk about struct
Spe@ker is offline  
Old 09/10/2012, 18:22   #305
 
elite*gold: 0
Join Date: Apr 2012
Posts: 594
Received Thanks: 810
Quote:
Originally Posted by Spe@ker View Post
No! Y is height. Check and write, remember to talk about struct
Z is height but it depends how your structs are named! In structs Z is before Y and you use Y when it's the Z Offset that's why you think it's Y but it's not, it's Z!
GigaByte™ is offline  
Thanks
1 User
Old 09/10/2012, 18:40   #306

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
In Warrock Z is Height - finish

any other word about this will be handled as spam.
xxfabbelxx is offline  
Thanks
5 Users
Old 09/10/2012, 23:50   #307
 
maxstei's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 190
Received Thanks: 22
Request source OPK ASM...
maxstei is offline  
Old 09/11/2012, 17:17   #308
 
elite*gold: 130
Join Date: Apr 2012
Posts: 221
Received Thanks: 153
Code:
typedef void (*tMessageBox)(char*);
tMessageBox WRMessage;
WRMessage = (tMessageBox)0x0041899C;
WRMessage("Keep trolling...");
100% Fresh!

And if im not wrong this: 0x008F788C is Player State (however.. i use this for cqc prone )

Code:
#define COLORTYPE_RED		0x00
#define COLORTYPE_GREEN		0x01
#define COLORTYPE_BLUE		0x02
#define COLORTYPE_WHITE		0x03
#define COLORTYPE_PURPLE	0x04
#define COLORTYPE_YELLOW	0x05
#define COLORTYPE_LIGHTBLUE	0x06

void wrShowChatMessage(char* myMessage, BYTE red, BYTE green, BYTE blue)
{
	DWORD dwFunction = (DWORD)0x005032D9; //update engine text addy
	BYTE chatType = 0x00;
	DWORD playerPtr = (DWORD)0x00A352D8; //update player pointer addy
	if(playerPtr != NULL)
		chatType = 0x01;
	__asm
	{
		push chatType;
		push red;
		push green;
		push blue;
		mov ecx, myMessage;
		call dwFunction;
	}
}
void wrChat(char* myMessage, byte ColorType)
{
	if(ColorType == COLORTYPE_RED)
		wrShowChatMessage(myMessage, 255, 0, 0); //		red
	else if(ColorType == COLORTYPE_GREEN) //			
		wrShowChatMessage(myMessage, 0, 255, 0); //		green
	else if(ColorType == COLORTYPE_BLUE) //				
		wrShowChatMessage(myMessage, 0, 0, 255); //		blue
	else if(ColorType == COLORTYPE_PURPLE) //			
		wrShowChatMessage(myMessage, 255, 79, 234); //	purple
	else if(ColorType == COLORTYPE_LIGHTBLUE) //		
		wrShowChatMessage(myMessage, 104, 255, 222); //	lightblue
	else if(ColorType == COLORTYPE_YELLOW) //			
		wrShowChatMessage(myMessage, 255, 255, 0); //	yellow
	else //												
		wrShowChatMessage(myMessage, 255, 255, 255); //	white
}

wrChat("Keep trolling", COLORTYPE_RED);
This works, i guarantee ;D
Tested on my Private Server...
Supremex3 is offline  
Old 09/11/2012, 17:20   #309

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by Supremex3 View Post
Code:
typedef void (*tMessageBox)(char*);
tMessageBox WRMessage;
WRMessage = (tMessageBox)0x0041899C;
WRMessage("Keep trolling...");
100% Fresh!

And if im not wrong this: 0x008F788C is Player State (however.. i use this for cqc prone )

Code:
#define COLORTYPE_RED		0x00
#define COLORTYPE_GREEN		0x01
#define COLORTYPE_BLUE		0x02
#define COLORTYPE_WHITE		0x03
#define COLORTYPE_PURPLE	0x04
#define COLORTYPE_YELLOW	0x05
#define COLORTYPE_LIGHTBLUE	0x06

void wrShowChatMessage(char* myMessage, BYTE red, BYTE green, BYTE blue)
{
	DWORD dwFunction = (DWORD)0x005032D9; //update engine text addy
	BYTE chatType = 0x00;
	DWORD playerPtr = (DWORD)0x00A352D8; //update player pointer addy
	if(playerPtr != NULL)
		chatType = 0x01;
	__asm
	{
		push chatType;
		push red;
		push green;
		push blue;
		mov ecx, myMessage;
		call dwFunction;
	}
}
void wrChat(char* myMessage, byte ColorType)
{
	if(ColorType == COLORTYPE_RED)
		wrShowChatMessage(myMessage, 255, 0, 0); //		red
	else if(ColorType == COLORTYPE_GREEN) //			
		wrShowChatMessage(myMessage, 0, 255, 0); //		green
	else if(ColorType == COLORTYPE_BLUE) //				
		wrShowChatMessage(myMessage, 0, 0, 255); //		blue
	else if(ColorType == COLORTYPE_PURPLE) //			
		wrShowChatMessage(myMessage, 255, 79, 234); //	purple
	else if(ColorType == COLORTYPE_LIGHTBLUE) //		
		wrShowChatMessage(myMessage, 104, 255, 222); //	lightblue
	else if(ColorType == COLORTYPE_YELLOW) //			
		wrShowChatMessage(myMessage, 255, 255, 0); //	yellow
	else //												
		wrShowChatMessage(myMessage, 255, 255, 255); //	white
}

wrChat("Keep trolling", COLORTYPE_RED);
This works, i guarantee ;D
Tested on my Private Server...
warum erstellst du keinen enum für ColorType?
xxfabbelxx is offline  
Old 09/11/2012, 17:23   #310
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
Quote:
Originally Posted by xxfabbelxx View Post
warum erstellst du keinen enum für ColorType?
oder übergibst die farben als parameter.
NikM is offline  
Old 09/11/2012, 18:10   #311
 
elite*gold: 130
Join Date: Apr 2012
Posts: 221
Received Thanks: 153
a) Kein Bock
b) Kein Bock (immernoch.. man glaubts kaum )
c) Bin net so gut in C++ dass ich n Enum kann xD

Code:
enum Test
{
 Trolololol = 1,
 Testing,
 Lol = 0
};
richtig?
Supremex3 is offline  
Old 09/11/2012, 18:42   #312
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
Quote:
Originally Posted by Supremex3 View Post
c) Bin net so gut in C++ dass ich n Enum kann xD
Hätte ich nen Blog käm der Spruch in meinen Blog
und: jo
NikM is offline  
Thanks
1 User
Old 09/11/2012, 19:07   #313
 
elite*gold: 5
Join Date: Jan 2012
Posts: 738
Received Thanks: 1,707
Quote:
Originally Posted by NikM View Post
Hätte ich nen Blog käm der Spruch in meinen Blog
und: jo
^Dome regelt :=)
BlackLegend™# is offline  
Old 09/13/2012, 19:26   #314
 
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
Request

ASM OPK
ASM NoDelay
ASM AutoAmmo
ASM AutoHealt
alfmkwndk is offline  
Old 09/13/2012, 20:45   #315
 
xXrussXx's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 643
Received Thanks: 846
Arrow

Quote:
Originally Posted by alfmkwndk View Post
Request

ASM OPK
ASM NoDelay
ASM AutoAmmo
ASM AutoHealt
Das wird dir niemand geben... Da bin ich mir sicher...

Für NoDelay guckst du am anfang des Threads nach.. Da gibts das
xXrussXx is offline  
Thanks
1 User
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 06:34.


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.