Register for your free account! | Forgot your password?

You last visited: Today at 20:08

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

Advertisement



(Release) Lock item

Discussion on (Release) Lock item within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 02/16/2022, 12:00   #16
 
elite*gold: 0
Join Date: Oct 2019
Posts: 47
Received Thanks: 7
Quote:
Originally Posted by Hikari Kuina View Post
for you error CItemElem::SetFlag here's the solution
It was posted up you have to read the article.

For the error AddDefinedText identifier not found

For the Lockitem is not a member of CUser

void SetFlag(BYTE byFlag, BOOL bEnable = TRUE) { if (bEnable) m_byFlag |= byFlag; else m_byFlag &= ~byFlag; }

Where do i put this code?
Miracle` is offline  
Old 02/16/2022, 17:58   #17
 
elite*gold: 0
Join Date: Jul 2018
Posts: 224
Received Thanks: 46
Quote:
Originally Posted by Miracle` View Post
void SetFlag(BYTE byFlag, BOOL bEnable = TRUE) { if (bEnable) m_byFlag |= byFlag; else m_byFlag &= ~byFlag; }

Where do i put this code?
class CItemElem : public CItemBase In Item.h
LookAtTheFlower is offline  
Thanks
1 User
Old 01/23/2024, 11:38   #18
 
elite*gold: 0
Join Date: Jan 2024
Posts: 4
Received Thanks: 3
Thanks for this, i probably will use it
Stathaim is offline  
Thanks
1 User
Old 07/11/2024, 02:03   #19
 
elite*gold: 0
Join Date: Apr 2018
Posts: 3
Received Thanks: 0
HOW SHOULD I ADD THIS


WndShop.cpp
Code:
#ifdef __LOCK_ITEM
if (pItemElem->IsFlag(CItemElem::locked))
{
g_WndMng.PutString(prj.GetText(TID_GAME_ERROR_UNDE STRUCTABLE_ITEM), NULL, prj.GetTextColor(TID_GAME_ERROR_UNDESTRUCTABLE_ITE M));
return FALSE;
}
#endif // __LOCK_ITEM


IF I DONT HAVE THIS BELOW

if( bWarning )
{
SAFE_DELETE( m_pWndWarning );
SAFE_DELETE( m_pWndConfirmSell );
m_pWndWarning = new CWndWarning;
m_pWndWarning->m_pItemElem = (CItemElem*)lpShortcut->m_dwData;
m_pWndWarning->m_pMover = m_pMover;
m_pWndWarning->Initialize( this, APP_WARNING );
}


MINE IS LIKE THIS

bResult = FALSE;
}

if (bResult && pWndFrame->GetWndId() == APP_INVENTORY)
{
if (FALSE == g_pPlayer->m_Inventory.IsEquip(itemElem->m_dwObjId))
{
SAFE_DELETE(m_pWndConfirmSell);
m_pWndConfirmSell = new CWndConfirmSell;
m_pWndConfirmSell->m_pItemElem = itemElem;
m_pWndConfirmSell->m_pMover = m_pMover;
m_pWndConfirmSell->Initialize(this, APP_CONFIRM_SELL);

bForbid = FALSE;
blankflyff is offline  
Reply


Similar Threads Similar Threads
[Selling] [Growtopia Lock Store] Selling Diamond Lock, World Lock and Blue Gem Lock at Eznpc
06/17/2021 - Mobile Games Trading - 7 Replies
Selling Diamond Lock, World Lock and Blue Gem Lock at Eznpc Hello there, Eznpc is selling Cheap and Safe Diamond Lock, World Lock and Blue Gem Lock. Use code Cherry for 6% off. 100x World Lock = $3 1x Diamond Lock = $2.49
[Selling] [Growtopia Lock Store] selling World, Diamond & Royal lock at best prices!
09/20/2017 - Mobile Games Trading - 0 Replies
Selling Growtopia World Lock, Diamond Lock & Royal Lock!! 40x World Lock = $3 (Stock upon request) 1x Diamond Lock = $4.5 (Stock upon request) 1x Royal Lock = $15 (Stock upon request) *Message me for more item request Everything discussed via chat including Nickname and World Name for doing transaction.
[Release] Item lock for NewestCOServer
03/25/2010 - CO2 PServer Guides & Releases - 109 Replies
Search for; Add above; case 2048: { PacketHandling.ItemLock.Handle(GC, Data); break; }
5165 Item lock, and item redeem.
02/09/2010 - CO2 Private Server - 4 Replies
Anyone knows how to make the item lock and redeem items npc in 5165? Im not too good at that stuff, and it'll be great if someone could help me. :handsdown:
Betteln an die lock mob götter S 15 lock mob
02/04/2009 - Metin2 - 1 Replies
dieser thread geht vor allen dingen an banjo aber wers sonst noch kann kann den lock mob ja auch mal updaten also pls lock mob für s15/16



All times are GMT +1. The time now is 20:09.


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.