Register for your free account! | Forgot your password?


You last visited: Today at 18:45

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

Advertisement



[Mini-Release] Post Box Button

Discussion on [Mini-Release] Post Box Button within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Arrow [Mini-Release] Post Box Button

Heya



Neuz/VersionCommon.h
Code:
#define __WORLDPOST

FuncApplet.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
DECLAREAPPLET(AppMain_WndWorldPost, new CWndWorldPost);
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
	AddAppletFunc(AppMain_WndWorldPost, APP_WORLDPOST, _T("CWndWorldPost"), NULL, GETTEXT(TID_TIP_DIALOG), 0);
#endif // __WORLDPOST
WndControl.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif
Search:
Code:
	if( ( m_dwStyle & WBS_HIGHLIGHT ) && m_GlobalShortcut.m_dwShortcut == SHORTCUT_NONE )
	{
Add below:
Code:
#ifdef __WORLDPOST
	if (GetParentWnd()->GetWndId() == APP_WORLDPOST)
	{
		if (GetClientRect().PtInRect(m_ptMouse))
		{
			((CWndWorldPost*)GetParentWnd())->bRenderBg = TRUE;
			if (m_bEnable == TRUE)
				m_bHighLight = TRUE;

			CString strTT2, strTmp;
			CEditString str;

			if (g_pPlayer && !g_pPlayer->IsMode(MODE_MAILBOX))
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nNew messages: none\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nNew messages: none");
				}
			}
			else
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nThere are new messages!\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nThere are new messages!");

				}
			}

			str.AddParsingString(strTT2);
			g_toolTip.PutToolTip(APP_WORLDPOST, str, m_rectCurrentClient, point, 3);
		}
	}
	else
#endif
WndManager.cpp
Search:
Code:
ObjectExecutor(SHORTCUT_APPLET, APP_WORLD);
Add below:
Code:
#ifdef __WORLDPOST
	ObjectExecutor(SHORTCUT_APPLET, APP_WORLDPOST);
#endif
Search:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN )
#endif //__GUILD_HOUSE
Change it to:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN 
#ifdef __WORLDPOST
									&& pWndBase->GetWndApplet()->dwWndId != APP_WORLDPOST
#endif
									)
#endif //__GUILD_HOUSE
ResData.h
(! dont forget to change APP ID to your own)
Code:
#define APP_WORLDPOST    9999
ResData.inc
Code:
APP_WORLDPOST "WndTile00.tga" 1 80 96 0x2410000 26
{
// Title String
""
}
{
// ToolTip
""
}
{
    WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 8 8 63 59 0x260000 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }
    WTYPE_BUTTON WIDC_BUTTON1 "" 0 14 12 56 52 0x220010 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }

}
1) Download WorldPost.rar;
2) Copy WndWorldPost.cpp and WndWorldPost.h to Source/Neuz folder and include to Neuz project;
3) Copy worldpost.tga and worldpost01.tga to your Theme folder.

FINISH
Attached Files
File Type: rar WorldPost.rar (8.4 KB, 96 views)
FIorist is offline  
Thanks
12 Users
Old 03/23/2020, 15:01   #2


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Added a missing part of the code
FIorist is offline  
Thanks
1 User
Old 03/23/2020, 16:01   #3
 
elite*gold: 0
Join Date: Jan 2020
Posts: 49
Received Thanks: 0

Is there something I did wrong?

He showed it in the login interface
siono01 is offline  
Old 03/23/2020, 16:43   #4


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by siono01 View Post

Is there something I did wrong?

He showed it in the login interface
Try rechecking the entire system from the beginning, I think you will find a solution
FIorist is offline  
Old 03/24/2020, 13:19   #5
 
elite*gold: 0
Join Date: Mar 2014
Posts: 228
Received Thanks: 6
Quote:
Originally Posted by Zzz.. View Post
Heya




Neuz/VersionCommon.h
Code:
#define __WORLDPOST

FuncApplet.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
DECLAREAPPLET(AppMain_WndWorldPost, new CWndWorldPost);
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
	AddAppletFunc(AppMain_WndWorldPost, APP_WORLDPOST, _T("CWndWorldPost"), NULL, GETTEXT(TID_TIP_DIALOG), 0);
#endif // __WORLDPOST
WndControl.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif
Search:
Code:
	if( ( m_dwStyle & WBS_HIGHLIGHT ) && m_GlobalShortcut.m_dwShortcut == SHORTCUT_NONE )
	{
Add below:
Code:
#ifdef __WORLDPOST
	if (GetParentWnd()->GetWndId() == APP_WORLDPOST)
	{
		if (GetClientRect().PtInRect(m_ptMouse))
		{
			((CWndWorldPost*)GetParentWnd())->bRenderBg = TRUE;
			if (m_bEnable == TRUE)
				m_bHighLight = TRUE;

			CString strTT2, strTmp;
			CEditString str;

			if (g_pPlayer && !g_pPlayer->IsMode(MODE_MAILBOX))
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nNew messages: none\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nNew messages: none");
				}
			}
			else
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nThere are new messages!\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nThere are new messages!");

				}
			}

			str.AddParsingString(strTT2);
			g_toolTip.PutToolTip(APP_WORLDPOST, str, m_rectCurrentClient, point, 3);
		}
	}
	else
