Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 09:27

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

Advertisement



Custom Taskbar Prob.

Discussion on Custom Taskbar Prob. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Custom Taskbar Prob.

Does anyone know how this black on my taskbar happen ? (RIP ENGLISH)

But here.



How could I remove that black thing on my taskbar, Help ! Photoshop (PS) Pro !

THANKS !
yazuka21 is offline  
Old 03/03/2018, 09:56   #2
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by yazuka21 View Post
Does anyone know how this black on my taskbar happen ? (RIP ENGLISH)

But here.



How could I remove that black thing on my taskbar, Help ! Photoshop (PS) Pro !

THANKS !
magic wand i guess? then save save it .tga?
jericho2nd is offline  
Old 03/03/2018, 17:41   #3
 
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
Make it Invisible? Like the transparent types 80~100%
Dr. Peacock is offline  
Old 03/04/2018, 03:58   #4
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
None of those. I already add the Alpha Channel, more better than those suggestion. I think I need to fix this on my source.
yazuka21 is offline  
Old 03/04/2018, 18:44   #5
 
elite*gold: 0
Join Date: Jan 2010
Posts: 238
Received Thanks: 30
If you use the old v15 interface then it isnt possible do make it transparent since the map isnt rendered below the taskbar unlike the v19 interface.
Even u use the v19 interface or rewrite the v15 one so it renders the map below the taskbar.
Spheromany is offline  
Old 03/04/2018, 21:06   #6
 
elite*gold: 0
Join Date: Jan 2014
Posts: 187
Received Thanks: 157
Gosh, "make the bar transparent" none of you are right.
Wndmanager.inc

-> CWndMgr::OpenField()
Load the World before load up the Taskbar.
MrDemian is offline  
Old 03/04/2018, 22:23   #7
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Quote:
Originally Posted by MrDemian View Post
Gosh, "make the bar transparent" none of you are right.
Wndmanager.inc

-> CWndMgr::OpenField()
Load the World before load up the Taskbar.


CWndTaskbar::OnInitialUpdate
Avalion is offline  
Old 03/05/2018, 17:26   #8
 
elite*gold: 0
Join Date: Mar 2009
Posts: 482
Received Thanks: 218
Quote:
Originally Posted by MrDemian View Post
Gosh, "make the bar transparent" none of you are right.
Wndmanager.inc

-> CWndMgr::OpenField()
Load the World before load up the Taskbar.
This is so lul. Why would you load the World Field when the problem is the taskbar. This why flyff is dying. Lul. I laughed.
Burdenz2007 is offline  
Old 03/05/2018, 19:38   #9
 
elite*gold: 0
Join Date: Jan 2014
Posts: 187
Received Thanks: 157
He asked "how to remove the black blanks".
You can make it transparent, but the main reason why the blackbars coming up is because in v15 the World App is just renderd to the topheight of the taskbar.

Flyff is dead, btw.
Some proof:
Load Taskbar before World:

Load World before Taskbar:
MrDemian is offline  
Old 03/06/2018, 02:51   #10
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Nerf some code in OnInitialUpdate. Nerf some code in Initialize. Add TOPMOST to window style.

Sent from my LG-H812 using Tapatalk
Avalion is offline  
Old 03/06/2018, 03:14   #11
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by MrDemian View Post
Gosh, "make the bar transparent" none of you are right.
Wndmanager.inc

-> CWndMgr::OpenField()
Load the World before load up the Taskbar.
Can you tell me what exact I'm going to do ? 'cuz I'm not sure if I move the right code.

Quote:
Originally Posted by Avalion View Post
Nerf some code in OnInitialUpdate. Nerf some code in Initialize. Add TOPMOST to window style.

Sent from my LG-H812 using Tapatalk
Avie, Like this ?

Code:
bResult = CWndNeuz::InitDialog(g_Neuz.GetSafeHwnd(), APP_TASKBAR1920W, WBS_TOPMOST | WBS_MANAGER | WBS_SOUND, CPoint(0, 0), pWndParent);
.

And did you mean Nerf like this ?

