|
You last visited: Today at 21:26
Advertisement
Set effect
Discussion on Set effect within the Flyff Private Server forum part of the Flyff category.
06/07/2018, 09:29
|
#1
|
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
|
Set effect
where can find the shift to view the set effect?
|
|
|
06/07/2018, 09:43
|
#2
|
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
|
Code:
CWndMgr::PutSetItemOpt
|
|
|
06/08/2018, 23:41
|
#3
|
elite*gold: 0
Join Date: Jan 2015
Posts: 183
Received Thanks: 702
|
Replace your CWndMgr::PutSetItemOpt()
with this one:
Code:
void CWndMgr::PutSetItemOpt( CMover* pMover, CItemElem* pItemElem, CEditString* pEdit )
{
CString strTemp;
// 2. ¼¼Æ® ¾ÆÀÌÅÛÀÇ ±¸¼º ¿ä¼Ò Àΰ¡?
CSetItem* pSetItem = CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
if( pSetItem )
{
// ÇØ´ç ¼¼Æ® ¾ÆÀÌÅÛÀÇ ±¸¼º ¿ä¼Ò¸¦ ¸ðµÎ Ãâ·Â Ç쵂 ÀåÂø µÈ °Í°ú ¾ÈµÈ °ÍÀ» »öÀ¸·Î ±¸º°ÇÏ¿© Ãâ·ÂÇÑ´Ù.
BOOL pbEquiped[MAX_HUMAN_PARTS];
memset( pbEquiped, 0, sizeof(pbEquiped) );
int nEquiped;
pMover->GetEquipedSetItem( pSetItem->m_nId, pbEquiped, &nEquiped );
// 3. ¼¼Æ®¾ÆÀÌÅÛ Å¸ÀÌÆ² Ãâ·Â
strTemp.Format( "\n\n%s (%d/%d)", pSetItem->GetString(), pMover->GetEquipedSetItemNumber( pSetItem ), pSetItem->m_nElemSize );
// pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetName, ESSTY_BOLD );
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetName );
int i;
for( i = 0; i < pSetItem->m_nElemSize; i++ )
{
ItemProp* pItemProp = prj.GetItemProp( pSetItem->m_adwItemId[i] );
if( pItemProp )
{
strTemp.Format( "\n %s", pItemProp->szName );
if( pbEquiped[i] ) // ÀåÂøµÇ¾îÀÖ´Â ¼¼Æ® ¾ÆÀÌÅÛ
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetItem1 );
else
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetItem0 );
}
}
if (GetAsyncKeyState(VK_LCONTROL) & 0x8000)
nEquiped = pSetItem->m_nElemSize;
// 4. Ãß°¡ ´É·ÂÄ¡ Ãâ·Â
ITEMAVAIL itemAvail;
memset( &itemAvail, 0, sizeof(itemAvail) );
pSetItem->GetItemAvail( &itemAvail, nEquiped, TRUE );
for( i = 0; i < itemAvail.nSize; i++ )
{
int nDst = (int)itemAvail.anDstParam[i];
int nAdj = (int)itemAvail.anAdjParam[i];
if( IsDst_Rate(nDst) )
{
if( nDst == DST_ATTACKSPEED )
strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );
else
strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
}
else
{
strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
}
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
}
}
}
Quote:
Originally Posted by Avalion
Code:
CWndMgr::PutSetItemOpt

