Bug?

08/27/2016 12:04 khemomo#1
[Only registered and activated users can see links. Click Here To Register...]

Quote:
[Only registered and activated users can see links. Click Here To Register...]
I have a problem with my v19 interface. i cant see the Menu button at the bottom left corner and the action slot is not working properly animation is not working and everytime I remove skills from the actionslot other one will remove to. :D anyone can tell me how can i fix this? :handsdown: :handsdown: :handsdown:
08/27/2016 16:20 .HeyEyay.#2
MENU FIXED:


Wndworld.cpp


Code:
#if __VER >= 19
	m_WndStartButton.Create( "", 0, CRect( rectClient.left,  rectClient.bottom - 12, rectClient.left + 75,  rectClient.bottom ), this, 133337 );
	m_WndStartButton.SetTexture( D3DDEVICE, MakePath( DIR_THEME, "ButtMainMenu.tga" ), TRUE );	//12*75
	m_WndStartButton.FitTextureSize();
#endif //__VER >= 19
btw the HP,MP and FP on your taskbar is fail too
08/28/2016 00:48 khemomo#3
Quote:
Originally Posted by .HeyEyay. View Post
MENU FIXED:


Wndworld.cpp


Code:
#if __VER >= 19
	m_WndStartButton.Create( "", 0, CRect( rectClient.left,  rectClient.bottom - 12, rectClient.left + 75,  rectClient.bottom ), this, 133337 );
	m_WndStartButton.SetTexture( D3DDEVICE, MakePath( DIR_THEME, "ButtMainMenu.tga" ), TRUE );	//12*75
	m_WndStartButton.FitTextureSize();
#endif //__VER >= 19
btw the HP,MP and FP on your taskbar is fail too

I dont have a problem with my HP,MP and FP :D anyway thanks!

2 problem to go ! :D the animation and the otherone everytime I remove new skills two skills will remove
08/28/2016 08:39 .HeyEyay.#4
Quote:
Originally Posted by khemomo View Post
I dont have a problem with my HP,MP and FP :D anyway thanks!

2 problem to go ! :D the animation and the otherone everytime I remove new skills two skills will remove
it's the lpShortcut->Empty(); in the ondropicon of the newskillslot class.

For the 6slot fixed use the wndtaskbar.cpp

On the Function: CWndTaskBar::SetSkillQueue

Change the:
Code:
 if( m_nCurQueueNum >= 5

to
Code:
 if( m_nCurQueueNum >= 6 )

Also change the Dropfiralpha


on : CWndNewSkillSlot::Process
Code:
	m_DROPFireALPHA -= 5;


	if( m_DROPFireALPHA < 5 )

TO
Code:
	m_DROPFireALPHA -= 6;


	if( m_DROPFireALPHA < 6 )
08/28/2016 13:30 khemomo#5
Quote:
Originally Posted by .HeyEyay. View Post
it's the lpShortcut->Empty(); in the ondropicon of the newskillslot class.

For the 6slot fixed use the wndtaskbar.cpp

On the Function: CWndTaskBar::SetSkillQueue

Change the:
Code:
 if( m_nCurQueueNum >= 5

to
Code:
 if( m_nCurQueueNum >= 6 )

Also change the Dropfiralpha


on : CWndNewSkillSlot::Process
Code:
	m_DROPFireALPHA -= 5;


	if( m_DROPFireALPHA < 5 )

TO
Code:
	m_DROPFireALPHA -= 6;


	if( m_DROPFireALPHA < 6 )
weird :3 my code is same as that i change it to 6 but still nothing :3 what do you think is wrong with this?
08/28/2016 14:33 .HeyEyay.#6
oh i think your problem is you cant put any skill on the last slot of your actionslot

Hm.. try this

__AIInterface/Action.cpp


Search for this
Code:
 #include "Action.h"

then put this
Code:
#ifdef __CLIENT
#if __VER >= 19
#include "resdata.h"
#endif
#endif

at the same file
function: CAction::OnEndAttackState


Search for this


Code:
case OBJSTA_ATK_MAGICSKILL:
		m_pMover->OnActEndMagicSkill();		// ¸¶¹ý½ºÅ³ µ¿ÀÛ ³¡³².
		break;
	}

THEN PUT THIS UNDER
Code:
#ifdef __CLIENT
#if __VER >= 19
	if( (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MELEESKILL || (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MAGICSKILL )
	{
		CWndNewSkillSlot* m_SkillSL = (CWndNewSkillSlot*)g_WndMng.GetWndBase(APP_SLOT);
		if( g_WndMng.m_pWndTaskBar->m_nExecute > 0 )
			m_SkillSL->RotateSLOT += 60;
	}
#endif
#endif

Hope its work the animation on actionslot rotation.
08/28/2016 14:57 khemomo#7
Quote:
Originally Posted by .HeyEyay. View Post
oh i think your problem is you cant put any skill on the last slot of your actionslot

Hm.. try this

__AIInterface/Action.cpp


Search for this
Code:
 #include "Action.h"

then put this
Code:
#ifdef __CLIENT
#if __VER >= 19
#include "resdata.h"
#endif
#endif

at the same file
function: CAction::OnEndAttackState


Search for this


Code:
case OBJSTA_ATK_MAGICSKILL:
		m_pMover->OnActEndMagicSkill();		// ¸¶¹ý½ºÅ³ µ¿ÀÛ ³¡³².
		break;
	}

THEN PUT THIS UNDER
Code:
#ifdef __CLIENT
#if __VER >= 19
	if( (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MELEESKILL || (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MAGICSKILL )
	{
		CWndNewSkillSlot* m_SkillSL = (CWndNewSkillSlot*)g_WndMng.GetWndBase(APP_SLOT);
		if( g_WndMng.m_pWndTaskBar->m_nExecute > 0 )
			m_SkillSL->RotateSLOT += 60;
	}
#endif
#endif

Hope its work the animation on actionslot rotation.
danke danke danke danke danke danke!!!!

cant figure out about "Every time i remove one skill the other one will remove two" :3 any way thank you sooooo much!! :D


i found this about the exp toolbar. in what .cpp file should i put this one?

[Only registered and activated users can see links. Click Here To Register...]