Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:13

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

Advertisement



[Request] Treasure Box Source / Resource Code

Discussion on [Request] Treasure Box Source / Resource Code within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
jeromerz's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 244
Received Thanks: 12
[Request] Treasure Box Source / Resource Code

FIXED Thanks to Pixelfehler
jeromerz is offline  
Old 12/19/2014, 17:04   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 876
Received Thanks: 470
Quote:
Originally Posted by jeromerz View Post
Hello everybody,

i tried to add the system using this code but when i double click the treasurebox and tried to use the appropriate key the key is not placed on the second slot and i cannot open the treasurebox.


i used this code of treasurebox
thanks in advance :3
Code:
CWndTreasureBox::OnDropIcon
Check this

Quote:
Originally Posted by jeromerz View Post
in WndField.cpp

what should i do with this?

BOOL CWndTreasureBox::OnDropIcon( LPSHORTCUT pShortcut, CPoint point )
{
CRect rect;
CItemElem* pItemElem;
pItemElem = (CItemElem*)g_pPlayer->GetItemId( pShortcut->m_dwId );

if(g_pPlayer->IsUsing(pItemElem))
{
g_WndMng.PutString( "Item wird bereits verwendet" );
}
else
{
if( pItemElem->GetProp()->dwItemKind3 == IK3_BOXOPEN && IsOpenKey( pItemElem ) )
{
if( /*m_nCtrlId[0].PtInRect( point ) &&*/ m_pItemElem == NULL )
{
m_pItemElem = pItemElem;
m_pItemElem->SetExtra( 1 );
}
}
}
if( m_pItemElem != NULL )
{
CWndButton* pButton = (CWndButton*)GetDlgItem(WIDC_BT_OK);
pButton->EnableWindow(TRUE);
}
return TRUE;
}
Code:
IK3_BOXOPEN && IsOpenKey
Pixelfehler is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
Request Source code
06/28/2014 - Flyff Private Server - 0 Replies
help me how to add like this 3D login Screen: http://i1.ytimg.com/vi/RRdpPwoCLG8/maxresdefault.j pg give me some codes please :handsdown: thanks in advance ;)
REQUEST[SOURCE CODE]
06/12/2013 - Flyff Private Server - 3 Replies
Anyone have a source code of Wing System?
C++ Source code (request)
03/12/2012 - 12Sky2 Hacks, Bots, Cheats & Exploits - 2 Replies
Hi guys, I started a new C + + and I wonder if the hands can share the basic source code really need one badly,Thank you. Sorry for my bad english.
Shaiya resource tool for source code to unpack
05/06/2011 - Shaiya PServer Development - 3 Replies
神泣资源解包&# 24037;具源代码.rar Shaiya resource tool for source code to unpack
[Request]C++ Bot Source Code/Example Code
07/19/2008 - Silkroad Online - 2 Replies
Please someone direct me to anywhere that might have any sort of information and resources on the construction of a bot, preferably in C++. Looking for any Reverse engineering information(finding the Base addr for say player) and locating the offsets ptrs for Cur health etc. I would also love to see a simple example source in C++ of putting those addresses and offsets into action. I'm sure I have the basic idea down on how to do this but I'm not 100% sure how to get it setup correctly. ...



All times are GMT +1. The time now is 16:13.


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.