CWndTaskbar::OnInitialUpdate
Code:
 	POINT_QUEUE_X  = pSkill->rect.left;
 	POINT_QUEUE_Y  = pSkill->rect.top;
 
 	g_WndMng.m_pWndTaskBar = this;
 
/*	{
		rect = g_Neuz.GetDeviceRect();
		m_pWndRoot->m_rectLayout = rect;
		switch( m_nPosition )
		{
		case TASKBAR_TOP:
			rect.bottom = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.top = rect.bottom;
			break;
		case TASKBAR_BOTTOM:
			rect.top = rect.bottom - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.bottom = rect.top;
			break;
		case TASKBAR_LEFT:
			rect.right = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.left = rect.right;
			break;
		case TASKBAR_RIGHT:
			rect.left = rect.right - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.right = rect.left;
			break;
		}
		SetWndRect( rect );
	}*/
	const int nWidth = m_rectWindow.Width();
	const int nHeight = m_rectWindow.Height();
	const int x = m_pWndRoot->m_rectWindow.left + (m_pWndRoot->m_rectWindow.Width() / 2) - (nWidth / 2);

	SetWndRect(CRect(x, m_pWndRoot->m_rectWindow.bottom - nHeight, x + nWidth, m_pWndRoot->m_rectWindow.bottom));
	AdjustWndBase();
Thanks.




EDIT : !@!@!@!@

When I try to add TOPMOST;




When I try this;
Code:
 	POINT_QUEUE_X  = pSkill->rect.left;
 	POINT_QUEUE_Y  = pSkill->rect.top;
 
 	g_WndMng.m_pWndTaskBar = this;
 
/*	{
		rect = g_Neuz.GetDeviceRect();
		m_pWndRoot->m_rectLayout = rect;
		switch( m_nPosition )
		{
		case TASKBAR_TOP:
			rect.bottom = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.top = rect.bottom;
			break;
		case TASKBAR_BOTTOM:
			rect.top = rect.bottom - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.bottom = rect.top;
			break;
		case TASKBAR_LEFT:
			rect.right = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.left = rect.right;
			break;
		case TASKBAR_RIGHT:
			rect.left = rect.right - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.right = rect.left;
			break;
		}
		SetWndRect( rect );
	}*/
	const int nWidth = m_rectWindow.Width();
	const int nHeight = m_rectWindow.Height();
	const int x = m_pWndRoot->m_rectWindow.left + (m_pWndRoot->m_rectWindow.Width() / 2) - (nWidth / 2);

	SetWndRect(CRect(x, m_pWndRoot->m_rectWindow.bottom - nHeight, x + nWidth, m_pWndRoot->m_rectWindow.bottom));
	AdjustWndBase();
Result :


HAHAHAHAHA
yazuka21 is offline  
Old 03/06/2018, 04:27   #12
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Quote:
Originally Posted by yazuka21 View Post
Can you tell me what exact I'm going to do ? 'cuz I'm not sure if I move the right code.

Avie, Like this ?

Code:
bResult = CWndNeuz::InitDialog(g_Neuz.GetSafeHwnd(), APP_TASKBAR1920W, WBS_TOPMOST | WBS_MANAGER | WBS_SOUND, CPoint(0, 0), pWndParent);
.

And did you mean Nerf like this ?

CWndTaskbar::OnInitialUpdate
Code:
 	POINT_QUEUE_X  = pSkill->rect.left;
 	POINT_QUEUE_Y  = pSkill->rect.top;
 
 	g_WndMng.m_pWndTaskBar = this;
 