|
Selling 2 lines of code
|
|
|
06/09/2018, 02:17
|
#4
|
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
|
Quote:
Originally Posted by Blouflash
Replace your CWndMgr::PutSetItemOpt()
with this one:
Code:
void CWndMgr::PutSetItemOpt( CMover* pMover, CItemElem* pItemElem, CEditString* pEdit )
{
CString strTemp;
// 2. ¼¼Æ® ¾ÆÀÌÅÛÀÇ ±¸¼º ¿ä¼Ò Àΰ¡?
CSetItem* pSetItem = CSetItemFinder::GetInstance()->GetSetItemByItemId( pItemElem->m_dwItemId );
if( pSetItem )
{
// ÇØ´ç ¼¼Æ® ¾ÆÀÌÅÛÀÇ ±¸¼º ¿ä¼Ò¸¦ ¸ðµÎ Ãâ·Â Ç쵂 ÀåÂø µÈ °Í°ú ¾ÈµÈ °ÍÀ» »öÀ¸·Î ±¸º°ÇÏ¿© Ãâ·ÂÇÑ´Ù.
BOOL pbEquiped[MAX_HUMAN_PARTS];
memset( pbEquiped, 0, sizeof(pbEquiped) );
int nEquiped;
pMover->GetEquipedSetItem( pSetItem->m_nId, pbEquiped, &nEquiped );
// 3. ¼¼Æ®¾ÆÀÌÅÛ Å¸ÀÌÆ² Ãâ·Â
strTemp.Format( "\n\n%s (%d/%d)", pSetItem->GetString(), pMover->GetEquipedSetItemNumber( pSetItem ), pSetItem->m_nElemSize );
// pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetName, ESSTY_BOLD );
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetName );
int i;
for( i = 0; i < pSetItem->m_nElemSize; i++ )
{
ItemProp* pItemProp = prj.GetItemProp( pSetItem->m_adwItemId[i] );
if( pItemProp )
{
strTemp.Format( "\n %s", pItemProp->szName );
if( pbEquiped[i] ) // ÀåÂøµÇ¾îÀÖ´Â ¼¼Æ® ¾ÆÀÌÅÛ
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetItem1 );
else
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetItem0 );
}
}
if (GetAsyncKeyState(VK_LCONTROL) & 0x8000)
nEquiped = pSetItem->m_nElemSize;
// 4. Ãß°¡ ´É·ÂÄ¡ Ãâ·Â
ITEMAVAIL itemAvail;
memset( &itemAvail, 0, sizeof(itemAvail) );
pSetItem->GetItemAvail( &itemAvail, nEquiped, TRUE );
for( i = 0; i < itemAvail.nSize; i++ )
{
int nDst = (int)itemAvail.anDstParam[i];
int nAdj = (int)itemAvail.anAdjParam[i];
if( IsDst_Rate(nDst) )
{
if( nDst == DST_ATTACKSPEED )
strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj / 2 / 10 );
else
strTemp.Format( "\n%s: %s% +d%%", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
}
else
{
strTemp.Format( "\n%s: %s +%d", prj.GetText(TID_TOOLTIP_SET), FindDstString( nDst ), nAdj );
}
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwSetEffect );
}
}
}
Selling 2 lines of code 
|
I mean, if they are lazy enough to request the code rather attempting to do it themselves, then, why not sell it? If there was initiative shown in OP's thread, then I would be more than happy to share multiple lines of code.
All you're doing is supporting the same behavior -- that someone can just simply ask for a release and beg people and expect things for free without attempting to learn either.
There is a difference between helping other's and spoon feeding them.
|
|
|
 |
Similar Threads
|
Update 3 Weapon set Batman set Demon set and Barone set
03/21/2020 - Metin2 PServer Designs, Websites & Scripts - 5 Replies
Update my 3 Set weapon new claw weapon for lycan
Barone Set
Screen : http://djxm2m.com/photo/BaroneDjx.png
: http://djxm2m.com/photo/barone.jpg
Demon Set
Screen: http://i.imgur.com/FRan59H.gif
http://djxm2m.com/photo/game.jpg
: http://djxm2m.com/photo/DemonDjx.png
|
Mass Effect 3 Complete Review From a Hardcore Mass Effect Fan
07/02/2012 - User Submitted News - 0 Replies
http://fc02.deviantart.net/fs71/f/2011/362/4/4/ban ner_mass_effect_3_v_02_by_hellboy_wz-d4kj4yr.jpg
Mass Effect 3 | Launch Trailer - YouTube
The latest installment of the Mass Effect series (oh noes). I'm sure a lot of people have heard so many things of Mass Effect 3 by now. Most of which would be complaints about the plotless end. Well as of a couple days ago Bioware has released the DLC that gives further explanation of the game. With that being said I shall give a Review on the game as...
|
Dodge effect , Warp effect
01/04/2010 - S4 League - 7 Replies
this is a threat to glados , but other can answer.
how can u have that effect?
this is the video
YouTube - S4 League GLaDO is Hacking
|
All times are GMT +1. The time now is 21:26.
|
|