#endif
WndManager.cpp
Search:
Code:
ObjectExecutor(SHORTCUT_APPLET, APP_WORLD);
Add below:
Code:
#ifdef __WORLDPOST
	ObjectExecutor(SHORTCUT_APPLET, APP_WORLDPOST);
#endif
Search:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN )
#endif //__GUILD_HOUSE
Change it to:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN 
#ifdef __WORLDPOST
									&& pWndBase->GetWndApplet()->dwWndId != APP_WORLDPOST
#endif
									)
#endif //__GUILD_HOUSE
ResData.h
(! dont forget to change APP ID to your own)
Code:
#define APP_WORLDPOST    9999
ResData.inc
Code:
APP_WORLDPOST "WndTile00.tga" 1 80 96 0x2410000 26
{
// Title String
""
}
{
// ToolTip
""
}
{
    WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 8 8 63 59 0x260000 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }
    WTYPE_BUTTON WIDC_BUTTON1 "" 0 14 12 56 52 0x220010 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }

}
1) Download WorldPost.rar;
2) Copy WndWorldPost.cpp and WndWorldPost.h to Source/Neuz folder and include to Neuz project;
3) Copy worldpost.tga and worldpost01.tga to your Theme folder.

FINISH
It seems i can't open the attached file after downloading it.
aoyamananami is offline  
Old 03/24/2020, 14:06   #6


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by aoyamananami View Post
It seems i can't open the attached file after downloading it.
WndWorldPost.h


WndWorldPost.cpp


worldpost01.tga


worldpost.tga
FIorist is offline  
Thanks
1 User
Old 03/25/2020, 07:41   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 259
Received Thanks: 15
sometimes the icon cannot move .
matonskie23 is offline  
Old 03/25/2020, 10:10   #8


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by matonskie23 View Post
sometimes the icon cannot move .
This "system" is based on Madrigal Gift (offi), so moving the icon is only possible near the edges. You can try changing ResData to align the edges of this icon ^^
FIorist is offline  
Old 03/25/2020, 19:04   #9
 
elite*gold: 0
Join Date: Mar 2020
Posts: 7
Received Thanks: 0
Can you share the button image material?
DevilLog is offline  
Old 03/25/2020, 19:33   #10


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by DevilLog View Post
Can you share the button image material?
worldpost01.tga


worldpost.tga
FIorist is offline  
Old 03/26/2020, 02:38   #11
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 216
Quote:
Originally Posted by Zzz.. View Post
Heya




Neuz/VersionCommon.h
Code:
#define __WORLDPOST

FuncApplet.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
DECLAREAPPLET(AppMain_WndWorldPost, new CWndWorldPost);
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
	AddAppletFunc(AppMain_WndWorldPost, APP_WORLDPOST, _T("CWndWorldPost"), NULL, GETTEXT(TID_TIP_DIALOG), 0);
#endif // __WORLDPOST
WndControl.cpp
Code:
#ifdef __WORLDPOST
#include "WndWorldPost.h"
#endif
Search:
Code:
	if( ( m_dwStyle & WBS_HIGHLIGHT ) && m_GlobalShortcut.m_dwShortcut == SHORTCUT_NONE )
	{
Add below:
Code:
#ifdef __WORLDPOST
	if (GetParentWnd()->GetWndId() == APP_WORLDPOST)
	{
		if (GetClientRect().PtInRect(m_ptMouse))
		{
			((CWndWorldPost*)GetParentWnd())->bRenderBg = TRUE;
			if (m_bEnable == TRUE)
				m_bHighLight = TRUE;

			CString strTT2, strTmp;
			CEditString str;

			if (g_pPlayer && !g_pPlayer->IsMode(MODE_MAILBOX))
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nNew messages: none\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nNew messages: none");
				}
			}
			else
			{
				if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				{
					strTT2.Format("Post Box \nThere are new messages!\n[Pull outside the edges of the envelope to drag the icon]");
				}
				else
				{
					strTT2.Format("Post Box \nThere are new messages!");

				}
			}

			str.AddParsingString(strTT2);
			g_toolTip.PutToolTip(APP_WORLDPOST, str, m_rectCurrentClient, point, 3);
		}
	}
	else
#endif
WndManager.cpp
Search:
Code:
ObjectExecutor(SHORTCUT_APPLET, APP_WORLD);
Add below:
Code:
#ifdef __WORLDPOST
	ObjectExecutor(SHORTCUT_APPLET, APP_WORLDPOST);
#endif
Search:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN )
#endif //__GUILD_HOUSE
Change it to:
Code:
#if __VER >= 15 // __GUILD_HOUSE
								if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN 
