You last visited: Today at 08:47
Advertisement
Warrock - Code Snippets
Discussion on Warrock - Code Snippets within the WarRock forum part of the Shooter category.
10/18/2012, 21:46
#451
elite*gold: 0
Join Date: Jan 2008
Posts: 172
Received Thanks: 63
My Color.h
Code:
//===============================================//
//==================== Color Page ==================\\
//==================== By fas19o ===================//
//===============================================\\
//-------------------------------------------------------------//
//===============================================\\
//=== COLOR NAME ============= ARBG CODE ===========//
//===============================================\\
#define Snow D3DCOLOR_ARGB(255,255,250,250)
#define Snow2 D3DCOLOR_ARGB(255,238,233,233)
#define Snow3 D3DCOLOR_ARGB (255,205,201,201)
#define Snow4 D3DCOLOR_ARGB(255,139,137,137)
#define GhostWhite D3DCOLOR_ARGB(255,248,248,255)
#define WhiteSmoke D3DCOLOR_ARGB(255,245,245,245)
#define Gainsboro D3DCOLOR_ARGB(255,220,220,220)
#define FloralWhite D3DCOLOR_ARGB(255,255,250,240)
#define OldLace D3DCOLOR_ARGB(255,253,245,230)
#define Linen D3DCOLOR_ARGB(255,240,240,230)
#define AntiqueWhite D3DCOLOR_ARGB(255,250,235,215)
#define AntiqueWhite 2 D3DCOLOR_ARGB(255,238,223,204)
#define AntiqueWhite 3 D3DCOLOR_ARGB(255,205,192,176)
#define AntiqueWhite 4 D3DCOLOR_ARGB(255,139,131,120)
#define PapayaWhip D3DCOLOR_ARGB(255,255,239,213)
#define BlanchedAlmond D3DCOLOR_ARGB(255,255,235,205)
#define Bisque D3DCOLOR_ARGB(255,255,228,196)
#define Bisque2 D3DCOLOR_ARGB(255,238,213,183)
#define Bisque3 D3DCOLOR_ARGB(255,205,183,158)
#define Bisque4 D3DCOLOR_ARGB(255,139,125,107)
#define PeachPuff D3DCOLOR_ARGB(255,255,218,185)
#define PeachPuff 2 D3DCOLOR_ARGB(255,238,203,173)
#define PeachPuff 3 D3DCOLOR_ARGB(255,205,175,149)
#define PeachPuff 4 D3DCOLOR_ARGB(255,139,119,101)
#define NavajoWhite D3DCOLOR_ARGB(255,255,222,173)
#define Moccasin D3DCOLOR_ARGB(255,255,228,181)
#define Cornsilk D3DCOLOR_ARGB(255,255,248,220)
#define Cornsilk2 D3DCOLOR_ARGB(255,238,232,205)
#define Cornsilk3 D3DCOLOR_ARGB(255,205,200,177)
#define Cornsilk4 D3DCOLOR_ARGB(255,139,136,120)
#define Ivory D3DCOLOR_ARGB(255,255,255,240)
#define Ivory2 D3DCOLOR_ARGB(255,238,238,224)
#define Ivory3 D3DCOLOR_ARGB(255,205,205,193)
#define Ivory4 D3DCOLOR_ARGB(255,139,139,131)
#define LemonChiffon D3DCOLOR_ARGB(255,255,250,205)
#define Seashell D3DCOLOR_ARGB(255,255,245,238)
#define Seashell2 D3DCOLOR_ARGB(255,238,229,222)
#define Seashell3 D3DCOLOR_ARGB(255,205,197,191)
#define Seashell4 D3DCOLOR_ARGB(255,139,134,130)
#define Honeydew D3DCOLOR_ARGB(255,240,255,240)
#define Honeydew2 D3DCOLOR_ARGB(255,244,238,224)
#define Honeydew3 D3DCOLOR_ARGB(255,193,205,193)
#define Honeydew4 D3DCOLOR_ARGB(255,131,139,131)
#define MintCream D3DCOLOR_ARGB(255,245,255,250)
#define Azure D3DCOLOR_ARGB(255,240,255,255)
#define AliceBlue D3DCOLOR_ARGB(255,240,248,255)
#define Lavender D3DCOLOR_ARGB(255,230,230,250)
#define LavenderBlush D3DCOLOR_ARGB(255,255,240,245)
#define MistyRose D3DCOLOR_ARGB(255,255,228,225)
#define White D3DCOLOR_ARGB(255,255,255,255)
#define Black D3DCOLOR_ARGB(255,000,000,000)
#define DarkSlateGray D3DCOLOR_ARGB(255,049,079,079)
#define DimGray D3DCOLOR_ARGB(255,105,105,105)
#define SlateGray D3DCOLOR_ARGB(255,112,138,144)
#define LightSlateGray D3DCOLOR_ARGB(255,119,136,153)
#define Gray D3DCOLOR_ARGB(255,190,190,190)
#define LightGray D3DCOLOR_ARGB(255,211,211,211)
#define MidnightBlue D3DCOLOR_ARGB(255,025,025,112)
#define Navy D3DCOLOR_ARGB(255,000,000,128)
#define CornflowerBlue D3DCOLOR_ARGB(255,100,149,237)
#define Dark SlateBlue D3DCOLOR_ARGB(255,072,061,139)
#define SlateBlue D3DCOLOR_ARGB(255,106,090,205)
#define MediumSlateBlue D3DCOLOR_ARGB(255,123,104,238)
#define LightSlateBlue D3DCOLOR_ARGB(255,132,112,255)
#define MediumBlue D3DCOLOR_ARGB(255,000,000,205)
#define RoyalBlue D3DCOLOR_ARGB(255,065,105,225)
#define Blue D3DCOLOR_ARGB(255,000,000,255)
#define DodgerBlue D3DCOLOR_ARGB(255,030,144,255)
#define DeepSkyBlue D3DCOLOR_ARGB(255,000,191,255)
#define SkyBlue D3DCOLOR_ARGB(255,135,206,250)
#define LightSkyBlue D3DCOLOR_ARGB(255,135,206,250)
#define SteelBlue D3DCOLOR_ARGB(255,070,130,180)
#define LightSteel Blue D3DCOLOR_ARGB(255,176,196,222)
#define LightBlue D3DCOLOR_ARGB(255,173,216,230)
#define PowderBlue D3DCOLOR_ARGB(255,176,224,230)
#define PaleTurquoise D3DCOLOR_ARGB(255,175,238,238)
#define DarkTurquoise D3DCOLOR_ARGB(255,000,206,209)
#define MediumTurquoise D3DCOLOR_ARGB(255,072,209,204)
#define Turquoise D3DCOLOR_ARGB(255,064,224,208)
#define Cyan D3DCOLOR_ARGB(255,000,255,255)
#define LightCyan D3DCOLOR_ARGB(255,224,255,255)
#define CadetBlue D3DCOLOR_ARGB(255,095,158,160)
#define MediumAquamarine D3DCOLOR_ARGB(255,102,205,170)
#define Aquamarine D3DCOLOR_ARGB(255,127,255,212)
#define DarkGreen D3DCOLOR_ARGB(255,000,100,000)
#define DarkOliveGreen D3DCOLOR_ARGB(255,085,107,047)
#define DarkSeaGreen D3DCOLOR_ARGB(255,143,188,143)
#define SeaGreen D3DCOLOR_ARGB(255,046,139,087)
#define MediumSeaGreen D3DCOLOR_ARGB(255,060,179,113)
#define LightSeaGreen D3DCOLOR_ARGB(255,032,178,170)
#define PaleGreen D3DCOLOR_ARGB(255,152,251,152)
#define SpringGreen D3DCOLOR_ARGB(255,000,255,127)
#define LawnGreen D3DCOLOR_ARGB(255,124,252,000)
#define Chartreuse D3DCOLOR_ARGB(255,127,255,000)
#define MediumSpringGreen D3DCOLOR_ARGB(255,000,250,154)
#define GreenYellow D3DCOLOR_ARGB(255,173,255,047)
#define LimeGreen D3DCOLOR_ARGB(255,050,205,050)
#define YellowGreen D3DCOLOR_ARGB(255,154,205,050)
#define ForestGreen D3DCOLOR_ARGB(255,034,139,034)
#define OliveDrab D3DCOLOR_ARGB(255,107,142,035)
#define DarkKhaki D3DCOLOR_ARGB(255,189,183,107)
#define Khaki D3DCOLOR_ARGB(255,240,230,140)
#define PaleGoldenrod D3DCOLOR_ARGB(255,238,232,170)
#define LightGoldenrodYellow D3DCOLOR_ARGB(255,250,250,210)
#define LightYellow D3DCOLOR_ARGB(255,255,255,224)
#define Yellow D3DCOLOR_ARGB(255,255,255,000)
#define Gold D3DCOLOR_ARGB(255,255,215,000)
#define LightGoldenrod D3DCOLOR_ARGB(255,238,221,130)
#define Goldenrod D3DCOLOR_ARGB(255,218,165,032)
#define DarkGoldenrod D3DCOLOR_ARGB(255,184,134,011)
#define RosyBrown D3DCOLOR_ARGB(255,188,143,143)
#define IndianRed D3DCOLOR_ARGB(255,205,092,092)
#define SaddleBrown D3DCOLOR_ARGB(255,139,069,019)
#define Sienna D3DCOLOR_ARGB(255,160,082,045)
#define Peru D3DCOLOR_ARGB(255,205,133,063)
#define Burlywood D3DCOLOR_ARGB(255,222,184,135)
#define Beige D3DCOLOR_ARGB(255,245,245,220)
#define Wheat D3DCOLOR_ARGB(255,245,222,179)
#define SandyBrown D3DCOLOR_ARGB(255,244,164,096)
#define Tan D3DCOLOR_ARGB(255,210,180,140)
#define Chocolate D3DCOLOR_ARGB(255,210,105,030)
#define Firebrick D3DCOLOR_ARGB(255,178,034,034)
#define Brown D3DCOLOR_ARGB(255,165,042,042)
#define DarkSalmon D3DCOLOR_ARGB(255,233,150,122)
#define Salmon D3DCOLOR_ARGB(255,250,128,114)
#define LightSalmon D3DCOLOR_ARGB(255,255,160,122)
#define Orange D3DCOLOR_ARGB(255,255,165,000)
#define DarkOrange D3DCOLOR_ARGB(255,255,140,000)
#define Coral D3DCOLOR_ARGB(255,255,127,080)
#define LightCoral D3DCOLOR_ARGB(255,240,128,128)
#define Tomato D3DCOLOR_ARGB(255,255,099,071)
#define OrangeRed D3DCOLOR_ARGB(255,255,069,000)
#define Red D3DCOLOR_ARGB(255,255,000,000)
#define HotPink D3DCOLOR_ARGB(255,255,105,180)
#define DeepPink D3DCOLOR_ARGB(255,255,020,147)
#define Pink D3DCOLOR_ARGB(255,255,192,203)
#define LightPink D3DCOLOR_ARGB(255,255,182,193)
#define PaleVioletRed D3DCOLOR_ARGB(255,219,112,147)
#define Maroon D3DCOLOR_ARGB(255,176,048,096)
#define MediumVioletRed D3DCOLOR_ARGB(255,199,021,133)
#define VioletRed D3DCOLOR_ARGB(255,208,032,144)
#define Violet D3DCOLOR_ARGB(255,238,130,238)
#define Plum D3DCOLOR_ARGB(255,221,160,221)
#define Orchid D3DCOLOR_ARGB(255,218,112,214)
#define MediumOrchid D3DCOLOR_ARGB(255,186,085,211)
#define DarkOrchid D3DCOLOR_ARGB(255,153,050,204)
#define DarkViolet D3DCOLOR_ARGB(255,148,000,211)
#define BlueViolet D3DCOLOR_ARGB(255,138,043,226)
#define Purple D3DCOLOR_ARGB(255,160,032,240)
#define MediumPurple D3DCOLOR_ARGB(255,147,112,219)
#define Thistle D3DCOLOR_ARGB(255,216,191,216)
#define mBLACK D3DCOLOR_ARGB(180,000,000,000)
#define Transparent D3DCOLOR_ARGB(115,128,128,128)
//==============================================\\
//=================COLOR CODE END================//
//==============================================\\
//-----------------------------------------------------------//
//==============================================\\
//================== MENU COLORS ================//
//==============================================\\
#define MCOLOR_CURRENT Yellow
#define MCOLOR_TEXT LightYellow
#define MCOLOR_ACTIVE LawnGreen
#define MENUCOLOR_TITLE Yellow
#define MCOLOR_FOLDER Red
#define MCOLOR_INACTIVE White
#define MENUCOLOR_INSIDEBOX mBLACK
#define MENUCOLOR_OUTSIDEBOX LawnGreen
//==============================================\\
//================= MENU COLORS END ==============//
//==============================================\\
Credit - me
10/18/2012, 21:52
#452
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
So you invented the names of these colors and therefore they belong to you? I guess neither of these is true.
10/18/2012, 22:00
#453
elite*gold: 0
Join Date: Jan 2008
Posts: 172
Received Thanks: 63
Quote:
Originally Posted by
__underScore
So you invented the names of these colors and therefore they belong to you? I guess neither of these is true.
i'm take Colors and RBG form internet and modify it for c++ so ShutUP
10/18/2012, 23:30
#454
elite*gold: 0
Join Date: Oct 2012
Posts: 37
Received Thanks: 10
Quote:
Originally Posted by
__underScore
So you invented the names of these colors and therefore they belong to you? I guess neither of these is true.
C&Per style
Ein schönes Zitat aus der Crossfire Section
Quote:
Originally Posted by
Ende!
Mirco glaub mir eins: durch C&P wird man garantiert kein fähiger Entwickler, auch wenn man Sources liest, bis man umfällt. Die C&P Kinder gehen im gesamten Zeitraum ihrer Existenz als solche den Leuten auf den Sack, die tatsächlich anständig proggen können und erhalten Bekannt- und Beliebtheit rein durch die Arbeit anderer. Mir fällt im Bezug auf Programmierung wenig ein, was weniger Ehrenhaft und gut ist als C&P Magic.
PS:
Bitte stelle Dinge nicht als Tatsache da, von denen du GAR keine Ahnung hast (ich beziehe mich dabei auch auf deine Posts im "Halloween News 'Virus'" Thread).
10/18/2012, 23:50
#455
elite*gold: 0
Join Date: Jan 2008
Posts: 172
Received Thanks: 63
Quote:
Originally Posted by
.SiLenTHaLo
C&Per style
If you have any problems with my colors so dont use it.
yea i'm copy Color name and RBG and modifited it for C++ so if you dont have any to say just shut up
I am made and modifited this colors so yeah Credit me
I am just wanted to bring you color.h page with all modifited colors.
And you guy's strating to say all this ****...
If you guy's don know how to say thanks so just shut up!
10/19/2012, 00:31
#456
elite*gold: 0
Join Date: Dec 2007
Posts: 690
Received Thanks: 66
Quote:
Originally Posted by
fas19o
If you have any problems with my colors so dont use it.
yea i'm copy Color name and RBG and modifited it for C++ so if you dont have any to say just shut up
I am made and modifited this colors so yeah Credit me
I am just wanted to bring you color.h page with all modifited colors.
And you guy's strating to say all this ****...
If you guy's don know how to say thanks so just shut up!
What exactly is modifited here?
10/19/2012, 00:41
#457
elite*gold: 0
Join Date: Jan 2008
Posts: 172
Received Thanks: 63
Quote:
Originally Posted by
antondude
What exactly is modifited here?
you can find only RGB so its only 3 index's and you need to find 4 so i'm make any checks and add "A"
Example:
you Got this Snow 3 205-201-201
205=R 201=G 201=B So no A here and for c++ you need A too
so i'm find The A For RGB and its 255 Standart
After that i'm added "#define" and "D3DCOLOR_ARGB" and "()"
and its not end c++ cant read "-" so i'm change it to ","
its not 3/4 colors and done i'm did it to all colors here (155 colors)
10/19/2012, 10:16
#458
elite*gold: 0
Join Date: Oct 2009
Posts: 14,456
Received Thanks: 7,846
Quote:
Originally Posted by
.SiLenTHaLo
C&Per style
Ein schönes Zitat aus der Crossfire Section
Und was soll das, was Ente da geschrieben hat mit der momentanigen Situation zu tun haben. Btw ist es lustig sowas von einer Person wie dir zu lesen.
Quote:
Originally Posted by
fas19o
If you have any problems with my colors so dont use it.
yea i'm copy Color name and RBG and modifited it for C++ so if you dont have any to say just shut up
I am made and modifited this colors so yeah Credit me
I am just wanted to bring you color.h page with all modifited colors.
And you guy's strating to say all this ****...
If you guy's don know how to say thanks so just shut up!
You don't need to justify yourself. Calm down a bit, don't take posts like 'c&per' serious.
10/19/2012, 16:40
#459
elite*gold: 0
Join Date: Jul 2012
Posts: 26
Received Thanks: 21
A = Alpha, Use for transparency
10/19/2012, 19:51
#460
elite*gold: 0
Join Date: Sep 2012
Posts: 35
Received Thanks: 0
request@ hoooook!!
10/19/2012, 22:12
#461
elite*gold: 0
Join Date: Jan 2008
Posts: 172
Received Thanks: 63
Quote:
Originally Posted by
ignorehax
request@ hoooook!!
Code:
VOID Dx9Hook( LPCSTR D3D9 )
{
DWORD hD3D = NULL;
while (!hD3D) hD3D = (DWORD)GetModuleHandle(D3D9);
DWORD PPPDevice = FindPattern(hD3D, 0x128000, (PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx");
ASMMemcpy( &VTable, (VOID *)(PPPDevice + 2), 4);
//ASMMemcpy((void *)DrawIndexedPrimitiveOpCodes, (void *)"\x8B\x4D\x20\x8B\x55\x1C", 6);
dwPresent_hook = VTable[17];
dwReset_hook = VTable[16];
dwDrawindexedprimitive_hook = VTable[82] + 0xA2;
dwDrawindexedprimitive_ret = dwDrawindexedprimitive_hook + 0x6;
}
Credit - Unknow
10/20/2012, 12:45
#462
elite*gold: 0
Join Date: Sep 2012
Posts: 35
Received Thanks: 0
where to move?
10/20/2012, 13:49
#463
elite*gold: 0
Join Date: Sep 2012
Posts: 169
Received Thanks: 130
You paste base.cpp
10/20/2012, 13:57
#464
elite*gold: 0
Join Date: Sep 2012
Posts: 35
Received Thanks: 0
Tak wiem juz to zrobiłem xD
10/21/2012, 02:21
#465
elite*gold: 0
Join Date: Feb 2012
Posts: 85
Received Thanks: 18
help
esp I see in the corner
struct CPlayer
{
CHAR Hepe1[72];//0xC448
BYTE Index;//0xC490
CHAR Hepe2[4];//0x1019C
FLOAT Pitch;//0x101A0
CHAR Hepe3[24];//0x101A4
FLOAT Yaw;//0x101BC
CHAR Hepe4[12];//0x101C0
FLOAT ViewX;//0x101CC
FLOAT ViewY;//0x101D0
FLOAT ViewZ;//0x101D4
CHAR Hepe6[20];//0x101EA
FLOAT PosX;//0x102F8
CHAR Hepe7[4];//0x102FC
FLOAT PosZ;//0x10300
CHAR Hepe8[4];//0x10304
FLOAT PosY;//0x10308
};
Help
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 +2. The time now is 08:47 .