Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Flyff › Flyff Private Server
You last visited: Today at 07:31

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

Advertisement



[Need Help]Partyfinder

Discussion on [Need Help]Partyfinder within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #16
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
genauer?
Jopsi332 is offline  
Old   #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();
}
DerJumbo is offline  
Old   #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();
}
Jopsi332 is offline  
Old   #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
DerJumbo is offline  
Old   #20
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
Destroy()
Jopsi332 is offline  
Old   #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 
DerJumbo is offline  
Old   #22
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
juunge.. mach aus destroy(); : Destroy();
Jopsi332 is offline  
Thanks
1 User
Old   #23
 
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
Quote:
Originally Posted by Jopsi332 View Post
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
DerJumbo is offline  
Reply


Similar Threads 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 07:32.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.