#ifdef __WORLDPOST
									&& pWndBase->GetWndApplet()->dwWndId != APP_WORLDPOST
#endif
									)
#endif //__GUILD_HOUSE
ResData.h
(! dont forget to change APP ID to your own)
Code:
#define APP_WORLDPOST    9999
ResData.inc
Code:
APP_WORLDPOST "WndTile00.tga" 1 80 96 0x2410000 26
{
// Title String
""
}
{
// ToolTip
""
}
{
    WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 8 8 63 59 0x260000 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }
    WTYPE_BUTTON WIDC_BUTTON1 "" 0 14 12 56 52 0x220010 0 0 0 0
    {
    // Title String
    ""
    }
    {
    // ToolTip
    ""
    }

}
1) Download WorldPost.rar;
2) Copy WndWorldPost.cpp and WndWorldPost.h to Source/Neuz folder and include to Neuz project;
3) Copy worldpost.tga and worldpost01.tga to your Theme folder.

FINISH
i think if the world post is like and skills if they have message it will appear in the left side of windows.,? what do you think?
Ecrypter is offline  
Old 03/26/2020, 09:56   #12


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by Ecrypter View Post
i think if the world post is like and skills if they have message it will appear in the left side of windows.,? what do you think?
I don't really understand what you mean ^^ This system differs from the "statistics" button and the "skills" button. This system is similar, as I said, to Madrigal Gift (v19).

But you can do this: you can hide the icon when there are no new messages in your mail. In other words: if there are mails, the icon will be displayed. If there are no emails, the icon will not be displayed.

For that:

WndWorldPost.cpp
Search:
Code:
//WorldPostButton->SetVisible(FALSE);
Change it to:
Code:
WorldPostButton->SetVisible(FALSE);
FIorist is offline  
Thanks
2 Users
Old 03/27/2020, 00:08   #13
 
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 216
Quote:
Originally Posted by Zzz.. View Post
I don't really understand what you mean ^^ This system differs from the "statistics" button and the "skills" button. This system is similar, as I said, to Madrigal Gift (v19).

But you can do this: you can hide the icon when there are no new messages in your mail. In other words: if there are mails, the icon will be displayed. If there are no emails, the icon will not be displayed.

For that:

WndWorldPost.cpp
Search:
Code:
//WorldPostButton->SetVisible(FALSE);
Change it to:
Code:
WorldPostButton->SetVisible(FALSE);
yeah thats what i mean., sorry for my bad english
Ecrypter is offline  
Old 03/27/2020, 11:18   #14
 
elite*gold: 0
Join Date: Mar 2020
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by Zzz.. View Post
worldpost01.tga


worldpost.tga
Prompt for decryption key
What is the key?

I'm sorry, I may not have made myself clear.Can you share the button of the chat box and the button of the start menu in the lower left corner?The yellow and chat buttons.
DevilLog is offline  
Old 03/27/2020, 11:32   #15


 
elite*gold: 42
Join Date: Sep 2019
Posts: 61
Received Thanks: 63
Quote:
Originally Posted by DevilLog View Post
Prompt for decryption key
What is the key?

I'm sorry, I may not have made myself clear.Can you share the button of the chat box and the button of the start menu in the lower left corner?The yellow and chat buttons.

I don't think this is the best idea, since they are in Russian ^^
To be honest, I don't know why you need them. But if you really need them, here:

FIorist is offline  
Thanks
1 User
Reply

Tags
flyff


Similar Threads Similar Threads
[B] Push Button [S] 10 e*gold/Button; 25 e*g/psd+Button
09/20/2013 - elite*gold Trading - 4 Replies
Moin, Hier könnt ihr folgenden Push Button kaufen: http://i.epvpimg.com/YlrYe.jpg Pro Button wären das 10e*g, pro Button mit .psd dazu 25e*g. Wenn ihr einen Button kaufen wollt, schreibt mir eine PN, damit ich den Namen ändern kann, alles hochladen kann und euch dann per Treasure schicken kann. ;) Schrift kann auch geändert werden. Dazu einfach in der PN schreiben, welche Schrift ihr haben wollt^^
[WTB] unded mini ghostly/mini panada/mini polar bear
05/07/2012 - Guild Wars Trading - 2 Replies
Hi, Would like to buy one of those pets. Make me an offer if you got one. Thanks.
[Mini-Release]Button//GM-Zeichen//USW
03/07/2011 - Metin2 PServer Guides & Strategies - 12 Replies
Hab mal weng meinen Pc aufgeräumt und bin auf paar bilderchen gestoßen dich ich nimma brauch und se euch mal public mach Ob ihr etz was damit anfangen könnt odda net weiß ich net abba wenns euch net interresiert dann drückt alt+F4 wie gesagt is nurn mini-release Es sind paar signatur.psd vorlagen dabei gm zeichen vote buttons und andere buttons für homepage bin abba zu faul für screens einfach runterladen dauert ja net lan



All times are GMT +2. The time now is 18:45.


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