Colors
Yoru all fucking retarded. All it is, is changing the RGBs. Jesus fucking christ, c'mon you stupid twats. Fucking pick up the books and TRY to learn. Sleezy fucking faggets. -.-
EDIT: What I'm searching for, is the glowing of the Xelima,Medusa, and Ice Swords... Point me in the direction too look, and I'll begin there.
EDIT: What I'm searching for, is the glowing of the Xelima,Medusa, and Ice Swords... Point me in the direction too look, and I'll begin there.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Why don't you guys search? If there wasn't spam dipshit, there would be no topics. You guys just piss the fuck out of me with your lack of knowledge and wanting to learn. Fuck you, not everyone in life is going to give you a free ride. It's not that god damn hard.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
game.cpp
item.h
client.cpp
edited: its simple RGB, if u dont know how, u can use photoshop to test out the colors and get the RGB numbers and paste them onto the numbers.
Code: Select all
case DEF_ITEMEFFECTTYPE_ARMORDYE:
if ((sDestItemID >= 0) && (sDestItemID < DEF_MAXITEMS)) {
if (m_pClientList[iClientH]->m_pItemList[sDestItemID] != NULL) {
if (m_pClientList[iClientH]->m_pItemList[sDestItemID]->m_cCategory == 6) {
m_pClientList[iClientH]->m_pItemList[sDestItemID]->m_cItemColor = m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_sItemEffectValue1;
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ITEMCOLORCHANGE, sDestItemID, m_pClientList[iClientH]->m_pItemList[sDestItemID]->m_cItemColor, NULL, NULL);
return TRUE;
}
else {
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ITEMCOLORCHANGE, sDestItemID, -1, NULL, NULL);
return FALSE;
}
}
}
break;
CODE
case DEF_ITEMEFFECTTYPE_WEAPONDYE:
if ((sDestItemID >= 0) && (sDestItemID < DEF_MAXITEMS)) {
if (m_pClientList[ iClientH ]->m_pItemList[sDestItemID] != NULL) {
if (m_pClientList[ iClientH ]->m_pItemList[sDestItemID]->m_cCategory == 1) {
m_pClientList[ iClientH ]->m_pItemList[sDestItemID]->m_cItemColor = m_pClientList[iClientH]->m_pItemList[sItemIndex]->m_sItemEffectValue1;
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ITEMCOLORCHANGE, sDestItemID, m_pClientList[iClientH]->m_pItemList[sDestItemID]->m_cItemColor, NULL, NULL);
return TRUE;
}
else {
SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ITEMCOLORCHANGE, sDestItemID, -1, NULL, NULL);
return FALSE;
}
}
}
Code: Select all
#define DEF_ITEMEFFECTTYPE_ARMORDYE 32
#define DEF_ITEMEFFECTTYPE_WEAPONDYE 35
Code: Select all
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 255, 127, 0), &m_wWR[12], &m_wWG[12], &m_wWB[12]); // Orange
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 205, 205, 0), &m_wWR[13], &m_wWG[13], &m_wWB[13]); // Yellow
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 178, 34, 34), &m_wWR[4], &m_wWG[4], &m_wWB[4]); // Crimson-Red
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 0, 100, 0), &m_wWR[11], &m_wWG[11], &m_wWB[11]); // Green
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 130, 90, 10), &m_wWR[3], &m_wWG[3], &m_wWB[3]); // Critical
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 16, 78, 139), &m_wWR[10], &m_wWG[10], &m_wWB[10]); // Heavy-blue
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 238, 233, 233), &m_wWR[15], &m_wWG[15], &m_wWB[15]); // White
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 123, 104, 238), &m_wWR[9], &m_wWG[9], &m_wWB[9]); // Violet
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 139, 58, 58), &m_wWR[14], &m_wWG[14], &m_wWB[14]); // Heavy-Red
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 135, 104, 30), &m_wR[6], &m_wG[6], &m_wB[6]); // Black
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 255, 106, 106), &m_wWR[8], &m_wWG[8], &m_wWB[8]); // Peach
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 139, 69, 19), &m_wWR[2], &m_wWG[2], &m_wWB[2]); // Bronze
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 108, 166, 205), &m_wWR[7], &m_wWG[7], &m_wWB[7]); // Aqua
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 10, 60, 70), &m_wWR[5], &m_wWG[5], &m_wWB[5]); // TealGreen
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 176, 48, 96), &m_wWR[1], &m_wWG[1], &m_wWB[1]); // Pink
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 200/2, 200/2, 200/2), &m_wR[0], &m_wG[0], &m_wB[0]);
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB(176, 48, 96), &m_wR[1], &m_wG[1], &m_wB[1]); // (Pink)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 139, 69, 19), &m_wR[2], &m_wG[2], &m_wB[2]); // (Bronze)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 145, 104, 30), &m_wR[3], &m_wG[3], &m_wB[3]); // (Gold)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 178, 34, 34), &m_wR[4], &m_wG[4], &m_wB[4]); // (Crimson-Red)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 10, 60, 70), &m_wR[5], &m_wG[5], &m_wB[5]); // (TealGreen)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB(28, 28, 28), &m_wR[6], &m_wG[6], &m_wB[6]); // (Black)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 108, 166, 205), &m_wR[7], &m_wG[7], &m_wB[7]); // (Aqua)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB(255, 106, 106), &m_wR[8], &m_wG[8], &m_wB[8]); // (Peach)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 123, 104, 238), &m_wR[9], &m_wG[9], &m_wB[9]); // (Violet)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 16, 78, 139), &m_wR[10], &m_wG[10], &m_wB[10]); // (Blue)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB(0, 100, 0), &m_wR[11], &m_wG[11], &m_wB[11]); // (Green)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB(255, 127, 0), &m_wR[12], &m_wG[12], &m_wB[12]); // (Orange)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 205, 205, 0), &m_wR[13], &m_wG[13], &m_wB[13]); // (Yellow)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 139, 58, 58), &m_wR[14], &m_wG[14], &m_wB[14]); // (Red)
m_Misc.ColorTransfer(m_DDraw.m_cPixelFormat, RGB( 238, 233, 233), &m_wR[15], &m_wG[15], &m_wB[15]); // (White)
<img src='http://img284.imageshack.us/img284/6717/fuckto1.jpg' border='0' alt='user posted image' />
mine is weapon dye not the color of the glowSain wrote: Cheers dude![]()

if u want to code for it, i dont have sorry
<img src='http://img284.imageshack.us/img284/6717/fuckto1.jpg' border='0' alt='user posted image' />