|
You last visited: Today at 18:49
Advertisement
[Need Help]Partyfinder
Discussion on [Need Help]Partyfinder within the Flyff Private Server forum part of the Flyff category.
09/22/2012, 23:46
|
#16
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
genauer?
|
|
|
09/22/2012, 23:49
|
#17
|
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
|
void CWndPartyFinder::OnInitialUpdate()
{
if(g_pPlayer->GetWorld()->GetID() == 202)
{
destroy();
}
{
CWndNeuz::OnInitialUpdate();
// ¿©±â¿¡ ÄÚµùÇϼ¼¿ä
RefreshItemList();
//CWndButton* pWndButton1 = (CWndButton*)GetDlgItem(WIDC_BUTTON1);
//CWndButton* pWndButton2 = (CWndButton*)GetDlgItem(WIDC_BUTTON2);
//pWndButton1->EnableWindow(FALSE);
//pWndButton2->EnableWindow(FALSE);
//ListBox
CSize size = g_Neuz.m_2DRender.m_pFont->GetTextExtent( "123" );
if(size.cy+2 > 16)
{
CRect rect;
LPWNDCTRL lpWndCtrl;
CWndListBox* pWndList = (CWndListBox*)GetDlgItem( WIDC_LISTBOX1 );
lpWndCtrl = GetWndCtrl( WIDC_LISTBOX1 );
rect = lpWndCtrl->rect;
rect.bottom += ((size.cy+2)*10) - (rect.bottom-rect.top) + 4;
//ÆùÆ® Å©±â Â÷ÀÌ ¶§¹®¿¡ ¸®½ºÆ®¹Ú½º Å©±â ´ÃÀÓ
pWndList->SetWndRect(rect);
//⠹и®´Â °æ¿ì ¾Æ·¡µµ Å©±â Á¶Á¤
CRect rectStatic, recText;
CWndStatic* pWndStatic = (CWndStatic*)GetDlgItem( WIDC_STATIC1 );
lpWndCtrl = GetWndCtrl( WIDC_STATIC1 );
rectStatic = lpWndCtrl->rect;
pWndStatic->Move(rectStatic.left, rect.bottom + 10);
CWndText* pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
lpWndCtrl = GetWndCtrl( WIDC_TEXT1 );
recText = lpWndCtrl->rect;
recText.top = rect.bottom + rectStatic.Height() + 18;
pWndText->SetWndRect(recText, TRUE);
}
// À©µµ¸¦ Áß¾ÓÀ¸·Î ¿Å±â´Â ºÎºÐ.
CRect rectRoot = m_pWndRoot->GetLayoutRect();
CRect rectWindow = GetWindowRect();
CPoint point( rectRoot.right - rectWindow.Width(), 110 );
Move( point );
MoveParentCenter();
}
|
|
|
09/22/2012, 23:51
|
#18
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Code:
void CWndPartyFinder::OnInitialUpdate()
{
CWndNeuz::OnInitialUpdate();
if(g_pPlayer->GetWorld()->GetID() == 202)
{
destroy();
}
// ¿©±â¿¡ ÄÚµùÇϼ¼¿ä
RefreshItemList();
//CWndButton* pWndButton1 = (CWndButton*)GetDlgItem(WIDC_BUTTON1);
//CWndButton* pWndButton2 = (CWndButton*)GetDlgItem(WIDC_BUTTON2);
//pWndButton1->EnableWindow(FALSE);
//pWndButton2->EnableWindow(FALSE);
//ListBox
CSize size = g_Neuz.m_2DRender.m_pFont->GetTextExtent( "123" );
if(size.cy+2 > 16)
{
CRect rect;
LPWNDCTRL lpWndCtrl;
CWndListBox* pWndList = (CWndListBox*)GetDlgItem( WIDC_LISTBOX1 );
lpWndCtrl = GetWndCtrl( WIDC_LISTBOX1 );
rect = lpWndCtrl->rect;
rect.bottom += ((size.cy+2)*10) - (rect.bottom-rect.top) + 4;
//ÆùÆ® Å©±â Â÷ÀÌ ¶§¹®¿¡ ¸®½ºÆ®¹Ú½º Å©±â ´ÃÀÓ
pWndList->SetWndRect(rect);
//⠹и®´Â °æ¿ì ¾Æ·¡µµ Å©±â Á¶Á¤
CRect rectStatic, recText;
CWndStatic* pWndStatic = (CWndStatic*)GetDlgItem( WIDC_STATIC1 );
lpWndCtrl = GetWndCtrl( WIDC_STATIC1 );
rectStatic = lpWndCtrl->rect;
pWndStatic->Move(rectStatic.left, rect.bottom + 10);
CWndText* pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
lpWndCtrl = GetWndCtrl( WIDC_TEXT1 );
recText = lpWndCtrl->rect;
recText.top = rect.bottom + rectStatic.Height() + 18;
pWndText->SetWndRect(recText, TRUE);
}
// À©µµ¸¦ Áß¾ÓÀ¸·Î ¿Å±â´Â ºÎºÐ.
CRect rectRoot = m_pWndRoot->GetLayoutRect();
CRect rectWindow = GetWindowRect();
CPoint point( rectRoot.right - rectWindow.Width(), 110 );
Move( point );
MoveParentCenter();
}
|
|
|
09/22/2012, 23:57
|
#19
|
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
|
C:\Users\Eric\Desktop\Source\Program\_Interface\Wn dPartyFinder.cpp(205): error C3861: 'destroy': identifier not found, even with argument-dependent lookup
|
|
|
09/23/2012, 00:01
|
#20
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Destroy()
|
|
|
09/23/2012, 00:08
|
#21
|
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
|
jetzt bekomme ich 2 errors:
PHP Code:
C:\Users\Eric\Desktop\Source\Program\_Interface\WndPartyFinder.cpp(208): error C2143: syntax error : missing ';' before '}'
PHP Code:
C:\Users\Eric\Desktop\Source\Program\_Interface\WndPartyFinder.cpp(207): error C3861: 'destroy': identifier not found, even with argument-dependent lookup
|
|
|
09/23/2012, 00:12
|
#22
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
juunge.. mach aus destroy(); : Destroy();
|
|
|
09/23/2012, 00:52
|
#23
|
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
|
Quote:
Originally Posted by Jopsi332
juunge.. mach aus destroy(); : Destroy();
|
habe vorhin nicht gesehen das du bei destroy das D groß geschrieben hattest, sorry deswegen, geht aber jetzt also danke
|
|
|
 |
|
Similar Threads
|
[Source Rel]Funktionierender Partyfinder
12/08/2013 - Flyff PServer Guides & Releases - 50 Replies
Für diejenigen die es noch brauchen - Google Cache ftw. :
Falls ich beim Kopieren Fehler reingeklatscht haben pm me;D
Credits natürlich an Pumbaaa.
FuncTextCmd.cpp:
#ifdef __PARTY_FIND
BOOL TextCmd_getparty( CScanner& scanner )
{
#ifdef __WORLDSERVER
|
PARTYFINDER ERROR
08/01/2012 - Flyff Private Server - 5 Replies
Hallölle liebe Elitepvpers,
wenn ich meine NEUZ(nogameguard) compile.. bekomme ich folgenden Error:
http://www10.pic-upload.de/thumb/28.07.12/i4gtc13 25q9h.jpg
Bei jedem steht "Undeclared identifier". Ich weiß bloß nicht wieso. In der mover.h ist alles definiert ._.
Ich kenne mich leider nur schlecht mit der Source aus :/ wisst ihr villeicht wie ich diese Error beheben kann?
|
Partyfinder [Fix]
07/31/2012 - Flyff Private Server - 2 Replies
Leute :D
Hat einer ebend den Partyfinder Fix ?
MFG Ich
|
Partyfinder
06/12/2012 - Flyff Private Server - 2 Replies
Hallo,
ich bin dabei einen Partyfinder einzubauen es ist sogut wie fertig nur ich bekomm im worldserver diesen error :
Zeile:
|
[Source] Partyfinder System
09/06/2011 - Flyff Private Server - 13 Replies
Dieses System hab ich auf einer anderen Seite gefunden, ist nicht von mir geschrieben, Credits stehen unten.
void CDPSrvr::OnPartyList( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize )
{
DWORD idPlayer;
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
ar >> idPlayer;
if( pUser )
|
All times are GMT +1. The time now is 18:49.
|
|