/*	{
		rect = g_Neuz.GetDeviceRect();
		m_pWndRoot->m_rectLayout = rect;
		switch( m_nPosition )
		{
		case TASKBAR_TOP:
			rect.bottom = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.top = rect.bottom;
			break;
		case TASKBAR_BOTTOM:
			rect.top = rect.bottom - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.bottom = rect.top;
			break;
		case TASKBAR_LEFT:
			rect.right = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.left = rect.right;
			break;
		case TASKBAR_RIGHT:
			rect.left = rect.right - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.right = rect.left;
			break;
		}
		SetWndRect( rect );
	}*/
	const int nWidth = m_rectWindow.Width();
	const int nHeight = m_rectWindow.Height();
	const int x = m_pWndRoot->m_rectWindow.left + (m_pWndRoot->m_rectWindow.Width() / 2) - (nWidth / 2);

	SetWndRect(CRect(x, m_pWndRoot->m_rectWindow.bottom - nHeight, x + nWidth, m_pWndRoot->m_rectWindow.bottom));
	AdjustWndBase();
Thanks.




HAHAHAHAHA
Nice laugh. Maybe you should learn something basic with Bitwise Operators in C


First, you remove the change to the root rect to stop it changing the world. Next, you render taskbar in front of everything.

CWndTaskbar::OnInitialUpdate
Code:
/*	{
		rect = g_Neuz.GetDeviceRect();
		m_pWndRoot->m_rectLayout = rect;
		switch( m_nPosition )
		{
		case TASKBAR_TOP:
			rect.bottom = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.top = rect.bottom;
			break;
		case TASKBAR_BOTTOM:
			rect.top = rect.bottom - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.bottom = rect.top;
			break;
		case TASKBAR_LEFT:
			rect.right = TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.left = rect.right;
			break;
		case TASKBAR_RIGHT:
			rect.left = rect.right - TASKBAR_HEIGHT;
			m_pWndRoot->m_rectLayout.right = rect.left;
			break;
		}
		SetWndRect( rect );
	}*/
Next, you want to always have the taskbar centered... right?

(CWndTaskbar::OnInitialUpdate)
Code:
	int nWidth = m_rectWindow.Width();
	int nHeight = m_rectWindow.Height();
	int x = m_pWndRoot->m_rectWindow.left + (m_pWndRoot->m_rectWindow.Width() / 2) - (nWidth / 2);

	SetWndRect(CRect(x, m_pWndRoot->m_rectWindow.bottom - nHeight, x + nWidth, m_pWndRoot->m_rectWindow.bottom));
	AdjustWndBase();

Then, you want to support multiple resolution possibilities by switching == if checking to >= and <, etc.

CWndTaskbar::Initialize
Code:
	if( g_Option.m_nResWidth >= 800 && g_Option.m_nResWidth < 1024)
And finally, you want to push it to the front, as taskbar should always be a front faced UI, for the most part.
Code:
		bResult = CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_TASKBAR800, WBS_MANAGER | WBS_SOUND | WBS_NOFOCUS | WBS_TOPMOST, CPoint( 0, 0 ), pWndParent );

Edit:
But, yes, if you want the window to not be "topmost", you can open it after the world opening by moving:

Code:
OpenTaskBar();
below
Code:
	ObjectExecutor( SHORTCUT_APPLET, APP_WORLD );
But then, the center code should still be done, and there would be no real reason to still keep the part uncommented in CWndTaskbar::OnInitialUpdate. Depends how you want your UI to be.
Avalion is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
v19 taskbar to v18-v15 taskbar Flyff
10/09/2019 - Flyff Private Server - 4 Replies
Hi can you teach me how to edit the task bar from the Dope Flyff v19 task bar and change to v18 or v15 task bar? Thanks for your help <3 :D:D:D:D:D
v19 taskbar to v18-v15 taskbar Flyff
10/19/2016 - Flyff Private Server - 1 Replies
Hi can you teach me how to edit the task bar from the Dope Flyff v19 task bar and change to v18 or v15 task bar? Thanks for your help <3 :D:D:D:D:D:p:p:p
[BETA]Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/25/2012 - SRO PServer Advertising - 109 Replies
Hello there, I would like to announce the BETA opening of Astro Server, We are here for the community not for competition. We don't care if we are #1 or #1001. The BETA will last one week, to find any small bugs that may still exist. During this time users will receive 5000 Wonga as soon as you register this is part of the BETA test. Also users will be rewarded for helping when we go live, Which you can find more information on this at the forum. Please be aware after the BETA ends...



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


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.