Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 14:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



CHIP_PLAYERSHOP WARNING HELP

Discussion on CHIP_PLAYERSHOP WARNING HELP within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Ecrypter's Avatar
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
CHIP_PLAYERSHOP WARNING HELP

Hi epvpers i have problem of chip_playershop

warning on the blue color

#ifdef __CHIP_PLAYERSHOP
if( m_pItemBase->m_nBuyMode == 3 && g_pPlayer->m_Inventory.GetItemCount( II_CHP_RED ) < ((CItemElem*)m_pItemBase)->m_nCost * nBufNum )
{
g_WndMng.OpenMessageBox( _T( prj.GetText(TID_GAME_LACKMONEY)), MB_OK, this );
return TRUE;
}
else
if( m_pItemBase->m_nBuyMode == 2 && g_pPlayer->m_Inventory.GetItemCount( II_SYS_SYS_SCR_PERIN ) < ((CItemElem*)m_pItemBase)->m_nCost * nBufNum )
{
g_WndMng.OpenMessageBox( _T( prj.GetText(TID_GAME_LACKMONEY)), MB_OK, this );
return TRUE;
}
else
if( m_pItemBase->m_nBuyMode == 1 && g_pPlayer->GetGold() < ((CItemElem*)m_pItemBase)->m_nCost * nBufNum )
{
g_WndMng.OpenMessageBox( _T( prj.GetText(TID_GAME_LACKMONEY)), MB_OK, this );
return TRUE;
}
#else
if( g_pPlayer->GetGold() < ((CItemElem*)m_pItemBase)->m_nCost * nBufNum )
{
g_WndMng.OpenMessageBox( _T( prj.GetText(TID_GAME_LACKMONEY)), MB_OK, this );
return TRUE;
}
#endif

PHP Code:
\flyff\Source\_Interface\WndVendorBuy.cpp(200) : warning C4018'<' signed/unsigned mismatch
\flyff\Source\_Interface\WndVendorBuy.cpp(206) : warning C4018'<' signed/unsigned mismatch 
no redchips and perin option display on playershop to sell item

how to fix this warning? thanks in advance.,
Ecrypter is offline  
Old 05/17/2015, 03:51   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 75
Received Thanks: 15
kindly read the error it says you have signed/unsigned mismatch on line 200 and line 206
kun_sama13 is offline  
Old 05/19/2015, 11:31   #3
 
Ecrypter's Avatar
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
i already fix last day


xClosed
Ecrypter is offline  
Reply


Similar Threads Similar Threads
Problem Exchange_adv/chip_playershop and __extended_currency
06/25/2016 - Flyff Private Server - 6 Replies
Hi, I try to pet in my server the __exchange_adv/ the __chip_shopplayer and __EXTENDED_CURRENCY, but i have 1 error: C:\Users\Official Source\_Common\ExchangeAdv.cpp(192): error C2039: 'GetItemCount' : is not a member of 'CItemContainer<T>' with C:\Users\Official Source\_Common\ExchangeAdv.cpp(313): error C2248: 'CWndListBox::m_wndScrollBar' : cannot access protected member declared in class 'CWndListBox' C:\Users\Official Source\_Common\ExchangeAdv.cpp(315): error...



All times are GMT +2. The time now is 14:46.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.